@company-ui/vue
Version:
1 lines • 212 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../node_modules/.pnpm/vue-demi@0.14.8_@vue+composition-api@1.7.2_vue@3.4.27/node_modules/vue-demi/lib/index.mjs","../__vite-browser-external","../../core/dist/index.esm.js","../../shared/dist/index.esm.js","../../../node_modules/.pnpm/@floating-ui+utils@0.2.2/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../../../node_modules/.pnpm/@floating-ui+core@1.6.1/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../../../node_modules/.pnpm/@floating-ui+utils@0.2.2/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","../../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../src/directives/click-outside.ts","../src/teleport/src/teleport.vue?vue&type=script&lang.ts","../src/autocomplete/src/autocomplete.vue?vue&type=script&lang.ts","../src/main.ts"],"sourcesContent":["import * as Vue from 'vue'\n\nvar isVue2 = false\nvar isVue3 = true\nvar Vue2 = undefined\n\nfunction install() {}\n\nexport function set(target, key, val) {\n if (Array.isArray(target)) {\n target.length = Math.max(target.length, key)\n target.splice(key, 1, val)\n return val\n }\n target[key] = val\n return val\n}\n\nexport function del(target, key) {\n if (Array.isArray(target)) {\n target.splice(key, 1)\n return\n }\n delete target[key]\n}\n\nexport * from 'vue'\nexport {\n Vue,\n Vue2,\n isVue2,\n isVue3,\n install,\n}\n","export default {}","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar isUndefined = function isUndefined(value) {\n return value === undefined;\n};\nvar replaceAll = function replaceAll(str, find, replace) {\n return str.replace(new RegExp(find, 'g'), replace);\n};\nvar removeHtmlTags = function removeHtmlTags(str) {\n return str.replace(/(<([^>]+)>)/gi, '');\n};\nvar stringToJson = function stringToJson(str) {\n try {\n var result = JSON.parse(str);\n if (Array.isArray(result)) {\n return result;\n } else {\n return [];\n }\n } catch (e) {\n return [];\n }\n};\nvar objectToQueryString = function objectToQueryString(object, prefix) {\n if (prefix === void 0) {\n prefix = '';\n }\n return prefix + Object.keys(object).map(function (key) {\n return \"\".concat(key, \"=\").concat(object[key]);\n }).join('&');\n};\nvar splitArray = function splitArray(arr, size) {\n var result = [];\n for (var i = 0; i < arr.length; i += size) {\n result.push(arr.slice(i, i + size));\n }\n return result;\n};\n\nvar qccAvatarUrls = [\n 'https://image.qcc.com/logo/{id}.jpg',\n 'https://image.qcc.com/auto/{id}.jpg',\n];\nvar handleAvatar = function (img, options) { return __awaiter(void 0, void 0, void 0, function () {\n var id, _a, _b, _c;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n id = img.dataset.id || '';\n if (!options.avatarUrl) return [3 /*break*/, 2];\n _a = img;\n return [4 /*yield*/, getImageData(id, [options.avatarUrl])];\n case 1:\n _a.src = _d.sent();\n return [2 /*return*/];\n case 2:\n _b = options.api;\n switch (_b) {\n case 'qcc_open': return [3 /*break*/, 3];\n }\n return [3 /*break*/, 5];\n case 3:\n _c = img;\n return [4 /*yield*/, getImageData(id, qccAvatarUrls)];\n case 4:\n _c.src = _d.sent();\n return [3 /*break*/, 5];\n case 5: return [2 /*return*/];\n }\n });\n}); };\n/**\n * get image data\n * @param id\n * @param urls\n */\nvar getImageData = function (id, urls) { return __awaiter(void 0, void 0, void 0, function () {\n var _i, urls_1, url, truthUrl, response, blob, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _i = 0, urls_1 = urls;\n _a.label = 1;\n case 1:\n if (!(_i < urls_1.length)) return [3 /*break*/, 8];\n url = urls_1[_i];\n _a.label = 2;\n case 2:\n _a.trys.push([2, 6, , 7]);\n truthUrl = replaceAll(url, '{id}', id);\n return [4 /*yield*/, fetch(truthUrl)];\n case 3:\n response = _a.sent();\n if (!(response.status === 200)) return [3 /*break*/, 5];\n return [4 /*yield*/, response.blob()];\n case 4:\n blob = _a.sent();\n return [2 /*return*/, URL.createObjectURL(blob)];\n case 5: return [3 /*break*/, 7];\n case 6:\n error_1 = _a.sent();\n console.error(error_1);\n return [3 /*break*/, 7];\n case 7:\n _i++;\n return [3 /*break*/, 1];\n case 8: return [2 /*return*/, ''];\n }\n });\n}); };\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar md5$1 = {exports: {}};\n\nfunction commonjsRequire(path) {\n\tthrow new Error('Could not dynamically require \"' + path + '\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');\n}\n\nvar core = {exports: {}};\n\nvar hasRequiredCore;\n\nfunction requireCore () {\n\tif (hasRequiredCore) return core.exports;\n\thasRequiredCore = 1;\n\t(function (module, exports) {\n(function (root, factory) {\n\t\t\t{\n\t\t\t\t// CommonJS\n\t\t\t\tmodule.exports = factory();\n\t\t\t}\n\t\t}(commonjsGlobal, function () {\n\n\t\t\t/*globals window, global, require*/\n\n\t\t\t/**\n\t\t\t * CryptoJS core components.\n\t\t\t */\n\t\t\tvar CryptoJS = CryptoJS || (function (Math, undefined$1) {\n\n\t\t\t var crypto;\n\n\t\t\t // Native crypto from window (Browser)\n\t\t\t if (typeof window !== 'undefined' && window.crypto) {\n\t\t\t crypto = window.crypto;\n\t\t\t }\n\n\t\t\t // Native crypto in web worker (Browser)\n\t\t\t if (typeof self !== 'undefined' && self.crypto) {\n\t\t\t crypto = self.crypto;\n\t\t\t }\n\n\t\t\t // Native crypto from worker\n\t\t\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t\t\t crypto = globalThis.crypto;\n\t\t\t }\n\n\t\t\t // Native (experimental IE 11) crypto from window (Browser)\n\t\t\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t\t\t crypto = window.msCrypto;\n\t\t\t }\n\n\t\t\t // Native crypto from global (NodeJS)\n\t\t\t if (!crypto && typeof commonjsGlobal !== 'undefined' && commonjsGlobal.crypto) {\n\t\t\t crypto = commonjsGlobal.crypto;\n\t\t\t }\n\n\t\t\t // Native crypto import via require (NodeJS)\n\t\t\t if (!crypto && typeof commonjsRequire === 'function') {\n\t\t\t try {\n\t\t\t crypto = require('crypto');\n\t\t\t } catch (err) {}\n\t\t\t }\n\n\t\t\t /*\n\t\t\t * Cryptographically secure pseudorandom number generator\n\t\t\t *\n\t\t\t * As Math.random() is cryptographically not safe to use\n\t\t\t */\n\t\t\t var cryptoSecureRandomInt = function () {\n\t\t\t if (crypto) {\n\t\t\t // Use getRandomValues method (Browser)\n\t\t\t if (typeof crypto.getRandomValues === 'function') {\n\t\t\t try {\n\t\t\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t\t\t } catch (err) {}\n\t\t\t }\n\n\t\t\t // Use randomBytes method (NodeJS)\n\t\t\t if (typeof crypto.randomBytes === 'function') {\n\t\t\t try {\n\t\t\t return crypto.randomBytes(4).readInt32LE();\n\t\t\t } catch (err) {}\n\t\t\t }\n\t\t\t }\n\n\t\t\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t\t\t };\n\n\t\t\t /*\n\t\t\t * Local polyfill of Object.create\n\n\t\t\t */\n\t\t\t var create = Object.create || (function () {\n\t\t\t function F() {}\n\n\t\t\t return function (obj) {\n\t\t\t var subtype;\n\n\t\t\t F.prototype = obj;\n\n\t\t\t subtype = new F();\n\n\t\t\t F.prototype = null;\n\n\t\t\t return subtype;\n\t\t\t };\n\t\t\t }());\n\n\t\t\t /**\n\t\t\t * CryptoJS namespace.\n\t\t\t */\n\t\t\t var C = {};\n\n\t\t\t /**\n\t\t\t * Library namespace.\n\t\t\t */\n\t\t\t var C_lib = C.lib = {};\n\n\t\t\t /**\n\t\t\t * Base object for prototypal inheritance.\n\t\t\t */\n\t\t\t var Base = C_lib.Base = (function () {\n\n\n\t\t\t return {\n\t\t\t /**\n\t\t\t * Creates a new object that inherits from this object.\n\t\t\t *\n\t\t\t * @param {Object} overrides Properties to copy into the new object.\n\t\t\t *\n\t\t\t * @return {Object} The new object.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var MyType = CryptoJS.lib.Base.extend({\n\t\t\t * field: 'value',\n\t\t\t *\n\t\t\t * method: function () {\n\t\t\t * }\n\t\t\t * });\n\t\t\t */\n\t\t\t extend: function (overrides) {\n\t\t\t // Spawn\n\t\t\t var subtype = create(this);\n\n\t\t\t // Augment\n\t\t\t if (overrides) {\n\t\t\t subtype.mixIn(overrides);\n\t\t\t }\n\n\t\t\t // Create default initializer\n\t\t\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t\t\t subtype.init = function () {\n\t\t\t subtype.$super.init.apply(this, arguments);\n\t\t\t };\n\t\t\t }\n\n\t\t\t // Initializer's prototype is the subtype object\n\t\t\t subtype.init.prototype = subtype;\n\n\t\t\t // Reference supertype\n\t\t\t subtype.$super = this;\n\n\t\t\t return subtype;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Extends this object and runs the init method.\n\t\t\t * Arguments to create() will be passed to init().\n\t\t\t *\n\t\t\t * @return {Object} The new object.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var instance = MyType.create();\n\t\t\t */\n\t\t\t create: function () {\n\t\t\t var instance = this.extend();\n\t\t\t instance.init.apply(instance, arguments);\n\n\t\t\t return instance;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Initializes a newly created object.\n\t\t\t * Override this method to add some logic when your objects are created.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var MyType = CryptoJS.lib.Base.extend({\n\t\t\t * init: function () {\n\t\t\t * // ...\n\t\t\t * }\n\t\t\t * });\n\t\t\t */\n\t\t\t init: function () {\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Copies properties into this object.\n\t\t\t *\n\t\t\t * @param {Object} properties The properties to mix in.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * MyType.mixIn({\n\t\t\t * field: 'value'\n\t\t\t * });\n\t\t\t */\n\t\t\t mixIn: function (properties) {\n\t\t\t for (var propertyName in properties) {\n\t\t\t if (properties.hasOwnProperty(propertyName)) {\n\t\t\t this[propertyName] = properties[propertyName];\n\t\t\t }\n\t\t\t }\n\n\t\t\t // IE won't copy toString using the loop above\n\t\t\t if (properties.hasOwnProperty('toString')) {\n\t\t\t this.toString = properties.toString;\n\t\t\t }\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Creates a copy of this object.\n\t\t\t *\n\t\t\t * @return {Object} The clone.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var clone = instance.clone();\n\t\t\t */\n\t\t\t clone: function () {\n\t\t\t return this.init.prototype.extend(this);\n\t\t\t }\n\t\t\t };\n\t\t\t }());\n\n\t\t\t /**\n\t\t\t * An array of 32-bit words.\n\t\t\t *\n\t\t\t * @property {Array} words The array of 32-bit words.\n\t\t\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t\t\t */\n\t\t\t var WordArray = C_lib.WordArray = Base.extend({\n\t\t\t /**\n\t\t\t * Initializes a newly created word array.\n\t\t\t *\n\t\t\t * @param {Array} words (Optional) An array of 32-bit words.\n\t\t\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t\t\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t\t\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t\t\t */\n\t\t\t init: function (words, sigBytes) {\n\t\t\t words = this.words = words || [];\n\n\t\t\t if (sigBytes != undefined$1) {\n\t\t\t this.sigBytes = sigBytes;\n\t\t\t } else {\n\t\t\t this.sigBytes = words.length * 4;\n\t\t\t }\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Converts this word array to a string.\n\t\t\t *\n\t\t\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t\t\t *\n\t\t\t * @return {string} The stringified word array.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var string = wordArray + '';\n\t\t\t * var string = wordArray.toString();\n\t\t\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t\t\t */\n\t\t\t toString: function (encoder) {\n\t\t\t return (encoder || Hex).stringify(this);\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Concatenates a word array to this word array.\n\t\t\t *\n\t\t\t * @param {WordArray} wordArray The word array to append.\n\t\t\t *\n\t\t\t * @return {WordArray} This word array.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * wordArray1.concat(wordArray2);\n\t\t\t */\n\t\t\t concat: function (wordArray) {\n\t\t\t // Shortcuts\n\t\t\t var thisWords = this.words;\n\t\t\t var thatWords = wordArray.words;\n\t\t\t var thisSigBytes = this.sigBytes;\n\t\t\t var thatSigBytes = wordArray.sigBytes;\n\n\t\t\t // Clamp excess bits\n\t\t\t this.clamp();\n\n\t\t\t // Concat\n\t\t\t if (thisSigBytes % 4) {\n\t\t\t // Copy one byte at a time\n\t\t\t for (var i = 0; i < thatSigBytes; i++) {\n\t\t\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t\t\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t\t\t }\n\t\t\t } else {\n\t\t\t // Copy one word at a time\n\t\t\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t\t\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t\t\t }\n\t\t\t }\n\t\t\t this.sigBytes += thatSigBytes;\n\n\t\t\t // Chainable\n\t\t\t return this;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Removes insignificant bits.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * wordArray.clamp();\n\t\t\t */\n\t\t\t clamp: function () {\n\t\t\t // Shortcuts\n\t\t\t var words = this.words;\n\t\t\t var sigBytes = this.sigBytes;\n\n\t\t\t // Clamp\n\t\t\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t\t\t words.length = Math.ceil(sigBytes / 4);\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Creates a copy of this word array.\n\t\t\t *\n\t\t\t * @return {WordArray} The clone.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var clone = wordArray.clone();\n\t\t\t */\n\t\t\t clone: function () {\n\t\t\t var clone = Base.clone.call(this);\n\t\t\t clone.words = this.words.slice(0);\n\n\t\t\t return clone;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Creates a word array filled with random bytes.\n\t\t\t *\n\t\t\t * @param {number} nBytes The number of random bytes to generate.\n\t\t\t *\n\t\t\t * @return {WordArray} The random word array.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t\t\t */\n\t\t\t random: function (nBytes) {\n\t\t\t var words = [];\n\n\t\t\t for (var i = 0; i < nBytes; i += 4) {\n\t\t\t words.push(cryptoSecureRandomInt());\n\t\t\t }\n\n\t\t\t return new WordArray.init(words, nBytes);\n\t\t\t }\n\t\t\t });\n\n\t\t\t /**\n\t\t\t * Encoder namespace.\n\t\t\t */\n\t\t\t var C_enc = C.enc = {};\n\n\t\t\t /**\n\t\t\t * Hex encoding strategy.\n\t\t\t */\n\t\t\t var Hex = C_enc.Hex = {\n\t\t\t /**\n\t\t\t * Converts a word array to a hex string.\n\t\t\t *\n\t\t\t * @param {WordArray} wordArray The word array.\n\t\t\t *\n\t\t\t * @return {string} The hex string.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t\t\t */\n\t\t\t stringify: function (wordArray) {\n\t\t\t // Shortcuts\n\t\t\t var words = wordArray.words;\n\t\t\t var sigBytes = wordArray.sigBytes;\n\n\t\t\t // Convert\n\t\t\t var hexChars = [];\n\t\t\t for (var i = 0; i < sigBytes; i++) {\n\t\t\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t\t\t hexChars.push((bite >>> 4).toString(16));\n\t\t\t hexChars.push((bite & 0x0f).toString(16));\n\t\t\t }\n\n\t\t\t return hexChars.join('');\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Converts a hex string to a word array.\n\t\t\t *\n\t\t\t * @param {string} hexStr The hex string.\n\t\t\t *\n\t\t\t * @return {WordArray} The word array.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t\t\t */\n\t\t\t parse: function (hexStr) {\n\t\t\t // Shortcut\n\t\t\t var hexStrLength = hexStr.length;\n\n\t\t\t // Convert\n\t\t\t var words = [];\n\t\t\t for (var i = 0; i < hexStrLength; i += 2) {\n\t\t\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t\t\t }\n\n\t\t\t return new WordArray.init(words, hexStrLength / 2);\n\t\t\t }\n\t\t\t };\n\n\t\t\t /**\n\t\t\t * Latin1 encoding strategy.\n\t\t\t */\n\t\t\t var Latin1 = C_enc.Latin1 = {\n\t\t\t /**\n\t\t\t * Converts a word array to a Latin1 string.\n\t\t\t *\n\t\t\t * @param {WordArray} wordArray The word array.\n\t\t\t *\n\t\t\t * @return {string} The Latin1 string.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t\t\t */\n\t\t\t stringify: function (wordArray) {\n\t\t\t // Shortcuts\n\t\t\t var words = wordArray.words;\n\t\t\t var sigBytes = wordArray.sigBytes;\n\n\t\t\t // Convert\n\t\t\t var latin1Chars = [];\n\t\t\t for (var i = 0; i < sigBytes; i++) {\n\t\t\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t\t\t latin1Chars.push(String.fromCharCode(bite));\n\t\t\t }\n\n\t\t\t return latin1Chars.join('');\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Converts a Latin1 string to a word array.\n\t\t\t *\n\t\t\t * @param {string} latin1Str The Latin1 string.\n\t\t\t *\n\t\t\t * @return {WordArray} The word array.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t\t\t */\n\t\t\t parse: function (latin1Str) {\n\t\t\t // Shortcut\n\t\t\t var latin1StrLength = latin1Str.length;\n\n\t\t\t // Convert\n\t\t\t var words = [];\n\t\t\t for (var i = 0; i < latin1StrLength; i++) {\n\t\t\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t\t\t }\n\n\t\t\t return new WordArray.init(words, latin1StrLength);\n\t\t\t }\n\t\t\t };\n\n\t\t\t /**\n\t\t\t * UTF-8 encoding strategy.\n\t\t\t */\n\t\t\t var Utf8 = C_enc.Utf8 = {\n\t\t\t /**\n\t\t\t * Converts a word array to a UTF-8 string.\n\t\t\t *\n\t\t\t * @param {WordArray} wordArray The word array.\n\t\t\t *\n\t\t\t * @return {string} The UTF-8 string.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t\t\t */\n\t\t\t stringify: function (wordArray) {\n\t\t\t try {\n\t\t\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t\t\t } catch (e) {\n\t\t\t throw new Error('Malformed UTF-8 data');\n\t\t\t }\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Converts a UTF-8 string to a word array.\n\t\t\t *\n\t\t\t * @param {string} utf8Str The UTF-8 string.\n\t\t\t *\n\t\t\t * @return {WordArray} The word array.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t\t\t */\n\t\t\t parse: function (utf8Str) {\n\t\t\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t\t\t }\n\t\t\t };\n\n\t\t\t /**\n\t\t\t * Abstract buffered block algorithm template.\n\t\t\t *\n\t\t\t * The property blockSize must be implemented in a concrete subtype.\n\t\t\t *\n\t\t\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t\t\t */\n\t\t\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t\t\t /**\n\t\t\t * Resets this block algorithm's data buffer to its initial state.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * bufferedBlockAlgorithm.reset();\n\t\t\t */\n\t\t\t reset: function () {\n\t\t\t // Initial values\n\t\t\t this._data = new WordArray.init();\n\t\t\t this._nDataBytes = 0;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Adds new data to this block algorithm's buffer.\n\t\t\t *\n\t\t\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * bufferedBlockAlgorithm._append('data');\n\t\t\t * bufferedBlockAlgorithm._append(wordArray);\n\t\t\t */\n\t\t\t _append: function (data) {\n\t\t\t // Convert string to WordArray, else assume WordArray already\n\t\t\t if (typeof data == 'string') {\n\t\t\t data = Utf8.parse(data);\n\t\t\t }\n\n\t\t\t // Append\n\t\t\t this._data.concat(data);\n\t\t\t this._nDataBytes += data.sigBytes;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Processes available data blocks.\n\t\t\t *\n\t\t\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t\t\t *\n\t\t\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t\t\t *\n\t\t\t * @return {WordArray} The processed data.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var processedData = bufferedBlockAlgorithm._process();\n\t\t\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t\t\t */\n\t\t\t _process: function (doFlush) {\n\t\t\t var processedWords;\n\n\t\t\t // Shortcuts\n\t\t\t var data = this._data;\n\t\t\t var dataWords = data.words;\n\t\t\t var dataSigBytes = data.sigBytes;\n\t\t\t var blockSize = this.blockSize;\n\t\t\t var blockSizeBytes = blockSize * 4;\n\n\t\t\t // Count blocks ready\n\t\t\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t\t\t if (doFlush) {\n\t\t\t // Round up to include partial blocks\n\t\t\t nBlocksReady = Math.ceil(nBlocksReady);\n\t\t\t } else {\n\t\t\t // Round down to include only full blocks,\n\t\t\t // less the number of blocks that must remain in the buffer\n\t\t\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t\t\t }\n\n\t\t\t // Count words ready\n\t\t\t var nWordsReady = nBlocksReady * blockSize;\n\n\t\t\t // Count bytes ready\n\t\t\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t\t\t // Process blocks\n\t\t\t if (nWordsReady) {\n\t\t\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t\t\t // Perform concrete-algorithm logic\n\t\t\t this._doProcessBlock(dataWords, offset);\n\t\t\t }\n\n\t\t\t // Remove processed words\n\t\t\t processedWords = dataWords.splice(0, nWordsReady);\n\t\t\t data.sigBytes -= nBytesReady;\n\t\t\t }\n\n\t\t\t // Return processed words\n\t\t\t return new WordArray.init(processedWords, nBytesReady);\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Creates a copy of this object.\n\t\t\t *\n\t\t\t * @return {Object} The clone.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var clone = bufferedBlockAlgorithm.clone();\n\t\t\t */\n\t\t\t clone: function () {\n\t\t\t var clone = Base.clone.call(this);\n\t\t\t clone._data = this._data.clone();\n\n\t\t\t return clone;\n\t\t\t },\n\n\t\t\t _minBufferSize: 0\n\t\t\t });\n\n\t\t\t /**\n\t\t\t * Abstract hasher template.\n\t\t\t *\n\t\t\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t\t\t */\n\t\t\t C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t\t\t /**\n\t\t\t * Configuration options.\n\t\t\t */\n\t\t\t cfg: Base.extend(),\n\n\t\t\t /**\n\t\t\t * Initializes a newly created hasher.\n\t\t\t *\n\t\t\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var hasher = CryptoJS.algo.SHA256.create();\n\t\t\t */\n\t\t\t init: function (cfg) {\n\t\t\t // Apply config defaults\n\t\t\t this.cfg = this.cfg.extend(cfg);\n\n\t\t\t // Set initial values\n\t\t\t this.reset();\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Resets this hasher to its initial state.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * hasher.reset();\n\t\t\t */\n\t\t\t reset: function () {\n\t\t\t // Reset data buffer\n\t\t\t BufferedBlockAlgorithm.reset.call(this);\n\n\t\t\t // Perform concrete-hasher logic\n\t\t\t this._doReset();\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Updates this hasher with a message.\n\t\t\t *\n\t\t\t * @param {WordArray|string} messageUpdate The message to append.\n\t\t\t *\n\t\t\t * @return {Hasher} This hasher.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * hasher.update('message');\n\t\t\t * hasher.update(wordArray);\n\t\t\t */\n\t\t\t update: function (messageUpdate) {\n\t\t\t // Append\n\t\t\t this._append(messageUpdate);\n\n\t\t\t // Update the hash\n\t\t\t this._process();\n\n\t\t\t // Chainable\n\t\t\t return this;\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Finalizes the hash computation.\n\t\t\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t\t\t *\n\t\t\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t\t\t *\n\t\t\t * @return {WordArray} The hash.\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var hash = hasher.finalize();\n\t\t\t * var hash = hasher.finalize('message');\n\t\t\t * var hash = hasher.finalize(wordArray);\n\t\t\t */\n\t\t\t finalize: function (messageUpdate) {\n\t\t\t // Final message update\n\t\t\t if (messageUpdate) {\n\t\t\t this._append(messageUpdate);\n\t\t\t }\n\n\t\t\t // Perform concrete-hasher logic\n\t\t\t var hash = this._doFinalize();\n\n\t\t\t return hash;\n\t\t\t },\n\n\t\t\t blockSize: 512/32,\n\n\t\t\t /**\n\t\t\t * Creates a shortcut function to a hasher's object interface.\n\t\t\t *\n\t\t\t * @param {Hasher} hasher The hasher to create a helper for.\n\t\t\t *\n\t\t\t * @return {Function} The shortcut function.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t\t\t */\n\t\t\t _createHelper: function (hasher) {\n\t\t\t return function (message, cfg) {\n\t\t\t return new hasher.init(cfg).finalize(message);\n\t\t\t };\n\t\t\t },\n\n\t\t\t /**\n\t\t\t * Creates a shortcut function to the HMAC's object interface.\n\t\t\t *\n\t\t\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t\t\t *\n\t\t\t * @return {Function} The shortcut function.\n\t\t\t *\n\t\t\t * @static\n\t\t\t *\n\t\t\t * @example\n\t\t\t *\n\t\t\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t\t\t */\n\t\t\t _createHmacHelper: function (hasher) {\n\t\t\t return function (message, key) {\n\t\t\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t\t\t };\n\t\t\t }\n\t\t\t });\n\n\t\t\t /**\n\t\t\t * Algorithm namespace.\n\t\t\t */\n\t\t\t var C_algo = C.algo = {};\n\n\t\t\t return C;\n\t\t\t}(Math));\n\n\n\t\t\treturn CryptoJS;\n\n\t\t})); \n\t} (core));\n\treturn core.exports;\n}\n\n(function (module, exports) {\n(function (root, factory) {\n\t\t{\n\t\t\t// CommonJS\n\t\t\tmodule.exports = factory(requireCore());\n\t\t}\n\t}(commonjsGlobal, function (CryptoJS) {\n\n\t\t(function (Math) {\n\t\t // Shortcuts\n\t\t var C = CryptoJS;\n\t\t var C_lib = C.lib;\n\t\t var WordArray = C_lib.WordArray;\n\t\t var Hasher = C_lib.Hasher;\n\t\t var C_algo = C.algo;\n\n\t\t // Constants table\n\t\t var T = [];\n\n\t\t // Compute constants\n\t\t (function () {\n\t\t for (var i = 0; i < 64; i++) {\n\t\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t\t }\n\t\t }());\n\n\t\t /**\n\t\t * MD5 hash algorithm.\n\t\t */\n\t\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t\t _doReset: function () {\n\t\t this._hash = new WordArray.init([\n\t\t 0x67452301, 0xefcdab89,\n\t\t 0x98badcfe, 0x10325476\n\t\t ]);\n\t\t },\n\n\t\t _doProcessBlock: function (M, offset) {\n\t\t // Swap endian\n\t\t for (var i = 0; i < 16; i++) {\n\t\t // Shortcuts\n\t\t var offset_i = offset + i;\n\t\t var M_offset_i = M[offset_i];\n\n\t\t M[offset_i] = (\n\t\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t\t );\n\t\t }\n\n\t\t // Shortcuts\n\t\t var H = this._hash.words;\n\n\t\t var M_offset_0 = M[offset + 0];\n\t\t var M_offset_1 = M[offset + 1];\n\t\t var M_offset_2 = M[offset + 2];\n\t\t var M_offset_3 = M[offset + 3];\n\t\t var M_offset_4 = M[offset + 4];\n\t\t var M_offset_5 = M[offset + 5];\n\t\t var M_offset_6 = M[offset + 6];\n\t\t var M_offset_7 = M[offset + 7];\n\t\t var M_offset_8 = M[offset + 8];\n\t\t var M_offset_9 = M[offset + 9];\n\t\t var M_offset_10 = M[offset + 10];\n\t\t var M_offset_11 = M[offset + 11];\n\t\t var M_offset_12 = M[offset + 12];\n\t\t var M_offset_13 = M[offset + 13];\n\t\t var M_offset_14 = M[offset + 14];\n\t\t var M_offset_15 = M[offset + 15];\n\n\t\t // Working variables\n\t\t var a = H[0];\n\t\t var b = H[1];\n\t\t var c = H[2];\n\t\t var d = H[3];\n\n\t\t // Computation\n\t\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t\t // Intermediate hash value\n\t\t H[0] = (H[0] + a) | 0;\n\t\t H[1] = (H[1] + b) | 0;\n\t\t H[2] = (H[2] + c) | 0;\n\t\t H[3] = (H[3] + d) | 0;\n\t\t },\n\n\t\t _doFinalize: function () {\n\t\t // Shortcuts\n\t\t var data = this._data;\n\t\t var dataWords = data.words;\n\n\t\t var nBitsTotal = this._nDataBytes * 8;\n\t\t var nBitsLeft = data.sigBytes * 8;\n\n\t\t // Add padding\n\t\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t\t var nBitsTotalL = nBitsTotal;\n\t\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t\t );\n\t\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t\t );\n\n\t\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t\t // Hash final blocks\n\t\t this._process();\n\n\t\t // Shortcuts\n\t\t var hash = this._hash;\n\t\t var H = hash.words;\n\n\t\t // Swap endian\n\t\t for (var i = 0; i < 4; i++) {\n\t\t // Shortcut\n\t\t var H_i = H[i];\n\n\t\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t\t }\n\n\t\t // Return final computed hash\n\t\t return hash;\n\t\t },\n\n\t\t clone: function () {\n\t\t var clone = Hasher.clone.call(this);\n\t\t clone._hash = this._hash.clone();\n\n\t\t return clone;\n\t\t }\n\t\t });\n\n\t\t function FF(a, b, c, d, x, s, t) {\n\t\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t\t return ((n << s) | (n >>> (32 - s))) + b;\n\t\t }\n\n\t\t function GG(a, b, c, d, x, s, t) {\n\t\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t\t return ((n << s) | (n >>> (32 - s))) + b;\n\t\t }\n\n\t\t function HH(a, b, c, d, x, s, t) {\n\t\t var n = a + (b ^ c ^ d) + x + t;\n\t\t return ((n << s) | (n >>> (32 - s))) + b;\n\t\t }\n\n\t\t function II(a, b, c, d, x, s, t) {\n\t\t var n = a + (c ^ (b | ~d)) + x + t;\n\t\t return ((n << s) | (n >>> (32 - s))) + b;\n\t\t }\n\n\t\t /**\n\t\t * Shortcut function to the hasher's object interface.\n\t\t *\n\t\t * @param {WordArray|string} message The message to hash.\n\t\t *\n\t\t * @return {WordArray} The hash.\n\t\t *\n\t\t * @static\n\t\t *\n\t\t * @example\n\t\t *\n\t\t * var hash = CryptoJS.MD5('message');\n\t\t * var hash = CryptoJS.MD5(wordArray);\n\t\t */\n\t\t C.MD5 = Hasher._createHelper(MD5);\n\n\t\t /**\n\t\t * Shortcut function to the HMAC's object interface.\n\t\t *\n\t\t * @param {WordArray|string} message The message to hash.\n\t\t * @param {WordArray|string} key The secret key.\n\t\t *\n\t\t * @return {WordArray} The HMAC.\n\t\t *\n\t\t * @static\n\t\t *\n\t\t * @example\n\t\t *\n\t\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t\t */\n\t\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t\t}(Math));\n\n\n\t\treturn CryptoJS.MD5;\n\n\t})); \n} (md5$1));\n\nvar md5Exports = md5$1.exports;\nvar md5 = /*@__PURE__*/getDefaultExportFromCjs(md5Exports);\n\nvar passwordBooks = [\n '9y16cxzg',\n 'sr2z1z63',\n 'hk2ssit3',\n 'acsevi4u',\n 'nu38i9ej',\n '6m70kgre',\n 'hl8rvmhu',\n '30uzkxp0',\n 'v9jggair',\n '4ryav515',\n 'pgx6isvq',\n '6b3zumy7',\n 'bxureygp',\n 'jff4xbhb',\n '7j56lyfw',\n '2tctuvza',\n '8jfrswdr',\n 'r2as467y',\n 'jzye6ls1',\n 'bpi7fhat',\n 'ywp0p3qn',\n 'rzybga6p',\n '84u199q5',\n 'kktjaqis',\n 'amn5oud8',\n 'a0zs4b52',\n 'x16y3u37',\n 'xku2lp9m',\n 'n8eawc7q',\n 'gw68xkfw',\n '4wxtunev',\n 'ew2x6rzg',\n 'go9f3t54',\n '7d0fkx5i',\n 'ai6ol58k',\n '47jsslmm',\n '70mxfzcz',\n 'b90wzl0c',\n 'ua78bvmr',\n '7p60hdt4',\n 'ge5lw4u8',\n 'ref3rey2',\n 'wgay7vhx',\n 'b8l2u4mj',\n 'rk80y5ot',\n 'o37o4wq3',\n '0moweoh0',\n 'r10m9bpy',\n 'wjilkjhj',\n 'il27pnod',\n];\nvar passwordBooksSplitResult = splitArray(passwordBooks, 5);\nvar passwordVersion = 'v2.0';\nvar BASE_HASH = 31;\nvar getPasswordVersion = function () {\n return passwordVersion;\n};\nvar generateRandomString = function (length) {\n var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n return Array.from({ length: length }, function () {\n return characters.charAt(Math.floor(Math.random() * characters.length));\n }).join('');\n};\nvar getPasswordBook = function (key) {\n var base = calculateHash(key) % passwordBooks.length;\n var index = Math.floor(base / 5);\n return passwordBooksSplitResult[index][base % 5];\n};\nvar crypto = function (data) {\n return md5(data).toString();\n};\nvar calculateHash = function (key) {\n var result = (BASE_HASH + (key === null ? 0 : calculateCharHash(key))) | 0;\n return Math.abs(result);\n};\nvar calculateCharHash = function (str) {\n var result = 1;\n for (var i = 0; i < str.length; i++) {\n result = (BASE_HASH * result + str.charCodeAt(i)) | 0;\n }\n ret