{ "errors": [], "warnings": [], "version": "4.29.6", "hash": "f0eb0ebca22b45fc971a", "time": 1251, "builtAt": 1552908887245, "publicPath": "", "outputPath": "/Users/gaya/Workspace/ab-test-wordpress/dist", "assetsByChunkName": { "ab-test": "ab-test.js", "ab-test-variant": "ab-test-variant.js", "ab-testing-for-wp": "ab-testing-for-wp.js" }, "assets": [ { "name": "ab-test-variant.js", "size": 7504, "chunks": [ "ab-test-variant" ], "chunkNames": [ "ab-test-variant" ], "emitted": true }, { "name": "ab-test.js", "size": 129559, "chunks": [ "ab-test" ], "chunkNames": [ "ab-test" ], "emitted": true }, { "name": "ab-testing-for-wp.js", "size": 6514, "chunks": [ "ab-testing-for-wp" ], "chunkNames": [ "ab-testing-for-wp" ], "emitted": true } ], "filteredAssets": 0, "entrypoints": { "ab-testing-for-wp": { "chunks": [ "ab-testing-for-wp" ], "assets": [ "ab-testing-for-wp.js" ], "children": {}, "childAssets": {} }, "ab-test": { "chunks": [ "ab-test" ], "assets": [ "ab-test.js" ], "children": {}, "childAssets": {} }, "ab-test-variant": { "chunks": [ "ab-test-variant" ], "assets": [ "ab-test-variant.js" ], "children": {}, "childAssets": {} } }, "namedChunkGroups": { "ab-testing-for-wp": { "chunks": [ "ab-testing-for-wp" ], "assets": [ "ab-testing-for-wp.js" ], "children": {}, "childAssets": {} }, "ab-test": { "chunks": [ "ab-test" ], "assets": [ "ab-test.js" ], "children": {}, "childAssets": {} }, "ab-test-variant": { "chunks": [ "ab-test-variant" ], "assets": [ "ab-test-variant.js" ], "children": {}, "childAssets": {} } }, "chunks": [ { "id": "ab-test", "rendered": true, "initial": true, "entry": true, "size": 89191, "names": [ "ab-test" ], "files": [ "ab-test.js" ], "hash": "b68b312fafc8aaae6089", "siblings": [], "parents": [], "children": [], "childrenByOrder": {}, "modules": [ { "id": "../../node_modules/classnames/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/classnames/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/classnames/index.js", "index": 45, "index2": 43, "size": 1198, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "issuerId": "./components/TestResults/TestResults.js", "issuerName": "./components/TestResults/TestResults.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/TestResults/TestResults.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "name": "./components/TestResults/TestResults.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/TestResults/TestResults.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "module": "./components/TestResults/TestResults.js", "moduleName": "./components/TestResults/TestResults.js", "type": "harmony side effect evaluation", "userRequest": "classnames", "loc": "25:0-36" }, { "moduleId": "./components/TestResults/TestResults.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "module": "./components/TestResults/TestResults.js", "moduleName": "./components/TestResults/TestResults.js", "type": "harmony import specifier", "userRequest": "classnames", "loc": "107:21-31" }, { "moduleId": "./components/TestResults/TestResults.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "module": "./components/TestResults/TestResults.js", "moduleName": "./components/TestResults/TestResults.js", "type": "harmony import specifier", "userRequest": "classnames", "loc": "114:21-31" } ], "providedExports": null, "optimizationBailout": [], "depth": 2, "source": "/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n" }, { "id": "../../node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "index": 23, "index2": 20, "size": 349, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "issuerId": "./components/BoxShadow/BoxShadow.css", "issuerName": "./components/BoxShadow/BoxShadow.css", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/BoxShadow/BoxShadow.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.js", "name": "./components/BoxShadow/BoxShadow.js" }, { "id": "./components/BoxShadow/BoxShadow.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "name": "./components/BoxShadow/BoxShadow.css" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/BoxShadow/BoxShadow.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "module": "./components/BoxShadow/BoxShadow.css", "moduleName": "./components/BoxShadow/BoxShadow.css", "type": "cjs require", "userRequest": "!!../../../../node_modules/css-loader/dist/cjs.js!./BoxShadow.css", "loc": "2:14-90" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "exports = module.exports = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".ab-test-for-wp__BoxShadow {\\n position: absolute;\\n top: -15px;\\n left: -15px;\\n width: calc(100% + 30px);\\n height: calc(100% + 30px);\\n border: 1px solid #e3e5e9;\\n pointer-events: none;\\n}\\n\", \"\"]);\n\n" }, { "id": "../../node_modules/css-loader/dist/cjs.js!./components/TestResults/TestResults.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/TestResults/TestResults.css", "index": 47, "index2": 44, "size": 576, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "issuerId": "./components/TestResults/TestResults.css", "issuerName": "./components/TestResults/TestResults.css", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/TestResults/TestResults.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.js", "name": "./components/TestResults/TestResults.js" }, { "id": "./components/TestResults/TestResults.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "name": "./components/TestResults/TestResults.css" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/TestResults/TestResults.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "module": "./components/TestResults/TestResults.css", "moduleName": "./components/TestResults/TestResults.css", "type": "cjs require", "userRequest": "!!../../../../node_modules/css-loader/dist/cjs.js!./TestResults.css", "loc": "2:14-92" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "exports = module.exports = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".TestResults {\\n width: 100%;\\n border-collapse: collapse;\\n}\\n\\n.TestResultName {\\n border-right: 1px solid #e2e4e7;\\n}\\n\\n.TestResults td {\\n vertical-align: middle;\\n}\\n\\n.TestResults td.TestResultWinner {\\n color: #46B450;\\n}\\n\\n.TestResults td.TestResultLoser {\\n color: #dc3232;\\n}\\n\\n.TestResultValue {\\n text-align: center;\\n line-height: 1.8em;\\n padding-left: 14px;\\n white-space: nowrap;\\n width: 1px;\\n}\\n\", \"\"]);\n\n" }, { "id": "../../node_modules/css-loader/dist/cjs.js!./components/VariantSelector/VariantSelector.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/VariantSelector/VariantSelector.css", "index": 17, "index2": 15, "size": 642, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "issuerId": "./components/VariantSelector/VariantSelector.css", "issuerName": "./components/VariantSelector/VariantSelector.css", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/VariantSelector/VariantSelector.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.js", "name": "./components/VariantSelector/VariantSelector.js" }, { "id": "./components/VariantSelector/VariantSelector.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "name": "./components/VariantSelector/VariantSelector.css" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/VariantSelector/VariantSelector.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "module": "./components/VariantSelector/VariantSelector.css", "moduleName": "./components/VariantSelector/VariantSelector.css", "type": "cjs require", "userRequest": "!!../../../../node_modules/css-loader/dist/cjs.js!./VariantSelector.css", "loc": "2:14-96" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "exports = module.exports = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".ab-test-for-wp__VariantSelector {\\n position: absolute;\\n z-index: 900;\\n left: calc(100% + 14px);\\n top: -15px;\\n}\\n\\n.ab-test-for-wp__VariantSelector .components-button {\\n width: 36px;\\n justify-content: center;\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0;\\n}\\n\\n.ab-test-for-wp__VariantSelector .components-button.is-toggled:not(:disabled):not([aria-disabled=\\\"true\\\"]):not(.is-default) {\\n border-color: #007abd;\\n background-color: #007abd;\\n color: #fff;\\n}\\n\", \"\"]);\n\n" }, { "id": "../../node_modules/css-loader/dist/runtime/api.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/runtime/api.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/runtime/api.js", "index": 18, "index2": 14, "size": 2406, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "issuerId": "../../node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/BoxShadow/BoxShadow.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.js", "name": "./components/BoxShadow/BoxShadow.js" }, { "id": "./components/BoxShadow/BoxShadow.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "name": "./components/BoxShadow/BoxShadow.css" }, { "id": "../../node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/BoxShadow/BoxShadow.css", "type": "cjs require", "userRequest": "../../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-93" }, { "moduleId": "../../node_modules/css-loader/dist/cjs.js!./components/TestResults/TestResults.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/TestResults/TestResults.css", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/TestResults/TestResults.css", "type": "cjs require", "userRequest": "../../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-93" }, { "moduleId": "../../node_modules/css-loader/dist/cjs.js!./components/VariantSelector/VariantSelector.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/VariantSelector/VariantSelector.css", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!./components/VariantSelector/VariantSelector.css", "type": "cjs require", "userRequest": "../../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-93" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}" }, { "id": "../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js", "index": 33, "index2": 27, "size": 954, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "issuerId": "../../node_modules/date-fns/parse/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/parse/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/parse/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "type": "cjs require", "userRequest": "../_lib/getTimezoneOffsetInMilliseconds/index.js", "loc": "1:38-97" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "var MILLISECONDS_IN_MINUTE = 60000\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nmodule.exports = function getTimezoneOffsetInMilliseconds (dirtyDate) {\n var date = new Date(dirtyDate.getTime())\n var baseTimezoneOffset = date.getTimezoneOffset()\n date.setSeconds(0, 0)\n var millisecondsPartOfTimezoneOffset = date.getTime() % MILLISECONDS_IN_MINUTE\n\n return baseTimezoneOffset * MILLISECONDS_IN_MINUTE + millisecondsPartOfTimezoneOffset\n}\n" }, { "id": "../../node_modules/date-fns/compare_asc/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_asc/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_asc/index.js", "index": 39, "index2": 34, "size": 1302, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "issuerId": "../../node_modules/date-fns/difference_in_months/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/difference_in_months/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/difference_in_months/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "type": "cjs require", "userRequest": "../compare_asc/index.js", "loc": "3:17-51" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "var parse = require('../parse/index.js')\n\n/**\n * @category Common Helpers\n * @summary Compare the two dates and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return 1 if the first date is after the second,\n * -1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|String|Number} dateLeft - the first date to compare\n * @param {Date|String|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989:\n * var result = compareAsc(\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * )\n * //=> -1\n *\n * @example\n * // Sort the array of dates:\n * var result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareAsc)\n * //=> [\n * // Wed Feb 11 1987 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Sun Jul 02 1995 00:00:00\n * // ]\n */\nfunction compareAsc (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var timeLeft = dateLeft.getTime()\n var dateRight = parse(dirtyDateRight)\n var timeRight = dateRight.getTime()\n\n if (timeLeft < timeRight) {\n return -1\n } else if (timeLeft > timeRight) {\n return 1\n } else {\n return 0\n }\n}\n\nmodule.exports = compareAsc\n" }, { "id": "../../node_modules/date-fns/compare_desc/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_desc/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_desc/index.js", "index": 31, "index2": 30, "size": 1384, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/distance_in_words/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "type": "cjs require", "userRequest": "../compare_desc/index.js", "loc": "1:18-53" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "var parse = require('../parse/index.js')\n\n/**\n * @category Common Helpers\n * @summary Compare the two dates reverse chronologically and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return -1 if the first date is after the second,\n * 1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|String|Number} dateLeft - the first date to compare\n * @param {Date|String|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989 reverse chronologically:\n * var result = compareDesc(\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * )\n * //=> 1\n *\n * @example\n * // Sort the array of dates in reverse chronological order:\n * var result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareDesc)\n * //=> [\n * // Sun Jul 02 1995 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Wed Feb 11 1987 00:00:00\n * // ]\n */\nfunction compareDesc (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var timeLeft = dateLeft.getTime()\n var dateRight = parse(dirtyDateRight)\n var timeRight = dateRight.getTime()\n\n if (timeLeft > timeRight) {\n return -1\n } else if (timeLeft < timeRight) {\n return 1\n } else {\n return 0\n }\n}\n\nmodule.exports = compareDesc\n" }, { "id": "../../node_modules/date-fns/difference_in_calendar_months/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_calendar_months/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_calendar_months/index.js", "index": 38, "index2": 33, "size": 968, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "issuerId": "../../node_modules/date-fns/difference_in_months/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/difference_in_months/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/difference_in_months/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "type": "cjs require", "userRequest": "../difference_in_calendar_months/index.js", "loc": "2:33-85" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "var parse = require('../parse/index.js')\n\n/**\n * @category Month Helpers\n * @summary Get the number of calendar months between the given dates.\n *\n * @description\n * Get the number of calendar months between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar months\n *\n * @example\n * // How many calendar months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInCalendarMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 8\n */\nfunction differenceInCalendarMonths (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear()\n var monthDiff = dateLeft.getMonth() - dateRight.getMonth()\n\n return yearDiff * 12 + monthDiff\n}\n\nmodule.exports = differenceInCalendarMonths\n" }, { "id": "../../node_modules/date-fns/difference_in_milliseconds/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_milliseconds/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_milliseconds/index.js", "index": 36, "index2": 31, "size": 901, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "issuerId": "../../node_modules/date-fns/difference_in_seconds/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/difference_in_seconds/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/difference_in_seconds/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "type": "cjs require", "userRequest": "../difference_in_milliseconds/index.js", "loc": "1:31-80" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "var parse = require('../parse/index.js')\n\n/**\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * var result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\nfunction differenceInMilliseconds (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n return dateLeft.getTime() - dateRight.getTime()\n}\n\nmodule.exports = differenceInMilliseconds\n" }, { "id": "../../node_modules/date-fns/difference_in_months/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "index": 37, "index2": 35, "size": 1368, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/distance_in_words/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "type": "cjs require", "userRequest": "../difference_in_months/index.js", "loc": "4:25-68" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "var parse = require('../parse/index.js')\nvar differenceInCalendarMonths = require('../difference_in_calendar_months/index.js')\nvar compareAsc = require('../compare_asc/index.js')\n\n/**\n * @category Month Helpers\n * @summary Get the number of full months between the given dates.\n *\n * @description\n * Get the number of full months between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of full months\n *\n * @example\n * // How many full months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 7\n */\nfunction differenceInMonths (dirtyDateLeft, dirtyDateRight) {\n var dateLeft = parse(dirtyDateLeft)\n var dateRight = parse(dirtyDateRight)\n\n var sign = compareAsc(dateLeft, dateRight)\n var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight))\n dateLeft.setMonth(dateLeft.getMonth() - sign * difference)\n\n // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign\n return sign * (difference - isLastMonthNotFull)\n}\n\nmodule.exports = differenceInMonths\n" }, { "id": "../../node_modules/date-fns/difference_in_seconds/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_seconds/index.js", "index": 35, "index2": 32, "size": 899, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/distance_in_words/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "type": "cjs require", "userRequest": "../difference_in_seconds/index.js", "loc": "3:26-70" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "var differenceInMilliseconds = require('../difference_in_milliseconds/index.js')\n\n/**\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * @param {Date|String|Number} dateLeft - the later date\n * @param {Date|String|Number} dateRight - the earlier date\n * @returns {Number} the number of seconds\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * var result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\nfunction differenceInSeconds (dirtyDateLeft, dirtyDateRight) {\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / 1000\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff)\n}\n\nmodule.exports = differenceInSeconds\n" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "index": 30, "index2": 40, "size": 7734, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "type": "cjs require", "userRequest": "../distance_in_words/index.js", "loc": "1:22-62" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "var compareDesc = require('../compare_desc/index.js')\nvar parse = require('../parse/index.js')\nvar differenceInSeconds = require('../difference_in_seconds/index.js')\nvar differenceInMonths = require('../difference_in_months/index.js')\nvar enLocale = require('../locale/en/index.js')\n\nvar MINUTES_IN_DAY = 1440\nvar MINUTES_IN_ALMOST_TWO_DAYS = 2520\nvar MINUTES_IN_MONTH = 43200\nvar MINUTES_IN_TWO_MONTHS = 86400\n\n/**\n * @category Common Helpers\n * @summary Return the distance between the given dates in words.\n *\n * @description\n * Return the distance between the given dates in words.\n *\n * | Distance between dates | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance between dates | Result |\n * |------------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * @param {Date|String|Number} dateToCompare - the date to compare with\n * @param {Date|String|Number} date - the other date\n * @param {Object} [options] - the object with options\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first\n * @param {Object} [options.locale=enLocale] - the locale object\n * @returns {String} the distance in words\n *\n * @example\n * // What is the distance between 2 July 2014 and 1 January 2015?\n * var result = distanceInWords(\n * new Date(2014, 6, 2),\n * new Date(2015, 0, 1)\n * )\n * //=> '6 months'\n *\n * @example\n * // What is the distance between 1 January 2015 00:00:15\n * // and 1 January 2015 00:00:00, including seconds?\n * var result = distanceInWords(\n * new Date(2015, 0, 1, 0, 0, 15),\n * new Date(2015, 0, 1, 0, 0, 0),\n * {includeSeconds: true}\n * )\n * //=> 'less than 20 seconds'\n *\n * @example\n * // What is the distance from 1 January 2016\n * // to 1 January 2015, with a suffix?\n * var result = distanceInWords(\n * new Date(2016, 0, 1),\n * new Date(2015, 0, 1),\n * {addSuffix: true}\n * )\n * //=> 'about 1 year ago'\n *\n * @example\n * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto?\n * var eoLocale = require('date-fns/locale/eo')\n * var result = distanceInWords(\n * new Date(2016, 7, 1),\n * new Date(2015, 0, 1),\n * {locale: eoLocale}\n * )\n * //=> 'pli ol 1 jaro'\n */\nfunction distanceInWords (dirtyDateToCompare, dirtyDate, dirtyOptions) {\n var options = dirtyOptions || {}\n\n var comparison = compareDesc(dirtyDateToCompare, dirtyDate)\n\n var locale = options.locale\n var localize = enLocale.distanceInWords.localize\n if (locale && locale.distanceInWords && locale.distanceInWords.localize) {\n localize = locale.distanceInWords.localize\n }\n\n var localizeOptions = {\n addSuffix: Boolean(options.addSuffix),\n comparison: comparison\n }\n\n var dateLeft, dateRight\n if (comparison > 0) {\n dateLeft = parse(dirtyDateToCompare)\n dateRight = parse(dirtyDate)\n } else {\n dateLeft = parse(dirtyDate)\n dateRight = parse(dirtyDateToCompare)\n }\n\n var seconds = differenceInSeconds(dateRight, dateLeft)\n var offset = dateRight.getTimezoneOffset() - dateLeft.getTimezoneOffset()\n var minutes = Math.round(seconds / 60) - offset\n var months\n\n // 0 up to 2 mins\n if (minutes < 2) {\n if (options.includeSeconds) {\n if (seconds < 5) {\n return localize('lessThanXSeconds', 5, localizeOptions)\n } else if (seconds < 10) {\n return localize('lessThanXSeconds', 10, localizeOptions)\n } else if (seconds < 20) {\n return localize('lessThanXSeconds', 20, localizeOptions)\n } else if (seconds < 40) {\n return localize('halfAMinute', null, localizeOptions)\n } else if (seconds < 60) {\n return localize('lessThanXMinutes', 1, localizeOptions)\n } else {\n return localize('xMinutes', 1, localizeOptions)\n }\n } else {\n if (minutes === 0) {\n return localize('lessThanXMinutes', 1, localizeOptions)\n } else {\n return localize('xMinutes', minutes, localizeOptions)\n }\n }\n\n // 2 mins up to 0.75 hrs\n } else if (minutes < 45) {\n return localize('xMinutes', minutes, localizeOptions)\n\n // 0.75 hrs up to 1.5 hrs\n } else if (minutes < 90) {\n return localize('aboutXHours', 1, localizeOptions)\n\n // 1.5 hrs up to 24 hrs\n } else if (minutes < MINUTES_IN_DAY) {\n var hours = Math.round(minutes / 60)\n return localize('aboutXHours', hours, localizeOptions)\n\n // 1 day up to 1.75 days\n } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) {\n return localize('xDays', 1, localizeOptions)\n\n // 1.75 days up to 30 days\n } else if (minutes < MINUTES_IN_MONTH) {\n var days = Math.round(minutes / MINUTES_IN_DAY)\n return localize('xDays', days, localizeOptions)\n\n // 1 month up to 2 months\n } else if (minutes < MINUTES_IN_TWO_MONTHS) {\n months = Math.round(minutes / MINUTES_IN_MONTH)\n return localize('aboutXMonths', months, localizeOptions)\n }\n\n months = differenceInMonths(dateRight, dateLeft)\n\n // 2 months up to 12 months\n if (months < 12) {\n var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH)\n return localize('xMonths', nearestMonth, localizeOptions)\n\n // 1 year up to max Date\n } else {\n var monthsSinceStartOfYear = months % 12\n var years = Math.floor(months / 12)\n\n // N years up to 1 years 3 months\n if (monthsSinceStartOfYear < 3) {\n return localize('aboutXYears', years, localizeOptions)\n\n // N years 3 months up to N years 9 months\n } else if (monthsSinceStartOfYear < 9) {\n return localize('overXYears', years, localizeOptions)\n\n // N years 9 months up to N year 12 months\n } else {\n return localize('almostXYears', years + 1, localizeOptions)\n }\n }\n}\n\nmodule.exports = distanceInWords\n" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "index": 29, "index2": 41, "size": 3958, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "issuerId": "./components/EnabledSettings/EnabledSettings.js", "issuerName": "./components/EnabledSettings/EnabledSettings.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/EnabledSettings/EnabledSettings.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "module": "./components/EnabledSettings/EnabledSettings.js", "moduleName": "./components/EnabledSettings/EnabledSettings.js", "type": "harmony side effect evaluation", "userRequest": "date-fns/distance_in_words_to_now", "loc": "2:0-69" }, { "moduleId": "./components/EnabledSettings/EnabledSettings.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "module": "./components/EnabledSettings/EnabledSettings.js", "moduleName": "./components/EnabledSettings/EnabledSettings.js", "type": "harmony import specifier", "userRequest": "date-fns/distance_in_words_to_now", "loc": "20:86-106" } ], "providedExports": null, "optimizationBailout": [], "depth": 2, "source": "var distanceInWords = require('../distance_in_words/index.js')\n\n/**\n * @category Common Helpers\n * @summary Return the distance between the given date and now in words.\n *\n * @description\n * Return the distance between the given date and now in words.\n *\n * | Distance to now | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance to now | Result |\n * |---------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * @param {Date|String|Number} date - the given date\n * @param {Object} [options] - the object with options\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @param {Boolean} [options.addSuffix=false] - result specifies if the second date is earlier or later than the first\n * @param {Object} [options.locale=enLocale] - the locale object\n * @returns {String} the distance in words\n *\n * @example\n * // If today is 1 January 2015, what is the distance to 2 July 2014?\n * var result = distanceInWordsToNow(\n * new Date(2014, 6, 2)\n * )\n * //=> '6 months'\n *\n * @example\n * // If now is 1 January 2015 00:00:00,\n * // what is the distance to 1 January 2015 00:00:15, including seconds?\n * var result = distanceInWordsToNow(\n * new Date(2015, 0, 1, 0, 0, 15),\n * {includeSeconds: true}\n * )\n * //=> 'less than 20 seconds'\n *\n * @example\n * // If today is 1 January 2015,\n * // what is the distance to 1 January 2016, with a suffix?\n * var result = distanceInWordsToNow(\n * new Date(2016, 0, 1),\n * {addSuffix: true}\n * )\n * //=> 'in about 1 year'\n *\n * @example\n * // If today is 1 January 2015,\n * // what is the distance to 1 August 2016 in Esperanto?\n * var eoLocale = require('date-fns/locale/eo')\n * var result = distanceInWordsToNow(\n * new Date(2016, 7, 1),\n * {locale: eoLocale}\n * )\n * //=> 'pli ol 1 jaro'\n */\nfunction distanceInWordsToNow (dirtyDate, dirtyOptions) {\n return distanceInWords(Date.now(), dirtyDate, dirtyOptions)\n}\n\nmodule.exports = distanceInWordsToNow\n" }, { "id": "../../node_modules/date-fns/is_date/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/is_date/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/is_date/index.js", "index": 34, "index2": 28, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "issuerId": "../../node_modules/date-fns/parse/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/parse/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/parse/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "type": "cjs require", "userRequest": "../is_date/index.js", "loc": "2:13-43" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "/**\n * @category Common Helpers\n * @summary Is the given argument an instance of Date?\n *\n * @description\n * Is the given argument an instance of Date?\n *\n * @param {*} argument - the argument to check\n * @returns {Boolean} the given argument is an instance of Date\n *\n * @example\n * // Is 'mayonnaise' a Date?\n * var result = isDate('mayonnaise')\n * //=> false\n */\nfunction isDate (argument) {\n return argument instanceof Date\n}\n\nmodule.exports = isDate\n" }, { "id": "../../node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js", "index": 43, "index2": 37, "size": 711, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "issuerId": "../../node_modules/date-fns/locale/en/build_format_locale/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/locale/en/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js" }, { "id": "../../node_modules/date-fns/locale/en/build_format_locale/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/locale/en/build_format_locale/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "type": "cjs require", "userRequest": "../../_lib/build_formatting_tokens_reg_exp/index.js", "loc": "1:34-96" } ], "providedExports": null, "optimizationBailout": [], "depth": 6, "source": "var commonFormatterKeys = [\n 'M', 'MM', 'Q', 'D', 'DD', 'DDD', 'DDDD', 'd',\n 'E', 'W', 'WW', 'YY', 'YYYY', 'GG', 'GGGG',\n 'H', 'HH', 'h', 'hh', 'm', 'mm',\n 's', 'ss', 'S', 'SS', 'SSS',\n 'Z', 'ZZ', 'X', 'x'\n]\n\nfunction buildFormattingTokensRegExp (formatters) {\n var formatterKeys = []\n for (var key in formatters) {\n if (formatters.hasOwnProperty(key)) {\n formatterKeys.push(key)\n }\n }\n\n var formattingTokens = commonFormatterKeys\n .concat(formatterKeys)\n .sort()\n .reverse()\n var formattingTokensRegExp = new RegExp(\n '(\\\\[[^\\\\[]*\\\\])|(\\\\\\\\)?' + '(' + formattingTokens.join('|') + '|.)', 'g'\n )\n\n return formattingTokensRegExp\n}\n\nmodule.exports = buildFormattingTokensRegExp\n" }, { "id": "../../node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js", "index": 41, "index2": 36, "size": 1875, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "issuerId": "../../node_modules/date-fns/locale/en/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/locale/en/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/locale/en/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "type": "cjs require", "userRequest": "./build_distance_in_words_locale/index.js", "loc": "1:33-85" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "function buildDistanceInWordsLocale () {\n var distanceInWordsLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n\n halfAMinute: 'half a minute',\n\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n }\n\n function localize (token, count, options) {\n options = options || {}\n\n var result\n if (typeof distanceInWordsLocale[token] === 'string') {\n result = distanceInWordsLocale[token]\n } else if (count === 1) {\n result = distanceInWordsLocale[token].one\n } else {\n result = distanceInWordsLocale[token].other.replace('{{count}}', count)\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result\n } else {\n return result + ' ago'\n }\n }\n\n return result\n }\n\n return {\n localize: localize\n }\n}\n\nmodule.exports = buildDistanceInWordsLocale\n" }, { "id": "../../node_modules/date-fns/locale/en/build_format_locale/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/build_format_locale/index.js", "index": 42, "index2": 38, "size": 2876, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "issuerId": "../../node_modules/date-fns/locale/en/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" }, { "id": "../../node_modules/date-fns/locale/en/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/locale/en/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "type": "cjs require", "userRequest": "./build_format_locale/index.js", "loc": "2:24-65" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "var buildFormattingTokensRegExp = require('../../_lib/build_formatting_tokens_reg_exp/index.js')\n\nfunction buildFormatLocale () {\n // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n var months3char = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\n var monthsFull = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n var weekdays2char = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']\n var weekdays3char = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n var weekdaysFull = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n var meridiemUppercase = ['AM', 'PM']\n var meridiemLowercase = ['am', 'pm']\n var meridiemFull = ['a.m.', 'p.m.']\n\n var formatters = {\n // Month: Jan, Feb, ..., Dec\n 'MMM': function (date) {\n return months3char[date.getMonth()]\n },\n\n // Month: January, February, ..., December\n 'MMMM': function (date) {\n return monthsFull[date.getMonth()]\n },\n\n // Day of week: Su, Mo, ..., Sa\n 'dd': function (date) {\n return weekdays2char[date.getDay()]\n },\n\n // Day of week: Sun, Mon, ..., Sat\n 'ddd': function (date) {\n return weekdays3char[date.getDay()]\n },\n\n // Day of week: Sunday, Monday, ..., Saturday\n 'dddd': function (date) {\n return weekdaysFull[date.getDay()]\n },\n\n // AM, PM\n 'A': function (date) {\n return (date.getHours() / 12) >= 1 ? meridiemUppercase[1] : meridiemUppercase[0]\n },\n\n // am, pm\n 'a': function (date) {\n return (date.getHours() / 12) >= 1 ? meridiemLowercase[1] : meridiemLowercase[0]\n },\n\n // a.m., p.m.\n 'aa': function (date) {\n return (date.getHours() / 12) >= 1 ? meridiemFull[1] : meridiemFull[0]\n }\n }\n\n // Generate ordinal version of formatters: M -> Mo, D -> Do, etc.\n var ordinalFormatters = ['M', 'D', 'DDD', 'd', 'Q', 'W']\n ordinalFormatters.forEach(function (formatterToken) {\n formatters[formatterToken + 'o'] = function (date, formatters) {\n return ordinal(formatters[formatterToken](date))\n }\n })\n\n return {\n formatters: formatters,\n formattingTokensRegExp: buildFormattingTokensRegExp(formatters)\n }\n}\n\nfunction ordinal (number) {\n var rem100 = number % 100\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st'\n case 2:\n return number + 'nd'\n case 3:\n return number + 'rd'\n }\n }\n return number + 'th'\n}\n\nmodule.exports = buildFormatLocale\n" }, { "id": "../../node_modules/date-fns/locale/en/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/locale/en/index.js", "index": 40, "index2": 39, "size": 310, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/distance_in_words/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "type": "cjs require", "userRequest": "../locale/en/index.js", "loc": "5:15-47" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "var buildDistanceInWordsLocale = require('./build_distance_in_words_locale/index.js')\nvar buildFormatLocale = require('./build_format_locale/index.js')\n\n/**\n * @category Locales\n * @summary English locale.\n */\nmodule.exports = {\n distanceInWords: buildDistanceInWordsLocale(),\n format: buildFormatLocale()\n}\n" }, { "id": "../../node_modules/date-fns/parse/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/parse/index.js", "index": 32, "index2": 29, "size": 8694, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerId": "../../node_modules/date-fns/distance_in_words/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/EnabledSettings/EnabledSettings.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/EnabledSettings/EnabledSettings.js", "name": "./components/EnabledSettings/EnabledSettings.js" }, { "id": "../../node_modules/date-fns/distance_in_words_to_now/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words_to_now/index.js" }, { "id": "../../node_modules/date-fns/distance_in_words/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/date-fns/compare_asc/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_asc/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_asc/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_asc/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "1:12-40" }, { "moduleId": "../../node_modules/date-fns/compare_desc/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_desc/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_desc/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/compare_desc/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "1:12-40" }, { "moduleId": "../../node_modules/date-fns/difference_in_calendar_months/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_calendar_months/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_calendar_months/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_calendar_months/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "1:12-40" }, { "moduleId": "../../node_modules/date-fns/difference_in_milliseconds/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_milliseconds/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_milliseconds/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_milliseconds/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "1:12-40" }, { "moduleId": "../../node_modules/date-fns/difference_in_months/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/difference_in_months/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "1:12-40" }, { "moduleId": "../../node_modules/date-fns/distance_in_words/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/date-fns/distance_in_words/index.js", "type": "cjs require", "userRequest": "../parse/index.js", "loc": "2:12-40" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "var getTimezoneOffsetInMilliseconds = require('../_lib/getTimezoneOffsetInMilliseconds/index.js')\nvar isDate = require('../is_date/index.js')\n\nvar MILLISECONDS_IN_HOUR = 3600000\nvar MILLISECONDS_IN_MINUTE = 60000\nvar DEFAULT_ADDITIONAL_DIGITS = 2\n\nvar parseTokenDateTimeDelimeter = /[T ]/\nvar parseTokenPlainTime = /:/\n\n// year tokens\nvar parseTokenYY = /^(\\d{2})$/\nvar parseTokensYYY = [\n /^([+-]\\d{2})$/, // 0 additional digits\n /^([+-]\\d{3})$/, // 1 additional digit\n /^([+-]\\d{4})$/ // 2 additional digits\n]\n\nvar parseTokenYYYY = /^(\\d{4})/\nvar parseTokensYYYYY = [\n /^([+-]\\d{4})/, // 0 additional digits\n /^([+-]\\d{5})/, // 1 additional digit\n /^([+-]\\d{6})/ // 2 additional digits\n]\n\n// date tokens\nvar parseTokenMM = /^-(\\d{2})$/\nvar parseTokenDDD = /^-?(\\d{3})$/\nvar parseTokenMMDD = /^-?(\\d{2})-?(\\d{2})$/\nvar parseTokenWww = /^-?W(\\d{2})$/\nvar parseTokenWwwD = /^-?W(\\d{2})-?(\\d{1})$/\n\n// time tokens\nvar parseTokenHH = /^(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMM = /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\nvar parseTokenHHMMSS = /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/\n\n// timezone tokens\nvar parseTokenTimezone = /([Z+-].*)$/\nvar parseTokenTimezoneZ = /^(Z)$/\nvar parseTokenTimezoneHH = /^([+-])(\\d{2})$/\nvar parseTokenTimezoneHHMM = /^([+-])(\\d{2}):?(\\d{2})$/\n\n/**\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n *\n * If all above fails, the function passes the given argument to Date constructor.\n *\n * @param {Date|String|Number} argument - the value to convert\n * @param {Object} [options] - the object with options\n * @param {0 | 1 | 2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @returns {Date} the parsed date in the local time zone\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * var result = parse('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Parse string '+02014101',\n * // if the additional number of digits in the extended year format is 1:\n * var result = parse('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\nfunction parse (argument, dirtyOptions) {\n if (isDate(argument)) {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime())\n } else if (typeof argument !== 'string') {\n return new Date(argument)\n }\n\n var options = dirtyOptions || {}\n var additionalDigits = options.additionalDigits\n if (additionalDigits == null) {\n additionalDigits = DEFAULT_ADDITIONAL_DIGITS\n } else {\n additionalDigits = Number(additionalDigits)\n }\n\n var dateStrings = splitDateString(argument)\n\n var parseYearResult = parseYear(dateStrings.date, additionalDigits)\n var year = parseYearResult.year\n var restDateString = parseYearResult.restDateString\n\n var date = parseDate(restDateString, year)\n\n if (date) {\n var timestamp = date.getTime()\n var time = 0\n var offset\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time)\n }\n\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone) * MILLISECONDS_IN_MINUTE\n } else {\n var fullTime = timestamp + time\n var fullTimeDate = new Date(fullTime)\n\n offset = getTimezoneOffsetInMilliseconds(fullTimeDate)\n\n // Adjust time when it's coming from DST\n var fullTimeDateNextDay = new Date(fullTime)\n fullTimeDateNextDay.setDate(fullTimeDate.getDate() + 1)\n var offsetDiff =\n getTimezoneOffsetInMilliseconds(fullTimeDateNextDay) -\n getTimezoneOffsetInMilliseconds(fullTimeDate)\n if (offsetDiff > 0) {\n offset += offsetDiff\n }\n }\n\n return new Date(timestamp + time + offset)\n } else {\n return new Date(argument)\n }\n}\n\nfunction splitDateString (dateString) {\n var dateStrings = {}\n var array = dateString.split(parseTokenDateTimeDelimeter)\n var timeString\n\n if (parseTokenPlainTime.test(array[0])) {\n dateStrings.date = null\n timeString = array[0]\n } else {\n dateStrings.date = array[0]\n timeString = array[1]\n }\n\n if (timeString) {\n var token = parseTokenTimezone.exec(timeString)\n if (token) {\n dateStrings.time = timeString.replace(token[1], '')\n dateStrings.timezone = token[1]\n } else {\n dateStrings.time = timeString\n }\n }\n\n return dateStrings\n}\n\nfunction parseYear (dateString, additionalDigits) {\n var parseTokenYYY = parseTokensYYY[additionalDigits]\n var parseTokenYYYYY = parseTokensYYYYY[additionalDigits]\n\n var token\n\n // YYYY or ±YYYYY\n token = parseTokenYYYY.exec(dateString) || parseTokenYYYYY.exec(dateString)\n if (token) {\n var yearString = token[1]\n return {\n year: parseInt(yearString, 10),\n restDateString: dateString.slice(yearString.length)\n }\n }\n\n // YY or ±YYY\n token = parseTokenYY.exec(dateString) || parseTokenYYY.exec(dateString)\n if (token) {\n var centuryString = token[1]\n return {\n year: parseInt(centuryString, 10) * 100,\n restDateString: dateString.slice(centuryString.length)\n }\n }\n\n // Invalid ISO-formatted year\n return {\n year: null\n }\n}\n\nfunction parseDate (dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) {\n return null\n }\n\n var token\n var date\n var month\n var week\n\n // YYYY\n if (dateString.length === 0) {\n date = new Date(0)\n date.setUTCFullYear(year)\n return date\n }\n\n // YYYY-MM\n token = parseTokenMM.exec(dateString)\n if (token) {\n date = new Date(0)\n month = parseInt(token[1], 10) - 1\n date.setUTCFullYear(year, month)\n return date\n }\n\n // YYYY-DDD or YYYYDDD\n token = parseTokenDDD.exec(dateString)\n if (token) {\n date = new Date(0)\n var dayOfYear = parseInt(token[1], 10)\n date.setUTCFullYear(year, 0, dayOfYear)\n return date\n }\n\n // YYYY-MM-DD or YYYYMMDD\n token = parseTokenMMDD.exec(dateString)\n if (token) {\n date = new Date(0)\n month = parseInt(token[1], 10) - 1\n var day = parseInt(token[2], 10)\n date.setUTCFullYear(year, month, day)\n return date\n }\n\n // YYYY-Www or YYYYWww\n token = parseTokenWww.exec(dateString)\n if (token) {\n week = parseInt(token[1], 10) - 1\n return dayOfISOYear(year, week)\n }\n\n // YYYY-Www-D or YYYYWwwD\n token = parseTokenWwwD.exec(dateString)\n if (token) {\n week = parseInt(token[1], 10) - 1\n var dayOfWeek = parseInt(token[2], 10) - 1\n return dayOfISOYear(year, week, dayOfWeek)\n }\n\n // Invalid ISO-formatted date\n return null\n}\n\nfunction parseTime (timeString) {\n var token\n var hours\n var minutes\n\n // hh\n token = parseTokenHH.exec(timeString)\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR\n }\n\n // hh:mm or hhmm\n token = parseTokenHHMM.exec(timeString)\n if (token) {\n hours = parseInt(token[1], 10)\n minutes = parseFloat(token[2].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR +\n minutes * MILLISECONDS_IN_MINUTE\n }\n\n // hh:mm:ss or hhmmss\n token = parseTokenHHMMSS.exec(timeString)\n if (token) {\n hours = parseInt(token[1], 10)\n minutes = parseInt(token[2], 10)\n var seconds = parseFloat(token[3].replace(',', '.'))\n return (hours % 24) * MILLISECONDS_IN_HOUR +\n minutes * MILLISECONDS_IN_MINUTE +\n seconds * 1000\n }\n\n // Invalid ISO-formatted time\n return null\n}\n\nfunction parseTimezone (timezoneString) {\n var token\n var absoluteOffset\n\n // Z\n token = parseTokenTimezoneZ.exec(timezoneString)\n if (token) {\n return 0\n }\n\n // ±hh\n token = parseTokenTimezoneHH.exec(timezoneString)\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60\n return (token[1] === '+') ? -absoluteOffset : absoluteOffset\n }\n\n // ±hh:mm or ±hhmm\n token = parseTokenTimezoneHHMM.exec(timezoneString)\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60 + parseInt(token[3], 10)\n return (token[1] === '+') ? -absoluteOffset : absoluteOffset\n }\n\n return 0\n}\n\nfunction dayOfISOYear (isoYear, week, day) {\n week = week || 0\n day = day || 0\n var date = new Date(0)\n date.setUTCFullYear(isoYear, 0, 4)\n var fourthOfJanuaryDay = date.getUTCDay() || 7\n var diff = week * 7 + day + 1 - fourthOfJanuaryDay\n date.setUTCDate(date.getUTCDate() + diff)\n return date\n}\n\nmodule.exports = parse\n" }, { "id": "../../node_modules/nanoid/format.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/nanoid/format.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/nanoid/format.js", "index": 11, "index2": 6, "size": 1241, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "issuerId": "../../node_modules/shortid/lib/generate.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" }, { "id": "../../node_modules/shortid/lib/build.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js" }, { "id": "../../node_modules/shortid/lib/generate.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/generate.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "type": "cjs require", "userRequest": "nanoid/format", "loc": "5:13-37" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "/**\n * Secure random string generator with custom alphabet.\n *\n * Alphabet must contain 256 symbols or less. Otherwise, the generator\n * will not be secure.\n *\n * @param {generator} random The random bytes generator.\n * @param {string} alphabet Symbols to be used in new random string.\n * @param {size} size The number of symbols in new random string.\n *\n * @return {string} Random string.\n *\n * @example\n * const format = require('nanoid/format')\n *\n * function random (size) {\n * const result = []\n * for (let i = 0; i < size; i++) {\n * result.push(randomByte())\n * }\n * return result\n * }\n *\n * format(random, \"abcdef\", 5) //=> \"fbaef\"\n *\n * @name format\n * @function\n */\nmodule.exports = function (random, alphabet, size) {\n var mask = (2 << Math.log(alphabet.length - 1) / Math.LN2) - 1\n var step = Math.ceil(1.6 * mask * size / alphabet.length)\n\n var id = ''\n while (true) {\n var bytes = random(step)\n for (var i = 0; i < step; i++) {\n var byte = bytes[i] & mask\n if (alphabet[byte]) {\n id += alphabet[byte]\n if (id.length === size) return id\n }\n }\n }\n}\n\n/**\n * @callback generator\n * @param {number} bytes The number of bytes to generate.\n * @return {number[]} Random bytes.\n */\n" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "index": 4, "index2": 12, "size": 55, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "issuerId": "./blocks/ab-test.js", "issuerName": "./blocks/ab-test.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./blocks/ab-test.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "module": "./blocks/ab-test.js", "moduleName": "./blocks/ab-test.js", "type": "harmony side effect evaluation", "userRequest": "shortid", "loc": "6:0-30" }, { "moduleId": "./blocks/ab-test.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "module": "./blocks/ab-test.js", "moduleName": "./blocks/ab-test.js", "type": "harmony import specifier", "userRequest": "shortid", "loc": "69:12-19" }, { "moduleId": "./blocks/ab-test.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "module": "./blocks/ab-test.js", "moduleName": "./blocks/ab-test.js", "type": "harmony import specifier", "userRequest": "shortid", "loc": "74:12-19" }, { "moduleId": "./blocks/ab-test.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "module": "./blocks/ab-test.js", "moduleName": "./blocks/ab-test.js", "type": "harmony import specifier", "userRequest": "shortid", "loc": "80:12-19" } ], "providedExports": null, "optimizationBailout": [], "depth": 1, "source": "'use strict';\nmodule.exports = require('./lib/index');\n" }, { "id": "../../node_modules/shortid/lib/alphabet.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "index": 6, "index2": 4, "size": 2263, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerId": "../../node_modules/shortid/lib/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/build.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "type": "cjs require", "userRequest": "./alphabet", "loc": "4:15-36" }, { "moduleId": "../../node_modules/shortid/lib/generate.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "type": "cjs require", "userRequest": "./alphabet", "loc": "3:15-36" }, { "moduleId": "../../node_modules/shortid/lib/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "type": "cjs require", "userRequest": "./alphabet", "loc": "3:15-36" }, { "moduleId": "../../node_modules/shortid/lib/is-valid.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/is-valid.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/is-valid.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/is-valid.js", "type": "cjs require", "userRequest": "./alphabet", "loc": "2:15-36" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "'use strict';\n\nvar randomFromSeed = require('./random/random-from-seed');\n\nvar ORIGINAL = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-';\nvar alphabet;\nvar previousSeed;\n\nvar shuffled;\n\nfunction reset() {\n shuffled = false;\n}\n\nfunction setCharacters(_alphabet_) {\n if (!_alphabet_) {\n if (alphabet !== ORIGINAL) {\n alphabet = ORIGINAL;\n reset();\n }\n return;\n }\n\n if (_alphabet_ === alphabet) {\n return;\n }\n\n if (_alphabet_.length !== ORIGINAL.length) {\n throw new Error('Custom alphabet for shortid must be ' + ORIGINAL.length + ' unique characters. You submitted ' + _alphabet_.length + ' characters: ' + _alphabet_);\n }\n\n var unique = _alphabet_.split('').filter(function(item, ind, arr){\n return ind !== arr.lastIndexOf(item);\n });\n\n if (unique.length) {\n throw new Error('Custom alphabet for shortid must be ' + ORIGINAL.length + ' unique characters. These characters were not unique: ' + unique.join(', '));\n }\n\n alphabet = _alphabet_;\n reset();\n}\n\nfunction characters(_alphabet_) {\n setCharacters(_alphabet_);\n return alphabet;\n}\n\nfunction setSeed(seed) {\n randomFromSeed.seed(seed);\n if (previousSeed !== seed) {\n reset();\n previousSeed = seed;\n }\n}\n\nfunction shuffle() {\n if (!alphabet) {\n setCharacters(ORIGINAL);\n }\n\n var sourceArray = alphabet.split('');\n var targetArray = [];\n var r = randomFromSeed.nextValue();\n var characterIndex;\n\n while (sourceArray.length > 0) {\n r = randomFromSeed.nextValue();\n characterIndex = Math.floor(r * sourceArray.length);\n targetArray.push(sourceArray.splice(characterIndex, 1)[0]);\n }\n return targetArray.join('');\n}\n\nfunction getShuffled() {\n if (shuffled) {\n return shuffled;\n }\n shuffled = shuffle();\n return shuffled;\n}\n\n/**\n * lookup shuffled letter\n * @param index\n * @returns {string}\n */\nfunction lookup(index) {\n var alphabetShuffled = getShuffled();\n return alphabetShuffled[index];\n}\n\nfunction get () {\n return alphabet || ORIGINAL;\n}\n\nmodule.exports = {\n get: get,\n characters: characters,\n seed: setSeed,\n lookup: lookup,\n shuffled: getShuffled\n};\n" }, { "id": "../../node_modules/shortid/lib/build.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "index": 8, "index2": 8, "size": 1233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerId": "../../node_modules/shortid/lib/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "type": "cjs require", "userRequest": "./build", "loc": "4:12-30" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "'use strict';\n\nvar generate = require('./generate');\nvar alphabet = require('./alphabet');\n\n// Ignore all milliseconds before a certain time to reduce the size of the date entropy without sacrificing uniqueness.\n// This number should be updated every year or so to keep the generated id short.\n// To regenerate `new Date() - 0` and bump the version. Always bump the version!\nvar REDUCE_TIME = 1459707606518;\n\n// don't change unless we change the algos or REDUCE_TIME\n// must be an integer and less than 16\nvar version = 6;\n\n// Counter is used when shortid is called multiple times in one second.\nvar counter;\n\n// Remember the last time shortid was called in case counter is needed.\nvar previousSeconds;\n\n/**\n * Generate unique id\n * Returns string id\n */\nfunction build(clusterWorkerId) {\n var str = '';\n\n var seconds = Math.floor((Date.now() - REDUCE_TIME) * 0.001);\n\n if (seconds === previousSeconds) {\n counter++;\n } else {\n counter = 0;\n previousSeconds = seconds;\n }\n\n str = str + generate(version);\n str = str + generate(clusterWorkerId);\n if (counter > 0) {\n str = str + generate(counter);\n }\n str = str + generate(seconds);\n return str;\n}\n\nmodule.exports = build;\n" }, { "id": "../../node_modules/shortid/lib/generate.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "index": 9, "index2": 7, "size": 435, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "issuerId": "../../node_modules/shortid/lib/build.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" }, { "id": "../../node_modules/shortid/lib/build.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/build.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "type": "cjs require", "userRequest": "./generate", "loc": "3:15-36" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "'use strict';\n\nvar alphabet = require('./alphabet');\nvar random = require('./random/random-byte');\nvar format = require('nanoid/format');\n\nfunction generate(number) {\n var loopCounter = 0;\n var done;\n\n var str = '';\n\n while (!done) {\n str = str + format(random, alphabet.get(), 1);\n done = number < (Math.pow(16, loopCounter + 1 ) );\n loopCounter++;\n }\n return str;\n}\n\nmodule.exports = generate;\n" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "index": 5, "index2": 11, "size": 1683, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "issuerId": "../../node_modules/shortid/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "type": "cjs require", "userRequest": "./lib/index", "loc": "2:17-39" } ], "providedExports": null, "optimizationBailout": [], "depth": 2, "source": "'use strict';\n\nvar alphabet = require('./alphabet');\nvar build = require('./build');\nvar isValid = require('./is-valid');\n\n// if you are using cluster or multiple servers use this to make each instance\n// has a unique value for worker\n// Note: I don't know if this is automatically set when using third\n// party cluster solutions such as pm2.\nvar clusterWorkerId = require('./util/cluster-worker-id') || 0;\n\n/**\n * Set the seed.\n * Highly recommended if you don't want people to try to figure out your id schema.\n * exposed as shortid.seed(int)\n * @param seed Integer value to seed the random alphabet. ALWAYS USE THE SAME SEED or you might get overlaps.\n */\nfunction seed(seedValue) {\n alphabet.seed(seedValue);\n return module.exports;\n}\n\n/**\n * Set the cluster worker or machine id\n * exposed as shortid.worker(int)\n * @param workerId worker must be positive integer. Number less than 16 is recommended.\n * returns shortid module so it can be chained.\n */\nfunction worker(workerId) {\n clusterWorkerId = workerId;\n return module.exports;\n}\n\n/**\n *\n * sets new characters to use in the alphabet\n * returns the shuffled alphabet\n */\nfunction characters(newCharacters) {\n if (newCharacters !== undefined) {\n alphabet.characters(newCharacters);\n }\n\n return alphabet.shuffled();\n}\n\n/**\n * Generate unique id\n * Returns string id\n */\nfunction generate() {\n return build(clusterWorkerId);\n}\n\n// Export all other functions as properties of the generate function\nmodule.exports = generate;\nmodule.exports.generate = generate;\nmodule.exports.seed = seed;\nmodule.exports.worker = worker;\nmodule.exports.characters = characters;\nmodule.exports.isValid = isValid;\n" }, { "id": "../../node_modules/shortid/lib/is-valid.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/is-valid.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/is-valid.js", "index": 12, "index2": 9, "size": 348, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerId": "../../node_modules/shortid/lib/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "type": "cjs require", "userRequest": "./is-valid", "loc": "5:14-35" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "'use strict';\nvar alphabet = require('./alphabet');\n\nfunction isShortId(id) {\n if (!id || typeof id !== 'string' || id.length < 6 ) {\n return false;\n }\n\n var nonAlphabetic = new RegExp('[^' +\n alphabet.get().replace(/[|\\\\{}()[\\]^$+*?.-]/g, '\\\\$&') +\n ']');\n return !nonAlphabetic.test(id);\n}\n\nmodule.exports = isShortId;\n" }, { "id": "../../node_modules/shortid/lib/random/random-byte-browser.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/random/random-byte-browser.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/random/random-byte-browser.js", "index": 10, "index2": 5, "size": 522, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "issuerId": "../../node_modules/shortid/lib/generate.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" }, { "id": "../../node_modules/shortid/lib/build.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/build.js" }, { "id": "../../node_modules/shortid/lib/generate.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/generate.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/generate.js", "type": "cjs require", "userRequest": "./random/random-byte", "loc": "4:13-44" } ], "providedExports": null, "optimizationBailout": [], "depth": 5, "source": "'use strict';\n\nvar crypto = typeof window === 'object' && (window.crypto || window.msCrypto); // IE 11 uses window.msCrypto\n\nvar randomByte;\n\nif (!crypto || !crypto.getRandomValues) {\n randomByte = function(size) {\n var bytes = [];\n for (var i = 0; i < size; i++) {\n bytes.push(Math.floor(Math.random() * 256));\n }\n return bytes;\n };\n} else {\n randomByte = function(size) {\n return crypto.getRandomValues(new Uint8Array(size));\n };\n}\n\nmodule.exports = randomByte;\n" }, { "id": "../../node_modules/shortid/lib/random/random-from-seed.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/random/random-from-seed.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/random/random-from-seed.js", "index": 7, "index2": 3, "size": 473, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "issuerId": "../../node_modules/shortid/lib/alphabet.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" }, { "id": "../../node_modules/shortid/lib/alphabet.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/alphabet.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/alphabet.js", "type": "cjs require", "userRequest": "./random/random-from-seed", "loc": "3:21-57" } ], "providedExports": null, "optimizationBailout": [], "depth": 4, "source": "'use strict';\n\n// Found this seed-based random generator somewhere\n// Based on The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)\n\nvar seed = 1;\n\n/**\n * return a random number based on a seed\n * @param seed\n * @returns {number}\n */\nfunction getNextValue() {\n seed = (seed * 9301 + 49297) % 233280;\n return seed/(233280.0);\n}\n\nfunction setSeed(_seed_) {\n seed = _seed_;\n}\n\nmodule.exports = {\n nextValue: getNextValue,\n seed: setSeed\n};\n" }, { "id": "../../node_modules/shortid/lib/util/cluster-worker-id-browser.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/util/cluster-worker-id-browser.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/util/cluster-worker-id-browser.js", "index": 13, "index2": 10, "size": 35, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerId": "../../node_modules/shortid/lib/index.js", "issuerName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "../../node_modules/shortid/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/index.js" }, { "id": "../../node_modules/shortid/lib/index.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "../../node_modules/shortid/lib/index.js", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "module": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "moduleName": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/shortid/lib/index.js", "type": "cjs require", "userRequest": "./util/cluster-worker-id", "loc": "11:22-57" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "'use strict';\n\nmodule.exports = 0;\n" }, { "id": "../../node_modules/style-loader/lib/addStyles.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/lib/addStyles.js", "name": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/lib/addStyles.js", "index": 19, "index2": 17, "size": 10399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ "ab-test" ], "issuer": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "issuerId": "./components/VariantSelector/VariantSelector.css", "issuerName": "./components/VariantSelector/VariantSelector.css", "issuerPath": [ { "id": "./blocks/ab-test.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/blocks/ab-test.js", "name": "./blocks/ab-test.js" }, { "id": "./components/VariantSelector/VariantSelector.js", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/babel-loader/lib/index.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.js", "name": "./components/VariantSelector/VariantSelector.js" }, { "id": "./components/VariantSelector/VariantSelector.css", "identifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "name": "./components/VariantSelector/VariantSelector.css" } ], "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": "./components/BoxShadow/BoxShadow.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/BoxShadow/BoxShadow.css", "module": "./components/BoxShadow/BoxShadow.css", "moduleName": "./components/BoxShadow/BoxShadow.css", "type": "cjs require", "userRequest": "!../../../../node_modules/style-loader/lib/addStyles.js", "loc": "16:13-79" }, { "moduleId": "./components/TestResults/TestResults.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/TestResults/TestResults.css", "module": "./components/TestResults/TestResults.css", "moduleName": "./components/TestResults/TestResults.css", "type": "cjs require", "userRequest": "!../../../../node_modules/style-loader/lib/addStyles.js", "loc": "16:13-79" }, { "moduleId": "./components/VariantSelector/VariantSelector.css", "moduleIdentifier": "/Users/gaya/Workspace/ab-test-wordpress/node_modules/style-loader/index.js!/Users/gaya/Workspace/ab-test-wordpress/node_modules/css-loader/dist/cjs.js!/Users/gaya/Workspace/ab-test-wordpress/src/scripts/components/VariantSelector/VariantSelector.css", "module": "./components/VariantSelector/VariantSelector.css", "moduleName": "./components/VariantSelector/VariantSelector.css", "type": "cjs require", "userRequest": "!../../../../node_modules/style-loader/lib/addStyles.js", "loc": "16:13-79" } ], "providedExports": null, "optimizationBailout": [], "depth": 3, "source": "/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target, parent) {\n if (parent){\n return parent.querySelector(target);\n }\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target, parent) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target, parent);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = require(\"./urls\");\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of