From 20d1390b1aa5a6de1ddb9133626ca3bad381aeb5 Mon Sep 17 00:00:00 2001 From: Hexydec Date: Wed, 31 Jul 2019 10:53:08 +0100 Subject: [PATCH] Bumped version to 0.9.9. --- dist/dabby.es5.js | 2 +- dist/dabby.es5.js.map | 2 +- dist/dabby.es5.min.js | 2 +- dist/dabby.js | 876 +++++++++++++++++++++--------------------- dist/dabby.js.map | 2 +- package-lock.json | 854 ++++++++++++++++++++++------------------ package.json | 8 +- tests/test.es5.js.map | 2 +- 8 files changed, 919 insertions(+), 829 deletions(-) diff --git a/dist/dabby.es5.js b/dist/dabby.es5.js index fa61c7d..a17348a 100644 --- a/dist/dabby.es5.js +++ b/dist/dabby.es5.js @@ -8,7 +8,7 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } -/*! dabbyjs v0.9.8 by Will Earp - https://github.com/hexydec/dabby */ +/*! dabbyjs v0.9.9 by Will Earp - https://github.com/hexydec/dabby */ (function (global, factory) { (typeof exports === "undefined" ? "undefined" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.$ = factory()); })(this, function () { diff --git a/dist/dabby.es5.js.map b/dist/dabby.es5.js.map index d795f11..a57dc99 100644 --- a/dist/dabby.es5.js.map +++ b/dist/dabby.es5.js.map @@ -1 +1 @@ -{"version":3,"sources":["src/polyfill/array.from.js","src/polyfill/customevent.js","src/polyfill/element.matches.js","src/polyfill/nodelist.foreach.js","src/polyfill/object.assign.js","src/core/dabby/dabby.js","src/utils/each/each.js","src/core/each/each.js","src/utils/iswindow/iswindow.js","src/utils/isfunction/isfunction.js","src/utils/isplainobject/isplainobject.js","src/utils/extend/extend.js","src/ajax/param/param.js","src/ajax/ajax/ajax.js","src/ajax/getpost/getpost.js","src/ajax/getscript/getscript.js","src/internal/filternodes/filternodes.js","src/traversal/filter/filter.js","src/ajax/load/load.js","src/internal/getval/getval.js","src/utils/map/map.js","src/attributes/val/val.js","src/ajax/serialize/serialize.js","src/core/get/get.js","src/traversal/add/add.js","src/traversal/parents/parents.js","src/events/on/on.js","src/internal/getevents/getevents.js","src/attributes/attr/attr.js","src/attributes/class/class.js","src/internal/camelise/camelise.js","src/internal/setcss/setcss.js","src/attributes/css/css.js","src/attributes/data/data.js","src/attributes/hasclass/hasclass.js","src/internal/getprop/getprop.js","src/attributes/prop/prop.js","src/attributes/removeprop/removeprop.js","src/attributes/show-hide/show-hide.js","src/core/map/map.js","src/dimensions/offset/offset.js","src/dimensions/offsetparent/offsetparent.js","src/dimensions/position/position.js","src/dimensions/scroll/scroll.js","src/dimensions/width-height/width-height.js","src/events/trigger/trigger.js","src/events/named/named.js","src/events/off/off.js","src/manipulation/clone/clone.js","src/manipulation/empty/empty.js","src/manipulation/html/html.js","src/manipulation/insert/insert.js","src/manipulation/insertto/insertto.js","src/manipulation/remove/remove.js","src/manipulation/replace/replace.js","src/manipulation/slice/slice.js","src/manipulation/text/text.js","src/manipulation/unwrap/unwrap.js","src/manipulation/wrapall/wrapall.js","src/manipulation/wrap/wrap.js","src/traversal/children/children.js","src/traversal/closest/closest.js","src/traversal/eq/eq.js","src/traversal/find/find.js","src/traversal/first/first.js","src/traversal/has/has.js","src/traversal/index/index.js","src/traversal/last/last.js","src/traversal/next-prev/next-prev.js","src/traversal/siblings/siblings.js"],"names":["CustomEvent"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAI,CAAC,KAAK,CAAC,IAAX,EAAiB;AAChB,IAAA,KAAK,CAAC,IAAN,GAAa,UAAU,SAAV,EAAqB,KAArB,EAA4B,OAA5B,EAAqC;AACjD,UAAI,GAAG,GAAG,GAAG,KAAH,CAAS,IAA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D;OArBc,CAwBf;;;AACF,UAAG,KAAH,EAAW;AACR,QAAA,QAAA,GAAA,MAAA;OA1Bc,CA6Bf;;;AACA,aAAC,CAAA,CAAA,QAAA,GAAA,WAAA,CAAA,KAAA,EAAA,QAAA,CAAA,GAAA,KAAA,CAAD;AACA,KA/BF;GANA;;ACAA,EAAA,CAAC,CAAA,EAAD,CAAK,QAAL,GAAc,UAAM,QAAN,EAAM;AAAA;;AACpB,QAAE,CAAA,GAAK,KAAM,MAAb;AAAA,Q,UAAA;;AAGA,WAAQ,CAAA,EAAR,EAAa;AACb,MAAA,KAAO,CAAA,IAAP,CAAY,KAAK,CAAL,EAAS,UAAT,CAAc,QAA1B,EAA0B,OAA1B,CAA0B,UAAA,KAAA,EAAA;AAC1B,YAAI,KAAM,KAAK,MAAM,CAAC,CAAD,CAArB,EAAsB;AAClB,UAAA,KAAA,CAAA,IAAA,CAAA,KAAA;AACA;AACF,OAJF;AAKC;;AACA,WAAC,CAAA,CAAA,QAAA,GAAA,WAAA,CAAA,KAAA,EAAA,QAAA,CAAA,GAAA,KAAA,CAAD;GAXD","sourcesContent":["if (!Array.from) {\r\n\tArray.from = function (arrayLike, mapFn, thisArg) {\r\n\t\tvar arr = [].slice.call(arrayLike);\r\n\t\tif (typeof mapFn === \"function\") {\r\n\t\t\tarr = arr.map(mapFn, thisArg);\r\n\t\t}\r\n\t\treturn arr;\r\n\t};\r\n}\r\n","// CustomEvent is not supported in IE11\r\nif (typeof window.CustomEvent !== \"function\") {\r\n\tfunction CustomEvent(event, params) {\r\n\t\tparams = params || {bubbles: false, cancelable: false, detail: undefined};\r\n\t\tconst evt = document.createEvent(\"CustomEvent\");\r\n\t\tevt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\r\n\t\treturn evt;\r\n\t}\r\n\r\n\tCustomEvent.prototype = window.Event.prototype;\r\n\twindow.CustomEvent = CustomEvent;\r\n}\r\n","// support Element.matches() in IE and older Webkit\r\nif (!Element.prototype.matches) {\r\n Element.prototype.matches = Element.prototype.msMatchesSelector;\r\n}\r\n","if (!NodeList.prototype.forEach) {\r\n NodeList.prototype.forEach = function (callback, thisArg) {\r\n thisArg = thisArg || window;\r\n for (var i = 0; i < this.length; i++) {\r\n callback.call(thisArg, this[i], i, this);\r\n }\r\n };\r\n}\r\n","if (typeof Object.assign !== \"function\") {\r\n\tObject.defineProperty(Object, \"assign\", {\r\n\t\tvalue: function assign(target, varArgs) { // .length of function is 2\r\n\t\t\t\"use strict\";\r\n\t\t\tif (target == null) { // TypeError if undefined or null\r\n\t\t\t\tthrow new TypeError('Cannot convert undefined or null to object');\r\n\t\t\t}\r\n\r\n\t\t\tvar to = Object(target);\r\n\r\n\t\t\tfor (var index = 1; index < arguments.length; index++) {\r\n\t\t\t\tvar nextSource = arguments[index];\r\n\r\n\t\t\t\tif (nextSource != null) { // Skip over if undefined or null\r\n\t\t\t\t\tfor (var nextKey in nextSource) {\r\n\t\t\t\t\t\t// Avoid bugs when hasOwnProperty is shadowed\r\n\t\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\r\n\t\t\t\t\t\t\tto[nextKey] = nextSource[nextKey];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn to;\r\n\t\t},\r\n\t\twritable: true,\r\n\t\tconfigurable: true\r\n\t});\r\n}\r\n","const $ = function dabby(selector, context) {\r\n\r\n\t// if no selector, return empty colletion\r\n\tif (this instanceof dabby) {\r\n\r\n\t\t// build nodes into a set (Which only allows unique items), then filter only element, document, documentFragment and window\r\n\t\tconst nodes = [...new Set(Array.from(selector))].filter(node => [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node));\r\n\t\tObject.assign(this, nodes); // only unique nodes\r\n\t\tthis.length = nodes.length;\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// $ collection\r\n\tif (selector instanceof dabby) {\r\n\t\treturn selector;\r\n\t}\r\n\r\n\tlet nodes = [],\r\n\t\tmatch;\r\n\r\n\t// gather nodes\r\n\tif (selector) {\r\n\r\n\t\t// single node\r\n\t\tif (selector.nodeType || $.isWindow(selector)) {\r\n\t\t\tnodes = [selector];\r\n\r\n\t\t// ready function\r\n\t\t} else if ($.isFunction(selector)) {\r\n\t\t\tif (document.readyState !== \"loading\") {\r\n\t\t\t\tselector.call(document, $);\r\n\t\t\t} else {\r\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {selector.call(document, $);}, {once: true});\r\n\t\t\t}\r\n\r\n\t\t// array|NodeList|HTMLCollection of nodes\r\n\t\t} else if (typeof selector !== \"string\") {\r\n\t\t\tnodes = selector;\r\n\r\n\t\t// CSS selector\r\n\t\t} else if (selector.indexOf(\"<\") === -1) {\r\n\t\t\t$(context || document).each((i, obj) => {\r\n\t\t\t\tnodes = nodes.concat(Array.from(obj.querySelectorAll(selector)));\r\n\t\t\t});\r\n\r\n\t\t// create a single node and attach properties\r\n\t\t} else if ((match = selector.match(/^<([a-z0-9]+)(( ?\\/)?|><\\/\\1)>$/i)) !== null) {\r\n\t\t\tnodes = [document.createElement(match[1])];\r\n\r\n\t\t\t// context is CSS attributes\r\n\t\t\tif (context instanceof Object) {\r\n\t\t\t\t$(nodes).attr(context);\r\n\t\t\t}\r\n\r\n\t\t// parse HTML into nodes\r\n\t\t} else {\r\n\t\t\tconst obj = document.implementation.createHTMLDocument(\"\");\r\n\t\t\tobj.body.innerHTML = selector;\r\n\t\t\tnodes = obj.body.children;\r\n\t\t}\r\n\t}\r\n\treturn new dabby(nodes);\r\n};\r\n\r\n// alias functions\r\n$.fn = $.prototype;\r\n\r\nexport default $;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.each = (obj, callback) => {\r\n\tconst isArr = Array.isArray(obj),\r\n\t\tkeys = Object.keys(obj),\r\n\t\tlen = keys.length;\r\n\r\n\tfor (let i = 0; i < len; i++) {\r\n\t\tif (callback.call(obj[keys[i]], isArr ? parseInt(keys[i]) : keys[i], obj[keys[i]]) === false) {\r\n\t\t\tbreak; // stop if callback returns false\r\n\t\t}\r\n\t}\r\n\treturn obj;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.fn.each = function (callback) {\r\n\t$.each(Array.from(this), callback);\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isWindow = obj => obj !== null && obj === obj.window;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isFunction = func => func && func.constructor === Function;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isPlainObject = obj => {\r\n\r\n\t// Basic check for Type object that's not null\r\n\tif (typeof obj === \"object\" && obj !== null) {\r\n\r\n\t\t// If Object.getPrototypeOf supported, use it\r\n\t if (typeof Object.getPrototypeOf === 'function') {\r\n\t\t\tlet proto = Object.getPrototypeOf(obj);\r\n\t\t\treturn proto === Object.prototype || proto === null;\r\n\t }\r\n\r\n\t // Otherwise, use internal class\r\n\t // This should be reliable as if getPrototypeOf not supported, is pre-ES5\r\n\t\treturn Object.prototype.toString.call(obj) === \"[object Object]\";\r\n \t}\r\n\r\n \t// Not an object\r\n\treturn false;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../isplainobject/isplainobject.js\";\r\n\r\n$.extend = (...arrs) => {\r\n\tif (arrs[0] === true) {\r\n\r\n\t\t// merge function will recursively merge items\r\n\t\tfunction merge(target, ...sources) {\r\n\t\t\tif (sources.length) {\r\n\r\n\t\t\t\t// work on next source\r\n\t\t\t\tconst source = sources.shift();\r\n\t\t\t\tif ($.isPlainObject(target) && $.isPlainObject(source)) {\r\n\r\n\t\t\t\t\t// loop through each property\r\n\t\t\t\t\t$.each(source, (i, val) => {\r\n\r\n\t\t\t\t\t\t// merge recursively if source is object, if target is not object, overwrite\r\n\t\t\t\t\t\tif ($.isPlainObject(val)) {\r\n\t\t\t\t\t\t\ttarget[i] = $.isPlainObject(target[i]) ? merge(target[i], val) : val;\r\n\r\n\t\t\t\t\t\t// when source property is value just overwrite\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttarget[i] = val;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// merge next source\r\n\t\t\t return merge(target, ...sources);\r\n\t\t\t}\r\n\t\t\treturn target;\r\n\t\t}\r\n\t\treturn merge.apply(null, arrs.slice(1));\r\n\t}\r\n\treturn Object.assign.apply(null, arrs);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.param = obj => {\r\n\tlet params = [],\r\n\t\tadd = (key, value, params) => {\r\n\t\t\tlet isArr = Array.isArray(value);\r\n\t\t\tif (isArr || typeof value === \"object\") {\r\n\t\t\t\t$.each(value, (i, val) => {\r\n\t\t\t\t\tparams = add(`${key}[${isArr ? \"\" : i}]`, val, params);\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tif ($.isFunction(value)) {\r\n\t\t\t\t\tvalue = value();\r\n\t\t\t\t}\r\n\t\t\t\tparams.push(encodeURIComponent(key) + \"=\" + encodeURIComponent(value === null ? \"\" : value));\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\r\n\t// process values\r\n\t$.each(obj, (key, item) => {\r\n\t\tparams = add(key, item, params);\r\n\t});\r\n\treturn params.join(\"&\");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/extend/extend.js\";\r\nimport \"../param/param.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.ajax = (url, settings) => {\r\n\r\n\t// normalise args\r\n\tif (typeof url === \"object\") {\r\n\t\tsettings = url;\r\n\t} else {\r\n\t\tif (typeof settings !== \"object\") {\r\n\t\t\tsettings = {};\r\n\t\t}\r\n\t\tsettings.url = url;\r\n\t}\r\n\r\n\t// set default settings\r\n\tsettings = Object.assign({\r\n\t\tmethod: \"GET\",\r\n\t\tcache: null, // start will null so we can see if explicitly set\r\n\t\tdata: null,\r\n\t\tdataType: null, // only changes behavior with json, jsonp, script\r\n\t\tasync: true,\r\n\t\tcrossDomain: false,\r\n\t\tscriptCharset: null,\r\n\t\tjsonp: \"callback\",\r\n\t\tjsonpCallback: \"dabby\" + Date.now(),\r\n\t\theaders: {\r\n\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"\r\n\t\t},\r\n\t\txhr: () => new XMLHttpRequest(),\r\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\r\n\t\tcontext: null,\r\n\t\tstatusCode: {},\r\n\t\tusername: null,\r\n\t\tpassword: null,\r\n\t\txhrFields: {}\r\n\t}, settings);\r\n\r\n\t// determine datatype\r\n\tif (!settings.dataType && settings.url.split(\"?\")[0].split(\".\").pop() === \"js\") {\r\n\t\tsettings.dataType = \"script\";\r\n\t}\r\n\r\n\tlet sync = [\"script\", \"jsonp\"].indexOf(settings.dataType) > -1,\r\n\t\tjoin = settings.url.indexOf(\"?\") > -1 ? \"&\" : \"?\",\r\n\t\tscript, data;\r\n\r\n\t// add data to query string\r\n\tif (settings.data) {\r\n\t\tif (typeof settings.data === \"string\" || settings.data instanceof FormData) {\r\n\t\t\tdata = settings.data;\r\n\t\t} else {\r\n\t\t\tdata = $.param(settings.data);\r\n\t\t}\r\n\t}\r\n\tif (data && settings.method === \"GET\") {\r\n\t\tsettings.url += join + data;\r\n\t\tjoin = \"&\";\r\n\t}\r\n\r\n\t// add cache buster\r\n\tif (settings.cache || (settings.cache === null && sync)) {\r\n\t\tsettings.url += join + \"_=\" + (+new Date());\r\n\t\tjoin = \"&\";\r\n\t}\r\n\r\n\t// fetch script\r\n\tif (sync || settings.crossDomain) {\r\n\t\tscript = document.createElement(\"script\");\r\n\t\tif (settings.scriptCharset) {\r\n\t\t\tscript.charset = settings.scriptCharset;\r\n\t\t}\r\n\r\n\t\t// add callback parameter\r\n\t\tif (settings.dataType === \"jsonp\") {\r\n\t\t\tsettings.url += join + settings.jsonp + \"=\" + settings.jsonpCallback;\r\n\t\t}\r\n\r\n\t\t// setup event callbacks\r\n\t\t$.each({\r\n\t\t\tload: \"success\",\r\n\t\t\terror: \"error\"\r\n\t\t}, (key, value) => {\r\n\t\t\tscript.addEventListener(key, () => {\r\n\t\t\t\tconst response = settings.dataType === \"jsonp\" ? window[settings.jsonpCallback] || null : null;\r\n\t\t\t\t[settings[value], settings.complete].forEach(callback => {\r\n\t\t\t\t\tif (callback) {\r\n\t\t\t\t\t\tcallback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}, {once: true});\r\n\t\t});\r\n\r\n\t\tscript.src = settings.url;\r\n\t\tscript.async = settings.async;\r\n\t\tdocument.head.appendChild(script);\r\n\r\n\t// make xhr request\r\n\t} else {\r\n\t\tconst xhr = settings.xhr(),\r\n\t\t\tcallback = (xhr, type, status) => {\r\n\t\t\t\tlet response = xhr.responseText;\r\n\r\n\t\t\t\t// parse JSON\r\n\t\t\t\tif ([\"json\", null, undefined].indexOf(settings.dataType) > -1) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tresponse = JSON.parse(response);\r\n\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\t// do nothing\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// run callbacks\r\n\t\t\t\t[settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => {\r\n\t\t\t\t\tif (callback) {\r\n\t\t\t\t\t\tcallback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t};\r\n\r\n\t\t// XHR settings\r\n\t\t$.each(settings.xhrFields, (key, value) => xhr[key] = value);\r\n\r\n\t\t// callbacks\r\n\t\txhr.onload = () => {\r\n\t\t\tconst status = [200, 204, 304].indexOf(xhr.status) > -1 ? \"success\" : \"error\";\r\n\t\t\tcallback(xhr, status, status);\r\n\t\t};\r\n\t\txhr.ontimeout = () => {\r\n\t\t\tcallback(xhr, \"error\", \"timeout\");\r\n\t\t};\r\n\t\txhr.onabort = () => {\r\n\t\t\tcallback(xhr, \"error\", \"abort\");\r\n\t\t};\r\n\t\txhr.onerror = () => {\r\n\t\t\tcallback(xhr, \"error\", \"error\");\r\n\t\t};\r\n\r\n\t\txhr.open(settings.method, settings.url, settings.async, settings.username, settings.password);\r\n\r\n\t\t// add headers\r\n\t\tif (settings.contentType) {\r\n\t\t\tsettings.headers[\"Content-Type\"] = settings.contentType;\r\n\t\t}\r\n\t\t$.each(settings.headers, (key, value) => {\r\n\t\t\txhr.setRequestHeader(key, value);\r\n\t\t});\r\n\r\n\t\t// send request\r\n\t\txhr.send(settings.method === \"GET\" ? null : data);\r\n\t\treturn xhr;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n[\"get\", \"post\"].forEach(name => {\r\n\t$[name] = (url, data, success, type) => {\r\n\t\tconst isFunc = $.isFunction(data);\r\n\t\tlet settings = typeof(url) === \"object\" ? url : {\r\n\t\t\turl: url,\r\n\t\t\tdata: isFunc ? {} : data,\r\n\t\t\tsuccess: isFunc ? data : success,\r\n\t\t\tdataType: isFunc ? success : type\r\n\t\t};\r\n\t\tsettings.method = name.toUpperCase();\r\n\t\treturn $.ajax(settings);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n$.getScript = (url, success) => $.ajax({\r\n\turl: url,\r\n\tdataType: \"script\",\r\n\tsuccess: success\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\nexport default (dabby, filter, context, not) => {\r\n\tlet func,\r\n\t\tnodes = dabby.nodeType ? [dabby] : Array.from(dabby);\r\n\r\n\t// sort out args\r\n\tif (typeof context === \"boolean\") {\r\n\t\tnot = context;\r\n\t\tcontext = null;\r\n\t}\r\n\r\n\t// custom filter function\r\n\tif ($.isFunction(filter)) {\r\n\t\tfunc = filter;\r\n\r\n\t// nodes\r\n\t} else {\r\n\r\n\t\t// normalise filters\r\n\t\tif (typeof filter === \"string\") {\r\n\t\t\tfilter = [filter];\r\n\t\t} else {\r\n\t\t\tfilter = Array.from($(filter, context));\r\n\t\t}\r\n\r\n\t\t// default filter function\r\n\t\tfunc = (n, node) => {\r\n\t\t\tlet i = filter.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif (typeof(filter[i]) === \"string\" && node.matches ? node.matches(filter[i]) : node === filter[i]) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t};\r\n\t}\r\n\treturn nodes.filter((item, i) => func.call(item, i, item) === !not, nodes);\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"filter\", \"not\", \"is\"].forEach(name => {\r\n\t$.fn[name] = function (selector) {\r\n\t\tconst nodes = filterNodes(this, selector, name === \"not\");\r\n\t\treturn name === \"is\" ? !!nodes.length : $(nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\n\r\n$.fn.load = function (url, data, success) {\r\n\tif (this[0]) {\r\n\r\n\t\t// get selector from URL\r\n\t\turl = url.split(\" \", 2);\r\n\t\tconst uri = url[0],\r\n\t\t\tselector = url[1];\r\n\r\n\t\t// check for data\r\n\t\tif ($.isFunction(data)) {\r\n\t\t\tsuccess = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// make AJAX request\r\n\t\t$.ajax(uri, {\r\n\t\t\tdata: data,\r\n\t\t\ttype: data instanceof Object ? \"POST\" : \"GET\",\r\n\t\t\tsuccess: (response, status, xhr) => {\r\n\r\n\t\t\t\t// if a selector is specified, find it in the returned document\r\n\t\t\t\tlet html = \"\",\r\n\t\t\t\t\ti = this.length;\r\n\r\n\t\t\t\t// refine by selector if supplied\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\t$(response).filter(selector).each((key, obj) => {\r\n\t\t\t\t\t\thtml += obj.outerHTML;\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\thtml = response;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst nodes = $(html).filter((i, item) => item.tagName.toLowerCase() === \"script\");\r\n\r\n\t\t\t\t// set HTML to nodes in collection\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tthis[i].innerHTML = html;\r\n\r\n\t\t\t\t\t// include any scripts as they won't execute with innerHTML\r\n\t\t\t\t\tnodes.each((i, item) => {\r\n\t\t\t\t\t\tconst src = item.getAttribute(\"src\"),\r\n\t\t\t\t\t\t\tscript = document.createElement(\"script\");\r\n\t\t\t\t\t\tif (src) {\r\n\t\t\t\t\t\t\tscript.src = src;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tscript.text = item.innerText;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdocument.head.appendChild(script);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// fire success callback on nodes\r\n\t\t\t\t\tif (success) {\r\n\t\t\t\t\t\tsuccess.call(this[i], response, status, xhr);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\n\r\nexport default (obj, val, current) => {\r\n\tlet i = obj.length,\r\n\t\tvalues = [],\r\n\t\tfuncVal = $.isFunction(val),\r\n\t\tobjVal = funcVal ? 0 : $.isPlainObject(val),\r\n\t\tfuncCurrent = $.isFunction(current);\r\n\twhile (i--) {\r\n\t\tvalues[i] = funcVal ? val.call(obj[i], i, funcCurrent ? current(obj[i]) : current) : (objVal ? Object.create(val) : val);\r\n\t}\r\n\treturn values;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../each/each.js\";\r\n\r\n$.map = (obj, callback) => {\r\n\tlet arr = [];\r\n\t$.each(obj, (i, item) => {\r\n\t\tconst result = callback.call(window, item, i);\r\n\t\tif ([null, undefined].indexOf(result) === -1) {\r\n\t\t\tarr = arr.concat(Array.isArray(result) ? result : [result]);\r\n\t\t}\r\n\t});\r\n\treturn arr;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/map/map.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.val = function (value) {\r\n\r\n\t// set value\r\n\tif (value !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, value, obj => obj.val());\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// string value, just set to value attribute\r\n\t\t\tif (!Array.isArray(values[i])) {\r\n\t\t\t\tthis[i].value = values[i];\r\n\r\n\t\t\t// array on select, set matching values to selected\r\n\t\t\t} else if (this[i].type === \"select-multiple\") {\r\n\t\t\t\tvalues[i] = values[i].map(val => String(val));\r\n\t\t\t\t$(\"option\", this[i]).each((key, obj) => {\r\n\t\t\t\t\tobj.selected = values[i].indexOf(obj.value) > -1;\r\n\t\t\t\t});\r\n\r\n\t\t\t// set the checked attribute for radios and checkbox\r\n\t\t\t} else {\r\n\t\t\t\tthis[i].checked = values[i].indexOf(this[i].value) > -1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// read value from first node\r\n\tif (this[0]) {\r\n\r\n\t\t// get multiple values\r\n\t\tif (this[0].type === \"select-multiple\") {\r\n\t\t\tlet values = [];\r\n\t\t\t$(\"option\", this[0]).each((key, obj) => {\r\n\t\t\t\tif (obj.selected) {\r\n\t\t\t\t\tvalues.push(String(obj.value));\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn values;\r\n\t\t}\r\n\r\n\t\t// get single value\r\n\t\tif (this[0].type !== \"checkbox\" || this[0].checked) {\r\n\t\t\treturn String(this[0].value);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\nimport \"../../attributes/val/val.js\";\r\nimport \"../param/param.js\";\r\n\r\n$.fn.serialize = function () {\r\n\tconst selector = \"input[name]:not([type=file]):not([type=submit]):not([type=radio]):not([type=checkbox]),input[name]:checked,textarea[name],select[name]\",\r\n\t\tadd = (name, value, params) => {\r\n\t\t\tlet match;\r\n\r\n\t\t\tif ((match = name.match(/([^\\[]*)\\[([^\\]]*)\\](.*)/)) !== null) {\r\n\t\t\t\tname = match[1];\r\n\t\t\t\tlet arr = add(match[2] + match[3], value, params[name] || {});\r\n\t\t\t\tvalue = arr;\r\n\t\t\t}\r\n\r\n\t\t\tif (name !== \"\") {\r\n\t\t\t\tparams[name] = value;\r\n\t\t\t} else {\r\n\t\t\t\tif (!Array.isArray(params)) {\r\n\t\t\t\t\tparams = [];\r\n\t\t\t\t}\r\n\t\t\t\tparams = params.concat(Array.isArray(value) ? value : [value]);\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\tlet obj = this.filter(selector);\r\n\r\n\tif (!obj.length) {\r\n\t\tobj = $(selector, this);\r\n\t}\r\n\r\n\tlet params = {};\r\n\r\n\t// process values\r\n\tobj.each((key, obj) => {\r\n\t\tconst value = $(obj).val();\r\n\t\tif (!obj.disabled && value !== undefined) {\r\n\t\t\tparams = add(obj.name, value, params);\r\n\t\t}\r\n\t});\r\n\treturn $.param(params);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.get = function (i) {\r\n\treturn i === undefined ? Array.from(this) : this[i >= 0 ? i : i + this.length];\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.add = function (nodes, context) {\r\n\tnodes = $(nodes, context).get();\r\n\treturn $(Array.from(this).concat(nodes));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"parent\", \"parents\", \"parentsUntil\"].forEach(func => {\r\n\tconst all = func.indexOf(\"s\") > -1,\r\n\t\tuntil = func.indexOf(\"U\") > -1;\r\n\r\n\t$.fn[func] = function (selector, filter) {\r\n\t\tlet nodes = [],\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet parent = this[i].parentNode;\r\n\t\t\twhile (parent && parent.nodeType === Node.ELEMENT_NODE) {\r\n\t\t\t\tif (until && filterNodes(parent, selector).length) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tnodes.push(parent);\r\n\t\t\t\tif (!all) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tparent = parent.parentNode;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!until) {\r\n\t\t\tfilter = selector;\r\n\t\t}\r\n\t\treturn $(filter ? filterNodes(nodes, filter) : nodes);\r\n\t}\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n// add and remove event handlers\r\n[\"on\", \"one\"].forEach(name => {\r\n\t$.fn[name] = function (events, selector, data, callback) {\r\n\r\n\t\t// sort out args\r\n\t\tevents = events.split(\" \");\r\n\t\tif ($.isFunction(selector)) {\r\n\t\t\tcallback = selector;\r\n\t\t\tselector = undefined;\r\n\t\t} else if ($.isFunction(data)) {\r\n\t\t\tcallback = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// attach event\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet e = events.length;\r\n\r\n\t\t\t// record the original function\r\n\t\t\tif (!this[i].events) {\r\n\t\t\t\tthis[i].events = [];\r\n\t\t\t}\r\n\t\t\tlet fn = function (evt) { // delegate function\r\n\t\t\t\tlet target = [this];\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\tlet t = $(evt.target);\r\n\t\t\t\t\ttarget = t.add(t.parents()).filter(selector).get(); // is the selector in the targets parents?\r\n\t\t\t\t}\r\n\t\t\t\tif (target) {\r\n\t\t\t\t\tevt.data = data; // set data to event object\r\n\t\t\t\t\tfor (let i = 0, len = target.length; i < len; i++) {\r\n\t\t\t\t\t\tif (callback.call(target[i], evt, evt.args) === false) {\r\n\t\t\t\t\t\t\tevt.preventDefault();\r\n\t\t\t\t\t\t\tevt.stopPropagation();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tthis[i].events.push({\r\n\t\t\t\tevents: events,\r\n\t\t\t\tcallback: callback,\r\n\t\t\t\tselector: selector,\r\n\t\t\t\tfunc: fn,\r\n\t\t\t\tonce: name === \"one\"\r\n\t\t\t});\r\n\r\n\t\t\t// trigger\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].addEventListener(events[e], fn, {once: name === \"one\", capture: !!selector});\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default [\"focusin\", \"focusout\", \"focus\", \"blur\", \"resize\", \"scroll\", \"unload\", \"click\", \"dblclick\", \"mousedown\", \"mouseup\", \"mousemove\", \"mouseover\", \"mouseout\", \"mouseenter\", \"mouseleave\", \"contextmenu\", \"change\", \"select\", \"keydown\", \"keypress\", \"keyup\", \"error\", \"submit\"];\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport \"../../events/on/on.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.attr = function (prop, value) {\r\n\tlet isObj = typeof prop !== \"string\",\r\n\t\tobj = {};\r\n\r\n\t// set properties\r\n\tif (isObj || value !== undefined) {\r\n\r\n\t\t// normalise to object\r\n\t\tif (!isObj) {\r\n\t\t\tobj[prop] = value;\r\n\t\t\tprop = obj;\r\n\t\t}\r\n\r\n\t\t$.each(prop, (key, val) => {\r\n\r\n\t\t\t// if event, hand it off to $.fn.on()\r\n\t\t\tif (events.indexOf(key) > -1) {\r\n\t\t\t\tthis.on(key, val);\r\n\r\n\t\t\t// process other values\r\n\t\t\t} else {\r\n\t\t\t\tlet i = this.length,\r\n\t\t\t\t\tvalues = getVal(this, val, obj => $(obj).attr(key));\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tif (key === \"style\") {\r\n\t\t\t\t\t\tthis[i].style.cssText = values[i];\r\n\t\t\t\t\t} else if (key === \"class\") {\r\n\t\t\t\t\t\tthis[i].className = values[i];\r\n\t\t\t\t\t} else if (key === \"text\") {\r\n\t\t\t\t\t\tthis[i].textContent = values[i];\r\n\t\t\t\t\t} else if (values[i] === null) {\r\n\t\t\t\t\t\tthis[i].removeAttribute(key);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis[i].setAttribute(key, values[i]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// retrieve properties\r\n\tif (this[0]) {\r\n\t\tif (prop === \"style\") {\r\n\t\t\treturn this[0].style.cssText;\r\n\t\t}\r\n\t\tif (prop === \"class\") {\r\n\t\t\treturn this[0].className;\r\n\t\t}\r\n\t\treturn this[0].getAttribute(prop);\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\nconst funcs = [];\r\n[\"removeClass\", \"addClass\", \"toggleClass\"].forEach((func, f) => {\r\n\r\n\t// remove \"Class\" from name for classList method and remember\r\n\tfuncs.push(func.substr(0, func.length - 5));\r\n\r\n\t// create function\r\n\t$.fn[func] = function (cls, state) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, cls, obj => obj.className),\r\n\t\t\tkey = f;\r\n\r\n\t\tif (func === \"toggleClass\" && typeof state === \"boolean\") {\r\n\t\t\tkey = 0 + state;\r\n\t\t}\r\n\r\n\t\t// manage classes on nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (typeof values[i] === \"string\") {\r\n\t\t\t\tvalues[i] = values[i].split(\" \");\r\n\t\t\t}\r\n\t\t\tfor (let n = 0, len = values[i].length; n < len; n++) {\r\n\t\t\t\tthis[i].classList[funcs[key]](values[i][n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default prop => prop.replace(/-([\\w])/g, (text, letter) => letter.toUpperCase()); // matches underscore too but you shouldn't do that anyway\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport getVal from \"../getval/getval.js\";\r\nimport camelise from \"../camelise/camelise.js\";\r\n\r\nexport default (dabby, props, value) => {\r\n\r\n\t// normalise props\r\n\tif (typeof props === \"string\") {\r\n\t\tconst name = props;\r\n\t\tprops = {};\r\n\t\tprops[name] = value;\r\n\t}\r\n\r\n\t// prepare values\r\n\tlet values = {};\r\n\t$.each(props, (i, prop) => {\r\n\t\tvalues[camelise(i)] = getVal(dabby, prop, obj => obj.style[i]);\r\n\t});\r\n\r\n\t// set properties\r\n\t$.each(values, (key, val) => {\r\n\t\tlet i = dabby.length;\r\n\t\twhile (i--) {\r\n\t\t\tdabby[i].style[key] = val[i] + (!val[i] || isNaN(val[i]) ? \"\" : \"px\");\r\n\t\t}\r\n\t});\r\n\treturn dabby;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport setCss from \"../../internal/setcss/setcss.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.css = function (props, value) {\r\n\r\n\t// set the values\r\n\tif (value !== undefined || $.isPlainObject(props)) {\r\n\t\treturn setCss(this, props, value);\r\n\t}\r\n\r\n\t// retrieve value from first property\r\n\tif (this[0]) {\r\n\t\tlet name = props,\r\n\t\t\ti,\r\n\t\t\tstyle = getComputedStyle(this[0], \"\"),\r\n\t\t\toutput = {},\r\n\t\t\tret = false;\r\n\r\n\t\tif (typeof name === \"string\") {\r\n\t\t\tprops = [name];\r\n\t\t\tret = true;\r\n\t\t}\r\n\t\ti = props.length;\r\n\t\twhile (i--) {\r\n\t\t\toutput[props[i]] = style[camelise(props[i])];\r\n\t\t\tif (ret) {\r\n\t\t\t\treturn output[props[i]];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn output;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.data = function (name, data) {\r\n\r\n\t// convert data to object\r\n\tif (typeof name === \"object\") {\r\n\t\tdata = name;\r\n\t} else if (data !== undefined) {\r\n\t\tlet temp = {};\r\n\t\ttemp[name] = data;\r\n\t\tdata = temp;\r\n\t}\r\n\r\n\t// set value\r\n\tif (data !== undefined) {\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(data, (key, value) => {\r\n\t\t\t\tthis[i].dataset[camelise(key)] = typeof value === \"object\" ? JSON.stringify(value) : value;\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get value\r\n\tif (this[0] && this[0].dataset) {\r\n\t\tlet parse = value => {\r\n\t\t\ttry {\r\n\t\t\t\treturn JSON.parse(value);\r\n\t\t\t} catch (e) {\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// all properties\r\n\t\tif (name === undefined) {\r\n\t\t\tlet arr = {};\r\n\t\t\t$.each(this[0].dataset, (key, value) => {\r\n\t\t\t\tarr[key] = parse(value);\r\n\t\t\t});\r\n\t\t\treturn arr;\r\n\t\t}\r\n\r\n\t\t// retrieve specific property\r\n\t\tname = camelise(name);\r\n\t\tif (this[0].dataset.hasOwnProperty(name)) {\r\n\t\t\treturn parse(this[0].dataset[name]);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.hasClass = function (cls) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tif (this[i].classList.contains(cls)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n","export default prop => {\r\n\tlet properties = {\r\n\t\t\"for\": \"htmlFor\",\r\n\t\t\"class\": \"className\",\r\n\t\t\"tabindex\": \"tabIndex\",\r\n\t\t\"readonly\": \"readOnly\",\r\n\t\t\"maxlength\": \"maxLength\",\r\n\t\t\"cellspacing\": \"cellSpacing\",\r\n\t\t\"cellpadding\": \"cellPadding\",\r\n\t\t\"rowspan\": \"rowSpan\",\r\n\t\t\"colspan\": \"colSpan\",\r\n\t\t\"usemap\": \"useMap\",\r\n\t\t\"frameborder\": \"frameBorder\",\r\n\t\t\"contenteditable\": \"contentEditable\"\r\n\t};\r\n\tprop = prop.toLowerCase();\r\n\treturn properties[prop] || prop;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.prop = function (prop, value) {\r\n\tconst isObj = $.isPlainObject(prop);\r\n\r\n\t// set\r\n\tif (value !== undefined || isObj) {\r\n\r\n\t\t// normalise values\r\n\t\tif (!isObj) {\r\n\t\t\tconst tmp = {};\r\n\t\t\ttmp[prop] = value;\r\n\t\t\tprop = tmp;\r\n\t\t}\r\n\r\n\t\t// retrieve values\r\n\t\tlet values = {};\r\n\t\t$.each(prop, (key, val) => {\r\n\t\t\tvalues[getProp(key)] = getVal(this, val, obj => obj[key]);\r\n\t\t});\r\n\r\n\t\t// set properties\r\n\t\t$.each(values, (key, val) => {\r\n\t\t\tlet i = this.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tthis[i][key] = val[i];\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0][getProp(prop)];\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\n\r\n$.fn.removeProp = function (prop) {\r\n\tlet i = this.length;\r\n\tprop = getProp(prop);\r\n\r\n\twhile (i--) {\r\n\t\tdelete this[i][prop];\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n// store for current values\r\nconst display = [],\r\n\tobj = [],\r\n\tdefaults = [],\r\n\tvalues = [\"none\", \"block\"];\r\n\r\n[\"hide\", \"show\", \"toggle\"].forEach((func, n) => {\r\n\r\n\t// attach function\r\n\t$.fn[func] = function (show) {\r\n\r\n\t\t// for toggle they can set the show value\r\n\t\tif (n === 2 && typeof show !== \"undefined\") {\r\n\t\t\tn = parseInt(show);\r\n\t\t}\r\n\r\n\t\t// loop through each node\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet item = obj.indexOf(this[i]),\r\n\t\t\t\tcurrent = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display;\r\n\r\n\t\t\t// cache the initial value of the current\r\n\t\t\tif (item === -1) {\r\n\t\t\t\titem = obj.length;\r\n\t\t\t\tobj.push(this[i]);\r\n\t\t\t\tdisplay.push(current);\r\n\t\t\t\tdefaults.push(this[i].style.display);\r\n\t\t\t}\r\n\r\n\t\t\t// determine if we are going to show or hide\r\n\t\t\tlet value = values[n] || (current === \"none\" ? \"block\" : \"none\");\r\n\r\n\t\t\t// if show update the block value to the initial if it was not \"none\"\r\n\t\t\tif (value !== \"none\" && display[item] !== \"none\") {\r\n\t\t\t\tvalue = display[item];\r\n\t\t\t}\r\n\r\n\t\t\t// update the value, use the default if setting back to initial\r\n\t\t\tthis[i].style.display = value === display[item] ? defaults[item] : value;\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.map = function (callback) {\r\n\tlet len = this.length,\r\n\t\tvalues = [],\r\n\t\ti = 0;\r\n\r\n\tfor (; i < len; i++) {\r\n\t\tvalues.push(callback.call(this[i], i, this[i]));\r\n\t}\r\n\treturn values;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.offset = function (coords) {\r\n\r\n\t// set\r\n\tif (coords) {\r\n\r\n\t\t// prepare values\r\n\t\tlet values = getVal(this, coords, obj => obj.offset()), // copy the object\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// set position to relative if not positioned\r\n\t\t\tlet pos = getComputedStyle(this[i]).position;\r\n\t\t\tif (pos === \"static\") {\r\n\t\t\t\tvalues[i].position = pos = \"relative\";\r\n\t\t\t}\r\n\r\n\t\t\t// take off offset parent position\r\n\t\t\tconst parent = this[i][pos === \"relative\" ? \"parentNode\" : \"offsetParent\"];\r\n\t\t\t$.each($(parent).offset(), (key, val) => values[i][key] -= val);\r\n\r\n\t\t\t// relative add inner offset\r\n\t\t\tif (pos === \"relative\") {\r\n\t\t\t\tconst style = getComputedStyle(parent);\r\n\t\t\t\tvalues[i].top -= parseFloat(style.paddingTop) + parseFloat(style.borderTopWidth);\r\n\t\t\t\tvalues[i].left -= parseFloat(style.paddingLeft) + parseFloat(style.borderLeftWidth);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// update values in one hit to prevent thrashing\r\n\t\ti = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(values[i], (key, val) => this[i].style[key] = val + (isNaN(val) ? \"\" : \"px\"));\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\tconst doc = document.documentElement,\r\n\t\t\tpos = this[0].style.position === \"fixed\",\r\n\t\t\trect = this[0].getBoundingClientRect();\r\n\t\treturn {\r\n\t\t\ttop: rect.top + (pos ? 0 : doc.scrollTop),\r\n\t\t\tleft: rect.left + (pos ? 0 : doc.scrollLeft)\r\n\t\t};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.offsetParent = function () {\r\n\treturn $(this[0] ? this[0].offsetParent : null);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.position = function () {\r\n\tif (this[0]) {\r\n\t\treturn {left: this[0].offsetLeft, top: this[0].offsetTop};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"scrollLeft\", \"scrollTop\"].forEach(item => {\r\n\t$.fn[item] = function (pos) {\r\n\t\tconst top = item === \"scrollTop\";\r\n\r\n\t\t// set\r\n\t\tif (pos !== undefined) {\r\n\t\t\tlet i = this.length,\r\n\t\t\t\ttl = top ? \"top\" : \"left\",\r\n\t\t\t\tvalues = getVal(this, pos, obj => obj[item]);\r\n\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif ($.isWindow(this[i])) {\r\n\t\t\t\t\tlet obj = {};\r\n\t\t\t\t\tobj[tl] = values[i];\r\n\t\t\t\t\tthis[i].scroll(obj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis[i][item] = values[i];\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get\r\n\t\tif (this[0]) {\r\n\t\t\tlet key = item;\r\n\t\t\tif ($.isWindow(this[0])) {\r\n\t\t\t\tkey = top ? \"pageYOffset\" : \"pageXOffset\";\r\n\t\t\t}\r\n\t\t\treturn this[0][key];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"width\", \"height\", \"innerWidth\", \"innerHeight\", \"outerWidth\", \"outerHeight\"].forEach(dim => {\r\n\r\n\t$.fn[dim] = function (val) {\r\n\t\tconst width = dim.indexOf(\"d\") > -1,\r\n\t\t\twh = width ? \"width\" : \"height\", // width or height\r\n\t\t\twhu = width ? \"Width\" : \"Height\", // with uppercase letter\r\n\t\t\tio = dim.indexOf(\"inner\") > -1 ? \"inner\" : (dim.indexOf(\"outer\") > -1 ? \"outer\" : \"\"), // inner outer or neither\r\n\t\t\tpos = [\r\n\t\t\t\twidth ? \"Left\" : \"Top\", // first dimension\r\n\t\t\t\twidth ? \"Right\" : \"Bottom\" // second dimension\r\n\t\t\t];\r\n\r\n\t\t// set value\r\n\t\tif (val !== undefined && typeof(val) !== \"boolean\") {\r\n\t\t\tlet values = getVal(this, val, obj => obj[dim]),\r\n\t\t\t\ti = this.length,\r\n\t\t\t\tprops = [],\r\n\t\t\t\tstyle;\r\n\t\t\twhile (i--) {\r\n\r\n\t\t\t\t// add additional lengths\r\n\t\t\t\tif (io) {\r\n\r\n\t\t\t\t\t// fetch current style and build properties\r\n\t\t\t\t\tpos.forEach(item => {\r\n\t\t\t\t\t\tprops.push(\"padding\" + item);\r\n\t\t\t\t\t\tif (io === \"outer\") {\r\n\t\t\t\t\t\t\tprops.push(\"border\" + item + \"Width\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// set width to convert to a px value\r\n\t\t\t\t\tif (isNaN(values[i]) && values[i].indexOf(\"px\") === -1) {\r\n\t\t\t\t\t\tthis[i].style[wh] = values[i];\r\n\t\t\t\t\t\tprops.push(wh);\r\n\t\t\t\t\t\tvalues[i] = 0; // reset to 0\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// add values\r\n\t\t\t\t\tstyle = getComputedStyle(this[i]);\r\n\t\t\t\t\tprops.forEach(val => values[i] -= parseFloat(style[val]));\r\n\t\t\t\t}\r\n\t\t\t\tthis[i].style[wh] = values[i] + (isNaN(values[i]) ? \"\" : \"px\");\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get value\r\n\t\tif (this[0]) {\r\n\r\n\t\t\t// document\r\n\t\t\tif (this[0].nodeType === Node.DOCUMENT_NODE) {\r\n\t\t\t\treturn this[0].documentElement[\"scroll\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\t// element\r\n\t\t\tif (!$.isWindow(this[0])) {\r\n\t\t\t\tlet value = this[0][(io === \"outer\" ? \"offset\" : \"client\") + whu];\r\n\r\n\t\t\t\t// add padding on, or if outer and margins requested, add margins on\r\n\t\t\t\tif (io === \"\" || (io === \"outer\" && val === true)) {\r\n\t\t\t\t\tconst style = getComputedStyle(this[0]);\r\n\t\t\t\t\tpos.forEach(item => value += parseFloat(style[(io ? \"margin\" : \"padding\") + item]) * (io ? 1 : -1));\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\r\n\t\t\t// window\r\n\t\t\tif (io === \"inner\") {\r\n\t\t\t\treturn this[0].document.documentElement[\"client\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\treturn this[0][\"inner\" + whu];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.trigger = function (name, data) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tlet isFunc = $.isFunction(this[i][name]);\r\n\r\n\t\t// native submit event doesn't trigger event handlers\r\n\t\tif (name == \"submit\" || !isFunc) {\r\n\t\t\tconst evt = new CustomEvent(name, {bubbles: true, cancelable: true});\r\n\t\t\tevt.args = data;\r\n\t\t\tthis[i].dispatchEvent(evt);\r\n\r\n\t\t\t// cancel submit event if default is prevented\r\n\t\t\tif (evt.defaultPrevented) {\r\n\t\t\t\tisFunc = false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// trigger native event\r\n\t\tif (isFunc) {\r\n\t\t\tthis[i][name]();\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport \"../on/on.js\";\r\nimport \"../trigger/trigger.js\";\r\n\r\nevents.forEach(event => {\r\n\t$.fn[event] = function (data, callback) {\r\n\t\treturn data ? this.on(event, data, callback) : this.trigger(event);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n// add and remove event handlers\r\n$.fn.off = function (events, selector, data, callback) {\r\n\r\n\t// sort out args\r\n\tevents = events.split(\" \");\r\n\tif ($.isFunction(selector)) {\r\n\t\tcallback = selector;\r\n\t\tselector = undefined;\r\n\t} else if ($.isFunction(data)) {\r\n\t\tcallback = data;\r\n\t\tdata = undefined;\r\n\t}\r\n\r\n\t// attach event\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\r\n\t\t// find the original function\r\n\t\tif (this[i].events.length) {\r\n\t\t\tlet e = events.length;\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].events.forEach((evt, n) => {\r\n\t\t\t\t\tconst index = evt.events.indexOf(events[e]);\r\n\t\t\t\t\tif (index !== -1 && (!callback || evt.callback === callback) && (!selector || evt.selector === selector)) {\r\n\t\t\t\t\t\tthis[i].removeEventListener(events[e], evt.func, {once: evt.once, capture: !!evt.selector}); // must pass same arguments\r\n\t\t\t\t\t\tthis[i].events[n].events.splice(index, 1);\r\n\t\t\t\t\t\tif (!this[i].events[n].events.length) {\r\n\t\t\t\t\t\t\tthis[i].events.splice(n, 1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.clone = function () {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes[i] = this[i].cloneNode(true);\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.empty = function () {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\twhile (this[i].firstChild && this[i].removeChild(this[i].firstChild));\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.html = function (html) {\r\n\r\n\t// set\r\n\tif (html !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, html, obj => obj.innerHTML);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].innerHTML = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0].innerHTML;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.each({\r\n\tbefore: \"beforeBegin\",\r\n\tprepend: \"afterBegin\",\r\n\tappend: \"beforeEnd\",\r\n\tafter: \"afterEnd\"\r\n}, (name, pos) => {\r\n\r\n\t// function tracking variables\r\n\tconst pre = [\"prepend\", \"after\"].indexOf(name) > -1;\r\n\r\n\t// the function\r\n\t$.fn[name] = function (...content) {\r\n\t\tlet elems,\r\n\t\t\ti = this.length,\r\n\t\t\tlen = i;\r\n\r\n\t\t// retireve nodes from function\r\n\t\tif ($.isFunction(content[0])) {\r\n\t\t\telems = $(getVal(this, content[0], obj => obj.innerHTML));\r\n\r\n\t\t// multiple arguments containing nodes\r\n\t\t} else {\r\n\t\t\telems = content.reduce((dabby, item) => dabby.add(item), $());\r\n\t\t}\r\n\r\n\t\t// insert objects onto each element in collection\r\n\t\twhile (i--) {\r\n\t\t\tlet backwards = elems.length, // for counting down\r\n\t\t\t\tforwards = -1; // for counting up\r\n\t\t\twhile (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards?\r\n\t\t\t\tthis[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../insert/insert.js\";\r\n\r\n$.each({\r\n\tprependTo: \"prepend\",\r\n\tappendTo: \"append\",\r\n\tinsertBefore: \"before\",\r\n\tinsertAfter: \"after\"\r\n}, (name, func) => {\r\n\t$.fn[name] = function (selector) {\r\n\t\t$(selector)[func](this);\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"remove\", \"detach\"].forEach(func => {\r\n\t$.fn[func] = function (selector) {\r\n\t\tlet i = this.length,\r\n\t\t\tnodes = [],\r\n\t\t\tobj = [];\r\n\r\n\t\t// detach selected nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (!selector || filterNodes(this[i], selector).length) {\r\n\t\t\t\tnodes.push(this[i].parentNode.removeChild(this[i]));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// create a new dabby object to return\r\n\t\treturn func === \"detach\" ? $(nodes) : this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n[\"replaceWith\", \"replaceAll\"].forEach(name => {\r\n\t$.fn[name] = function (html) {\r\n\t\tconst all = name === \"replaceAll\",\r\n\t\t\tsource = all ? $(html) : this;\r\n\t\tlet target = all ? this : html,\r\n\t\t\tisFunc = $.isFunction(target),\r\n\t\t\ti = source.length;\r\n\r\n\t\tif (!isFunc) {\r\n\t\t\ttarget = $(target);\r\n\t\t}\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet n = target.length,\r\n\t\t\t\tparent = source[i].parentNode;\r\n\t\t\twhile (n--) {\r\n\t\t\t\tconst replace = isFunc ? getVal(target[n], n, target[n]) : target[n];\r\n\t\t\t\tif (n) {\r\n\t\t\t\t\tsource[i].insertAdjacentElement(\"beforebegin\", replace.cloneNode(true));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsource[i] = parent.replaceChild(i ? replace.cloneNode(true) : replace, source[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.slice = function (start, end) {\r\n\treturn $(this.get().slice(start, end));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.text = function (text) {\r\n\tlet i = this.length,\r\n\t\toutput = [];\r\n\r\n\t// set\r\n\tif (text !== undefined) {\r\n\t\tconst values = getVal(this, text, obj => obj.textContent);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].textContent = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\twhile (i--) {\r\n\t\toutput[i] = this[i].textContent;\r\n\t}\r\n\treturn output.join(\" \");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.unwrap = function (selector) {\r\n\tthis.parent(selector).not(\"body\").each((key, obj) => {\r\n\t\t$(obj.children).each((i, node) => {\r\n\t\t\tobj.parentNode.insertBefore(node, obj);\r\n\t\t});\r\n\t\tobj.parentNode.removeChild(obj);\r\n\t});\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.wrapAll = function (html) {\r\n\tif (this[0]) {\r\n\t\tif ($.isFunction(html)) {\r\n\t\t\thtml = html.call(this[0]);\r\n\t\t}\r\n\r\n\t\t// set variables\r\n\t\tlet len = this.length,\r\n\t\t\ti = 0,\r\n\t\t\tnode = $(html)[0].cloneNode(true);\r\n\r\n\t\t// insert clone into parent\r\n\t\tthis[0].parentNode.insertBefore(node, null);\r\n\r\n\t\t// find innermost child of node\r\n\t\twhile (node.firstElementChild) {\r\n\t\t\tnode = node.firstElementChild;\r\n\t\t}\r\n\r\n\t\t// attach nodes to the new node\r\n\t\tfor (; i < len; i++) {\r\n\t\t\tnode.appendChild(this[i]);\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../wrapall/wrapall.js\";\r\n\r\n$.fn.wrap = function (html) {\r\n\tlet i = this.length,\r\n\t\tvalues = getVal(this, html);\r\n\r\n\twhile (i--) {\r\n\t\t$(this[i]).wrapAll(values[i]);\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.children = function (selector) {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes = nodes.concat(Array.from(this[i].children));\r\n\t}\r\n\r\n\t// filter nodes by selector\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.closest = function (selector, context) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tlet node = this[i];\r\n\t\twhile (node && node.nodeType === Node.ELEMENT_NODE) {\r\n\t\t\tif (filterNodes(node, selector, context).length) {\r\n\t\t\t\tnodes.unshift(node);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tnode = node.parentNode;\r\n\t\t}\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.eq = function (i) {\r\n\treturn $(this[i < 0 ? i + this.length : i]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.find = function (selector) {\r\n\treturn $(selector, this);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.first = function () {\r\n\treturn $(this[0]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.has = function (selector) {\r\n\treturn $(this.get().filter(node => !!$(selector, node).length));\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.index = function (selector) {\r\n\r\n\tif (this[0]) {\r\n\t\tlet nodes,\r\n\t\t\tsubject = this[0],\r\n\t\t\ti;\r\n\r\n\t\t// if no selector, match against first elements siblings\r\n\t\tif (selector === undefined) {\r\n\t\t\tnodes = this[0].parentNode.children;\r\n\r\n\t\t// if selector is string, match first node in current collection against resulting collection\r\n\t\t} else if (typeof selector === \"string\") {\r\n\t\t\tnodes = $(selector);\r\n\r\n\t\t// if element or collection match the element or first node against current collection\r\n\t\t} else {\r\n\t\t\tnodes = this;\r\n\t\t\tsubject = $(selector)[0];\r\n\t\t}\r\n\r\n\t\ti = nodes.length;\r\n\t\twhile (i--) {\r\n\t\t\tif (nodes[i] === subject) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn -1;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../eq/eq.js\";\r\n\r\n$.fn.last = function () {\r\n\treturn this.eq(-1);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"next\", \"nextAll\", \"nextUntil\", \"prev\", \"prevAll\", \"prevUntil\"].forEach(func => {\r\n\tconst next = func.indexOf(\"x\") > -1,\r\n\t\tall = func.indexOf(\"A\") > -1,\r\n\t\tuntil = func.indexOf(\"U\") > -1,\r\n\t\tmethod = next ? \"nextElementSibling\" : \"previousElementSibling\";\r\n\r\n\t$.fn[func] = function (selector, filter) {\r\n\t\tlet nodes = [];\r\n\r\n\t\t// look through each node and get siblings\r\n\t\tfor (let i = 0, len = this.length; i < len; i++) {\r\n\t\t\tlet sibling = this[i][method];\r\n\t\t\twhile (sibling) {\r\n\r\n\t\t\t\t// end when we match until\r\n\t\t\t\tif (until && filterNodes(sibling, selector).length) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// add the node\r\n\t\t\t\tnodes.push(sibling);\r\n\r\n\t\t\t\t// end when not finding all\r\n\t\t\t\tif (!all && !until) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tsibling = sibling[method];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// swap args for *Until methods\r\n\t\tif (until) {\r\n\t\t\tselector = filter;\r\n\t\t}\r\n\r\n\t\t// return new collection\r\n\t\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.siblings = function (selector) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tArray.from(this[i].parentNode.children).forEach(child => {\r\n\t\t\tif (child !== this[i]) {\r\n\t\t\t\tnodes.push(child);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n"],"file":"dabby.es5.js"} \ No newline at end of file +{"version":3,"sources":["src/polyfill/array.from.js","src/polyfill/customevent.js","src/polyfill/element.matches.js","src/polyfill/nodelist.foreach.js","src/polyfill/object.assign.js","src/core/dabby/dabby.js","src/utils/each/each.js","src/core/each/each.js","src/utils/iswindow/iswindow.js","src/utils/isfunction/isfunction.js","src/utils/isplainobject/isplainobject.js","src/utils/extend/extend.js","src/ajax/param/param.js","src/ajax/ajax/ajax.js","src/ajax/getpost/getpost.js","src/ajax/getscript/getscript.js","src/internal/filternodes/filternodes.js","src/traversal/filter/filter.js","src/ajax/load/load.js","src/internal/getval/getval.js","src/utils/map/map.js","src/attributes/val/val.js","src/ajax/serialize/serialize.js","src/core/get/get.js","src/traversal/add/add.js","src/traversal/parents/parents.js","src/events/on/on.js","src/internal/getevents/getevents.js","src/attributes/attr/attr.js","src/attributes/class/class.js","src/internal/camelise/camelise.js","src/internal/setcss/setcss.js","src/attributes/css/css.js","src/attributes/data/data.js","src/attributes/hasclass/hasclass.js","src/internal/getprop/getprop.js","src/attributes/prop/prop.js","src/attributes/removeprop/removeprop.js","src/attributes/show-hide/show-hide.js","src/core/map/map.js","src/dimensions/offset/offset.js","src/dimensions/offsetparent/offsetparent.js","src/dimensions/position/position.js","src/dimensions/scroll/scroll.js","src/dimensions/width-height/width-height.js","src/events/trigger/trigger.js","src/events/named/named.js","src/events/off/off.js","src/manipulation/clone/clone.js","src/manipulation/empty/empty.js","src/manipulation/html/html.js","src/manipulation/insert/insert.js","src/manipulation/insertto/insertto.js","src/manipulation/remove/remove.js","src/manipulation/replace/replace.js","src/manipulation/slice/slice.js","src/manipulation/text/text.js","src/manipulation/unwrap/unwrap.js","src/manipulation/wrapall/wrapall.js","src/manipulation/wrap/wrap.js","src/traversal/children/children.js","src/traversal/closest/closest.js","src/traversal/eq/eq.js","src/traversal/find/find.js","src/traversal/first/first.js","src/traversal/has/has.js","src/traversal/index/index.js","src/traversal/last/last.js","src/traversal/next-prev/next-prev.js","src/traversal/siblings/siblings.js"],"names":["CustomEvent"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAI,CAAC,KAAK,CAAC,IAAX,EAAiB;AAChB,IAAA,KAAK,CAAC,IAAN,GAAa,UAAU,SAAV,EAAqB,KAArB,EAA4B,OAA5B,EAAqC;AACjD,UAAI,GAAG,GAAG,GAAG,KAAH,CAAS,IAAT,CAAc,SAAd,CAAV;;AACA,UAAI,OAAO,KAAP,KAAiB,UAArB,EAAiC;AAChC,QAAA,GAAG,GA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;;;AACA,aAAC,CAAA,CAAA,QAAA,GAAA,WAAA,CAAA,KAAA,EAAA,QAAA,CAAA,GAAA,KAAA,CAAD;AACA,KA/BF;GANA;;ACAA,EAAA,CAAC,CAAA,EAAD,CAAK,QAAL,GAAc,UAAM,QAAN,EAAM;AAAA;;AACpB,QAAE,CAAA,GAAK,KAAM,MAAb;AAAA,Q,UAAA;;AAGA,WAAQ,CAAA,EAAR,EAAa;AACb,MAAA,KAAO,CAAA,IAAP,CAAY,KAAK,CAAL,EAAS,UAAT,CAAc,QAA1B,EAA0B,OAA1B,CAA0B,UAAA,KAAA,EAAA;AAC1B,YAAI,KAAM,KAAK,MAAM,CAAC,CAAD,CAArB,EAAsB;AAClB,UAAA,KAAA,CAAA,IAAA,CAAA,KAAA;AACA;AACF,OAJF;AAKC;;AACA,WAAC,CAAA,CAAA,QAAA,GAAA,WAAA,CAAA,KAAA,EAAA,QAAA,CAAA,GAAA,KAAA,CAAD;GAXD","sourcesContent":["if (!Array.from) {\r\n\tArray.from = function (arrayLike, mapFn, thisArg) {\r\n\t\tvar arr = [].slice.call(arrayLike);\r\n\t\tif (typeof mapFn === \"function\") {\r\n\t\t\tarr = arr.map(mapFn, thisArg);\r\n\t\t}\r\n\t\treturn arr;\r\n\t};\r\n}\r\n","// CustomEvent is not supported in IE11\r\nif (typeof window.CustomEvent !== \"function\") {\r\n\tfunction CustomEvent(event, params) {\r\n\t\tparams = params || {bubbles: false, cancelable: false, detail: undefined};\r\n\t\tconst evt = document.createEvent(\"CustomEvent\");\r\n\t\tevt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\r\n\t\treturn evt;\r\n\t}\r\n\r\n\tCustomEvent.prototype = window.Event.prototype;\r\n\twindow.CustomEvent = CustomEvent;\r\n}\r\n","// support Element.matches() in IE and older Webkit\r\nif (!Element.prototype.matches) {\r\n Element.prototype.matches = Element.prototype.msMatchesSelector;\r\n}\r\n","if (!NodeList.prototype.forEach) {\r\n NodeList.prototype.forEach = function (callback, thisArg) {\r\n thisArg = thisArg || window;\r\n for (var i = 0; i < this.length; i++) {\r\n callback.call(thisArg, this[i], i, this);\r\n }\r\n };\r\n}\r\n","if (typeof Object.assign !== \"function\") {\r\n\tObject.defineProperty(Object, \"assign\", {\r\n\t\tvalue: function assign(target, varArgs) { // .length of function is 2\r\n\t\t\t\"use strict\";\r\n\t\t\tif (target == null) { // TypeError if undefined or null\r\n\t\t\t\tthrow new TypeError('Cannot convert undefined or null to object');\r\n\t\t\t}\r\n\r\n\t\t\tvar to = Object(target);\r\n\r\n\t\t\tfor (var index = 1; index < arguments.length; index++) {\r\n\t\t\t\tvar nextSource = arguments[index];\r\n\r\n\t\t\t\tif (nextSource != null) { // Skip over if undefined or null\r\n\t\t\t\t\tfor (var nextKey in nextSource) {\r\n\t\t\t\t\t\t// Avoid bugs when hasOwnProperty is shadowed\r\n\t\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\r\n\t\t\t\t\t\t\tto[nextKey] = nextSource[nextKey];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn to;\r\n\t\t},\r\n\t\twritable: true,\r\n\t\tconfigurable: true\r\n\t});\r\n}\r\n","const $ = function dabby(selector, context) {\n\n\t// if no selector, return empty colletion\n\tif (this instanceof dabby) {\n\n\t\t// build nodes into a set (Which only allows unique items), then filter only element, document, documentFragment and window\n\t\tconst nodes = [...new Set(Array.from(selector))].filter(node => [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node));\n\t\tObject.assign(this, nodes); // only unique nodes\n\t\tthis.length = nodes.length;\n\t\treturn this;\n\t}\n\n\t// $ collection\n\tif (selector instanceof dabby) {\n\t\treturn selector;\n\t}\n\n\tlet nodes = [],\n\t\tmatch;\n\n\t// gather nodes\n\tif (selector) {\n\n\t\t// single node\n\t\tif (selector.nodeType || $.isWindow(selector)) {\n\t\t\tnodes = [selector];\n\n\t\t// ready function\n\t\t} else if ($.isFunction(selector)) {\n\t\t\tif (document.readyState !== \"loading\") {\n\t\t\t\tselector.call(document, $);\n\t\t\t} else {\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {selector.call(document, $);}, {once: true});\n\t\t\t}\n\n\t\t// array|NodeList|HTMLCollection of nodes\n\t\t} else if (typeof selector !== \"string\") {\n\t\t\tnodes = selector;\n\n\t\t// CSS selector\n\t\t} else if (selector.indexOf(\"<\") === -1) {\n\t\t\t$(context || document).each((i, obj) => {\n\t\t\t\tnodes = nodes.concat(Array.from(obj.querySelectorAll(selector)));\n\t\t\t});\n\n\t\t// create a single node and attach properties\n\t\t} else if ((match = selector.match(/^<([a-z0-9]+)(( ?\\/)?|><\\/\\1)>$/i)) !== null) {\n\t\t\tnodes = [document.createElement(match[1])];\n\n\t\t\t// context is CSS attributes\n\t\t\tif (context instanceof Object) {\n\t\t\t\t$(nodes).attr(context);\n\t\t\t}\n\n\t\t// parse HTML into nodes\n\t\t} else {\n\t\t\tconst obj = document.implementation.createHTMLDocument(\"\");\n\t\t\tobj.body.innerHTML = selector;\n\t\t\tnodes = obj.body.children;\n\t\t}\n\t}\n\treturn new dabby(nodes);\n};\n\n// alias functions\n$.fn = $.prototype;\n\nexport default $;\n","import $ from \"../../core/core.js\";\r\n\r\n$.each = (obj, callback) => {\r\n\tconst isArr = Array.isArray(obj),\r\n\t\tkeys = Object.keys(obj),\r\n\t\tlen = keys.length;\r\n\r\n\tfor (let i = 0; i < len; i++) {\r\n\t\tif (callback.call(obj[keys[i]], isArr ? parseInt(keys[i]) : keys[i], obj[keys[i]]) === false) {\r\n\t\t\tbreak; // stop if callback returns false\r\n\t\t}\r\n\t}\r\n\treturn obj;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.fn.each = function (callback) {\r\n\t$.each(Array.from(this), callback);\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isWindow = obj => obj !== null && obj === obj.window;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isFunction = func => func && func.constructor === Function;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isPlainObject = obj => {\r\n\r\n\t// Basic check for Type object that's not null\r\n\tif (typeof obj === \"object\" && obj !== null) {\r\n\r\n\t\t// If Object.getPrototypeOf supported, use it\r\n\t if (typeof Object.getPrototypeOf === 'function') {\r\n\t\t\tlet proto = Object.getPrototypeOf(obj);\r\n\t\t\treturn proto === Object.prototype || proto === null;\r\n\t }\r\n\r\n\t // Otherwise, use internal class\r\n\t // This should be reliable as if getPrototypeOf not supported, is pre-ES5\r\n\t\treturn Object.prototype.toString.call(obj) === \"[object Object]\";\r\n \t}\r\n\r\n \t// Not an object\r\n\treturn false;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../isplainobject/isplainobject.js\";\r\n\r\n$.extend = (...arrs) => {\r\n\tif (arrs[0] === true) {\r\n\r\n\t\t// merge function will recursively merge items\r\n\t\tfunction merge(target, ...sources) {\r\n\t\t\tif (sources.length) {\r\n\r\n\t\t\t\t// work on next source\r\n\t\t\t\tconst source = sources.shift();\r\n\t\t\t\tif ($.isPlainObject(target) && $.isPlainObject(source)) {\r\n\r\n\t\t\t\t\t// loop through each property\r\n\t\t\t\t\t$.each(source, (i, val) => {\r\n\r\n\t\t\t\t\t\t// merge recursively if source is object, if target is not object, overwrite\r\n\t\t\t\t\t\tif ($.isPlainObject(val)) {\r\n\t\t\t\t\t\t\ttarget[i] = $.isPlainObject(target[i]) ? merge(target[i], val) : val;\r\n\r\n\t\t\t\t\t\t// when source property is value just overwrite\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttarget[i] = val;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// merge next source\r\n\t\t\t return merge(target, ...sources);\r\n\t\t\t}\r\n\t\t\treturn target;\r\n\t\t}\r\n\t\treturn merge.apply(null, arrs.slice(1));\r\n\t}\r\n\treturn Object.assign.apply(null, arrs);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.param = obj => {\r\n\tlet params = [],\r\n\t\tadd = (key, value, params) => {\r\n\t\t\tlet isArr = Array.isArray(value);\r\n\t\t\tif (isArr || typeof value === \"object\") {\r\n\t\t\t\t$.each(value, (i, val) => {\r\n\t\t\t\t\tparams = add(`${key}[${isArr ? \"\" : i}]`, val, params);\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tif ($.isFunction(value)) {\r\n\t\t\t\t\tvalue = value();\r\n\t\t\t\t}\r\n\t\t\t\tparams.push(encodeURIComponent(key) + \"=\" + encodeURIComponent(value === null ? \"\" : value));\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\r\n\t// process values\r\n\t$.each(obj, (key, item) => {\r\n\t\tparams = add(key, item, params);\r\n\t});\r\n\treturn params.join(\"&\");\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/extend/extend.js\";\nimport \"../param/param.js\";\nimport \"../../utils/each/each.js\";\n\n$.ajax = (url, settings) => {\n\n\t// normalise args\n\tif (typeof url === \"object\") {\n\t\tsettings = url;\n\t} else {\n\t\tif (typeof settings !== \"object\") {\n\t\t\tsettings = {};\n\t\t}\n\t\tsettings.url = url;\n\t}\n\n\t// set default settings\n\tsettings = Object.assign({\n\t\tmethod: \"GET\",\n\t\tcache: null, // start will null so we can see if explicitly set\n\t\tdata: null,\n\t\tdataType: null, // only changes behavior with json, jsonp, script\n\t\tasync: true,\n\t\tcrossDomain: false,\n\t\tscriptCharset: null,\n\t\tjsonp: \"callback\",\n\t\tjsonpCallback: \"dabby\" + Date.now(),\n\t\theaders: {\n\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"\n\t\t},\n\t\txhr: () => new XMLHttpRequest(),\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\t\tcontext: null,\n\t\tstatusCode: {},\n\t\tusername: null,\n\t\tpassword: null,\n\t\txhrFields: {}\n\t}, settings);\n\n\t// determine datatype\n\tif (!settings.dataType && settings.url.split(\"?\")[0].split(\".\").pop() === \"js\") {\n\t\tsettings.dataType = \"script\";\n\t}\n\n\tlet sync = [\"script\", \"jsonp\"].indexOf(settings.dataType) > -1,\n\t\tjoin = settings.url.indexOf(\"?\") > -1 ? \"&\" : \"?\",\n\t\tscript, data;\n\n\t// add data to query string\n\tif (settings.data) {\n\t\tif (typeof settings.data === \"string\" || settings.data instanceof FormData) {\n\t\t\tdata = settings.data;\n\t\t} else {\n\t\t\tdata = $.param(settings.data);\n\t\t}\n\t}\n\tif (data && settings.method === \"GET\") {\n\t\tsettings.url += join + data;\n\t\tjoin = \"&\";\n\t}\n\n\t// add cache buster\n\tif (settings.cache || (settings.cache === null && sync)) {\n\t\tsettings.url += join + \"_=\" + (+new Date());\n\t\tjoin = \"&\";\n\t}\n\n\t// fetch script\n\tif (sync || settings.crossDomain) {\n\t\tscript = document.createElement(\"script\");\n\t\tif (settings.scriptCharset) {\n\t\t\tscript.charset = settings.scriptCharset;\n\t\t}\n\n\t\t// add callback parameter\n\t\tif (settings.dataType === \"jsonp\") {\n\t\t\tsettings.url += join + settings.jsonp + \"=\" + settings.jsonpCallback;\n\t\t}\n\n\t\t// setup event callbacks\n\t\t$.each({\n\t\t\tload: \"success\",\n\t\t\terror: \"error\"\n\t\t}, (key, value) => {\n\t\t\tscript.addEventListener(key, () => {\n\t\t\t\tconst response = settings.dataType === \"jsonp\" ? window[settings.jsonpCallback] || null : null;\n\t\t\t\t[settings[value], settings.complete].forEach(callback => {\n\t\t\t\t\tif (callback) {\n\t\t\t\t\t\tcallback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}, {once: true});\n\t\t});\n\n\t\tscript.src = settings.url;\n\t\tscript.async = settings.async;\n\t\tdocument.head.appendChild(script);\n\n\t// make xhr request\n\t} else {\n\t\tconst xhr = settings.xhr(),\n\t\t\tcallback = (xhr, type, status) => {\n\t\t\t\tlet response = xhr.responseText;\n\n\t\t\t\t// parse JSON\n\t\t\t\tif ([\"json\", null, undefined].indexOf(settings.dataType) > -1) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tresponse = JSON.parse(response);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t// do nothing\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// run callbacks\n\t\t\t\t[settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => {\n\t\t\t\t\tif (callback) {\n\t\t\t\t\t\tcallback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\n\t\t// XHR settings\n\t\t$.each(settings.xhrFields, (key, value) => xhr[key] = value);\n\n\t\t// callbacks\n\t\txhr.onload = () => {\n\t\t\tconst status = [200, 204, 304].indexOf(xhr.status) > -1 ? \"success\" : \"error\";\n\t\t\tcallback(xhr, status, status);\n\t\t};\n\t\txhr.ontimeout = () => {\n\t\t\tcallback(xhr, \"error\", \"timeout\");\n\t\t};\n\t\txhr.onabort = () => {\n\t\t\tcallback(xhr, \"error\", \"abort\");\n\t\t};\n\t\txhr.onerror = () => {\n\t\t\tcallback(xhr, \"error\", \"error\");\n\t\t};\n\n\t\txhr.open(settings.method, settings.url, settings.async, settings.username, settings.password);\n\n\t\t// add headers\n\t\tif (settings.contentType) {\n\t\t\tsettings.headers[\"Content-Type\"] = settings.contentType;\n\t\t}\n\t\t$.each(settings.headers, (key, value) => {\n\t\t\txhr.setRequestHeader(key, value);\n\t\t});\n\n\t\t// send request\n\t\txhr.send(settings.method === \"GET\" ? null : data);\n\t\treturn xhr;\n\t}\n};\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n[\"get\", \"post\"].forEach(name => {\r\n\t$[name] = (url, data, success, type) => {\r\n\t\tconst isFunc = $.isFunction(data);\r\n\t\tlet settings = typeof(url) === \"object\" ? url : {\r\n\t\t\turl: url,\r\n\t\t\tdata: isFunc ? {} : data,\r\n\t\t\tsuccess: isFunc ? data : success,\r\n\t\t\tdataType: isFunc ? success : type\r\n\t\t};\r\n\t\tsettings.method = name.toUpperCase();\r\n\t\treturn $.ajax(settings);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n$.getScript = (url, success) => $.ajax({\r\n\turl: url,\r\n\tdataType: \"script\",\r\n\tsuccess: success\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\nexport default (dabby, filter, context, not) => {\r\n\tlet func,\r\n\t\tnodes = dabby.nodeType ? [dabby] : Array.from(dabby);\r\n\r\n\t// sort out args\r\n\tif (typeof context === \"boolean\") {\r\n\t\tnot = context;\r\n\t\tcontext = null;\r\n\t}\r\n\r\n\t// custom filter function\r\n\tif ($.isFunction(filter)) {\r\n\t\tfunc = filter;\r\n\r\n\t// nodes\r\n\t} else {\r\n\r\n\t\t// normalise filters\r\n\t\tif (typeof filter === \"string\") {\r\n\t\t\tfilter = [filter];\r\n\t\t} else {\r\n\t\t\tfilter = Array.from($(filter, context));\r\n\t\t}\r\n\r\n\t\t// default filter function\r\n\t\tfunc = (n, node) => {\r\n\t\t\tlet i = filter.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif (typeof(filter[i]) === \"string\" && node.matches ? node.matches(filter[i]) : node === filter[i]) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t};\r\n\t}\r\n\treturn nodes.filter((item, i) => func.call(item, i, item) === !not, nodes);\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"filter\", \"not\", \"is\"].forEach(name => {\r\n\t$.fn[name] = function (selector) {\r\n\t\tconst nodes = filterNodes(this, selector, name === \"not\");\r\n\t\treturn name === \"is\" ? !!nodes.length : $(nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\n\r\n$.fn.load = function (url, data, success) {\r\n\tif (this[0]) {\r\n\r\n\t\t// get selector from URL\r\n\t\turl = url.split(\" \", 2);\r\n\t\tconst uri = url[0],\r\n\t\t\tselector = url[1];\r\n\r\n\t\t// check for data\r\n\t\tif ($.isFunction(data)) {\r\n\t\t\tsuccess = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// make AJAX request\r\n\t\t$.ajax(uri, {\r\n\t\t\tdata: data,\r\n\t\t\ttype: data instanceof Object ? \"POST\" : \"GET\",\r\n\t\t\tsuccess: (response, status, xhr) => {\r\n\r\n\t\t\t\t// if a selector is specified, find it in the returned document\r\n\t\t\t\tlet html = \"\",\r\n\t\t\t\t\ti = this.length;\r\n\r\n\t\t\t\t// refine by selector if supplied\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\t$(response).filter(selector).each((key, obj) => {\r\n\t\t\t\t\t\thtml += obj.outerHTML;\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\thtml = response;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst nodes = $(html).filter((i, item) => item.tagName.toLowerCase() === \"script\");\r\n\r\n\t\t\t\t// set HTML to nodes in collection\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tthis[i].innerHTML = html;\r\n\r\n\t\t\t\t\t// include any scripts as they won't execute with innerHTML\r\n\t\t\t\t\tnodes.each((i, item) => {\r\n\t\t\t\t\t\tconst src = item.getAttribute(\"src\"),\r\n\t\t\t\t\t\t\tscript = document.createElement(\"script\");\r\n\t\t\t\t\t\tif (src) {\r\n\t\t\t\t\t\t\tscript.src = src;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tscript.text = item.innerText;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdocument.head.appendChild(script);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// fire success callback on nodes\r\n\t\t\t\t\tif (success) {\r\n\t\t\t\t\t\tsuccess.call(this[i], response, status, xhr);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\n\r\nexport default (obj, val, current) => {\r\n\tlet i = obj.length,\r\n\t\tvalues = [],\r\n\t\tfuncVal = $.isFunction(val),\r\n\t\tobjVal = funcVal ? 0 : $.isPlainObject(val),\r\n\t\tfuncCurrent = $.isFunction(current);\r\n\twhile (i--) {\r\n\t\tvalues[i] = funcVal ? val.call(obj[i], i, funcCurrent ? current(obj[i]) : current) : (objVal ? Object.create(val) : val);\r\n\t}\r\n\treturn values;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../each/each.js\";\r\n\r\n$.map = (obj, callback) => {\r\n\tlet arr = [];\r\n\t$.each(obj, (i, item) => {\r\n\t\tconst result = callback.call(window, item, i);\r\n\t\tif ([null, undefined].indexOf(result) === -1) {\r\n\t\t\tarr = arr.concat(Array.isArray(result) ? result : [result]);\r\n\t\t}\r\n\t});\r\n\treturn arr;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/map/map.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.val = function (value) {\r\n\r\n\t// set value\r\n\tif (value !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, value, obj => obj.val());\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// string value, just set to value attribute\r\n\t\t\tif (!Array.isArray(values[i])) {\r\n\t\t\t\tthis[i].value = values[i];\r\n\r\n\t\t\t// array on select, set matching values to selected\r\n\t\t\t} else if (this[i].type === \"select-multiple\") {\r\n\t\t\t\tvalues[i] = values[i].map(val => String(val));\r\n\t\t\t\t$(\"option\", this[i]).each((key, obj) => {\r\n\t\t\t\t\tobj.selected = values[i].indexOf(obj.value) > -1;\r\n\t\t\t\t});\r\n\r\n\t\t\t// set the checked attribute for radios and checkbox\r\n\t\t\t} else {\r\n\t\t\t\tthis[i].checked = values[i].indexOf(this[i].value) > -1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// read value from first node\r\n\tif (this[0]) {\r\n\r\n\t\t// get multiple values\r\n\t\tif (this[0].type === \"select-multiple\") {\r\n\t\t\tlet values = [];\r\n\t\t\t$(\"option\", this[0]).each((key, obj) => {\r\n\t\t\t\tif (obj.selected) {\r\n\t\t\t\t\tvalues.push(String(obj.value));\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn values;\r\n\t\t}\r\n\r\n\t\t// get single value\r\n\t\tif (this[0].type !== \"checkbox\" || this[0].checked) {\r\n\t\t\treturn String(this[0].value);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\nimport \"../../attributes/val/val.js\";\r\nimport \"../param/param.js\";\r\n\r\n$.fn.serialize = function () {\r\n\tconst selector = \"input[name]:not([type=file]):not([type=submit]):not([type=radio]):not([type=checkbox]),input[name]:checked,textarea[name],select[name]\",\r\n\t\tadd = (name, value, params) => {\r\n\t\t\tlet match;\r\n\r\n\t\t\tif ((match = name.match(/([^\\[]*)\\[([^\\]]*)\\](.*)/)) !== null) {\r\n\t\t\t\tname = match[1];\r\n\t\t\t\tlet arr = add(match[2] + match[3], value, params[name] || {});\r\n\t\t\t\tvalue = arr;\r\n\t\t\t}\r\n\r\n\t\t\tif (name !== \"\") {\r\n\t\t\t\tparams[name] = value;\r\n\t\t\t} else {\r\n\t\t\t\tif (!Array.isArray(params)) {\r\n\t\t\t\t\tparams = [];\r\n\t\t\t\t}\r\n\t\t\t\tparams = params.concat(Array.isArray(value) ? value : [value]);\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\tlet obj = this.filter(selector);\r\n\r\n\tif (!obj.length) {\r\n\t\tobj = $(selector, this);\r\n\t}\r\n\r\n\tlet params = {};\r\n\r\n\t// process values\r\n\tobj.each((key, obj) => {\r\n\t\tconst value = $(obj).val();\r\n\t\tif (!obj.disabled && value !== undefined) {\r\n\t\t\tparams = add(obj.name, value, params);\r\n\t\t}\r\n\t});\r\n\treturn $.param(params);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.get = function (i) {\r\n\treturn i === undefined ? Array.from(this) : this[i >= 0 ? i : i + this.length];\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../core/get/get.js\";\n\n$.fn.add = function (nodes, context) {\n\tnodes = $(nodes, context).get();\n\treturn $(Array.from(this).concat(nodes));\n};\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n[\"parent\", \"parents\", \"parentsUntil\"].forEach(func => {\n\tconst all = func.indexOf(\"s\") > -1,\n\t\tuntil = func.indexOf(\"U\") > -1;\n\n\t$.fn[func] = function (selector, filter) {\n\t\tlet nodes = [],\n\t\t\ti = this.length;\n\n\t\twhile (i--) {\n\t\t\tlet parent = this[i].parentNode;\n\t\t\twhile (parent && parent.nodeType === Node.ELEMENT_NODE) {\n\t\t\t\tif (until && filterNodes(parent, selector).length) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tnodes.push(parent);\n\t\t\t\tif (!all) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tparent = parent.parentNode;\n\t\t\t}\n\t\t}\n\t\tif (!until) {\n\t\t\tfilter = selector;\n\t\t}\n\t\treturn $(filter ? filterNodes(nodes, filter) : nodes);\n\t}\n});\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n// add and remove event handlers\r\n[\"on\", \"one\"].forEach(name => {\r\n\t$.fn[name] = function (events, selector, data, callback) {\r\n\r\n\t\t// sort out args\r\n\t\tevents = events.split(\" \");\r\n\t\tif ($.isFunction(selector)) {\r\n\t\t\tcallback = selector;\r\n\t\t\tselector = undefined;\r\n\t\t} else if ($.isFunction(data)) {\r\n\t\t\tcallback = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// attach event\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet e = events.length;\r\n\r\n\t\t\t// record the original function\r\n\t\t\tif (!this[i].events) {\r\n\t\t\t\tthis[i].events = [];\r\n\t\t\t}\r\n\t\t\tlet fn = function (evt) { // delegate function\r\n\t\t\t\tlet target = [this];\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\tlet t = $(evt.target);\r\n\t\t\t\t\ttarget = t.add(t.parents()).filter(selector).get(); // is the selector in the targets parents?\r\n\t\t\t\t}\r\n\t\t\t\tif (target) {\r\n\t\t\t\t\tevt.data = data; // set data to event object\r\n\t\t\t\t\tfor (let i = 0, len = target.length; i < len; i++) {\r\n\t\t\t\t\t\tif (callback.call(target[i], evt, evt.args) === false) {\r\n\t\t\t\t\t\t\tevt.preventDefault();\r\n\t\t\t\t\t\t\tevt.stopPropagation();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tthis[i].events.push({\r\n\t\t\t\tevents: events,\r\n\t\t\t\tcallback: callback,\r\n\t\t\t\tselector: selector,\r\n\t\t\t\tfunc: fn,\r\n\t\t\t\tonce: name === \"one\"\r\n\t\t\t});\r\n\r\n\t\t\t// trigger\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].addEventListener(events[e], fn, {once: name === \"one\", capture: !!selector});\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default [\"focusin\", \"focusout\", \"focus\", \"blur\", \"resize\", \"scroll\", \"unload\", \"click\", \"dblclick\", \"mousedown\", \"mouseup\", \"mousemove\", \"mouseover\", \"mouseout\", \"mouseenter\", \"mouseleave\", \"contextmenu\", \"change\", \"select\", \"keydown\", \"keypress\", \"keyup\", \"error\", \"submit\"];\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport \"../../events/on/on.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.attr = function (prop, value) {\r\n\tlet isObj = typeof prop !== \"string\",\r\n\t\tobj = {};\r\n\r\n\t// set properties\r\n\tif (isObj || value !== undefined) {\r\n\r\n\t\t// normalise to object\r\n\t\tif (!isObj) {\r\n\t\t\tobj[prop] = value;\r\n\t\t\tprop = obj;\r\n\t\t}\r\n\r\n\t\t$.each(prop, (key, val) => {\r\n\r\n\t\t\t// if event, hand it off to $.fn.on()\r\n\t\t\tif (events.indexOf(key) > -1) {\r\n\t\t\t\tthis.on(key, val);\r\n\r\n\t\t\t// process other values\r\n\t\t\t} else {\r\n\t\t\t\tlet i = this.length,\r\n\t\t\t\t\tvalues = getVal(this, val, obj => $(obj).attr(key));\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tif (key === \"style\") {\r\n\t\t\t\t\t\tthis[i].style.cssText = values[i];\r\n\t\t\t\t\t} else if (key === \"class\") {\r\n\t\t\t\t\t\tthis[i].className = values[i];\r\n\t\t\t\t\t} else if (key === \"text\") {\r\n\t\t\t\t\t\tthis[i].textContent = values[i];\r\n\t\t\t\t\t} else if (values[i] === null) {\r\n\t\t\t\t\t\tthis[i].removeAttribute(key);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis[i].setAttribute(key, values[i]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// retrieve properties\r\n\tif (this[0]) {\r\n\t\tif (prop === \"style\") {\r\n\t\t\treturn this[0].style.cssText;\r\n\t\t}\r\n\t\tif (prop === \"class\") {\r\n\t\t\treturn this[0].className;\r\n\t\t}\r\n\t\treturn this[0].getAttribute(prop);\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\nconst funcs = [];\r\n[\"removeClass\", \"addClass\", \"toggleClass\"].forEach((func, f) => {\r\n\r\n\t// remove \"Class\" from name for classList method and remember\r\n\tfuncs.push(func.substr(0, func.length - 5));\r\n\r\n\t// create function\r\n\t$.fn[func] = function (cls, state) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, cls, obj => obj.className),\r\n\t\t\tkey = f;\r\n\r\n\t\tif (func === \"toggleClass\" && typeof state === \"boolean\") {\r\n\t\t\tkey = 0 + state;\r\n\t\t}\r\n\r\n\t\t// manage classes on nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (typeof values[i] === \"string\") {\r\n\t\t\t\tvalues[i] = values[i].split(\" \");\r\n\t\t\t}\r\n\t\t\tfor (let n = 0, len = values[i].length; n < len; n++) {\r\n\t\t\t\tthis[i].classList[funcs[key]](values[i][n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default prop => prop.replace(/-([\\w])/g, (text, letter) => letter.toUpperCase()); // matches underscore too but you shouldn't do that anyway\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport getVal from \"../getval/getval.js\";\r\nimport camelise from \"../camelise/camelise.js\";\r\n\r\nexport default (dabby, props, value) => {\r\n\r\n\t// normalise props\r\n\tif (typeof props === \"string\") {\r\n\t\tconst name = props;\r\n\t\tprops = {};\r\n\t\tprops[name] = value;\r\n\t}\r\n\r\n\t// prepare values\r\n\tlet values = {};\r\n\t$.each(props, (i, prop) => {\r\n\t\tvalues[camelise(i)] = getVal(dabby, prop, obj => obj.style[i]);\r\n\t});\r\n\r\n\t// set properties\r\n\t$.each(values, (key, val) => {\r\n\t\tlet i = dabby.length;\r\n\t\twhile (i--) {\r\n\t\t\tdabby[i].style[key] = val[i] + (!val[i] || isNaN(val[i]) ? \"\" : \"px\");\r\n\t\t}\r\n\t});\r\n\treturn dabby;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport setCss from \"../../internal/setcss/setcss.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.css = function (props, value) {\r\n\r\n\t// set the values\r\n\tif (value !== undefined || $.isPlainObject(props)) {\r\n\t\treturn setCss(this, props, value);\r\n\t}\r\n\r\n\t// retrieve value from first property\r\n\tif (this[0]) {\r\n\t\tlet name = props,\r\n\t\t\ti,\r\n\t\t\tstyle = getComputedStyle(this[0], \"\"),\r\n\t\t\toutput = {},\r\n\t\t\tret = false;\r\n\r\n\t\tif (typeof name === \"string\") {\r\n\t\t\tprops = [name];\r\n\t\t\tret = true;\r\n\t\t}\r\n\t\ti = props.length;\r\n\t\twhile (i--) {\r\n\t\t\toutput[props[i]] = style[camelise(props[i])];\r\n\t\t\tif (ret) {\r\n\t\t\t\treturn output[props[i]];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn output;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.data = function (name, data) {\r\n\r\n\t// convert data to object\r\n\tif (typeof name === \"object\") {\r\n\t\tdata = name;\r\n\t} else if (data !== undefined) {\r\n\t\tlet temp = {};\r\n\t\ttemp[name] = data;\r\n\t\tdata = temp;\r\n\t}\r\n\r\n\t// set value\r\n\tif (data !== undefined) {\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(data, (key, value) => {\r\n\t\t\t\tthis[i].dataset[camelise(key)] = typeof value === \"object\" ? JSON.stringify(value) : value;\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get value\r\n\tif (this[0] && this[0].dataset) {\r\n\t\tlet parse = value => {\r\n\t\t\ttry {\r\n\t\t\t\treturn JSON.parse(value);\r\n\t\t\t} catch (e) {\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// all properties\r\n\t\tif (name === undefined) {\r\n\t\t\tlet arr = {};\r\n\t\t\t$.each(this[0].dataset, (key, value) => {\r\n\t\t\t\tarr[key] = parse(value);\r\n\t\t\t});\r\n\t\t\treturn arr;\r\n\t\t}\r\n\r\n\t\t// retrieve specific property\r\n\t\tname = camelise(name);\r\n\t\tif (this[0].dataset.hasOwnProperty(name)) {\r\n\t\t\treturn parse(this[0].dataset[name]);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.hasClass = function (cls) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tif (this[i].classList.contains(cls)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n","export default prop => {\r\n\tlet properties = {\r\n\t\t\"for\": \"htmlFor\",\r\n\t\t\"class\": \"className\",\r\n\t\t\"tabindex\": \"tabIndex\",\r\n\t\t\"readonly\": \"readOnly\",\r\n\t\t\"maxlength\": \"maxLength\",\r\n\t\t\"cellspacing\": \"cellSpacing\",\r\n\t\t\"cellpadding\": \"cellPadding\",\r\n\t\t\"rowspan\": \"rowSpan\",\r\n\t\t\"colspan\": \"colSpan\",\r\n\t\t\"usemap\": \"useMap\",\r\n\t\t\"frameborder\": \"frameBorder\",\r\n\t\t\"contenteditable\": \"contentEditable\"\r\n\t};\r\n\tprop = prop.toLowerCase();\r\n\treturn properties[prop] || prop;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.prop = function (prop, value) {\r\n\tconst isObj = $.isPlainObject(prop);\r\n\r\n\t// set\r\n\tif (value !== undefined || isObj) {\r\n\r\n\t\t// normalise values\r\n\t\tif (!isObj) {\r\n\t\t\tconst tmp = {};\r\n\t\t\ttmp[prop] = value;\r\n\t\t\tprop = tmp;\r\n\t\t}\r\n\r\n\t\t// retrieve values\r\n\t\tlet values = {};\r\n\t\t$.each(prop, (key, val) => {\r\n\t\t\tvalues[getProp(key)] = getVal(this, val, obj => obj[key]);\r\n\t\t});\r\n\r\n\t\t// set properties\r\n\t\t$.each(values, (key, val) => {\r\n\t\t\tlet i = this.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tthis[i][key] = val[i];\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0][getProp(prop)];\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\n\r\n$.fn.removeProp = function (prop) {\r\n\tlet i = this.length;\r\n\tprop = getProp(prop);\r\n\r\n\twhile (i--) {\r\n\t\tdelete this[i][prop];\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\n\n// store for current values\nconst display = [],\n\tobj = [],\n\tdefaults = [],\n\tvalues = [\"none\", \"block\"];\n\n[\"hide\", \"show\", \"toggle\"].forEach((func, n) => {\n\n\t// attach function\n\t$.fn[func] = function (show) {\n\n\t\t// for toggle they can set the show value\n\t\tif (n === 2 && typeof show !== \"undefined\") {\n\t\t\tn = parseInt(show);\n\t\t}\n\n\t\t// loop through each node\n\t\tlet i = this.length;\n\t\twhile (i--) {\n\t\t\tlet item = obj.indexOf(this[i]),\n\t\t\t\tcurrent = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display;\n\n\t\t\t// cache the initial value of the current\n\t\t\tif (item === -1) {\n\t\t\t\titem = obj.length;\n\t\t\t\tobj.push(this[i]);\n\t\t\t\tdisplay.push(current);\n\t\t\t\tdefaults.push(this[i].style.display);\n\t\t\t}\n\n\t\t\t// determine if we are going to show or hide\n\t\t\tlet value = values[n] || (current === \"none\" ? \"block\" : \"none\");\n\n\t\t\t// if show update the block value to the initial if it was not \"none\"\n\t\t\tif (value !== \"none\" && display[item] !== \"none\") {\n\t\t\t\tvalue = display[item];\n\t\t\t}\n\n\t\t\t// update the value, use the default if setting back to initial\n\t\t\tthis[i].style.display = value === display[item] ? defaults[item] : value;\n\t\t}\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.map = function (callback) {\r\n\tlet len = this.length,\r\n\t\tvalues = [],\r\n\t\ti = 0;\r\n\r\n\tfor (; i < len; i++) {\r\n\t\tvalues.push(callback.call(this[i], i, this[i]));\r\n\t}\r\n\treturn values;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.offset = function (coords) {\r\n\r\n\t// set\r\n\tif (coords) {\r\n\r\n\t\t// prepare values\r\n\t\tlet values = getVal(this, coords, obj => obj.offset()), // copy the object\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// set position to relative if not positioned\r\n\t\t\tlet pos = getComputedStyle(this[i]).position;\r\n\t\t\tif (pos === \"static\") {\r\n\t\t\t\tvalues[i].position = pos = \"relative\";\r\n\t\t\t}\r\n\r\n\t\t\t// take off offset parent position\r\n\t\t\tconst parent = this[i][pos === \"relative\" ? \"parentNode\" : \"offsetParent\"];\r\n\t\t\t$.each($(parent).offset(), (key, val) => values[i][key] -= val);\r\n\r\n\t\t\t// relative add inner offset\r\n\t\t\tif (pos === \"relative\") {\r\n\t\t\t\tconst style = getComputedStyle(parent);\r\n\t\t\t\tvalues[i].top -= parseFloat(style.paddingTop) + parseFloat(style.borderTopWidth);\r\n\t\t\t\tvalues[i].left -= parseFloat(style.paddingLeft) + parseFloat(style.borderLeftWidth);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// update values in one hit to prevent thrashing\r\n\t\ti = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(values[i], (key, val) => this[i].style[key] = val + (isNaN(val) ? \"\" : \"px\"));\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\tconst doc = document.documentElement,\r\n\t\t\tpos = this[0].style.position === \"fixed\",\r\n\t\t\trect = this[0].getBoundingClientRect();\r\n\t\treturn {\r\n\t\t\ttop: rect.top + (pos ? 0 : doc.scrollTop),\r\n\t\t\tleft: rect.left + (pos ? 0 : doc.scrollLeft)\r\n\t\t};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.offsetParent = function () {\r\n\treturn $(this[0] ? this[0].offsetParent : null);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.position = function () {\r\n\tif (this[0]) {\r\n\t\treturn {left: this[0].offsetLeft, top: this[0].offsetTop};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\nimport getVal from \"../../internal/getval/getval.js\";\nimport \"../../utils/iswindow/iswindow.js\";\n\n[\"scrollLeft\", \"scrollTop\"].forEach(item => {\n\t$.fn[item] = function (pos) {\n\t\tconst top = item === \"scrollTop\";\n\n\t\t// set\n\t\tif (pos !== undefined) {\n\t\t\tlet i = this.length,\n\t\t\t\ttl = top ? \"top\" : \"left\",\n\t\t\t\tvalues = getVal(this, pos, obj => obj[item]);\n\n\t\t\twhile (i--) {\n\t\t\t\tif ($.isWindow(this[i])) {\n\t\t\t\t\tlet obj = {};\n\t\t\t\t\tobj[tl] = values[i];\n\t\t\t\t\tthis[i].scroll(obj);\n\t\t\t\t} else {\n\t\t\t\t\tthis[i][item] = values[i];\n\t\t\t\t}\n\t\t\t};\n\t\t\treturn this;\n\t\t}\n\n\t\t// get\n\t\tif (this[0]) {\n\t\t\tlet key = item;\n\t\t\tif ($.isWindow(this[0])) {\n\t\t\t\tkey = top ? \"pageYOffset\" : \"pageXOffset\";\n\t\t\t}\n\t\t\treturn this[0][key];\n\t\t}\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"width\", \"height\", \"innerWidth\", \"innerHeight\", \"outerWidth\", \"outerHeight\"].forEach(dim => {\r\n\r\n\t$.fn[dim] = function (val) {\r\n\t\tconst width = dim.indexOf(\"d\") > -1,\r\n\t\t\twh = width ? \"width\" : \"height\", // width or height\r\n\t\t\twhu = width ? \"Width\" : \"Height\", // with uppercase letter\r\n\t\t\tio = dim.indexOf(\"inner\") > -1 ? \"inner\" : (dim.indexOf(\"outer\") > -1 ? \"outer\" : \"\"), // inner outer or neither\r\n\t\t\tpos = [\r\n\t\t\t\twidth ? \"Left\" : \"Top\", // first dimension\r\n\t\t\t\twidth ? \"Right\" : \"Bottom\" // second dimension\r\n\t\t\t];\r\n\r\n\t\t// set value\r\n\t\tif (val !== undefined && typeof(val) !== \"boolean\") {\r\n\t\t\tlet values = getVal(this, val, obj => obj[dim]),\r\n\t\t\t\ti = this.length,\r\n\t\t\t\tprops = [],\r\n\t\t\t\tstyle;\r\n\t\t\twhile (i--) {\r\n\r\n\t\t\t\t// add additional lengths\r\n\t\t\t\tif (io) {\r\n\r\n\t\t\t\t\t// fetch current style and build properties\r\n\t\t\t\t\tpos.forEach(item => {\r\n\t\t\t\t\t\tprops.push(\"padding\" + item);\r\n\t\t\t\t\t\tif (io === \"outer\") {\r\n\t\t\t\t\t\t\tprops.push(\"border\" + item + \"Width\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// set width to convert to a px value\r\n\t\t\t\t\tif (isNaN(values[i]) && values[i].indexOf(\"px\") === -1) {\r\n\t\t\t\t\t\tthis[i].style[wh] = values[i];\r\n\t\t\t\t\t\tprops.push(wh);\r\n\t\t\t\t\t\tvalues[i] = 0; // reset to 0\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// add values\r\n\t\t\t\t\tstyle = getComputedStyle(this[i]);\r\n\t\t\t\t\tprops.forEach(val => values[i] -= parseFloat(style[val]));\r\n\t\t\t\t}\r\n\t\t\t\tthis[i].style[wh] = values[i] + (isNaN(values[i]) ? \"\" : \"px\");\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get value\r\n\t\tif (this[0]) {\r\n\r\n\t\t\t// document\r\n\t\t\tif (this[0].nodeType === Node.DOCUMENT_NODE) {\r\n\t\t\t\treturn this[0].documentElement[\"scroll\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\t// element\r\n\t\t\tif (!$.isWindow(this[0])) {\r\n\t\t\t\tlet value = this[0][(io === \"outer\" ? \"offset\" : \"client\") + whu];\r\n\r\n\t\t\t\t// add padding on, or if outer and margins requested, add margins on\r\n\t\t\t\tif (io === \"\" || (io === \"outer\" && val === true)) {\r\n\t\t\t\t\tconst style = getComputedStyle(this[0]);\r\n\t\t\t\t\tpos.forEach(item => value += parseFloat(style[(io ? \"margin\" : \"padding\") + item]) * (io ? 1 : -1));\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\r\n\t\t\t// window\r\n\t\t\tif (io === \"inner\") {\r\n\t\t\t\treturn this[0].document.documentElement[\"client\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\treturn this[0][\"inner\" + whu];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/isfunction/isfunction.js\";\n\n$.fn.trigger = function (name, data) {\n\tlet i = this.length;\n\twhile (i--) {\n\t\tlet isFunc = $.isFunction(this[i][name]);\n\n\t\t// native submit event doesn't trigger event handlers\n\t\tif (name == \"submit\" || !isFunc) {\n\t\t\tconst evt = new CustomEvent(name, {bubbles: true, cancelable: true});\n\t\t\tevt.args = data;\n\t\t\tthis[i].dispatchEvent(evt);\n\n\t\t\t// cancel submit event if default is prevented\n\t\t\tif (evt.defaultPrevented) {\n\t\t\t\tisFunc = false;\n\t\t\t}\n\t\t}\n\n\t\t// trigger native event\n\t\tif (isFunc) {\n\t\t\tthis[i][name]();\n\t\t}\n\t}\n\treturn this;\n};\n","import $ from \"../../core/core.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport \"../on/on.js\";\r\nimport \"../trigger/trigger.js\";\r\n\r\nevents.forEach(event => {\r\n\t$.fn[event] = function (data, callback) {\r\n\t\treturn data ? this.on(event, data, callback) : this.trigger(event);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n// add and remove event handlers\r\n$.fn.off = function (events, selector, data, callback) {\r\n\r\n\t// sort out args\r\n\tevents = events.split(\" \");\r\n\tif ($.isFunction(selector)) {\r\n\t\tcallback = selector;\r\n\t\tselector = undefined;\r\n\t} else if ($.isFunction(data)) {\r\n\t\tcallback = data;\r\n\t\tdata = undefined;\r\n\t}\r\n\r\n\t// attach event\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\r\n\t\t// find the original function\r\n\t\tif (this[i].events.length) {\r\n\t\t\tlet e = events.length;\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].events.forEach((evt, n) => {\r\n\t\t\t\t\tconst index = evt.events.indexOf(events[e]);\r\n\t\t\t\t\tif (index !== -1 && (!callback || evt.callback === callback) && (!selector || evt.selector === selector)) {\r\n\t\t\t\t\t\tthis[i].removeEventListener(events[e], evt.func, {once: evt.once, capture: !!evt.selector}); // must pass same arguments\r\n\t\t\t\t\t\tthis[i].events[n].events.splice(index, 1);\r\n\t\t\t\t\t\tif (!this[i].events[n].events.length) {\r\n\t\t\t\t\t\t\tthis[i].events.splice(n, 1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.clone = function () {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes[i] = this[i].cloneNode(true);\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.empty = function () {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\twhile (this[i].firstChild && this[i].removeChild(this[i].firstChild));\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.html = function (html) {\r\n\r\n\t// set\r\n\tif (html !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, html, obj => obj.innerHTML);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].innerHTML = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0].innerHTML;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/isfunction/isfunction.js\";\nimport \"../../traversal/add/add.js\";\nimport getVal from \"../../internal/getval/getval.js\";\n\n$.each({\n\tbefore: \"beforeBegin\",\n\tprepend: \"afterBegin\",\n\tappend: \"beforeEnd\",\n\tafter: \"afterEnd\"\n}, (name, pos) => {\n\n\t// function tracking variables\n\tconst pre = [\"prepend\", \"after\"].indexOf(name) > -1;\n\n\t// the function\n\t$.fn[name] = function (...content) {\n\t\tlet elems,\n\t\t\ti = this.length,\n\t\t\tlen = i;\n\n\t\t// retireve nodes from function\n\t\tif ($.isFunction(content[0])) {\n\t\t\telems = $(getVal(this, content[0], obj => obj.innerHTML));\n\n\t\t// multiple arguments containing nodes\n\t\t} else {\n\t\t\telems = content.reduce((dabby, item) => dabby.add(item), $());\n\t\t}\n\n\t\t// insert objects onto each element in collection\n\t\twhile (i--) {\n\t\t\tlet backwards = elems.length, // for counting down\n\t\t\t\tforwards = -1; // for counting up\n\t\t\twhile (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards?\n\t\t\t\tthis[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true));\n\t\t\t}\n\t\t}\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\nimport \"../insert/insert.js\";\n\n$.each({\n\tprependTo: \"prepend\",\n\tappendTo: \"append\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\"\n}, (name, func) => {\n\t$.fn[name] = function (selector) {\n\t\t$(selector)[func](this);\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"remove\", \"detach\"].forEach(func => {\r\n\t$.fn[func] = function (selector) {\r\n\t\tlet i = this.length,\r\n\t\t\tnodes = [],\r\n\t\t\tobj = [];\r\n\r\n\t\t// detach selected nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (!selector || filterNodes(this[i], selector).length) {\r\n\t\t\t\tnodes.push(this[i].parentNode.removeChild(this[i]));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// create a new dabby object to return\r\n\t\treturn func === \"detach\" ? $(nodes) : this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n[\"replaceWith\", \"replaceAll\"].forEach(name => {\r\n\t$.fn[name] = function (html) {\r\n\t\tconst all = name === \"replaceAll\",\r\n\t\t\tsource = all ? $(html) : this;\r\n\t\tlet target = all ? this : html,\r\n\t\t\tisFunc = $.isFunction(target),\r\n\t\t\ti = source.length;\r\n\r\n\t\tif (!isFunc) {\r\n\t\t\ttarget = $(target);\r\n\t\t}\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet n = target.length,\r\n\t\t\t\tparent = source[i].parentNode;\r\n\t\t\twhile (n--) {\r\n\t\t\t\tconst replace = isFunc ? getVal(target[n], n, target[n]) : target[n];\r\n\t\t\t\tif (n) {\r\n\t\t\t\t\tsource[i].insertAdjacentElement(\"beforebegin\", replace.cloneNode(true));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsource[i] = parent.replaceChild(i ? replace.cloneNode(true) : replace, source[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.slice = function (start, end) {\r\n\treturn $(this.get().slice(start, end));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.text = function (text) {\r\n\tlet i = this.length,\r\n\t\toutput = [];\r\n\r\n\t// set\r\n\tif (text !== undefined) {\r\n\t\tconst values = getVal(this, text, obj => obj.textContent);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].textContent = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\twhile (i--) {\r\n\t\toutput[i] = this[i].textContent;\r\n\t}\r\n\treturn output.join(\" \");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.unwrap = function (selector) {\r\n\tthis.parent(selector).not(\"body\").each((key, obj) => {\r\n\t\t$(obj.children).each((i, node) => {\r\n\t\t\tobj.parentNode.insertBefore(node, obj);\r\n\t\t});\r\n\t\tobj.parentNode.removeChild(obj);\r\n\t});\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.wrapAll = function (html) {\r\n\tif (this[0]) {\r\n\t\tif ($.isFunction(html)) {\r\n\t\t\thtml = html.call(this[0]);\r\n\t\t}\r\n\r\n\t\t// set variables\r\n\t\tlet len = this.length,\r\n\t\t\ti = 0,\r\n\t\t\tnode = $(html)[0].cloneNode(true);\r\n\r\n\t\t// insert clone into parent\r\n\t\tthis[0].parentNode.insertBefore(node, null);\r\n\r\n\t\t// find innermost child of node\r\n\t\twhile (node.firstElementChild) {\r\n\t\t\tnode = node.firstElementChild;\r\n\t\t}\r\n\r\n\t\t// attach nodes to the new node\r\n\t\tfor (; i < len; i++) {\r\n\t\t\tnode.appendChild(this[i]);\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../wrapall/wrapall.js\";\r\n\r\n$.fn.wrap = function (html) {\r\n\tlet i = this.length,\r\n\t\tvalues = getVal(this, html);\r\n\r\n\twhile (i--) {\r\n\t\t$(this[i]).wrapAll(values[i]);\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.children = function (selector) {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes = nodes.concat(Array.from(this[i].children));\r\n\t}\r\n\r\n\t// filter nodes by selector\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n$.fn.closest = function (selector, context) {\n\tlet i = this.length,\n\t\tnodes = [];\n\n\twhile (i--) {\n\t\tlet node = this[i];\n\t\twhile (node && node.nodeType === Node.ELEMENT_NODE) {\n\t\t\tif (filterNodes(node, selector, context).length) {\n\t\t\t\tnodes.unshift(node);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnode = node.parentNode;\n\t\t}\n\t}\n\treturn $(nodes);\n};\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.eq = function (i) {\r\n\treturn $(this[i < 0 ? i + this.length : i]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.find = function (selector) {\r\n\treturn $(selector, this);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.first = function () {\r\n\treturn $(this[0]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.has = function (selector) {\r\n\treturn $(this.get().filter(node => !!$(selector, node).length));\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.index = function (selector) {\r\n\r\n\tif (this[0]) {\r\n\t\tlet nodes,\r\n\t\t\tsubject = this[0],\r\n\t\t\ti;\r\n\r\n\t\t// if no selector, match against first elements siblings\r\n\t\tif (selector === undefined) {\r\n\t\t\tnodes = this[0].parentNode.children;\r\n\r\n\t\t// if selector is string, match first node in current collection against resulting collection\r\n\t\t} else if (typeof selector === \"string\") {\r\n\t\t\tnodes = $(selector);\r\n\r\n\t\t// if element or collection match the element or first node against current collection\r\n\t\t} else {\r\n\t\t\tnodes = this;\r\n\t\t\tsubject = $(selector)[0];\r\n\t\t}\r\n\r\n\t\ti = nodes.length;\r\n\t\twhile (i--) {\r\n\t\t\tif (nodes[i] === subject) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn -1;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../eq/eq.js\";\r\n\r\n$.fn.last = function () {\r\n\treturn this.eq(-1);\r\n};\r\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n[\"next\", \"nextAll\", \"nextUntil\", \"prev\", \"prevAll\", \"prevUntil\"].forEach(func => {\n\tconst next = func.indexOf(\"x\") > -1,\n\t\tall = func.indexOf(\"A\") > -1,\n\t\tuntil = func.indexOf(\"U\") > -1,\n\t\tmethod = next ? \"nextElementSibling\" : \"previousElementSibling\";\n\n\t$.fn[func] = function (selector, filter) {\n\t\tlet nodes = [];\n\n\t\t// look through each node and get siblings\n\t\tfor (let i = 0, len = this.length; i < len; i++) {\n\t\t\tlet sibling = this[i][method];\n\t\t\twhile (sibling) {\n\n\t\t\t\t// end when we match until\n\t\t\t\tif (until && filterNodes(sibling, selector).length) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t// add the node\n\t\t\t\tnodes.push(sibling);\n\n\t\t\t\t// end when not finding all\n\t\t\t\tif (!all && !until) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tsibling = sibling[method];\n\t\t\t}\n\t\t}\n\n\t\t// swap args for *Until methods\n\t\tif (until) {\n\t\t\tselector = filter;\n\t\t}\n\n\t\t// return new collection\n\t\treturn $(selector ? filterNodes(nodes, selector) : nodes);\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.siblings = function (selector) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tArray.from(this[i].parentNode.children).forEach(child => {\r\n\t\t\tif (child !== this[i]) {\r\n\t\t\t\tnodes.push(child);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n"],"file":"dabby.es5.js"} \ No newline at end of file diff --git a/dist/dabby.es5.min.js b/dist/dabby.es5.min.js index da7012d..32da027 100644 --- a/dist/dabby.es5.min.js +++ b/dist/dabby.es5.min.js @@ -1,3 +1,3 @@ -/*! dabbyjs v0.9.8 by Will Earp - https://github.com/hexydec/dabby */ +/*! dabbyjs v0.9.9 by Will Earp - https://github.com/hexydec/dabby */ function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<\/\1)>$/i)))o=[document.createElement(i[1])],e instanceof Object&&l(o).attr(e);else{var a=document.implementation.createHTMLDocument("");a.body.innerHTML=n,o=a.body.children}return new t(o)};l.fn=l.prototype,l.each=function(t,e){for(var n=Array.isArray(t),r=Object.keys(t),i=r.length,o=0;o [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node)); + Object.assign(this, nodes); // only unique nodes + this.length = nodes.length; + return this; + } + + // $ collection + if (selector instanceof dabby) { + return selector; + } + + let nodes = [], + match; + + // gather nodes + if (selector) { + + // single node + if (selector.nodeType || $.isWindow(selector)) { + nodes = [selector]; + + // ready function + } else if ($.isFunction(selector)) { + if (document.readyState !== "loading") { + selector.call(document, $); + } else { + document.addEventListener("DOMContentLoaded", () => {selector.call(document, $);}, {once: true}); + } + + // array|NodeList|HTMLCollection of nodes + } else if (typeof selector !== "string") { + nodes = selector; + + // CSS selector + } else if (selector.indexOf("<") === -1) { + $(context || document).each((i, obj) => { + nodes = nodes.concat(Array.from(obj.querySelectorAll(selector))); + }); + + // create a single node and attach properties + } else if ((match = selector.match(/^<([a-z0-9]+)(( ?\/)?|><\/\1)>$/i)) !== null) { + nodes = [document.createElement(match[1])]; + + // context is CSS attributes + if (context instanceof Object) { + $(nodes).attr(context); + } + + // parse HTML into nodes + } else { + const obj = document.implementation.createHTMLDocument(""); + obj.body.innerHTML = selector; + nodes = obj.body.children; + } + } + return new dabby(nodes); +}; -const $ = function dabby(selector, context) { - - // if no selector, return empty colletion - if (this instanceof dabby) { - - // build nodes into a set (Which only allows unique items), then filter only element, document, documentFragment and window - const nodes = [...new Set(Array.from(selector))].filter(node => [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node)); - Object.assign(this, nodes); // only unique nodes - this.length = nodes.length; - return this; - } - - // $ collection - if (selector instanceof dabby) { - return selector; - } - - let nodes = [], - match; - - // gather nodes - if (selector) { - - // single node - if (selector.nodeType || $.isWindow(selector)) { - nodes = [selector]; - - // ready function - } else if ($.isFunction(selector)) { - if (document.readyState !== "loading") { - selector.call(document, $); - } else { - document.addEventListener("DOMContentLoaded", () => {selector.call(document, $);}, {once: true}); - } - - // array|NodeList|HTMLCollection of nodes - } else if (typeof selector !== "string") { - nodes = selector; - - // CSS selector - } else if (selector.indexOf("<") === -1) { - $(context || document).each((i, obj) => { - nodes = nodes.concat(Array.from(obj.querySelectorAll(selector))); - }); - - // create a single node and attach properties - } else if ((match = selector.match(/^<([a-z0-9]+)(( ?\/)?|><\/\1)>$/i)) !== null) { - nodes = [document.createElement(match[1])]; - - // context is CSS attributes - if (context instanceof Object) { - $(nodes).attr(context); - } - - // parse HTML into nodes - } else { - const obj = document.implementation.createHTMLDocument(""); - obj.body.innerHTML = selector; - nodes = obj.body.children; - } - } - return new dabby(nodes); -}; - -// alias functions +// alias functions $.fn = $.prototype; $.each = (obj, callback) => { @@ -168,155 +168,155 @@ $.param = obj => { return params.join("&"); }; -$.ajax = (url, settings) => { - - // normalise args - if (typeof url === "object") { - settings = url; - } else { - if (typeof settings !== "object") { - settings = {}; - } - settings.url = url; - } - - // set default settings - settings = Object.assign({ - method: "GET", - cache: null, // start will null so we can see if explicitly set - data: null, - dataType: null, // only changes behavior with json, jsonp, script - async: true, - crossDomain: false, - scriptCharset: null, - jsonp: "callback", - jsonpCallback: "dabby" + Date.now(), - headers: { - "X-Requested-With": "XMLHttpRequest" - }, - xhr: () => new XMLHttpRequest(), - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - context: null, - statusCode: {}, - username: null, - password: null, - xhrFields: {} - }, settings); - - // determine datatype - if (!settings.dataType && settings.url.split("?")[0].split(".").pop() === "js") { - settings.dataType = "script"; - } - - let sync = ["script", "jsonp"].indexOf(settings.dataType) > -1, - join = settings.url.indexOf("?") > -1 ? "&" : "?", - script, data; - - // add data to query string - if (settings.data) { - if (typeof settings.data === "string" || settings.data instanceof FormData) { - data = settings.data; - } else { - data = $.param(settings.data); - } - } - if (data && settings.method === "GET") { - settings.url += join + data; - join = "&"; - } - - // add cache buster - if (settings.cache || (settings.cache === null && sync)) { - settings.url += join + "_=" + (+new Date()); - join = "&"; - } - - // fetch script - if (sync || settings.crossDomain) { - script = document.createElement("script"); - if (settings.scriptCharset) { - script.charset = settings.scriptCharset; - } - - // add callback parameter - if (settings.dataType === "jsonp") { - settings.url += join + settings.jsonp + "=" + settings.jsonpCallback; - } - - // setup event callbacks - $.each({ - load: "success", - error: "error" - }, (key, value) => { - script.addEventListener(key, () => { - const response = settings.dataType === "jsonp" ? window[settings.jsonpCallback] || null : null; - [settings[value], settings.complete].forEach(callback => { - if (callback) { - callback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]); - } - }); - }, {once: true}); - }); - - script.src = settings.url; - script.async = settings.async; - document.head.appendChild(script); - - // make xhr request - } else { - const xhr = settings.xhr(), - callback = (xhr, type, status) => { - let response = xhr.responseText; - - // parse JSON - if (["json", null, undefined].indexOf(settings.dataType) > -1) { - try { - response = JSON.parse(response); - } catch (e) { - // do nothing - } - } - - // run callbacks - [settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => { - if (callback) { - callback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]); - } - }); - }; - - // XHR settings - $.each(settings.xhrFields, (key, value) => xhr[key] = value); - - // callbacks - xhr.onload = () => { - const status = [200, 204, 304].indexOf(xhr.status) > -1 ? "success" : "error"; - callback(xhr, status, status); - }; - xhr.ontimeout = () => { - callback(xhr, "error", "timeout"); - }; - xhr.onabort = () => { - callback(xhr, "error", "abort"); - }; - xhr.onerror = () => { - callback(xhr, "error", "error"); - }; - - xhr.open(settings.method, settings.url, settings.async, settings.username, settings.password); - - // add headers - if (settings.contentType) { - settings.headers["Content-Type"] = settings.contentType; - } - $.each(settings.headers, (key, value) => { - xhr.setRequestHeader(key, value); - }); - - // send request - xhr.send(settings.method === "GET" ? null : data); - return xhr; - } +$.ajax = (url, settings) => { + + // normalise args + if (typeof url === "object") { + settings = url; + } else { + if (typeof settings !== "object") { + settings = {}; + } + settings.url = url; + } + + // set default settings + settings = Object.assign({ + method: "GET", + cache: null, // start will null so we can see if explicitly set + data: null, + dataType: null, // only changes behavior with json, jsonp, script + async: true, + crossDomain: false, + scriptCharset: null, + jsonp: "callback", + jsonpCallback: "dabby" + Date.now(), + headers: { + "X-Requested-With": "XMLHttpRequest" + }, + xhr: () => new XMLHttpRequest(), + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + context: null, + statusCode: {}, + username: null, + password: null, + xhrFields: {} + }, settings); + + // determine datatype + if (!settings.dataType && settings.url.split("?")[0].split(".").pop() === "js") { + settings.dataType = "script"; + } + + let sync = ["script", "jsonp"].indexOf(settings.dataType) > -1, + join = settings.url.indexOf("?") > -1 ? "&" : "?", + script, data; + + // add data to query string + if (settings.data) { + if (typeof settings.data === "string" || settings.data instanceof FormData) { + data = settings.data; + } else { + data = $.param(settings.data); + } + } + if (data && settings.method === "GET") { + settings.url += join + data; + join = "&"; + } + + // add cache buster + if (settings.cache || (settings.cache === null && sync)) { + settings.url += join + "_=" + (+new Date()); + join = "&"; + } + + // fetch script + if (sync || settings.crossDomain) { + script = document.createElement("script"); + if (settings.scriptCharset) { + script.charset = settings.scriptCharset; + } + + // add callback parameter + if (settings.dataType === "jsonp") { + settings.url += join + settings.jsonp + "=" + settings.jsonpCallback; + } + + // setup event callbacks + $.each({ + load: "success", + error: "error" + }, (key, value) => { + script.addEventListener(key, () => { + const response = settings.dataType === "jsonp" ? window[settings.jsonpCallback] || null : null; + [settings[value], settings.complete].forEach(callback => { + if (callback) { + callback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]); + } + }); + }, {once: true}); + }); + + script.src = settings.url; + script.async = settings.async; + document.head.appendChild(script); + + // make xhr request + } else { + const xhr = settings.xhr(), + callback = (xhr, type, status) => { + let response = xhr.responseText; + + // parse JSON + if (["json", null, undefined].indexOf(settings.dataType) > -1) { + try { + response = JSON.parse(response); + } catch (e) { + // do nothing + } + } + + // run callbacks + [settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => { + if (callback) { + callback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]); + } + }); + }; + + // XHR settings + $.each(settings.xhrFields, (key, value) => xhr[key] = value); + + // callbacks + xhr.onload = () => { + const status = [200, 204, 304].indexOf(xhr.status) > -1 ? "success" : "error"; + callback(xhr, status, status); + }; + xhr.ontimeout = () => { + callback(xhr, "error", "timeout"); + }; + xhr.onabort = () => { + callback(xhr, "error", "abort"); + }; + xhr.onerror = () => { + callback(xhr, "error", "error"); + }; + + xhr.open(settings.method, settings.url, settings.async, settings.username, settings.password); + + // add headers + if (settings.contentType) { + settings.headers["Content-Type"] = settings.contentType; + } + $.each(settings.headers, (key, value) => { + xhr.setRequestHeader(key, value); + }); + + // send request + xhr.send(settings.method === "GET" ? null : data); + return xhr; + } }; ["get", "post"].forEach(name => { @@ -561,37 +561,37 @@ $.fn.get = function (i) { return i === undefined ? Array.from(this) : this[i >= 0 ? i : i + this.length]; }; -$.fn.add = function (nodes, context) { - nodes = $(nodes, context).get(); - return $(Array.from(this).concat(nodes)); +$.fn.add = function (nodes, context) { + nodes = $(nodes, context).get(); + return $(Array.from(this).concat(nodes)); }; -["parent", "parents", "parentsUntil"].forEach(func => { - const all = func.indexOf("s") > -1, - until = func.indexOf("U") > -1; - - $.fn[func] = function (selector, filter) { - let nodes = [], - i = this.length; - - while (i--) { - let parent = this[i].parentNode; - while (parent && parent.nodeType === Node.ELEMENT_NODE) { - if (until && filterNodes(parent, selector).length) { - break; - } - nodes.push(parent); - if (!all) { - break; - } - parent = parent.parentNode; - } - } - if (!until) { - filter = selector; - } - return $(filter ? filterNodes(nodes, filter) : nodes); - }; +["parent", "parents", "parentsUntil"].forEach(func => { + const all = func.indexOf("s") > -1, + until = func.indexOf("U") > -1; + + $.fn[func] = function (selector, filter) { + let nodes = [], + i = this.length; + + while (i--) { + let parent = this[i].parentNode; + while (parent && parent.nodeType === Node.ELEMENT_NODE) { + if (until && filterNodes(parent, selector).length) { + break; + } + nodes.push(parent); + if (!all) { + break; + } + parent = parent.parentNode; + } + } + if (!until) { + filter = selector; + } + return $(filter ? filterNodes(nodes, filter) : nodes); + }; }); // add and remove event handlers @@ -914,49 +914,49 @@ $.fn.removeProp = function (prop) { return this; }; -// store for current values -const display = [], - obj = [], - defaults = [], - values = ["none", "block"]; - -["hide", "show", "toggle"].forEach((func, n) => { - - // attach function - $.fn[func] = function (show) { - - // for toggle they can set the show value - if (n === 2 && typeof show !== "undefined") { - n = parseInt(show); - } - - // loop through each node - let i = this.length; - while (i--) { - let item = obj.indexOf(this[i]), - current = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display; - - // cache the initial value of the current - if (item === -1) { - item = obj.length; - obj.push(this[i]); - display.push(current); - defaults.push(this[i].style.display); - } - - // determine if we are going to show or hide - let value = values[n] || (current === "none" ? "block" : "none"); - - // if show update the block value to the initial if it was not "none" - if (value !== "none" && display[item] !== "none") { - value = display[item]; - } - - // update the value, use the default if setting back to initial - this[i].style.display = value === display[item] ? defaults[item] : value; - } - return this; - }; +// store for current values +const display = [], + obj = [], + defaults = [], + values = ["none", "block"]; + +["hide", "show", "toggle"].forEach((func, n) => { + + // attach function + $.fn[func] = function (show) { + + // for toggle they can set the show value + if (n === 2 && typeof show !== "undefined") { + n = parseInt(show); + } + + // loop through each node + let i = this.length; + while (i--) { + let item = obj.indexOf(this[i]), + current = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display; + + // cache the initial value of the current + if (item === -1) { + item = obj.length; + obj.push(this[i]); + display.push(current); + defaults.push(this[i].style.display); + } + + // determine if we are going to show or hide + let value = values[n] || (current === "none" ? "block" : "none"); + + // if show update the block value to the initial if it was not "none" + if (value !== "none" && display[item] !== "none") { + value = display[item]; + } + + // update the value, use the default if setting back to initial + this[i].style.display = value === display[item] ? defaults[item] : value; + } + return this; + }; }); $.fn.map = function (callback) { @@ -1029,36 +1029,36 @@ $.fn.position = function () { } }; -["scrollLeft", "scrollTop"].forEach(item => { - $.fn[item] = function (pos) { - const top = item === "scrollTop"; - - // set - if (pos !== undefined) { - let i = this.length, - tl = top ? "top" : "left", - values = getVal(this, pos, obj => obj[item]); - - while (i--) { - if ($.isWindow(this[i])) { - let obj = {}; - obj[tl] = values[i]; - this[i].scroll(obj); - } else { - this[i][item] = values[i]; - } - } return this; - } - - // get - if (this[0]) { - let key = item; - if ($.isWindow(this[0])) { - key = top ? "pageYOffset" : "pageXOffset"; - } - return this[0][key]; - } - }; +["scrollLeft", "scrollTop"].forEach(item => { + $.fn[item] = function (pos) { + const top = item === "scrollTop"; + + // set + if (pos !== undefined) { + let i = this.length, + tl = top ? "top" : "left", + values = getVal(this, pos, obj => obj[item]); + + while (i--) { + if ($.isWindow(this[i])) { + let obj = {}; + obj[tl] = values[i]; + this[i].scroll(obj); + } else { + this[i][item] = values[i]; + } + } return this; + } + + // get + if (this[0]) { + let key = item; + if ($.isWindow(this[0])) { + key = top ? "pageYOffset" : "pageXOffset"; + } + return this[0][key]; + } + }; }); ["width", "height", "innerWidth", "innerHeight", "outerWidth", "outerHeight"].forEach(dim => { @@ -1138,29 +1138,29 @@ $.fn.position = function () { }; }); -$.fn.trigger = function (name, data) { - let i = this.length; - while (i--) { - let isFunc = $.isFunction(this[i][name]); - - // native submit event doesn't trigger event handlers - if (name == "submit" || !isFunc) { - const evt = new CustomEvent(name, {bubbles: true, cancelable: true}); - evt.args = data; - this[i].dispatchEvent(evt); - - // cancel submit event if default is prevented - if (evt.defaultPrevented) { - isFunc = false; - } - } - - // trigger native event - if (isFunc) { - this[i][name](); - } - } - return this; +$.fn.trigger = function (name, data) { + let i = this.length; + while (i--) { + let isFunc = $.isFunction(this[i][name]); + + // native submit event doesn't trigger event handlers + if (name == "submit" || !isFunc) { + const evt = new CustomEvent(name, {bubbles: true, cancelable: true}); + evt.args = data; + this[i].dispatchEvent(evt); + + // cancel submit event if default is prevented + if (evt.defaultPrevented) { + isFunc = false; + } + } + + // trigger native event + if (isFunc) { + this[i][name](); + } + } + return this; }; events.forEach(event => { @@ -1242,53 +1242,53 @@ $.fn.html = function (html) { } }; -$.each({ - before: "beforeBegin", - prepend: "afterBegin", - append: "beforeEnd", - after: "afterEnd" -}, (name, pos) => { - - // function tracking variables - const pre = ["prepend", "after"].indexOf(name) > -1; - - // the function - $.fn[name] = function (...content) { - let elems, - i = this.length, - len = i; - - // retireve nodes from function - if ($.isFunction(content[0])) { - elems = $(getVal(this, content[0], obj => obj.innerHTML)); - - // multiple arguments containing nodes - } else { - elems = content.reduce((dabby, item) => dabby.add(item), $()); - } - - // insert objects onto each element in collection - while (i--) { - let backwards = elems.length, // for counting down - forwards = -1; // for counting up - while (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards? - this[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true)); - } - } - return this; - }; +$.each({ + before: "beforeBegin", + prepend: "afterBegin", + append: "beforeEnd", + after: "afterEnd" +}, (name, pos) => { + + // function tracking variables + const pre = ["prepend", "after"].indexOf(name) > -1; + + // the function + $.fn[name] = function (...content) { + let elems, + i = this.length, + len = i; + + // retireve nodes from function + if ($.isFunction(content[0])) { + elems = $(getVal(this, content[0], obj => obj.innerHTML)); + + // multiple arguments containing nodes + } else { + elems = content.reduce((dabby, item) => dabby.add(item), $()); + } + + // insert objects onto each element in collection + while (i--) { + let backwards = elems.length, // for counting down + forwards = -1; // for counting up + while (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards? + this[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true)); + } + } + return this; + }; }); -$.each({ - prependTo: "prepend", - appendTo: "append", - insertBefore: "before", - insertAfter: "after" -}, (name, func) => { - $.fn[name] = function (selector) { - $(selector)[func](this); - return this; - }; +$.each({ + prependTo: "prepend", + appendTo: "append", + insertBefore: "before", + insertAfter: "after" +}, (name, func) => { + $.fn[name] = function (selector) { + $(selector)[func](this); + return this; + }; }); ["remove", "detach"].forEach(func => { @@ -1419,21 +1419,21 @@ $.fn.children = function (selector) { return $(selector ? filterNodes(nodes, selector) : nodes); }; -$.fn.closest = function (selector, context) { - let i = this.length, - nodes = []; - - while (i--) { - let node = this[i]; - while (node && node.nodeType === Node.ELEMENT_NODE) { - if (filterNodes(node, selector, context).length) { - nodes.unshift(node); - break; - } - node = node.parentNode; - } - } - return $(nodes); +$.fn.closest = function (selector, context) { + let i = this.length, + nodes = []; + + while (i--) { + let node = this[i]; + while (node && node.nodeType === Node.ELEMENT_NODE) { + if (filterNodes(node, selector, context).length) { + nodes.unshift(node); + break; + } + node = node.parentNode; + } + } + return $(nodes); }; $.fn.eq = function (i) { @@ -1487,44 +1487,44 @@ $.fn.last = function () { return this.eq(-1); }; -["next", "nextAll", "nextUntil", "prev", "prevAll", "prevUntil"].forEach(func => { - const next = func.indexOf("x") > -1, - all = func.indexOf("A") > -1, - until = func.indexOf("U") > -1, - method = next ? "nextElementSibling" : "previousElementSibling"; - - $.fn[func] = function (selector, filter) { - let nodes = []; - - // look through each node and get siblings - for (let i = 0, len = this.length; i < len; i++) { - let sibling = this[i][method]; - while (sibling) { - - // end when we match until - if (until && filterNodes(sibling, selector).length) { - break; - } - - // add the node - nodes.push(sibling); - - // end when not finding all - if (!all && !until) { - break; - } - sibling = sibling[method]; - } - } - - // swap args for *Until methods - if (until) { - selector = filter; - } - - // return new collection - return $(selector ? filterNodes(nodes, selector) : nodes); - }; +["next", "nextAll", "nextUntil", "prev", "prevAll", "prevUntil"].forEach(func => { + const next = func.indexOf("x") > -1, + all = func.indexOf("A") > -1, + until = func.indexOf("U") > -1, + method = next ? "nextElementSibling" : "previousElementSibling"; + + $.fn[func] = function (selector, filter) { + let nodes = []; + + // look through each node and get siblings + for (let i = 0, len = this.length; i < len; i++) { + let sibling = this[i][method]; + while (sibling) { + + // end when we match until + if (until && filterNodes(sibling, selector).length) { + break; + } + + // add the node + nodes.push(sibling); + + // end when not finding all + if (!all && !until) { + break; + } + sibling = sibling[method]; + } + } + + // swap args for *Until methods + if (until) { + selector = filter; + } + + // return new collection + return $(selector ? filterNodes(nodes, selector) : nodes); + }; }); $.fn.siblings = function (selector) { diff --git a/dist/dabby.js.map b/dist/dabby.js.map index 990b23f..e5fdca0 100644 --- a/dist/dabby.js.map +++ b/dist/dabby.js.map @@ -1 +1 @@ -{"version":3,"file":"build.js","sources":["src/core/dabby/dabby.js","src/utils/each/each.js","src/core/each/each.js","src/utils/iswindow/iswindow.js","src/utils/isfunction/isfunction.js","src/utils/isplainobject/isplainobject.js","src/utils/extend/extend.js","src/ajax/param/param.js","src/ajax/ajax/ajax.js","src/ajax/getpost/getpost.js","src/ajax/getscript/getscript.js","src/internal/filternodes/filternodes.js","src/traversal/filter/filter.js","src/ajax/load/load.js","src/internal/getval/getval.js","src/utils/map/map.js","src/attributes/val/val.js","src/ajax/serialize/serialize.js","src/core/get/get.js","src/traversal/add/add.js","src/traversal/parents/parents.js","src/events/on/on.js","src/internal/getevents/getevents.js","src/attributes/attr/attr.js","src/attributes/class/class.js","src/internal/camelise/camelise.js","src/internal/setcss/setcss.js","src/attributes/css/css.js","src/attributes/data/data.js","src/attributes/hasclass/hasclass.js","src/internal/getprop/getprop.js","src/attributes/prop/prop.js","src/attributes/removeprop/removeprop.js","src/attributes/show-hide/show-hide.js","src/core/map/map.js","src/dimensions/offset/offset.js","src/dimensions/offsetparent/offsetparent.js","src/dimensions/position/position.js","src/dimensions/scroll/scroll.js","src/dimensions/width-height/width-height.js","src/events/trigger/trigger.js","src/events/named/named.js","src/events/off/off.js","src/manipulation/clone/clone.js","src/manipulation/empty/empty.js","src/manipulation/html/html.js","src/manipulation/insert/insert.js","src/manipulation/insertto/insertto.js","src/manipulation/remove/remove.js","src/manipulation/replace/replace.js","src/manipulation/slice/slice.js","src/manipulation/text/text.js","src/manipulation/unwrap/unwrap.js","src/manipulation/wrapall/wrapall.js","src/manipulation/wrap/wrap.js","src/traversal/children/children.js","src/traversal/closest/closest.js","src/traversal/eq/eq.js","src/traversal/find/find.js","src/traversal/first/first.js","src/traversal/has/has.js","src/traversal/index/index.js","src/traversal/last/last.js","src/traversal/next-prev/next-prev.js","src/traversal/siblings/siblings.js"],"sourcesContent":["const $ = function dabby(selector, context) {\r\n\r\n\t// if no selector, return empty colletion\r\n\tif (this instanceof dabby) {\r\n\r\n\t\t// build nodes into a set (Which only allows unique items), then filter only element, document, documentFragment and window\r\n\t\tconst nodes = [...new Set(Array.from(selector))].filter(node => [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node));\r\n\t\tObject.assign(this, nodes); // only unique nodes\r\n\t\tthis.length = nodes.length;\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// $ collection\r\n\tif (selector instanceof dabby) {\r\n\t\treturn selector;\r\n\t}\r\n\r\n\tlet nodes = [],\r\n\t\tmatch;\r\n\r\n\t// gather nodes\r\n\tif (selector) {\r\n\r\n\t\t// single node\r\n\t\tif (selector.nodeType || $.isWindow(selector)) {\r\n\t\t\tnodes = [selector];\r\n\r\n\t\t// ready function\r\n\t\t} else if ($.isFunction(selector)) {\r\n\t\t\tif (document.readyState !== \"loading\") {\r\n\t\t\t\tselector.call(document, $);\r\n\t\t\t} else {\r\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {selector.call(document, $);}, {once: true});\r\n\t\t\t}\r\n\r\n\t\t// array|NodeList|HTMLCollection of nodes\r\n\t\t} else if (typeof selector !== \"string\") {\r\n\t\t\tnodes = selector;\r\n\r\n\t\t// CSS selector\r\n\t\t} else if (selector.indexOf(\"<\") === -1) {\r\n\t\t\t$(context || document).each((i, obj) => {\r\n\t\t\t\tnodes = nodes.concat(Array.from(obj.querySelectorAll(selector)));\r\n\t\t\t});\r\n\r\n\t\t// create a single node and attach properties\r\n\t\t} else if ((match = selector.match(/^<([a-z0-9]+)(( ?\\/)?|><\\/\\1)>$/i)) !== null) {\r\n\t\t\tnodes = [document.createElement(match[1])];\r\n\r\n\t\t\t// context is CSS attributes\r\n\t\t\tif (context instanceof Object) {\r\n\t\t\t\t$(nodes).attr(context);\r\n\t\t\t}\r\n\r\n\t\t// parse HTML into nodes\r\n\t\t} else {\r\n\t\t\tconst obj = document.implementation.createHTMLDocument(\"\");\r\n\t\t\tobj.body.innerHTML = selector;\r\n\t\t\tnodes = obj.body.children;\r\n\t\t}\r\n\t}\r\n\treturn new dabby(nodes);\r\n};\r\n\r\n// alias functions\r\n$.fn = $.prototype;\r\n\r\nexport default $;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.each = (obj, callback) => {\r\n\tconst isArr = Array.isArray(obj),\r\n\t\tkeys = Object.keys(obj),\r\n\t\tlen = keys.length;\r\n\r\n\tfor (let i = 0; i < len; i++) {\r\n\t\tif (callback.call(obj[keys[i]], isArr ? parseInt(keys[i]) : keys[i], obj[keys[i]]) === false) {\r\n\t\t\tbreak; // stop if callback returns false\r\n\t\t}\r\n\t}\r\n\treturn obj;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.fn.each = function (callback) {\r\n\t$.each(Array.from(this), callback);\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isWindow = obj => obj !== null && obj === obj.window;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isFunction = func => func && func.constructor === Function;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isPlainObject = obj => {\r\n\r\n\t// Basic check for Type object that's not null\r\n\tif (typeof obj === \"object\" && obj !== null) {\r\n\r\n\t\t// If Object.getPrototypeOf supported, use it\r\n\t if (typeof Object.getPrototypeOf === 'function') {\r\n\t\t\tlet proto = Object.getPrototypeOf(obj);\r\n\t\t\treturn proto === Object.prototype || proto === null;\r\n\t }\r\n\r\n\t // Otherwise, use internal class\r\n\t // This should be reliable as if getPrototypeOf not supported, is pre-ES5\r\n\t\treturn Object.prototype.toString.call(obj) === \"[object Object]\";\r\n \t}\r\n\r\n \t// Not an object\r\n\treturn false;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../isplainobject/isplainobject.js\";\r\n\r\n$.extend = (...arrs) => {\r\n\tif (arrs[0] === true) {\r\n\r\n\t\t// merge function will recursively merge items\r\n\t\tfunction merge(target, ...sources) {\r\n\t\t\tif (sources.length) {\r\n\r\n\t\t\t\t// work on next source\r\n\t\t\t\tconst source = sources.shift();\r\n\t\t\t\tif ($.isPlainObject(target) && $.isPlainObject(source)) {\r\n\r\n\t\t\t\t\t// loop through each property\r\n\t\t\t\t\t$.each(source, (i, val) => {\r\n\r\n\t\t\t\t\t\t// merge recursively if source is object, if target is not object, overwrite\r\n\t\t\t\t\t\tif ($.isPlainObject(val)) {\r\n\t\t\t\t\t\t\ttarget[i] = $.isPlainObject(target[i]) ? merge(target[i], val) : val;\r\n\r\n\t\t\t\t\t\t// when source property is value just overwrite\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttarget[i] = val;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// merge next source\r\n\t\t\t return merge(target, ...sources);\r\n\t\t\t}\r\n\t\t\treturn target;\r\n\t\t}\r\n\t\treturn merge.apply(null, arrs.slice(1));\r\n\t}\r\n\treturn Object.assign.apply(null, arrs);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.param = obj => {\r\n\tlet params = [],\r\n\t\tadd = (key, value, params) => {\r\n\t\t\tlet isArr = Array.isArray(value);\r\n\t\t\tif (isArr || typeof value === \"object\") {\r\n\t\t\t\t$.each(value, (i, val) => {\r\n\t\t\t\t\tparams = add(`${key}[${isArr ? \"\" : i}]`, val, params);\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tif ($.isFunction(value)) {\r\n\t\t\t\t\tvalue = value();\r\n\t\t\t\t}\r\n\t\t\t\tparams.push(encodeURIComponent(key) + \"=\" + encodeURIComponent(value === null ? \"\" : value));\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\r\n\t// process values\r\n\t$.each(obj, (key, item) => {\r\n\t\tparams = add(key, item, params);\r\n\t});\r\n\treturn params.join(\"&\");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/extend/extend.js\";\r\nimport \"../param/param.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.ajax = (url, settings) => {\r\n\r\n\t// normalise args\r\n\tif (typeof url === \"object\") {\r\n\t\tsettings = url;\r\n\t} else {\r\n\t\tif (typeof settings !== \"object\") {\r\n\t\t\tsettings = {};\r\n\t\t}\r\n\t\tsettings.url = url;\r\n\t}\r\n\r\n\t// set default settings\r\n\tsettings = Object.assign({\r\n\t\tmethod: \"GET\",\r\n\t\tcache: null, // start will null so we can see if explicitly set\r\n\t\tdata: null,\r\n\t\tdataType: null, // only changes behavior with json, jsonp, script\r\n\t\tasync: true,\r\n\t\tcrossDomain: false,\r\n\t\tscriptCharset: null,\r\n\t\tjsonp: \"callback\",\r\n\t\tjsonpCallback: \"dabby\" + Date.now(),\r\n\t\theaders: {\r\n\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"\r\n\t\t},\r\n\t\txhr: () => new XMLHttpRequest(),\r\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\r\n\t\tcontext: null,\r\n\t\tstatusCode: {},\r\n\t\tusername: null,\r\n\t\tpassword: null,\r\n\t\txhrFields: {}\r\n\t}, settings);\r\n\r\n\t// determine datatype\r\n\tif (!settings.dataType && settings.url.split(\"?\")[0].split(\".\").pop() === \"js\") {\r\n\t\tsettings.dataType = \"script\";\r\n\t}\r\n\r\n\tlet sync = [\"script\", \"jsonp\"].indexOf(settings.dataType) > -1,\r\n\t\tjoin = settings.url.indexOf(\"?\") > -1 ? \"&\" : \"?\",\r\n\t\tscript, data;\r\n\r\n\t// add data to query string\r\n\tif (settings.data) {\r\n\t\tif (typeof settings.data === \"string\" || settings.data instanceof FormData) {\r\n\t\t\tdata = settings.data;\r\n\t\t} else {\r\n\t\t\tdata = $.param(settings.data);\r\n\t\t}\r\n\t}\r\n\tif (data && settings.method === \"GET\") {\r\n\t\tsettings.url += join + data;\r\n\t\tjoin = \"&\";\r\n\t}\r\n\r\n\t// add cache buster\r\n\tif (settings.cache || (settings.cache === null && sync)) {\r\n\t\tsettings.url += join + \"_=\" + (+new Date());\r\n\t\tjoin = \"&\";\r\n\t}\r\n\r\n\t// fetch script\r\n\tif (sync || settings.crossDomain) {\r\n\t\tscript = document.createElement(\"script\");\r\n\t\tif (settings.scriptCharset) {\r\n\t\t\tscript.charset = settings.scriptCharset;\r\n\t\t}\r\n\r\n\t\t// add callback parameter\r\n\t\tif (settings.dataType === \"jsonp\") {\r\n\t\t\tsettings.url += join + settings.jsonp + \"=\" + settings.jsonpCallback;\r\n\t\t}\r\n\r\n\t\t// setup event callbacks\r\n\t\t$.each({\r\n\t\t\tload: \"success\",\r\n\t\t\terror: \"error\"\r\n\t\t}, (key, value) => {\r\n\t\t\tscript.addEventListener(key, () => {\r\n\t\t\t\tconst response = settings.dataType === \"jsonp\" ? window[settings.jsonpCallback] || null : null;\r\n\t\t\t\t[settings[value], settings.complete].forEach(callback => {\r\n\t\t\t\t\tif (callback) {\r\n\t\t\t\t\t\tcallback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}, {once: true});\r\n\t\t});\r\n\r\n\t\tscript.src = settings.url;\r\n\t\tscript.async = settings.async;\r\n\t\tdocument.head.appendChild(script);\r\n\r\n\t// make xhr request\r\n\t} else {\r\n\t\tconst xhr = settings.xhr(),\r\n\t\t\tcallback = (xhr, type, status) => {\r\n\t\t\t\tlet response = xhr.responseText;\r\n\r\n\t\t\t\t// parse JSON\r\n\t\t\t\tif ([\"json\", null, undefined].indexOf(settings.dataType) > -1) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tresponse = JSON.parse(response);\r\n\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\t// do nothing\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// run callbacks\r\n\t\t\t\t[settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => {\r\n\t\t\t\t\tif (callback) {\r\n\t\t\t\t\t\tcallback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t};\r\n\r\n\t\t// XHR settings\r\n\t\t$.each(settings.xhrFields, (key, value) => xhr[key] = value);\r\n\r\n\t\t// callbacks\r\n\t\txhr.onload = () => {\r\n\t\t\tconst status = [200, 204, 304].indexOf(xhr.status) > -1 ? \"success\" : \"error\";\r\n\t\t\tcallback(xhr, status, status);\r\n\t\t};\r\n\t\txhr.ontimeout = () => {\r\n\t\t\tcallback(xhr, \"error\", \"timeout\");\r\n\t\t};\r\n\t\txhr.onabort = () => {\r\n\t\t\tcallback(xhr, \"error\", \"abort\");\r\n\t\t};\r\n\t\txhr.onerror = () => {\r\n\t\t\tcallback(xhr, \"error\", \"error\");\r\n\t\t};\r\n\r\n\t\txhr.open(settings.method, settings.url, settings.async, settings.username, settings.password);\r\n\r\n\t\t// add headers\r\n\t\tif (settings.contentType) {\r\n\t\t\tsettings.headers[\"Content-Type\"] = settings.contentType;\r\n\t\t}\r\n\t\t$.each(settings.headers, (key, value) => {\r\n\t\t\txhr.setRequestHeader(key, value);\r\n\t\t});\r\n\r\n\t\t// send request\r\n\t\txhr.send(settings.method === \"GET\" ? null : data);\r\n\t\treturn xhr;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n[\"get\", \"post\"].forEach(name => {\r\n\t$[name] = (url, data, success, type) => {\r\n\t\tconst isFunc = $.isFunction(data);\r\n\t\tlet settings = typeof(url) === \"object\" ? url : {\r\n\t\t\turl: url,\r\n\t\t\tdata: isFunc ? {} : data,\r\n\t\t\tsuccess: isFunc ? data : success,\r\n\t\t\tdataType: isFunc ? success : type\r\n\t\t};\r\n\t\tsettings.method = name.toUpperCase();\r\n\t\treturn $.ajax(settings);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n$.getScript = (url, success) => $.ajax({\r\n\turl: url,\r\n\tdataType: \"script\",\r\n\tsuccess: success\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\nexport default (dabby, filter, context, not) => {\r\n\tlet func,\r\n\t\tnodes = dabby.nodeType ? [dabby] : Array.from(dabby);\r\n\r\n\t// sort out args\r\n\tif (typeof context === \"boolean\") {\r\n\t\tnot = context;\r\n\t\tcontext = null;\r\n\t}\r\n\r\n\t// custom filter function\r\n\tif ($.isFunction(filter)) {\r\n\t\tfunc = filter;\r\n\r\n\t// nodes\r\n\t} else {\r\n\r\n\t\t// normalise filters\r\n\t\tif (typeof filter === \"string\") {\r\n\t\t\tfilter = [filter];\r\n\t\t} else {\r\n\t\t\tfilter = Array.from($(filter, context));\r\n\t\t}\r\n\r\n\t\t// default filter function\r\n\t\tfunc = (n, node) => {\r\n\t\t\tlet i = filter.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif (typeof(filter[i]) === \"string\" && node.matches ? node.matches(filter[i]) : node === filter[i]) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t};\r\n\t}\r\n\treturn nodes.filter((item, i) => func.call(item, i, item) === !not, nodes);\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"filter\", \"not\", \"is\"].forEach(name => {\r\n\t$.fn[name] = function (selector) {\r\n\t\tconst nodes = filterNodes(this, selector, name === \"not\");\r\n\t\treturn name === \"is\" ? !!nodes.length : $(nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\n\r\n$.fn.load = function (url, data, success) {\r\n\tif (this[0]) {\r\n\r\n\t\t// get selector from URL\r\n\t\turl = url.split(\" \", 2);\r\n\t\tconst uri = url[0],\r\n\t\t\tselector = url[1];\r\n\r\n\t\t// check for data\r\n\t\tif ($.isFunction(data)) {\r\n\t\t\tsuccess = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// make AJAX request\r\n\t\t$.ajax(uri, {\r\n\t\t\tdata: data,\r\n\t\t\ttype: data instanceof Object ? \"POST\" : \"GET\",\r\n\t\t\tsuccess: (response, status, xhr) => {\r\n\r\n\t\t\t\t// if a selector is specified, find it in the returned document\r\n\t\t\t\tlet html = \"\",\r\n\t\t\t\t\ti = this.length;\r\n\r\n\t\t\t\t// refine by selector if supplied\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\t$(response).filter(selector).each((key, obj) => {\r\n\t\t\t\t\t\thtml += obj.outerHTML;\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\thtml = response;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst nodes = $(html).filter((i, item) => item.tagName.toLowerCase() === \"script\");\r\n\r\n\t\t\t\t// set HTML to nodes in collection\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tthis[i].innerHTML = html;\r\n\r\n\t\t\t\t\t// include any scripts as they won't execute with innerHTML\r\n\t\t\t\t\tnodes.each((i, item) => {\r\n\t\t\t\t\t\tconst src = item.getAttribute(\"src\"),\r\n\t\t\t\t\t\t\tscript = document.createElement(\"script\");\r\n\t\t\t\t\t\tif (src) {\r\n\t\t\t\t\t\t\tscript.src = src;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tscript.text = item.innerText;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdocument.head.appendChild(script);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// fire success callback on nodes\r\n\t\t\t\t\tif (success) {\r\n\t\t\t\t\t\tsuccess.call(this[i], response, status, xhr);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\n\r\nexport default (obj, val, current) => {\r\n\tlet i = obj.length,\r\n\t\tvalues = [],\r\n\t\tfuncVal = $.isFunction(val),\r\n\t\tobjVal = funcVal ? 0 : $.isPlainObject(val),\r\n\t\tfuncCurrent = $.isFunction(current);\r\n\twhile (i--) {\r\n\t\tvalues[i] = funcVal ? val.call(obj[i], i, funcCurrent ? current(obj[i]) : current) : (objVal ? Object.create(val) : val);\r\n\t}\r\n\treturn values;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../each/each.js\";\r\n\r\n$.map = (obj, callback) => {\r\n\tlet arr = [];\r\n\t$.each(obj, (i, item) => {\r\n\t\tconst result = callback.call(window, item, i);\r\n\t\tif ([null, undefined].indexOf(result) === -1) {\r\n\t\t\tarr = arr.concat(Array.isArray(result) ? result : [result]);\r\n\t\t}\r\n\t});\r\n\treturn arr;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/map/map.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.val = function (value) {\r\n\r\n\t// set value\r\n\tif (value !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, value, obj => obj.val());\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// string value, just set to value attribute\r\n\t\t\tif (!Array.isArray(values[i])) {\r\n\t\t\t\tthis[i].value = values[i];\r\n\r\n\t\t\t// array on select, set matching values to selected\r\n\t\t\t} else if (this[i].type === \"select-multiple\") {\r\n\t\t\t\tvalues[i] = values[i].map(val => String(val));\r\n\t\t\t\t$(\"option\", this[i]).each((key, obj) => {\r\n\t\t\t\t\tobj.selected = values[i].indexOf(obj.value) > -1;\r\n\t\t\t\t});\r\n\r\n\t\t\t// set the checked attribute for radios and checkbox\r\n\t\t\t} else {\r\n\t\t\t\tthis[i].checked = values[i].indexOf(this[i].value) > -1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// read value from first node\r\n\tif (this[0]) {\r\n\r\n\t\t// get multiple values\r\n\t\tif (this[0].type === \"select-multiple\") {\r\n\t\t\tlet values = [];\r\n\t\t\t$(\"option\", this[0]).each((key, obj) => {\r\n\t\t\t\tif (obj.selected) {\r\n\t\t\t\t\tvalues.push(String(obj.value));\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn values;\r\n\t\t}\r\n\r\n\t\t// get single value\r\n\t\tif (this[0].type !== \"checkbox\" || this[0].checked) {\r\n\t\t\treturn String(this[0].value);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\nimport \"../../attributes/val/val.js\";\r\nimport \"../param/param.js\";\r\n\r\n$.fn.serialize = function () {\r\n\tconst selector = \"input[name]:not([type=file]):not([type=submit]):not([type=radio]):not([type=checkbox]),input[name]:checked,textarea[name],select[name]\",\r\n\t\tadd = (name, value, params) => {\r\n\t\t\tlet match;\r\n\r\n\t\t\tif ((match = name.match(/([^\\[]*)\\[([^\\]]*)\\](.*)/)) !== null) {\r\n\t\t\t\tname = match[1];\r\n\t\t\t\tlet arr = add(match[2] + match[3], value, params[name] || {});\r\n\t\t\t\tvalue = arr;\r\n\t\t\t}\r\n\r\n\t\t\tif (name !== \"\") {\r\n\t\t\t\tparams[name] = value;\r\n\t\t\t} else {\r\n\t\t\t\tif (!Array.isArray(params)) {\r\n\t\t\t\t\tparams = [];\r\n\t\t\t\t}\r\n\t\t\t\tparams = params.concat(Array.isArray(value) ? value : [value]);\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\tlet obj = this.filter(selector);\r\n\r\n\tif (!obj.length) {\r\n\t\tobj = $(selector, this);\r\n\t}\r\n\r\n\tlet params = {};\r\n\r\n\t// process values\r\n\tobj.each((key, obj) => {\r\n\t\tconst value = $(obj).val();\r\n\t\tif (!obj.disabled && value !== undefined) {\r\n\t\t\tparams = add(obj.name, value, params);\r\n\t\t}\r\n\t});\r\n\treturn $.param(params);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.get = function (i) {\r\n\treturn i === undefined ? Array.from(this) : this[i >= 0 ? i : i + this.length];\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.add = function (nodes, context) {\r\n\tnodes = $(nodes, context).get();\r\n\treturn $(Array.from(this).concat(nodes));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"parent\", \"parents\", \"parentsUntil\"].forEach(func => {\r\n\tconst all = func.indexOf(\"s\") > -1,\r\n\t\tuntil = func.indexOf(\"U\") > -1;\r\n\r\n\t$.fn[func] = function (selector, filter) {\r\n\t\tlet nodes = [],\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet parent = this[i].parentNode;\r\n\t\t\twhile (parent && parent.nodeType === Node.ELEMENT_NODE) {\r\n\t\t\t\tif (until && filterNodes(parent, selector).length) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tnodes.push(parent);\r\n\t\t\t\tif (!all) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tparent = parent.parentNode;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!until) {\r\n\t\t\tfilter = selector;\r\n\t\t}\r\n\t\treturn $(filter ? filterNodes(nodes, filter) : nodes);\r\n\t}\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n// add and remove event handlers\r\n[\"on\", \"one\"].forEach(name => {\r\n\t$.fn[name] = function (events, selector, data, callback) {\r\n\r\n\t\t// sort out args\r\n\t\tevents = events.split(\" \");\r\n\t\tif ($.isFunction(selector)) {\r\n\t\t\tcallback = selector;\r\n\t\t\tselector = undefined;\r\n\t\t} else if ($.isFunction(data)) {\r\n\t\t\tcallback = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// attach event\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet e = events.length;\r\n\r\n\t\t\t// record the original function\r\n\t\t\tif (!this[i].events) {\r\n\t\t\t\tthis[i].events = [];\r\n\t\t\t}\r\n\t\t\tlet fn = function (evt) { // delegate function\r\n\t\t\t\tlet target = [this];\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\tlet t = $(evt.target);\r\n\t\t\t\t\ttarget = t.add(t.parents()).filter(selector).get(); // is the selector in the targets parents?\r\n\t\t\t\t}\r\n\t\t\t\tif (target) {\r\n\t\t\t\t\tevt.data = data; // set data to event object\r\n\t\t\t\t\tfor (let i = 0, len = target.length; i < len; i++) {\r\n\t\t\t\t\t\tif (callback.call(target[i], evt, evt.args) === false) {\r\n\t\t\t\t\t\t\tevt.preventDefault();\r\n\t\t\t\t\t\t\tevt.stopPropagation();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tthis[i].events.push({\r\n\t\t\t\tevents: events,\r\n\t\t\t\tcallback: callback,\r\n\t\t\t\tselector: selector,\r\n\t\t\t\tfunc: fn,\r\n\t\t\t\tonce: name === \"one\"\r\n\t\t\t});\r\n\r\n\t\t\t// trigger\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].addEventListener(events[e], fn, {once: name === \"one\", capture: !!selector});\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default [\"focusin\", \"focusout\", \"focus\", \"blur\", \"resize\", \"scroll\", \"unload\", \"click\", \"dblclick\", \"mousedown\", \"mouseup\", \"mousemove\", \"mouseover\", \"mouseout\", \"mouseenter\", \"mouseleave\", \"contextmenu\", \"change\", \"select\", \"keydown\", \"keypress\", \"keyup\", \"error\", \"submit\"];\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport \"../../events/on/on.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.attr = function (prop, value) {\r\n\tlet isObj = typeof prop !== \"string\",\r\n\t\tobj = {};\r\n\r\n\t// set properties\r\n\tif (isObj || value !== undefined) {\r\n\r\n\t\t// normalise to object\r\n\t\tif (!isObj) {\r\n\t\t\tobj[prop] = value;\r\n\t\t\tprop = obj;\r\n\t\t}\r\n\r\n\t\t$.each(prop, (key, val) => {\r\n\r\n\t\t\t// if event, hand it off to $.fn.on()\r\n\t\t\tif (events.indexOf(key) > -1) {\r\n\t\t\t\tthis.on(key, val);\r\n\r\n\t\t\t// process other values\r\n\t\t\t} else {\r\n\t\t\t\tlet i = this.length,\r\n\t\t\t\t\tvalues = getVal(this, val, obj => $(obj).attr(key));\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tif (key === \"style\") {\r\n\t\t\t\t\t\tthis[i].style.cssText = values[i];\r\n\t\t\t\t\t} else if (key === \"class\") {\r\n\t\t\t\t\t\tthis[i].className = values[i];\r\n\t\t\t\t\t} else if (key === \"text\") {\r\n\t\t\t\t\t\tthis[i].textContent = values[i];\r\n\t\t\t\t\t} else if (values[i] === null) {\r\n\t\t\t\t\t\tthis[i].removeAttribute(key);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis[i].setAttribute(key, values[i]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// retrieve properties\r\n\tif (this[0]) {\r\n\t\tif (prop === \"style\") {\r\n\t\t\treturn this[0].style.cssText;\r\n\t\t}\r\n\t\tif (prop === \"class\") {\r\n\t\t\treturn this[0].className;\r\n\t\t}\r\n\t\treturn this[0].getAttribute(prop);\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\nconst funcs = [];\r\n[\"removeClass\", \"addClass\", \"toggleClass\"].forEach((func, f) => {\r\n\r\n\t// remove \"Class\" from name for classList method and remember\r\n\tfuncs.push(func.substr(0, func.length - 5));\r\n\r\n\t// create function\r\n\t$.fn[func] = function (cls, state) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, cls, obj => obj.className),\r\n\t\t\tkey = f;\r\n\r\n\t\tif (func === \"toggleClass\" && typeof state === \"boolean\") {\r\n\t\t\tkey = 0 + state;\r\n\t\t}\r\n\r\n\t\t// manage classes on nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (typeof values[i] === \"string\") {\r\n\t\t\t\tvalues[i] = values[i].split(\" \");\r\n\t\t\t}\r\n\t\t\tfor (let n = 0, len = values[i].length; n < len; n++) {\r\n\t\t\t\tthis[i].classList[funcs[key]](values[i][n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default prop => prop.replace(/-([\\w])/g, (text, letter) => letter.toUpperCase()); // matches underscore too but you shouldn't do that anyway\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport getVal from \"../getval/getval.js\";\r\nimport camelise from \"../camelise/camelise.js\";\r\n\r\nexport default (dabby, props, value) => {\r\n\r\n\t// normalise props\r\n\tif (typeof props === \"string\") {\r\n\t\tconst name = props;\r\n\t\tprops = {};\r\n\t\tprops[name] = value;\r\n\t}\r\n\r\n\t// prepare values\r\n\tlet values = {};\r\n\t$.each(props, (i, prop) => {\r\n\t\tvalues[camelise(i)] = getVal(dabby, prop, obj => obj.style[i]);\r\n\t});\r\n\r\n\t// set properties\r\n\t$.each(values, (key, val) => {\r\n\t\tlet i = dabby.length;\r\n\t\twhile (i--) {\r\n\t\t\tdabby[i].style[key] = val[i] + (!val[i] || isNaN(val[i]) ? \"\" : \"px\");\r\n\t\t}\r\n\t});\r\n\treturn dabby;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport setCss from \"../../internal/setcss/setcss.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.css = function (props, value) {\r\n\r\n\t// set the values\r\n\tif (value !== undefined || $.isPlainObject(props)) {\r\n\t\treturn setCss(this, props, value);\r\n\t}\r\n\r\n\t// retrieve value from first property\r\n\tif (this[0]) {\r\n\t\tlet name = props,\r\n\t\t\ti,\r\n\t\t\tstyle = getComputedStyle(this[0], \"\"),\r\n\t\t\toutput = {},\r\n\t\t\tret = false;\r\n\r\n\t\tif (typeof name === \"string\") {\r\n\t\t\tprops = [name];\r\n\t\t\tret = true;\r\n\t\t}\r\n\t\ti = props.length;\r\n\t\twhile (i--) {\r\n\t\t\toutput[props[i]] = style[camelise(props[i])];\r\n\t\t\tif (ret) {\r\n\t\t\t\treturn output[props[i]];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn output;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.data = function (name, data) {\r\n\r\n\t// convert data to object\r\n\tif (typeof name === \"object\") {\r\n\t\tdata = name;\r\n\t} else if (data !== undefined) {\r\n\t\tlet temp = {};\r\n\t\ttemp[name] = data;\r\n\t\tdata = temp;\r\n\t}\r\n\r\n\t// set value\r\n\tif (data !== undefined) {\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(data, (key, value) => {\r\n\t\t\t\tthis[i].dataset[camelise(key)] = typeof value === \"object\" ? JSON.stringify(value) : value;\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get value\r\n\tif (this[0] && this[0].dataset) {\r\n\t\tlet parse = value => {\r\n\t\t\ttry {\r\n\t\t\t\treturn JSON.parse(value);\r\n\t\t\t} catch (e) {\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// all properties\r\n\t\tif (name === undefined) {\r\n\t\t\tlet arr = {};\r\n\t\t\t$.each(this[0].dataset, (key, value) => {\r\n\t\t\t\tarr[key] = parse(value);\r\n\t\t\t});\r\n\t\t\treturn arr;\r\n\t\t}\r\n\r\n\t\t// retrieve specific property\r\n\t\tname = camelise(name);\r\n\t\tif (this[0].dataset.hasOwnProperty(name)) {\r\n\t\t\treturn parse(this[0].dataset[name]);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.hasClass = function (cls) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tif (this[i].classList.contains(cls)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n","export default prop => {\r\n\tlet properties = {\r\n\t\t\"for\": \"htmlFor\",\r\n\t\t\"class\": \"className\",\r\n\t\t\"tabindex\": \"tabIndex\",\r\n\t\t\"readonly\": \"readOnly\",\r\n\t\t\"maxlength\": \"maxLength\",\r\n\t\t\"cellspacing\": \"cellSpacing\",\r\n\t\t\"cellpadding\": \"cellPadding\",\r\n\t\t\"rowspan\": \"rowSpan\",\r\n\t\t\"colspan\": \"colSpan\",\r\n\t\t\"usemap\": \"useMap\",\r\n\t\t\"frameborder\": \"frameBorder\",\r\n\t\t\"contenteditable\": \"contentEditable\"\r\n\t};\r\n\tprop = prop.toLowerCase();\r\n\treturn properties[prop] || prop;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.prop = function (prop, value) {\r\n\tconst isObj = $.isPlainObject(prop);\r\n\r\n\t// set\r\n\tif (value !== undefined || isObj) {\r\n\r\n\t\t// normalise values\r\n\t\tif (!isObj) {\r\n\t\t\tconst tmp = {};\r\n\t\t\ttmp[prop] = value;\r\n\t\t\tprop = tmp;\r\n\t\t}\r\n\r\n\t\t// retrieve values\r\n\t\tlet values = {};\r\n\t\t$.each(prop, (key, val) => {\r\n\t\t\tvalues[getProp(key)] = getVal(this, val, obj => obj[key]);\r\n\t\t});\r\n\r\n\t\t// set properties\r\n\t\t$.each(values, (key, val) => {\r\n\t\t\tlet i = this.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tthis[i][key] = val[i];\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0][getProp(prop)];\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\n\r\n$.fn.removeProp = function (prop) {\r\n\tlet i = this.length;\r\n\tprop = getProp(prop);\r\n\r\n\twhile (i--) {\r\n\t\tdelete this[i][prop];\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n// store for current values\r\nconst display = [],\r\n\tobj = [],\r\n\tdefaults = [],\r\n\tvalues = [\"none\", \"block\"];\r\n\r\n[\"hide\", \"show\", \"toggle\"].forEach((func, n) => {\r\n\r\n\t// attach function\r\n\t$.fn[func] = function (show) {\r\n\r\n\t\t// for toggle they can set the show value\r\n\t\tif (n === 2 && typeof show !== \"undefined\") {\r\n\t\t\tn = parseInt(show);\r\n\t\t}\r\n\r\n\t\t// loop through each node\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet item = obj.indexOf(this[i]),\r\n\t\t\t\tcurrent = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display;\r\n\r\n\t\t\t// cache the initial value of the current\r\n\t\t\tif (item === -1) {\r\n\t\t\t\titem = obj.length;\r\n\t\t\t\tobj.push(this[i]);\r\n\t\t\t\tdisplay.push(current);\r\n\t\t\t\tdefaults.push(this[i].style.display);\r\n\t\t\t}\r\n\r\n\t\t\t// determine if we are going to show or hide\r\n\t\t\tlet value = values[n] || (current === \"none\" ? \"block\" : \"none\");\r\n\r\n\t\t\t// if show update the block value to the initial if it was not \"none\"\r\n\t\t\tif (value !== \"none\" && display[item] !== \"none\") {\r\n\t\t\t\tvalue = display[item];\r\n\t\t\t}\r\n\r\n\t\t\t// update the value, use the default if setting back to initial\r\n\t\t\tthis[i].style.display = value === display[item] ? defaults[item] : value;\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.map = function (callback) {\r\n\tlet len = this.length,\r\n\t\tvalues = [],\r\n\t\ti = 0;\r\n\r\n\tfor (; i < len; i++) {\r\n\t\tvalues.push(callback.call(this[i], i, this[i]));\r\n\t}\r\n\treturn values;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.offset = function (coords) {\r\n\r\n\t// set\r\n\tif (coords) {\r\n\r\n\t\t// prepare values\r\n\t\tlet values = getVal(this, coords, obj => obj.offset()), // copy the object\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// set position to relative if not positioned\r\n\t\t\tlet pos = getComputedStyle(this[i]).position;\r\n\t\t\tif (pos === \"static\") {\r\n\t\t\t\tvalues[i].position = pos = \"relative\";\r\n\t\t\t}\r\n\r\n\t\t\t// take off offset parent position\r\n\t\t\tconst parent = this[i][pos === \"relative\" ? \"parentNode\" : \"offsetParent\"];\r\n\t\t\t$.each($(parent).offset(), (key, val) => values[i][key] -= val);\r\n\r\n\t\t\t// relative add inner offset\r\n\t\t\tif (pos === \"relative\") {\r\n\t\t\t\tconst style = getComputedStyle(parent);\r\n\t\t\t\tvalues[i].top -= parseFloat(style.paddingTop) + parseFloat(style.borderTopWidth);\r\n\t\t\t\tvalues[i].left -= parseFloat(style.paddingLeft) + parseFloat(style.borderLeftWidth);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// update values in one hit to prevent thrashing\r\n\t\ti = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(values[i], (key, val) => this[i].style[key] = val + (isNaN(val) ? \"\" : \"px\"));\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\tconst doc = document.documentElement,\r\n\t\t\tpos = this[0].style.position === \"fixed\",\r\n\t\t\trect = this[0].getBoundingClientRect();\r\n\t\treturn {\r\n\t\t\ttop: rect.top + (pos ? 0 : doc.scrollTop),\r\n\t\t\tleft: rect.left + (pos ? 0 : doc.scrollLeft)\r\n\t\t};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.offsetParent = function () {\r\n\treturn $(this[0] ? this[0].offsetParent : null);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.position = function () {\r\n\tif (this[0]) {\r\n\t\treturn {left: this[0].offsetLeft, top: this[0].offsetTop};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"scrollLeft\", \"scrollTop\"].forEach(item => {\r\n\t$.fn[item] = function (pos) {\r\n\t\tconst top = item === \"scrollTop\";\r\n\r\n\t\t// set\r\n\t\tif (pos !== undefined) {\r\n\t\t\tlet i = this.length,\r\n\t\t\t\ttl = top ? \"top\" : \"left\",\r\n\t\t\t\tvalues = getVal(this, pos, obj => obj[item]);\r\n\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif ($.isWindow(this[i])) {\r\n\t\t\t\t\tlet obj = {};\r\n\t\t\t\t\tobj[tl] = values[i];\r\n\t\t\t\t\tthis[i].scroll(obj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis[i][item] = values[i];\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get\r\n\t\tif (this[0]) {\r\n\t\t\tlet key = item;\r\n\t\t\tif ($.isWindow(this[0])) {\r\n\t\t\t\tkey = top ? \"pageYOffset\" : \"pageXOffset\";\r\n\t\t\t}\r\n\t\t\treturn this[0][key];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"width\", \"height\", \"innerWidth\", \"innerHeight\", \"outerWidth\", \"outerHeight\"].forEach(dim => {\r\n\r\n\t$.fn[dim] = function (val) {\r\n\t\tconst width = dim.indexOf(\"d\") > -1,\r\n\t\t\twh = width ? \"width\" : \"height\", // width or height\r\n\t\t\twhu = width ? \"Width\" : \"Height\", // with uppercase letter\r\n\t\t\tio = dim.indexOf(\"inner\") > -1 ? \"inner\" : (dim.indexOf(\"outer\") > -1 ? \"outer\" : \"\"), // inner outer or neither\r\n\t\t\tpos = [\r\n\t\t\t\twidth ? \"Left\" : \"Top\", // first dimension\r\n\t\t\t\twidth ? \"Right\" : \"Bottom\" // second dimension\r\n\t\t\t];\r\n\r\n\t\t// set value\r\n\t\tif (val !== undefined && typeof(val) !== \"boolean\") {\r\n\t\t\tlet values = getVal(this, val, obj => obj[dim]),\r\n\t\t\t\ti = this.length,\r\n\t\t\t\tprops = [],\r\n\t\t\t\tstyle;\r\n\t\t\twhile (i--) {\r\n\r\n\t\t\t\t// add additional lengths\r\n\t\t\t\tif (io) {\r\n\r\n\t\t\t\t\t// fetch current style and build properties\r\n\t\t\t\t\tpos.forEach(item => {\r\n\t\t\t\t\t\tprops.push(\"padding\" + item);\r\n\t\t\t\t\t\tif (io === \"outer\") {\r\n\t\t\t\t\t\t\tprops.push(\"border\" + item + \"Width\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// set width to convert to a px value\r\n\t\t\t\t\tif (isNaN(values[i]) && values[i].indexOf(\"px\") === -1) {\r\n\t\t\t\t\t\tthis[i].style[wh] = values[i];\r\n\t\t\t\t\t\tprops.push(wh);\r\n\t\t\t\t\t\tvalues[i] = 0; // reset to 0\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// add values\r\n\t\t\t\t\tstyle = getComputedStyle(this[i]);\r\n\t\t\t\t\tprops.forEach(val => values[i] -= parseFloat(style[val]));\r\n\t\t\t\t}\r\n\t\t\t\tthis[i].style[wh] = values[i] + (isNaN(values[i]) ? \"\" : \"px\");\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get value\r\n\t\tif (this[0]) {\r\n\r\n\t\t\t// document\r\n\t\t\tif (this[0].nodeType === Node.DOCUMENT_NODE) {\r\n\t\t\t\treturn this[0].documentElement[\"scroll\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\t// element\r\n\t\t\tif (!$.isWindow(this[0])) {\r\n\t\t\t\tlet value = this[0][(io === \"outer\" ? \"offset\" : \"client\") + whu];\r\n\r\n\t\t\t\t// add padding on, or if outer and margins requested, add margins on\r\n\t\t\t\tif (io === \"\" || (io === \"outer\" && val === true)) {\r\n\t\t\t\t\tconst style = getComputedStyle(this[0]);\r\n\t\t\t\t\tpos.forEach(item => value += parseFloat(style[(io ? \"margin\" : \"padding\") + item]) * (io ? 1 : -1));\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\r\n\t\t\t// window\r\n\t\t\tif (io === \"inner\") {\r\n\t\t\t\treturn this[0].document.documentElement[\"client\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\treturn this[0][\"inner\" + whu];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.trigger = function (name, data) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tlet isFunc = $.isFunction(this[i][name]);\r\n\r\n\t\t// native submit event doesn't trigger event handlers\r\n\t\tif (name == \"submit\" || !isFunc) {\r\n\t\t\tconst evt = new CustomEvent(name, {bubbles: true, cancelable: true});\r\n\t\t\tevt.args = data;\r\n\t\t\tthis[i].dispatchEvent(evt);\r\n\r\n\t\t\t// cancel submit event if default is prevented\r\n\t\t\tif (evt.defaultPrevented) {\r\n\t\t\t\tisFunc = false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// trigger native event\r\n\t\tif (isFunc) {\r\n\t\t\tthis[i][name]();\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport \"../on/on.js\";\r\nimport \"../trigger/trigger.js\";\r\n\r\nevents.forEach(event => {\r\n\t$.fn[event] = function (data, callback) {\r\n\t\treturn data ? this.on(event, data, callback) : this.trigger(event);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n// add and remove event handlers\r\n$.fn.off = function (events, selector, data, callback) {\r\n\r\n\t// sort out args\r\n\tevents = events.split(\" \");\r\n\tif ($.isFunction(selector)) {\r\n\t\tcallback = selector;\r\n\t\tselector = undefined;\r\n\t} else if ($.isFunction(data)) {\r\n\t\tcallback = data;\r\n\t\tdata = undefined;\r\n\t}\r\n\r\n\t// attach event\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\r\n\t\t// find the original function\r\n\t\tif (this[i].events.length) {\r\n\t\t\tlet e = events.length;\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].events.forEach((evt, n) => {\r\n\t\t\t\t\tconst index = evt.events.indexOf(events[e]);\r\n\t\t\t\t\tif (index !== -1 && (!callback || evt.callback === callback) && (!selector || evt.selector === selector)) {\r\n\t\t\t\t\t\tthis[i].removeEventListener(events[e], evt.func, {once: evt.once, capture: !!evt.selector}); // must pass same arguments\r\n\t\t\t\t\t\tthis[i].events[n].events.splice(index, 1);\r\n\t\t\t\t\t\tif (!this[i].events[n].events.length) {\r\n\t\t\t\t\t\t\tthis[i].events.splice(n, 1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.clone = function () {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes[i] = this[i].cloneNode(true);\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.empty = function () {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\twhile (this[i].firstChild && this[i].removeChild(this[i].firstChild));\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.html = function (html) {\r\n\r\n\t// set\r\n\tif (html !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, html, obj => obj.innerHTML);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].innerHTML = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0].innerHTML;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.each({\r\n\tbefore: \"beforeBegin\",\r\n\tprepend: \"afterBegin\",\r\n\tappend: \"beforeEnd\",\r\n\tafter: \"afterEnd\"\r\n}, (name, pos) => {\r\n\r\n\t// function tracking variables\r\n\tconst pre = [\"prepend\", \"after\"].indexOf(name) > -1;\r\n\r\n\t// the function\r\n\t$.fn[name] = function (...content) {\r\n\t\tlet elems,\r\n\t\t\ti = this.length,\r\n\t\t\tlen = i;\r\n\r\n\t\t// retireve nodes from function\r\n\t\tif ($.isFunction(content[0])) {\r\n\t\t\telems = $(getVal(this, content[0], obj => obj.innerHTML));\r\n\r\n\t\t// multiple arguments containing nodes\r\n\t\t} else {\r\n\t\t\telems = content.reduce((dabby, item) => dabby.add(item), $());\r\n\t\t}\r\n\r\n\t\t// insert objects onto each element in collection\r\n\t\twhile (i--) {\r\n\t\t\tlet backwards = elems.length, // for counting down\r\n\t\t\t\tforwards = -1; // for counting up\r\n\t\t\twhile (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards?\r\n\t\t\t\tthis[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../insert/insert.js\";\r\n\r\n$.each({\r\n\tprependTo: \"prepend\",\r\n\tappendTo: \"append\",\r\n\tinsertBefore: \"before\",\r\n\tinsertAfter: \"after\"\r\n}, (name, func) => {\r\n\t$.fn[name] = function (selector) {\r\n\t\t$(selector)[func](this);\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"remove\", \"detach\"].forEach(func => {\r\n\t$.fn[func] = function (selector) {\r\n\t\tlet i = this.length,\r\n\t\t\tnodes = [],\r\n\t\t\tobj = [];\r\n\r\n\t\t// detach selected nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (!selector || filterNodes(this[i], selector).length) {\r\n\t\t\t\tnodes.push(this[i].parentNode.removeChild(this[i]));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// create a new dabby object to return\r\n\t\treturn func === \"detach\" ? $(nodes) : this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n[\"replaceWith\", \"replaceAll\"].forEach(name => {\r\n\t$.fn[name] = function (html) {\r\n\t\tconst all = name === \"replaceAll\",\r\n\t\t\tsource = all ? $(html) : this;\r\n\t\tlet target = all ? this : html,\r\n\t\t\tisFunc = $.isFunction(target),\r\n\t\t\ti = source.length;\r\n\r\n\t\tif (!isFunc) {\r\n\t\t\ttarget = $(target);\r\n\t\t}\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet n = target.length,\r\n\t\t\t\tparent = source[i].parentNode;\r\n\t\t\twhile (n--) {\r\n\t\t\t\tconst replace = isFunc ? getVal(target[n], n, target[n]) : target[n];\r\n\t\t\t\tif (n) {\r\n\t\t\t\t\tsource[i].insertAdjacentElement(\"beforebegin\", replace.cloneNode(true));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsource[i] = parent.replaceChild(i ? replace.cloneNode(true) : replace, source[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.slice = function (start, end) {\r\n\treturn $(this.get().slice(start, end));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.text = function (text) {\r\n\tlet i = this.length,\r\n\t\toutput = [];\r\n\r\n\t// set\r\n\tif (text !== undefined) {\r\n\t\tconst values = getVal(this, text, obj => obj.textContent);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].textContent = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\twhile (i--) {\r\n\t\toutput[i] = this[i].textContent;\r\n\t}\r\n\treturn output.join(\" \");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.unwrap = function (selector) {\r\n\tthis.parent(selector).not(\"body\").each((key, obj) => {\r\n\t\t$(obj.children).each((i, node) => {\r\n\t\t\tobj.parentNode.insertBefore(node, obj);\r\n\t\t});\r\n\t\tobj.parentNode.removeChild(obj);\r\n\t});\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.wrapAll = function (html) {\r\n\tif (this[0]) {\r\n\t\tif ($.isFunction(html)) {\r\n\t\t\thtml = html.call(this[0]);\r\n\t\t}\r\n\r\n\t\t// set variables\r\n\t\tlet len = this.length,\r\n\t\t\ti = 0,\r\n\t\t\tnode = $(html)[0].cloneNode(true);\r\n\r\n\t\t// insert clone into parent\r\n\t\tthis[0].parentNode.insertBefore(node, null);\r\n\r\n\t\t// find innermost child of node\r\n\t\twhile (node.firstElementChild) {\r\n\t\t\tnode = node.firstElementChild;\r\n\t\t}\r\n\r\n\t\t// attach nodes to the new node\r\n\t\tfor (; i < len; i++) {\r\n\t\t\tnode.appendChild(this[i]);\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../wrapall/wrapall.js\";\r\n\r\n$.fn.wrap = function (html) {\r\n\tlet i = this.length,\r\n\t\tvalues = getVal(this, html);\r\n\r\n\twhile (i--) {\r\n\t\t$(this[i]).wrapAll(values[i]);\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.children = function (selector) {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes = nodes.concat(Array.from(this[i].children));\r\n\t}\r\n\r\n\t// filter nodes by selector\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.closest = function (selector, context) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tlet node = this[i];\r\n\t\twhile (node && node.nodeType === Node.ELEMENT_NODE) {\r\n\t\t\tif (filterNodes(node, selector, context).length) {\r\n\t\t\t\tnodes.unshift(node);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tnode = node.parentNode;\r\n\t\t}\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.eq = function (i) {\r\n\treturn $(this[i < 0 ? i + this.length : i]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.find = function (selector) {\r\n\treturn $(selector, this);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.first = function () {\r\n\treturn $(this[0]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.has = function (selector) {\r\n\treturn $(this.get().filter(node => !!$(selector, node).length));\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.index = function (selector) {\r\n\r\n\tif (this[0]) {\r\n\t\tlet nodes,\r\n\t\t\tsubject = this[0],\r\n\t\t\ti;\r\n\r\n\t\t// if no selector, match against first elements siblings\r\n\t\tif (selector === undefined) {\r\n\t\t\tnodes = this[0].parentNode.children;\r\n\r\n\t\t// if selector is string, match first node in current collection against resulting collection\r\n\t\t} else if (typeof selector === \"string\") {\r\n\t\t\tnodes = $(selector);\r\n\r\n\t\t// if element or collection match the element or first node against current collection\r\n\t\t} else {\r\n\t\t\tnodes = this;\r\n\t\t\tsubject = $(selector)[0];\r\n\t\t}\r\n\r\n\t\ti = nodes.length;\r\n\t\twhile (i--) {\r\n\t\t\tif (nodes[i] === subject) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn -1;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../eq/eq.js\";\r\n\r\n$.fn.last = function () {\r\n\treturn this.eq(-1);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"next\", \"nextAll\", \"nextUntil\", \"prev\", \"prevAll\", \"prevUntil\"].forEach(func => {\r\n\tconst next = func.indexOf(\"x\") > -1,\r\n\t\tall = func.indexOf(\"A\") > -1,\r\n\t\tuntil = func.indexOf(\"U\") > -1,\r\n\t\tmethod = next ? \"nextElementSibling\" : \"previousElementSibling\";\r\n\r\n\t$.fn[func] = function (selector, filter) {\r\n\t\tlet nodes = [];\r\n\r\n\t\t// look through each node and get siblings\r\n\t\tfor (let i = 0, len = this.length; i < len; i++) {\r\n\t\t\tlet sibling = this[i][method];\r\n\t\t\twhile (sibling) {\r\n\r\n\t\t\t\t// end when we match until\r\n\t\t\t\tif (until && filterNodes(sibling, selector).length) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// add the node\r\n\t\t\t\tnodes.push(sibling);\r\n\r\n\t\t\t\t// end when not finding all\r\n\t\t\t\tif (!all && !until) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tsibling = sibling[method];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// swap args for *Until methods\r\n\t\tif (until) {\r\n\t\t\tselector = filter;\r\n\t\t}\r\n\r\n\t\t// return new collection\r\n\t\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.siblings = function (selector) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tArray.from(this[i].parentNode.children).forEach(child => {\r\n\t\t\tif (child !== this[i]) {\r\n\t\t\t\tnodes.push(child);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n"],"names":[],"mappings":";;AAAA,MAAM,CAAC,GAAG,SAAS,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE;;;CAG3C,IAAI,IAAI,YAAY,KAAK,EAAE;;;EAG1B,MAAM,KAAK,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;EAC5H,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;EAC3B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;EAC3B,OAAO,IAAI,CAAC;EACZ;;;CAGD,IAAI,QAAQ,YAAY,KAAK,EAAE;EAC9B,OAAO,QAAQ,CAAC;EAChB;;CAED,IAAI,KAAK,GAAG,EAAE;EACb,KAAK,CAAC;;;CAGP,IAAI,QAAQ,EAAE;;;EAGb,IAAI,QAAQ,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;GAC9C,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;;;GAGnB,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC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C,OAAO,CAAC,KAAK,IAAI;GACxD,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE;IACtB,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClB;GACD,CAAC,CAAC;EACH;CACD,OAAO,CAAC,CAAC,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC;CAC1D,CAAC;;;;"} \ No newline at end of file +{"version":3,"file":"build.js","sources":["src/core/dabby/dabby.js","src/utils/each/each.js","src/core/each/each.js","src/utils/iswindow/iswindow.js","src/utils/isfunction/isfunction.js","src/utils/isplainobject/isplainobject.js","src/utils/extend/extend.js","src/ajax/param/param.js","src/ajax/ajax/ajax.js","src/ajax/getpost/getpost.js","src/ajax/getscript/getscript.js","src/internal/filternodes/filternodes.js","src/traversal/filter/filter.js","src/ajax/load/load.js","src/internal/getval/getval.js","src/utils/map/map.js","src/attributes/val/val.js","src/ajax/serialize/serialize.js","src/core/get/get.js","src/traversal/add/add.js","src/traversal/parents/parents.js","src/events/on/on.js","src/internal/getevents/getevents.js","src/attributes/attr/attr.js","src/attributes/class/class.js","src/internal/camelise/camelise.js","src/internal/setcss/setcss.js","src/attributes/css/css.js","src/attributes/data/data.js","src/attributes/hasclass/hasclass.js","src/internal/getprop/getprop.js","src/attributes/prop/prop.js","src/attributes/removeprop/removeprop.js","src/attributes/show-hide/show-hide.js","src/core/map/map.js","src/dimensions/offset/offset.js","src/dimensions/offsetparent/offsetparent.js","src/dimensions/position/position.js","src/dimensions/scroll/scroll.js","src/dimensions/width-height/width-height.js","src/events/trigger/trigger.js","src/events/named/named.js","src/events/off/off.js","src/manipulation/clone/clone.js","src/manipulation/empty/empty.js","src/manipulation/html/html.js","src/manipulation/insert/insert.js","src/manipulation/insertto/insertto.js","src/manipulation/remove/remove.js","src/manipulation/replace/replace.js","src/manipulation/slice/slice.js","src/manipulation/text/text.js","src/manipulation/unwrap/unwrap.js","src/manipulation/wrapall/wrapall.js","src/manipulation/wrap/wrap.js","src/traversal/children/children.js","src/traversal/closest/closest.js","src/traversal/eq/eq.js","src/traversal/find/find.js","src/traversal/first/first.js","src/traversal/has/has.js","src/traversal/index/index.js","src/traversal/last/last.js","src/traversal/next-prev/next-prev.js","src/traversal/siblings/siblings.js"],"sourcesContent":["const $ = function dabby(selector, context) {\n\n\t// if no selector, return empty colletion\n\tif (this instanceof dabby) {\n\n\t\t// build nodes into a set (Which only allows unique items), then filter only element, document, documentFragment and window\n\t\tconst nodes = [...new Set(Array.from(selector))].filter(node => [1, 9, 11].indexOf(node.nodeType) > -1 || $.isWindow(node));\n\t\tObject.assign(this, nodes); // only unique nodes\n\t\tthis.length = nodes.length;\n\t\treturn this;\n\t}\n\n\t// $ collection\n\tif (selector instanceof dabby) {\n\t\treturn selector;\n\t}\n\n\tlet nodes = [],\n\t\tmatch;\n\n\t// gather nodes\n\tif (selector) {\n\n\t\t// single node\n\t\tif (selector.nodeType || $.isWindow(selector)) {\n\t\t\tnodes = [selector];\n\n\t\t// ready function\n\t\t} else if ($.isFunction(selector)) {\n\t\t\tif (document.readyState !== \"loading\") {\n\t\t\t\tselector.call(document, $);\n\t\t\t} else {\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {selector.call(document, $);}, {once: true});\n\t\t\t}\n\n\t\t// array|NodeList|HTMLCollection of nodes\n\t\t} else if (typeof selector !== \"string\") {\n\t\t\tnodes = selector;\n\n\t\t// CSS selector\n\t\t} else if (selector.indexOf(\"<\") === -1) {\n\t\t\t$(context || document).each((i, obj) => {\n\t\t\t\tnodes = nodes.concat(Array.from(obj.querySelectorAll(selector)));\n\t\t\t});\n\n\t\t// create a single node and attach properties\n\t\t} else if ((match = selector.match(/^<([a-z0-9]+)(( ?\\/)?|><\\/\\1)>$/i)) !== null) {\n\t\t\tnodes = [document.createElement(match[1])];\n\n\t\t\t// context is CSS attributes\n\t\t\tif (context instanceof Object) {\n\t\t\t\t$(nodes).attr(context);\n\t\t\t}\n\n\t\t// parse HTML into nodes\n\t\t} else {\n\t\t\tconst obj = document.implementation.createHTMLDocument(\"\");\n\t\t\tobj.body.innerHTML = selector;\n\t\t\tnodes = obj.body.children;\n\t\t}\n\t}\n\treturn new dabby(nodes);\n};\n\n// alias functions\n$.fn = $.prototype;\n\nexport default $;\n","import $ from \"../../core/core.js\";\r\n\r\n$.each = (obj, callback) => {\r\n\tconst isArr = Array.isArray(obj),\r\n\t\tkeys = Object.keys(obj),\r\n\t\tlen = keys.length;\r\n\r\n\tfor (let i = 0; i < len; i++) {\r\n\t\tif (callback.call(obj[keys[i]], isArr ? parseInt(keys[i]) : keys[i], obj[keys[i]]) === false) {\r\n\t\t\tbreak; // stop if callback returns false\r\n\t\t}\r\n\t}\r\n\treturn obj;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.fn.each = function (callback) {\r\n\t$.each(Array.from(this), callback);\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isWindow = obj => obj !== null && obj === obj.window;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isFunction = func => func && func.constructor === Function;\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.isPlainObject = obj => {\r\n\r\n\t// Basic check for Type object that's not null\r\n\tif (typeof obj === \"object\" && obj !== null) {\r\n\r\n\t\t// If Object.getPrototypeOf supported, use it\r\n\t if (typeof Object.getPrototypeOf === 'function') {\r\n\t\t\tlet proto = Object.getPrototypeOf(obj);\r\n\t\t\treturn proto === Object.prototype || proto === null;\r\n\t }\r\n\r\n\t // Otherwise, use internal class\r\n\t // This should be reliable as if getPrototypeOf not supported, is pre-ES5\r\n\t\treturn Object.prototype.toString.call(obj) === \"[object Object]\";\r\n \t}\r\n\r\n \t// Not an object\r\n\treturn false;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../isplainobject/isplainobject.js\";\r\n\r\n$.extend = (...arrs) => {\r\n\tif (arrs[0] === true) {\r\n\r\n\t\t// merge function will recursively merge items\r\n\t\tfunction merge(target, ...sources) {\r\n\t\t\tif (sources.length) {\r\n\r\n\t\t\t\t// work on next source\r\n\t\t\t\tconst source = sources.shift();\r\n\t\t\t\tif ($.isPlainObject(target) && $.isPlainObject(source)) {\r\n\r\n\t\t\t\t\t// loop through each property\r\n\t\t\t\t\t$.each(source, (i, val) => {\r\n\r\n\t\t\t\t\t\t// merge recursively if source is object, if target is not object, overwrite\r\n\t\t\t\t\t\tif ($.isPlainObject(val)) {\r\n\t\t\t\t\t\t\ttarget[i] = $.isPlainObject(target[i]) ? merge(target[i], val) : val;\r\n\r\n\t\t\t\t\t\t// when source property is value just overwrite\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttarget[i] = val;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// merge next source\r\n\t\t\t return merge(target, ...sources);\r\n\t\t\t}\r\n\t\t\treturn target;\r\n\t\t}\r\n\t\treturn merge.apply(null, arrs.slice(1));\r\n\t}\r\n\treturn Object.assign.apply(null, arrs);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/each/each.js\";\r\n\r\n$.param = obj => {\r\n\tlet params = [],\r\n\t\tadd = (key, value, params) => {\r\n\t\t\tlet isArr = Array.isArray(value);\r\n\t\t\tif (isArr || typeof value === \"object\") {\r\n\t\t\t\t$.each(value, (i, val) => {\r\n\t\t\t\t\tparams = add(`${key}[${isArr ? \"\" : i}]`, val, params);\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tif ($.isFunction(value)) {\r\n\t\t\t\t\tvalue = value();\r\n\t\t\t\t}\r\n\t\t\t\tparams.push(encodeURIComponent(key) + \"=\" + encodeURIComponent(value === null ? \"\" : value));\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\r\n\t// process values\r\n\t$.each(obj, (key, item) => {\r\n\t\tparams = add(key, item, params);\r\n\t});\r\n\treturn params.join(\"&\");\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/extend/extend.js\";\nimport \"../param/param.js\";\nimport \"../../utils/each/each.js\";\n\n$.ajax = (url, settings) => {\n\n\t// normalise args\n\tif (typeof url === \"object\") {\n\t\tsettings = url;\n\t} else {\n\t\tif (typeof settings !== \"object\") {\n\t\t\tsettings = {};\n\t\t}\n\t\tsettings.url = url;\n\t}\n\n\t// set default settings\n\tsettings = Object.assign({\n\t\tmethod: \"GET\",\n\t\tcache: null, // start will null so we can see if explicitly set\n\t\tdata: null,\n\t\tdataType: null, // only changes behavior with json, jsonp, script\n\t\tasync: true,\n\t\tcrossDomain: false,\n\t\tscriptCharset: null,\n\t\tjsonp: \"callback\",\n\t\tjsonpCallback: \"dabby\" + Date.now(),\n\t\theaders: {\n\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"\n\t\t},\n\t\txhr: () => new XMLHttpRequest(),\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\t\tcontext: null,\n\t\tstatusCode: {},\n\t\tusername: null,\n\t\tpassword: null,\n\t\txhrFields: {}\n\t}, settings);\n\n\t// determine datatype\n\tif (!settings.dataType && settings.url.split(\"?\")[0].split(\".\").pop() === \"js\") {\n\t\tsettings.dataType = \"script\";\n\t}\n\n\tlet sync = [\"script\", \"jsonp\"].indexOf(settings.dataType) > -1,\n\t\tjoin = settings.url.indexOf(\"?\") > -1 ? \"&\" : \"?\",\n\t\tscript, data;\n\n\t// add data to query string\n\tif (settings.data) {\n\t\tif (typeof settings.data === \"string\" || settings.data instanceof FormData) {\n\t\t\tdata = settings.data;\n\t\t} else {\n\t\t\tdata = $.param(settings.data);\n\t\t}\n\t}\n\tif (data && settings.method === \"GET\") {\n\t\tsettings.url += join + data;\n\t\tjoin = \"&\";\n\t}\n\n\t// add cache buster\n\tif (settings.cache || (settings.cache === null && sync)) {\n\t\tsettings.url += join + \"_=\" + (+new Date());\n\t\tjoin = \"&\";\n\t}\n\n\t// fetch script\n\tif (sync || settings.crossDomain) {\n\t\tscript = document.createElement(\"script\");\n\t\tif (settings.scriptCharset) {\n\t\t\tscript.charset = settings.scriptCharset;\n\t\t}\n\n\t\t// add callback parameter\n\t\tif (settings.dataType === \"jsonp\") {\n\t\t\tsettings.url += join + settings.jsonp + \"=\" + settings.jsonpCallback;\n\t\t}\n\n\t\t// setup event callbacks\n\t\t$.each({\n\t\t\tload: \"success\",\n\t\t\terror: \"error\"\n\t\t}, (key, value) => {\n\t\t\tscript.addEventListener(key, () => {\n\t\t\t\tconst response = settings.dataType === \"jsonp\" ? window[settings.jsonpCallback] || null : null;\n\t\t\t\t[settings[value], settings.complete].forEach(callback => {\n\t\t\t\t\tif (callback) {\n\t\t\t\t\t\tcallback.apply(settings.context || settings, callback === settings.complete ? [null, value] : [response, value]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}, {once: true});\n\t\t});\n\n\t\tscript.src = settings.url;\n\t\tscript.async = settings.async;\n\t\tdocument.head.appendChild(script);\n\n\t// make xhr request\n\t} else {\n\t\tconst xhr = settings.xhr(),\n\t\t\tcallback = (xhr, type, status) => {\n\t\t\t\tlet response = xhr.responseText;\n\n\t\t\t\t// parse JSON\n\t\t\t\tif ([\"json\", null, undefined].indexOf(settings.dataType) > -1) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tresponse = JSON.parse(response);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t// do nothing\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// run callbacks\n\t\t\t\t[settings.statusCode[xhr.status], settings[type], settings.complete].forEach((callback, i) => {\n\t\t\t\t\tif (callback) {\n\t\t\t\t\t\tcallback.apply(settings.context || settings, i < 2 ? [response, status, xhr] : [xhr, status]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\n\t\t// XHR settings\n\t\t$.each(settings.xhrFields, (key, value) => xhr[key] = value);\n\n\t\t// callbacks\n\t\txhr.onload = () => {\n\t\t\tconst status = [200, 204, 304].indexOf(xhr.status) > -1 ? \"success\" : \"error\";\n\t\t\tcallback(xhr, status, status);\n\t\t};\n\t\txhr.ontimeout = () => {\n\t\t\tcallback(xhr, \"error\", \"timeout\");\n\t\t};\n\t\txhr.onabort = () => {\n\t\t\tcallback(xhr, \"error\", \"abort\");\n\t\t};\n\t\txhr.onerror = () => {\n\t\t\tcallback(xhr, \"error\", \"error\");\n\t\t};\n\n\t\txhr.open(settings.method, settings.url, settings.async, settings.username, settings.password);\n\n\t\t// add headers\n\t\tif (settings.contentType) {\n\t\t\tsettings.headers[\"Content-Type\"] = settings.contentType;\n\t\t}\n\t\t$.each(settings.headers, (key, value) => {\n\t\t\txhr.setRequestHeader(key, value);\n\t\t});\n\n\t\t// send request\n\t\txhr.send(settings.method === \"GET\" ? null : data);\n\t\treturn xhr;\n\t}\n};\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n[\"get\", \"post\"].forEach(name => {\r\n\t$[name] = (url, data, success, type) => {\r\n\t\tconst isFunc = $.isFunction(data);\r\n\t\tlet settings = typeof(url) === \"object\" ? url : {\r\n\t\t\turl: url,\r\n\t\t\tdata: isFunc ? {} : data,\r\n\t\t\tsuccess: isFunc ? data : success,\r\n\t\t\tdataType: isFunc ? success : type\r\n\t\t};\r\n\t\tsettings.method = name.toUpperCase();\r\n\t\treturn $.ajax(settings);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../ajax/ajax.js\";\r\n\r\n$.getScript = (url, success) => $.ajax({\r\n\turl: url,\r\n\tdataType: \"script\",\r\n\tsuccess: success\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\nexport default (dabby, filter, context, not) => {\r\n\tlet func,\r\n\t\tnodes = dabby.nodeType ? [dabby] : Array.from(dabby);\r\n\r\n\t// sort out args\r\n\tif (typeof context === \"boolean\") {\r\n\t\tnot = context;\r\n\t\tcontext = null;\r\n\t}\r\n\r\n\t// custom filter function\r\n\tif ($.isFunction(filter)) {\r\n\t\tfunc = filter;\r\n\r\n\t// nodes\r\n\t} else {\r\n\r\n\t\t// normalise filters\r\n\t\tif (typeof filter === \"string\") {\r\n\t\t\tfilter = [filter];\r\n\t\t} else {\r\n\t\t\tfilter = Array.from($(filter, context));\r\n\t\t}\r\n\r\n\t\t// default filter function\r\n\t\tfunc = (n, node) => {\r\n\t\t\tlet i = filter.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tif (typeof(filter[i]) === \"string\" && node.matches ? node.matches(filter[i]) : node === filter[i]) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t};\r\n\t}\r\n\treturn nodes.filter((item, i) => func.call(item, i, item) === !not, nodes);\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"filter\", \"not\", \"is\"].forEach(name => {\r\n\t$.fn[name] = function (selector) {\r\n\t\tconst nodes = filterNodes(this, selector, name === \"not\");\r\n\t\treturn name === \"is\" ? !!nodes.length : $(nodes);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../ajax/ajax.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\n\r\n$.fn.load = function (url, data, success) {\r\n\tif (this[0]) {\r\n\r\n\t\t// get selector from URL\r\n\t\turl = url.split(\" \", 2);\r\n\t\tconst uri = url[0],\r\n\t\t\tselector = url[1];\r\n\r\n\t\t// check for data\r\n\t\tif ($.isFunction(data)) {\r\n\t\t\tsuccess = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// make AJAX request\r\n\t\t$.ajax(uri, {\r\n\t\t\tdata: data,\r\n\t\t\ttype: data instanceof Object ? \"POST\" : \"GET\",\r\n\t\t\tsuccess: (response, status, xhr) => {\r\n\r\n\t\t\t\t// if a selector is specified, find it in the returned document\r\n\t\t\t\tlet html = \"\",\r\n\t\t\t\t\ti = this.length;\r\n\r\n\t\t\t\t// refine by selector if supplied\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\t$(response).filter(selector).each((key, obj) => {\r\n\t\t\t\t\t\thtml += obj.outerHTML;\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\thtml = response;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst nodes = $(html).filter((i, item) => item.tagName.toLowerCase() === \"script\");\r\n\r\n\t\t\t\t// set HTML to nodes in collection\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tthis[i].innerHTML = html;\r\n\r\n\t\t\t\t\t// include any scripts as they won't execute with innerHTML\r\n\t\t\t\t\tnodes.each((i, item) => {\r\n\t\t\t\t\t\tconst src = item.getAttribute(\"src\"),\r\n\t\t\t\t\t\t\tscript = document.createElement(\"script\");\r\n\t\t\t\t\t\tif (src) {\r\n\t\t\t\t\t\t\tscript.src = src;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tscript.text = item.innerText;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdocument.head.appendChild(script);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// fire success callback on nodes\r\n\t\t\t\t\tif (success) {\r\n\t\t\t\t\t\tsuccess.call(this[i], response, status, xhr);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\n\r\nexport default (obj, val, current) => {\r\n\tlet i = obj.length,\r\n\t\tvalues = [],\r\n\t\tfuncVal = $.isFunction(val),\r\n\t\tobjVal = funcVal ? 0 : $.isPlainObject(val),\r\n\t\tfuncCurrent = $.isFunction(current);\r\n\twhile (i--) {\r\n\t\tvalues[i] = funcVal ? val.call(obj[i], i, funcCurrent ? current(obj[i]) : current) : (objVal ? Object.create(val) : val);\r\n\t}\r\n\treturn values;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../each/each.js\";\r\n\r\n$.map = (obj, callback) => {\r\n\tlet arr = [];\r\n\t$.each(obj, (i, item) => {\r\n\t\tconst result = callback.call(window, item, i);\r\n\t\tif ([null, undefined].indexOf(result) === -1) {\r\n\t\t\tarr = arr.concat(Array.isArray(result) ? result : [result]);\r\n\t\t}\r\n\t});\r\n\treturn arr;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/map/map.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.val = function (value) {\r\n\r\n\t// set value\r\n\tif (value !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, value, obj => obj.val());\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// string value, just set to value attribute\r\n\t\t\tif (!Array.isArray(values[i])) {\r\n\t\t\t\tthis[i].value = values[i];\r\n\r\n\t\t\t// array on select, set matching values to selected\r\n\t\t\t} else if (this[i].type === \"select-multiple\") {\r\n\t\t\t\tvalues[i] = values[i].map(val => String(val));\r\n\t\t\t\t$(\"option\", this[i]).each((key, obj) => {\r\n\t\t\t\t\tobj.selected = values[i].indexOf(obj.value) > -1;\r\n\t\t\t\t});\r\n\r\n\t\t\t// set the checked attribute for radios and checkbox\r\n\t\t\t} else {\r\n\t\t\t\tthis[i].checked = values[i].indexOf(this[i].value) > -1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// read value from first node\r\n\tif (this[0]) {\r\n\r\n\t\t// get multiple values\r\n\t\tif (this[0].type === \"select-multiple\") {\r\n\t\t\tlet values = [];\r\n\t\t\t$(\"option\", this[0]).each((key, obj) => {\r\n\t\t\t\tif (obj.selected) {\r\n\t\t\t\t\tvalues.push(String(obj.value));\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\treturn values;\r\n\t\t}\r\n\r\n\t\t// get single value\r\n\t\tif (this[0].type !== \"checkbox\" || this[0].checked) {\r\n\t\t\treturn String(this[0].value);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\nimport \"../../attributes/val/val.js\";\r\nimport \"../param/param.js\";\r\n\r\n$.fn.serialize = function () {\r\n\tconst selector = \"input[name]:not([type=file]):not([type=submit]):not([type=radio]):not([type=checkbox]),input[name]:checked,textarea[name],select[name]\",\r\n\t\tadd = (name, value, params) => {\r\n\t\t\tlet match;\r\n\r\n\t\t\tif ((match = name.match(/([^\\[]*)\\[([^\\]]*)\\](.*)/)) !== null) {\r\n\t\t\t\tname = match[1];\r\n\t\t\t\tlet arr = add(match[2] + match[3], value, params[name] || {});\r\n\t\t\t\tvalue = arr;\r\n\t\t\t}\r\n\r\n\t\t\tif (name !== \"\") {\r\n\t\t\t\tparams[name] = value;\r\n\t\t\t} else {\r\n\t\t\t\tif (!Array.isArray(params)) {\r\n\t\t\t\t\tparams = [];\r\n\t\t\t\t}\r\n\t\t\t\tparams = params.concat(Array.isArray(value) ? value : [value]);\r\n\t\t\t}\r\n\t\t\treturn params;\r\n\t\t};\r\n\tlet obj = this.filter(selector);\r\n\r\n\tif (!obj.length) {\r\n\t\tobj = $(selector, this);\r\n\t}\r\n\r\n\tlet params = {};\r\n\r\n\t// process values\r\n\tobj.each((key, obj) => {\r\n\t\tconst value = $(obj).val();\r\n\t\tif (!obj.disabled && value !== undefined) {\r\n\t\t\tparams = add(obj.name, value, params);\r\n\t\t}\r\n\t});\r\n\treturn $.param(params);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.get = function (i) {\r\n\treturn i === undefined ? Array.from(this) : this[i >= 0 ? i : i + this.length];\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../core/get/get.js\";\n\n$.fn.add = function (nodes, context) {\n\tnodes = $(nodes, context).get();\n\treturn $(Array.from(this).concat(nodes));\n};\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n[\"parent\", \"parents\", \"parentsUntil\"].forEach(func => {\n\tconst all = func.indexOf(\"s\") > -1,\n\t\tuntil = func.indexOf(\"U\") > -1;\n\n\t$.fn[func] = function (selector, filter) {\n\t\tlet nodes = [],\n\t\t\ti = this.length;\n\n\t\twhile (i--) {\n\t\t\tlet parent = this[i].parentNode;\n\t\t\twhile (parent && parent.nodeType === Node.ELEMENT_NODE) {\n\t\t\t\tif (until && filterNodes(parent, selector).length) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tnodes.push(parent);\n\t\t\t\tif (!all) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tparent = parent.parentNode;\n\t\t\t}\n\t\t}\n\t\tif (!until) {\n\t\t\tfilter = selector;\n\t\t}\n\t\treturn $(filter ? filterNodes(nodes, filter) : nodes);\n\t}\n});\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport \"../../traversal/add/add.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n// add and remove event handlers\r\n[\"on\", \"one\"].forEach(name => {\r\n\t$.fn[name] = function (events, selector, data, callback) {\r\n\r\n\t\t// sort out args\r\n\t\tevents = events.split(\" \");\r\n\t\tif ($.isFunction(selector)) {\r\n\t\t\tcallback = selector;\r\n\t\t\tselector = undefined;\r\n\t\t} else if ($.isFunction(data)) {\r\n\t\t\tcallback = data;\r\n\t\t\tdata = undefined;\r\n\t\t}\r\n\r\n\t\t// attach event\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\tlet e = events.length;\r\n\r\n\t\t\t// record the original function\r\n\t\t\tif (!this[i].events) {\r\n\t\t\t\tthis[i].events = [];\r\n\t\t\t}\r\n\t\t\tlet fn = function (evt) { // delegate function\r\n\t\t\t\tlet target = [this];\r\n\t\t\t\tif (selector) {\r\n\t\t\t\t\tlet t = $(evt.target);\r\n\t\t\t\t\ttarget = t.add(t.parents()).filter(selector).get(); // is the selector in the targets parents?\r\n\t\t\t\t}\r\n\t\t\t\tif (target) {\r\n\t\t\t\t\tevt.data = data; // set data to event object\r\n\t\t\t\t\tfor (let i = 0, len = target.length; i < len; i++) {\r\n\t\t\t\t\t\tif (callback.call(target[i], evt, evt.args) === false) {\r\n\t\t\t\t\t\t\tevt.preventDefault();\r\n\t\t\t\t\t\t\tevt.stopPropagation();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tthis[i].events.push({\r\n\t\t\t\tevents: events,\r\n\t\t\t\tcallback: callback,\r\n\t\t\t\tselector: selector,\r\n\t\t\t\tfunc: fn,\r\n\t\t\t\tonce: name === \"one\"\r\n\t\t\t});\r\n\r\n\t\t\t// trigger\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].addEventListener(events[e], fn, {once: name === \"one\", capture: !!selector});\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default [\"focusin\", \"focusout\", \"focus\", \"blur\", \"resize\", \"scroll\", \"unload\", \"click\", \"dblclick\", \"mousedown\", \"mouseup\", \"mousemove\", \"mouseover\", \"mouseout\", \"mouseenter\", \"mouseleave\", \"contextmenu\", \"change\", \"select\", \"keydown\", \"keypress\", \"keyup\", \"error\", \"submit\"];\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport \"../../events/on/on.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.attr = function (prop, value) {\r\n\tlet isObj = typeof prop !== \"string\",\r\n\t\tobj = {};\r\n\r\n\t// set properties\r\n\tif (isObj || value !== undefined) {\r\n\r\n\t\t// normalise to object\r\n\t\tif (!isObj) {\r\n\t\t\tobj[prop] = value;\r\n\t\t\tprop = obj;\r\n\t\t}\r\n\r\n\t\t$.each(prop, (key, val) => {\r\n\r\n\t\t\t// if event, hand it off to $.fn.on()\r\n\t\t\tif (events.indexOf(key) > -1) {\r\n\t\t\t\tthis.on(key, val);\r\n\r\n\t\t\t// process other values\r\n\t\t\t} else {\r\n\t\t\t\tlet i = this.length,\r\n\t\t\t\t\tvalues = getVal(this, val, obj => $(obj).attr(key));\r\n\t\t\t\twhile (i--) {\r\n\t\t\t\t\tif (key === \"style\") {\r\n\t\t\t\t\t\tthis[i].style.cssText = values[i];\r\n\t\t\t\t\t} else if (key === \"class\") {\r\n\t\t\t\t\t\tthis[i].className = values[i];\r\n\t\t\t\t\t} else if (key === \"text\") {\r\n\t\t\t\t\t\tthis[i].textContent = values[i];\r\n\t\t\t\t\t} else if (values[i] === null) {\r\n\t\t\t\t\t\tthis[i].removeAttribute(key);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis[i].setAttribute(key, values[i]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// retrieve properties\r\n\tif (this[0]) {\r\n\t\tif (prop === \"style\") {\r\n\t\t\treturn this[0].style.cssText;\r\n\t\t}\r\n\t\tif (prop === \"class\") {\r\n\t\t\treturn this[0].className;\r\n\t\t}\r\n\t\treturn this[0].getAttribute(prop);\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\nconst funcs = [];\r\n[\"removeClass\", \"addClass\", \"toggleClass\"].forEach((func, f) => {\r\n\r\n\t// remove \"Class\" from name for classList method and remember\r\n\tfuncs.push(func.substr(0, func.length - 5));\r\n\r\n\t// create function\r\n\t$.fn[func] = function (cls, state) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, cls, obj => obj.className),\r\n\t\t\tkey = f;\r\n\r\n\t\tif (func === \"toggleClass\" && typeof state === \"boolean\") {\r\n\t\t\tkey = 0 + state;\r\n\t\t}\r\n\r\n\t\t// manage classes on nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (typeof values[i] === \"string\") {\r\n\t\t\t\tvalues[i] = values[i].split(\" \");\r\n\t\t\t}\r\n\t\t\tfor (let n = 0, len = values[i].length; n < len; n++) {\r\n\t\t\t\tthis[i].classList[funcs[key]](values[i][n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","export default prop => prop.replace(/-([\\w])/g, (text, letter) => letter.toUpperCase()); // matches underscore too but you shouldn't do that anyway\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/each/each.js\";\r\nimport getVal from \"../getval/getval.js\";\r\nimport camelise from \"../camelise/camelise.js\";\r\n\r\nexport default (dabby, props, value) => {\r\n\r\n\t// normalise props\r\n\tif (typeof props === \"string\") {\r\n\t\tconst name = props;\r\n\t\tprops = {};\r\n\t\tprops[name] = value;\r\n\t}\r\n\r\n\t// prepare values\r\n\tlet values = {};\r\n\t$.each(props, (i, prop) => {\r\n\t\tvalues[camelise(i)] = getVal(dabby, prop, obj => obj.style[i]);\r\n\t});\r\n\r\n\t// set properties\r\n\t$.each(values, (key, val) => {\r\n\t\tlet i = dabby.length;\r\n\t\twhile (i--) {\r\n\t\t\tdabby[i].style[key] = val[i] + (!val[i] || isNaN(val[i]) ? \"\" : \"px\");\r\n\t\t}\r\n\t});\r\n\treturn dabby;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport setCss from \"../../internal/setcss/setcss.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.css = function (props, value) {\r\n\r\n\t// set the values\r\n\tif (value !== undefined || $.isPlainObject(props)) {\r\n\t\treturn setCss(this, props, value);\r\n\t}\r\n\r\n\t// retrieve value from first property\r\n\tif (this[0]) {\r\n\t\tlet name = props,\r\n\t\t\ti,\r\n\t\t\tstyle = getComputedStyle(this[0], \"\"),\r\n\t\t\toutput = {},\r\n\t\t\tret = false;\r\n\r\n\t\tif (typeof name === \"string\") {\r\n\t\t\tprops = [name];\r\n\t\t\tret = true;\r\n\t\t}\r\n\t\ti = props.length;\r\n\t\twhile (i--) {\r\n\t\t\toutput[props[i]] = style[camelise(props[i])];\r\n\t\t\tif (ret) {\r\n\t\t\t\treturn output[props[i]];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn output;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport camelise from \"../../internal/camelise/camelise.js\";\r\n\r\n$.fn.data = function (name, data) {\r\n\r\n\t// convert data to object\r\n\tif (typeof name === \"object\") {\r\n\t\tdata = name;\r\n\t} else if (data !== undefined) {\r\n\t\tlet temp = {};\r\n\t\ttemp[name] = data;\r\n\t\tdata = temp;\r\n\t}\r\n\r\n\t// set value\r\n\tif (data !== undefined) {\r\n\t\tlet i = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(data, (key, value) => {\r\n\t\t\t\tthis[i].dataset[camelise(key)] = typeof value === \"object\" ? JSON.stringify(value) : value;\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get value\r\n\tif (this[0] && this[0].dataset) {\r\n\t\tlet parse = value => {\r\n\t\t\ttry {\r\n\t\t\t\treturn JSON.parse(value);\r\n\t\t\t} catch (e) {\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// all properties\r\n\t\tif (name === undefined) {\r\n\t\t\tlet arr = {};\r\n\t\t\t$.each(this[0].dataset, (key, value) => {\r\n\t\t\t\tarr[key] = parse(value);\r\n\t\t\t});\r\n\t\t\treturn arr;\r\n\t\t}\r\n\r\n\t\t// retrieve specific property\r\n\t\tname = camelise(name);\r\n\t\tif (this[0].dataset.hasOwnProperty(name)) {\r\n\t\t\treturn parse(this[0].dataset[name]);\r\n\t\t}\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.hasClass = function (cls) {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\tif (this[i].classList.contains(cls)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n","export default prop => {\r\n\tlet properties = {\r\n\t\t\"for\": \"htmlFor\",\r\n\t\t\"class\": \"className\",\r\n\t\t\"tabindex\": \"tabIndex\",\r\n\t\t\"readonly\": \"readOnly\",\r\n\t\t\"maxlength\": \"maxLength\",\r\n\t\t\"cellspacing\": \"cellSpacing\",\r\n\t\t\"cellpadding\": \"cellPadding\",\r\n\t\t\"rowspan\": \"rowSpan\",\r\n\t\t\"colspan\": \"colSpan\",\r\n\t\t\"usemap\": \"useMap\",\r\n\t\t\"frameborder\": \"frameBorder\",\r\n\t\t\"contenteditable\": \"contentEditable\"\r\n\t};\r\n\tprop = prop.toLowerCase();\r\n\treturn properties[prop] || prop;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isplainobject/isplainobject.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.prop = function (prop, value) {\r\n\tconst isObj = $.isPlainObject(prop);\r\n\r\n\t// set\r\n\tif (value !== undefined || isObj) {\r\n\r\n\t\t// normalise values\r\n\t\tif (!isObj) {\r\n\t\t\tconst tmp = {};\r\n\t\t\ttmp[prop] = value;\r\n\t\t\tprop = tmp;\r\n\t\t}\r\n\r\n\t\t// retrieve values\r\n\t\tlet values = {};\r\n\t\t$.each(prop, (key, val) => {\r\n\t\t\tvalues[getProp(key)] = getVal(this, val, obj => obj[key]);\r\n\t\t});\r\n\r\n\t\t// set properties\r\n\t\t$.each(values, (key, val) => {\r\n\t\t\tlet i = this.length;\r\n\t\t\twhile (i--) {\r\n\t\t\t\tthis[i][key] = val[i];\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0][getProp(prop)];\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getProp from \"../../internal/getprop/getprop.js\";\r\n\r\n$.fn.removeProp = function (prop) {\r\n\tlet i = this.length;\r\n\tprop = getProp(prop);\r\n\r\n\twhile (i--) {\r\n\t\tdelete this[i][prop];\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\n\n// store for current values\nconst display = [],\n\tobj = [],\n\tdefaults = [],\n\tvalues = [\"none\", \"block\"];\n\n[\"hide\", \"show\", \"toggle\"].forEach((func, n) => {\n\n\t// attach function\n\t$.fn[func] = function (show) {\n\n\t\t// for toggle they can set the show value\n\t\tif (n === 2 && typeof show !== \"undefined\") {\n\t\t\tn = parseInt(show);\n\t\t}\n\n\t\t// loop through each node\n\t\tlet i = this.length;\n\t\twhile (i--) {\n\t\t\tlet item = obj.indexOf(this[i]),\n\t\t\t\tcurrent = item > -1 && n < 2 ? null : getComputedStyle(this[i]).display;\n\n\t\t\t// cache the initial value of the current\n\t\t\tif (item === -1) {\n\t\t\t\titem = obj.length;\n\t\t\t\tobj.push(this[i]);\n\t\t\t\tdisplay.push(current);\n\t\t\t\tdefaults.push(this[i].style.display);\n\t\t\t}\n\n\t\t\t// determine if we are going to show or hide\n\t\t\tlet value = values[n] || (current === \"none\" ? \"block\" : \"none\");\n\n\t\t\t// if show update the block value to the initial if it was not \"none\"\n\t\t\tif (value !== \"none\" && display[item] !== \"none\") {\n\t\t\t\tvalue = display[item];\n\t\t\t}\n\n\t\t\t// update the value, use the default if setting back to initial\n\t\t\tthis[i].style.display = value === display[item] ? defaults[item] : value;\n\t\t}\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.map = function (callback) {\r\n\tlet len = this.length,\r\n\t\tvalues = [],\r\n\t\ti = 0;\r\n\r\n\tfor (; i < len; i++) {\r\n\t\tvalues.push(callback.call(this[i], i, this[i]));\r\n\t}\r\n\treturn values;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.offset = function (coords) {\r\n\r\n\t// set\r\n\tif (coords) {\r\n\r\n\t\t// prepare values\r\n\t\tlet values = getVal(this, coords, obj => obj.offset()), // copy the object\r\n\t\t\ti = this.length;\r\n\r\n\t\twhile (i--) {\r\n\r\n\t\t\t// set position to relative if not positioned\r\n\t\t\tlet pos = getComputedStyle(this[i]).position;\r\n\t\t\tif (pos === \"static\") {\r\n\t\t\t\tvalues[i].position = pos = \"relative\";\r\n\t\t\t}\r\n\r\n\t\t\t// take off offset parent position\r\n\t\t\tconst parent = this[i][pos === \"relative\" ? \"parentNode\" : \"offsetParent\"];\r\n\t\t\t$.each($(parent).offset(), (key, val) => values[i][key] -= val);\r\n\r\n\t\t\t// relative add inner offset\r\n\t\t\tif (pos === \"relative\") {\r\n\t\t\t\tconst style = getComputedStyle(parent);\r\n\t\t\t\tvalues[i].top -= parseFloat(style.paddingTop) + parseFloat(style.borderTopWidth);\r\n\t\t\t\tvalues[i].left -= parseFloat(style.paddingLeft) + parseFloat(style.borderLeftWidth);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// update values in one hit to prevent thrashing\r\n\t\ti = this.length;\r\n\t\twhile (i--) {\r\n\t\t\t$.each(values[i], (key, val) => this[i].style[key] = val + (isNaN(val) ? \"\" : \"px\"));\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\tconst doc = document.documentElement,\r\n\t\t\tpos = this[0].style.position === \"fixed\",\r\n\t\t\trect = this[0].getBoundingClientRect();\r\n\t\treturn {\r\n\t\t\ttop: rect.top + (pos ? 0 : doc.scrollTop),\r\n\t\t\tleft: rect.left + (pos ? 0 : doc.scrollLeft)\r\n\t\t};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.offsetParent = function () {\r\n\treturn $(this[0] ? this[0].offsetParent : null);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.position = function () {\r\n\tif (this[0]) {\r\n\t\treturn {left: this[0].offsetLeft, top: this[0].offsetTop};\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\nimport getVal from \"../../internal/getval/getval.js\";\nimport \"../../utils/iswindow/iswindow.js\";\n\n[\"scrollLeft\", \"scrollTop\"].forEach(item => {\n\t$.fn[item] = function (pos) {\n\t\tconst top = item === \"scrollTop\";\n\n\t\t// set\n\t\tif (pos !== undefined) {\n\t\t\tlet i = this.length,\n\t\t\t\ttl = top ? \"top\" : \"left\",\n\t\t\t\tvalues = getVal(this, pos, obj => obj[item]);\n\n\t\t\twhile (i--) {\n\t\t\t\tif ($.isWindow(this[i])) {\n\t\t\t\t\tlet obj = {};\n\t\t\t\t\tobj[tl] = values[i];\n\t\t\t\t\tthis[i].scroll(obj);\n\t\t\t\t} else {\n\t\t\t\t\tthis[i][item] = values[i];\n\t\t\t\t}\n\t\t\t};\n\t\t\treturn this;\n\t\t}\n\n\t\t// get\n\t\tif (this[0]) {\n\t\t\tlet key = item;\n\t\t\tif ($.isWindow(this[0])) {\n\t\t\t\tkey = top ? \"pageYOffset\" : \"pageXOffset\";\n\t\t\t}\n\t\t\treturn this[0][key];\n\t\t}\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../../utils/iswindow/iswindow.js\";\r\n\r\n[\"width\", \"height\", \"innerWidth\", \"innerHeight\", \"outerWidth\", \"outerHeight\"].forEach(dim => {\r\n\r\n\t$.fn[dim] = function (val) {\r\n\t\tconst width = dim.indexOf(\"d\") > -1,\r\n\t\t\twh = width ? \"width\" : \"height\", // width or height\r\n\t\t\twhu = width ? \"Width\" : \"Height\", // with uppercase letter\r\n\t\t\tio = dim.indexOf(\"inner\") > -1 ? \"inner\" : (dim.indexOf(\"outer\") > -1 ? \"outer\" : \"\"), // inner outer or neither\r\n\t\t\tpos = [\r\n\t\t\t\twidth ? \"Left\" : \"Top\", // first dimension\r\n\t\t\t\twidth ? \"Right\" : \"Bottom\" // second dimension\r\n\t\t\t];\r\n\r\n\t\t// set value\r\n\t\tif (val !== undefined && typeof(val) !== \"boolean\") {\r\n\t\t\tlet values = getVal(this, val, obj => obj[dim]),\r\n\t\t\t\ti = this.length,\r\n\t\t\t\tprops = [],\r\n\t\t\t\tstyle;\r\n\t\t\twhile (i--) {\r\n\r\n\t\t\t\t// add additional lengths\r\n\t\t\t\tif (io) {\r\n\r\n\t\t\t\t\t// fetch current style and build properties\r\n\t\t\t\t\tpos.forEach(item => {\r\n\t\t\t\t\t\tprops.push(\"padding\" + item);\r\n\t\t\t\t\t\tif (io === \"outer\") {\r\n\t\t\t\t\t\t\tprops.push(\"border\" + item + \"Width\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// set width to convert to a px value\r\n\t\t\t\t\tif (isNaN(values[i]) && values[i].indexOf(\"px\") === -1) {\r\n\t\t\t\t\t\tthis[i].style[wh] = values[i];\r\n\t\t\t\t\t\tprops.push(wh);\r\n\t\t\t\t\t\tvalues[i] = 0; // reset to 0\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// add values\r\n\t\t\t\t\tstyle = getComputedStyle(this[i]);\r\n\t\t\t\t\tprops.forEach(val => values[i] -= parseFloat(style[val]));\r\n\t\t\t\t}\r\n\t\t\t\tthis[i].style[wh] = values[i] + (isNaN(values[i]) ? \"\" : \"px\");\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\t// get value\r\n\t\tif (this[0]) {\r\n\r\n\t\t\t// document\r\n\t\t\tif (this[0].nodeType === Node.DOCUMENT_NODE) {\r\n\t\t\t\treturn this[0].documentElement[\"scroll\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\t// element\r\n\t\t\tif (!$.isWindow(this[0])) {\r\n\t\t\t\tlet value = this[0][(io === \"outer\" ? \"offset\" : \"client\") + whu];\r\n\r\n\t\t\t\t// add padding on, or if outer and margins requested, add margins on\r\n\t\t\t\tif (io === \"\" || (io === \"outer\" && val === true)) {\r\n\t\t\t\t\tconst style = getComputedStyle(this[0]);\r\n\t\t\t\t\tpos.forEach(item => value += parseFloat(style[(io ? \"margin\" : \"padding\") + item]) * (io ? 1 : -1));\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\r\n\t\t\t// window\r\n\t\t\tif (io === \"inner\") {\r\n\t\t\t\treturn this[0].document.documentElement[\"client\" + whu];\r\n\t\t\t}\r\n\r\n\t\t\treturn this[0][\"inner\" + whu];\r\n\t\t}\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/isfunction/isfunction.js\";\n\n$.fn.trigger = function (name, data) {\n\tlet i = this.length;\n\twhile (i--) {\n\t\tlet isFunc = $.isFunction(this[i][name]);\n\n\t\t// native submit event doesn't trigger event handlers\n\t\tif (name == \"submit\" || !isFunc) {\n\t\t\tconst evt = new CustomEvent(name, {bubbles: true, cancelable: true});\n\t\t\tevt.args = data;\n\t\t\tthis[i].dispatchEvent(evt);\n\n\t\t\t// cancel submit event if default is prevented\n\t\t\tif (evt.defaultPrevented) {\n\t\t\t\tisFunc = false;\n\t\t\t}\n\t\t}\n\n\t\t// trigger native event\n\t\tif (isFunc) {\n\t\t\tthis[i][name]();\n\t\t}\n\t}\n\treturn this;\n};\n","import $ from \"../../core/core.js\";\r\nimport events from \"../../internal/getevents/getevents.js\";\r\nimport \"../on/on.js\";\r\nimport \"../trigger/trigger.js\";\r\n\r\nevents.forEach(event => {\r\n\t$.fn[event] = function (data, callback) {\r\n\t\treturn data ? this.on(event, data, callback) : this.trigger(event);\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\n\r\n// add and remove event handlers\r\n$.fn.off = function (events, selector, data, callback) {\r\n\r\n\t// sort out args\r\n\tevents = events.split(\" \");\r\n\tif ($.isFunction(selector)) {\r\n\t\tcallback = selector;\r\n\t\tselector = undefined;\r\n\t} else if ($.isFunction(data)) {\r\n\t\tcallback = data;\r\n\t\tdata = undefined;\r\n\t}\r\n\r\n\t// attach event\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\r\n\t\t// find the original function\r\n\t\tif (this[i].events.length) {\r\n\t\t\tlet e = events.length;\r\n\t\t\twhile (e--) {\r\n\t\t\t\tthis[i].events.forEach((evt, n) => {\r\n\t\t\t\t\tconst index = evt.events.indexOf(events[e]);\r\n\t\t\t\t\tif (index !== -1 && (!callback || evt.callback === callback) && (!selector || evt.selector === selector)) {\r\n\t\t\t\t\t\tthis[i].removeEventListener(events[e], evt.func, {once: evt.once, capture: !!evt.selector}); // must pass same arguments\r\n\t\t\t\t\t\tthis[i].events[n].events.splice(index, 1);\r\n\t\t\t\t\t\tif (!this[i].events[n].events.length) {\r\n\t\t\t\t\t\t\tthis[i].events.splice(n, 1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.clone = function () {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes[i] = this[i].cloneNode(true);\r\n\t}\r\n\treturn $(nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.empty = function () {\r\n\tlet i = this.length;\r\n\twhile (i--) {\r\n\t\twhile (this[i].firstChild && this[i].removeChild(this[i].firstChild));\r\n\t}\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.html = function (html) {\r\n\r\n\t// set\r\n\tif (html !== undefined) {\r\n\t\tlet i = this.length,\r\n\t\t\tvalues = getVal(this, html, obj => obj.innerHTML);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].innerHTML = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\tif (this[0]) {\r\n\t\treturn this[0].innerHTML;\r\n\t}\r\n};\r\n","import $ from \"../../core/core.js\";\nimport \"../../utils/isfunction/isfunction.js\";\nimport \"../../traversal/add/add.js\";\nimport getVal from \"../../internal/getval/getval.js\";\n\n$.each({\n\tbefore: \"beforeBegin\",\n\tprepend: \"afterBegin\",\n\tappend: \"beforeEnd\",\n\tafter: \"afterEnd\"\n}, (name, pos) => {\n\n\t// function tracking variables\n\tconst pre = [\"prepend\", \"after\"].indexOf(name) > -1;\n\n\t// the function\n\t$.fn[name] = function (...content) {\n\t\tlet elems,\n\t\t\ti = this.length,\n\t\t\tlen = i;\n\n\t\t// retireve nodes from function\n\t\tif ($.isFunction(content[0])) {\n\t\t\telems = $(getVal(this, content[0], obj => obj.innerHTML));\n\n\t\t// multiple arguments containing nodes\n\t\t} else {\n\t\t\telems = content.reduce((dabby, item) => dabby.add(item), $());\n\t\t}\n\n\t\t// insert objects onto each element in collection\n\t\twhile (i--) {\n\t\t\tlet backwards = elems.length, // for counting down\n\t\t\t\tforwards = -1; // for counting up\n\t\t\twhile (pre ? backwards-- : ++forwards < backwards) { // insert forwards or backwards?\n\t\t\t\tthis[i].insertAdjacentElement(pos, i === len-1 ? elems[pre ? backwards : forwards] : elems[pre ? backwards : forwards].cloneNode(true));\n\t\t\t}\n\t\t}\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\nimport \"../insert/insert.js\";\n\n$.each({\n\tprependTo: \"prepend\",\n\tappendTo: \"append\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\"\n}, (name, func) => {\n\t$.fn[name] = function (selector) {\n\t\t$(selector)[func](this);\n\t\treturn this;\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n[\"remove\", \"detach\"].forEach(func => {\r\n\t$.fn[func] = function (selector) {\r\n\t\tlet i = this.length,\r\n\t\t\tnodes = [],\r\n\t\t\tobj = [];\r\n\r\n\t\t// detach selected nodes\r\n\t\twhile (i--) {\r\n\t\t\tif (!selector || filterNodes(this[i], selector).length) {\r\n\t\t\t\tnodes.push(this[i].parentNode.removeChild(this[i]));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// create a new dabby object to return\r\n\t\treturn func === \"detach\" ? $(nodes) : this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../utils/isfunction/isfunction.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n[\"replaceWith\", \"replaceAll\"].forEach(name => {\r\n\t$.fn[name] = function (html) {\r\n\t\tconst all = name === \"replaceAll\",\r\n\t\t\tsource = all ? $(html) : this;\r\n\t\tlet target = all ? this : html,\r\n\t\t\tisFunc = $.isFunction(target),\r\n\t\t\ti = source.length;\r\n\r\n\t\tif (!isFunc) {\r\n\t\t\ttarget = $(target);\r\n\t\t}\r\n\r\n\t\twhile (i--) {\r\n\t\t\tlet n = target.length,\r\n\t\t\t\tparent = source[i].parentNode;\r\n\t\t\twhile (n--) {\r\n\t\t\t\tconst replace = isFunc ? getVal(target[n], n, target[n]) : target[n];\r\n\t\t\t\tif (n) {\r\n\t\t\t\t\tsource[i].insertAdjacentElement(\"beforebegin\", replace.cloneNode(true));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsource[i] = parent.replaceChild(i ? replace.cloneNode(true) : replace, source[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this;\r\n\t};\r\n});\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.slice = function (start, end) {\r\n\treturn $(this.get().slice(start, end));\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\n\r\n$.fn.text = function (text) {\r\n\tlet i = this.length,\r\n\t\toutput = [];\r\n\r\n\t// set\r\n\tif (text !== undefined) {\r\n\t\tconst values = getVal(this, text, obj => obj.textContent);\r\n\t\twhile (i--) {\r\n\t\t\tthis[i].textContent = values[i];\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\t// get\r\n\twhile (i--) {\r\n\t\toutput[i] = this[i].textContent;\r\n\t}\r\n\treturn output.join(\" \");\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../traversal/parents/parents.js\";\r\nimport \"../../traversal/filter/filter.js\";\r\nimport \"../../core/each/each.js\";\r\n\r\n$.fn.unwrap = function (selector) {\r\n\tthis.parent(selector).not(\"body\").each((key, obj) => {\r\n\t\t$(obj.children).each((i, node) => {\r\n\t\t\tobj.parentNode.insertBefore(node, obj);\r\n\t\t});\r\n\t\tobj.parentNode.removeChild(obj);\r\n\t});\r\n\treturn this;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../utils/isfunction/isfunction.js\";\r\n\r\n$.fn.wrapAll = function (html) {\r\n\tif (this[0]) {\r\n\t\tif ($.isFunction(html)) {\r\n\t\t\thtml = html.call(this[0]);\r\n\t\t}\r\n\r\n\t\t// set variables\r\n\t\tlet len = this.length,\r\n\t\t\ti = 0,\r\n\t\t\tnode = $(html)[0].cloneNode(true);\r\n\r\n\t\t// insert clone into parent\r\n\t\tthis[0].parentNode.insertBefore(node, null);\r\n\r\n\t\t// find innermost child of node\r\n\t\twhile (node.firstElementChild) {\r\n\t\t\tnode = node.firstElementChild;\r\n\t\t}\r\n\r\n\t\t// attach nodes to the new node\r\n\t\tfor (; i < len; i++) {\r\n\t\t\tnode.appendChild(this[i]);\r\n\t\t}\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport getVal from \"../../internal/getval/getval.js\";\r\nimport \"../wrapall/wrapall.js\";\r\n\r\n$.fn.wrap = function (html) {\r\n\tlet i = this.length,\r\n\t\tvalues = getVal(this, html);\r\n\r\n\twhile (i--) {\r\n\t\t$(this[i]).wrapAll(values[i]);\r\n\t}\r\n\treturn this;\r\n}\r\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.children = function (selector) {\r\n\tlet nodes = [],\r\n\t\ti = this.length;\r\n\r\n\twhile (i--) {\r\n\t\tnodes = nodes.concat(Array.from(this[i].children));\r\n\t}\r\n\r\n\t// filter nodes by selector\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n$.fn.closest = function (selector, context) {\n\tlet i = this.length,\n\t\tnodes = [];\n\n\twhile (i--) {\n\t\tlet node = this[i];\n\t\twhile (node && node.nodeType === Node.ELEMENT_NODE) {\n\t\t\tif (filterNodes(node, selector, context).length) {\n\t\t\t\tnodes.unshift(node);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnode = node.parentNode;\n\t\t}\n\t}\n\treturn $(nodes);\n};\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.eq = function (i) {\r\n\treturn $(this[i < 0 ? i + this.length : i]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.find = function (selector) {\r\n\treturn $(selector, this);\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.first = function () {\r\n\treturn $(this[0]);\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../../core/get/get.js\";\r\n\r\n$.fn.has = function (selector) {\r\n\treturn $(this.get().filter(node => !!$(selector, node).length));\r\n};\r\n","import $ from \"../../core/core.js\";\r\n\r\n$.fn.index = function (selector) {\r\n\r\n\tif (this[0]) {\r\n\t\tlet nodes,\r\n\t\t\tsubject = this[0],\r\n\t\t\ti;\r\n\r\n\t\t// if no selector, match against first elements siblings\r\n\t\tif (selector === undefined) {\r\n\t\t\tnodes = this[0].parentNode.children;\r\n\r\n\t\t// if selector is string, match first node in current collection against resulting collection\r\n\t\t} else if (typeof selector === \"string\") {\r\n\t\t\tnodes = $(selector);\r\n\r\n\t\t// if element or collection match the element or first node against current collection\r\n\t\t} else {\r\n\t\t\tnodes = this;\r\n\t\t\tsubject = $(selector)[0];\r\n\t\t}\r\n\r\n\t\ti = nodes.length;\r\n\t\twhile (i--) {\r\n\t\t\tif (nodes[i] === subject) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn -1;\r\n};\r\n","import $ from \"../../core/core.js\";\r\nimport \"../eq/eq.js\";\r\n\r\n$.fn.last = function () {\r\n\treturn this.eq(-1);\r\n};\r\n","import $ from \"../../core/core.js\";\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\n\n[\"next\", \"nextAll\", \"nextUntil\", \"prev\", \"prevAll\", \"prevUntil\"].forEach(func => {\n\tconst next = func.indexOf(\"x\") > -1,\n\t\tall = func.indexOf(\"A\") > -1,\n\t\tuntil = func.indexOf(\"U\") > -1,\n\t\tmethod = next ? \"nextElementSibling\" : \"previousElementSibling\";\n\n\t$.fn[func] = function (selector, filter) {\n\t\tlet nodes = [];\n\n\t\t// look through each node and get siblings\n\t\tfor (let i = 0, len = this.length; i < len; i++) {\n\t\t\tlet sibling = this[i][method];\n\t\t\twhile (sibling) {\n\n\t\t\t\t// end when we match until\n\t\t\t\tif (until && filterNodes(sibling, selector).length) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t// add the node\n\t\t\t\tnodes.push(sibling);\n\n\t\t\t\t// end when not finding all\n\t\t\t\tif (!all && !until) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tsibling = sibling[method];\n\t\t\t}\n\t\t}\n\n\t\t// swap args for *Until methods\n\t\tif (until) {\n\t\t\tselector = filter;\n\t\t}\n\n\t\t// return new collection\n\t\treturn $(selector ? filterNodes(nodes, selector) : nodes);\n\t};\n});\n","import $ from \"../../core/core.js\";\r\nimport filterNodes from \"../../internal/filternodes/filternodes.js\";\r\n\r\n$.fn.siblings = function (selector) {\r\n\tlet i = this.length,\r\n\t\tnodes = [];\r\n\r\n\twhile (i--) {\r\n\t\tArray.from(this[i].parentNode.children).forEach(child => {\r\n\t\t\tif (child !== this[i]) {\r\n\t\t\t\tnodes.push(child);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\treturn $(selector ? filterNodes(nodes, selector) : nodes);\r\n};\r\n"],"names":[],"mappings":";;AAAA,MAAM,CAAC,GAAG,SAAS,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE;;;CAG3C,IAAI,IAAI,YAAY,KAAK,EAAE;;;EAG1B,MAAM,KAAK,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;EAC5H,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;EAC3B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;EAC3B,OAAO,IAAI,CAAC;EACZ;;;CAGD,IAAI,QAAQ,YAAY,KAAK,EAAE;EAC9B,OAAO,QAAQ,CAAC;EAChB;;CAED,IAAI,KAAK,GAAG,EAAE;EACb,KAAK,CAAC;;;CAGP,IAAI,QAAQ,EAAE;;;EAGb,IAAI,QAAQ,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;GAC9C,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;;;GAGnB,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE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,IAAI;GACxD,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE;IACtB,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClB;GACD,CAAC,CAAC;EACH;CACD,OAAO,CAAC,CAAC,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC;CAC1D,CAAC;;;;"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 1da6158..045904a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,35 +1,35 @@ { "name": "dabbyjs", - "version": "0.9.8", + "version": "0.9.9", "lockfileVersion": 1, "requires": true, "dependencies": { "@babel/code-frame": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", - "integrity": "sha1-BuKrGb21NThVWaq7W6WXKUgoAPg=", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", + "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", "dev": true, "requires": { "@babel/highlight": "^7.0.0" } }, "@babel/core": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.4.4.tgz", - "integrity": "sha512-lQgGX3FPRgbz2SKmhMtYgJvVzGZrmjaF4apZ2bLwofAKiSjxU0drPh4S/VasyYXwaTs+A1gvQ45BN8SQJzHsQQ==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.5.5.tgz", + "integrity": "sha512-i4qoSr2KTtce0DmkuuQBV4AuQgGPUcPXMr9L5MyYAtk06z068lQ10a4O009fe5OB/DfNV+h+qqT7ddNV8UnRjg==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.4.4", - "@babel/helpers": "^7.4.4", - "@babel/parser": "^7.4.4", + "@babel/code-frame": "^7.5.5", + "@babel/generator": "^7.5.5", + "@babel/helpers": "^7.5.5", + "@babel/parser": "^7.5.5", "@babel/template": "^7.4.4", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4", + "@babel/traverse": "^7.5.5", + "@babel/types": "^7.5.5", "convert-source-map": "^1.1.0", "debug": "^4.1.0", "json5": "^2.1.0", - "lodash": "^4.17.11", + "lodash": "^4.17.13", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" @@ -44,6 +44,12 @@ "ms": "^2.1.1" } }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + }, "semver": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", @@ -53,22 +59,30 @@ } }, "@babel/generator": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.4.4.tgz", - "integrity": "sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.5.5.tgz", + "integrity": "sha512-ETI/4vyTSxTzGnU2c49XHv2zhExkv9JHLTwDAFz85kmcwuShvYG2H08FwgIguQf4JC75CBnXAUM5PqeF4fj0nQ==", "dev": true, "requires": { - "@babel/types": "^7.4.4", + "@babel/types": "^7.5.5", "jsesc": "^2.5.1", - "lodash": "^4.17.11", + "lodash": "^4.17.13", "source-map": "^0.5.0", "trim-right": "^1.0.1" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@babel/helper-annotate-as-pure": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz", - "integrity": "sha1-Mj053QtQ4Qx8Bsp9djjmhk2MXDI=", + "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==", "dev": true, "requires": { "@babel/types": "^7.0.0" @@ -77,7 +91,7 @@ "@babel/helper-builder-binary-assignment-operator-visitor": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz", - "integrity": "sha1-a2lijf5Ah3mODE7Zjj1Kay+9L18=", + "integrity": "sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==", "dev": true, "requires": { "@babel/helper-explode-assignable-expression": "^7.1.0", @@ -96,20 +110,28 @@ } }, "@babel/helper-define-map": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.4.4.tgz", - "integrity": "sha512-IX3Ln8gLhZpSuqHJSnTNBWGDE9kdkTEWl21A/K7PQ00tseBwbqCHTvNLHSBd9M0R5rER4h5Rsvj9vw0R5SieBg==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.5.5.tgz", + "integrity": "sha512-fTfxx7i0B5NJqvUOBBGREnrqbTxRh7zinBANpZXAVDlsZxYdclDp467G1sQ8VZYMnAURY3RpBUAgOYT9GfzHBg==", "dev": true, "requires": { "@babel/helper-function-name": "^7.1.0", - "@babel/types": "^7.4.4", - "lodash": "^4.17.11" + "@babel/types": "^7.5.5", + "lodash": "^4.17.13" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@babel/helper-explode-assignable-expression": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz", - "integrity": "sha1-U3+hP28WdN90WwwA7I/k6ZaByPY=", + "integrity": "sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", @@ -119,7 +141,7 @@ "@babel/helper-function-name": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", - "integrity": "sha1-oM6wFoX3M1XUNgwSR/WCv6/I/1M=", + "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.0.0", @@ -130,7 +152,7 @@ "@babel/helper-get-function-arity": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", - "integrity": "sha1-g1ctQyDipGVyY3NBE8QoaLZOScM=", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", "dev": true, "requires": { "@babel/types": "^7.0.0" @@ -146,41 +168,49 @@ } }, "@babel/helper-member-expression-to-functions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz", - "integrity": "sha1-jNFLCg33/wDwCefXpDaUX0fHoW8=", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.5.5.tgz", + "integrity": "sha512-5qZ3D1uMclSNqYcXqiHoA0meVdv+xUEex9em2fqMnrk/scphGlGgg66zjMrPJESPwrFJ6sbfFQYUSa0Mz7FabA==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "^7.5.5" } }, "@babel/helper-module-imports": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz", - "integrity": "sha1-lggbcRHkhtpNLNlxrRpP4hbMLj0=", + "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==", "dev": true, "requires": { "@babel/types": "^7.0.0" } }, "@babel/helper-module-transforms": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.4.4.tgz", - "integrity": "sha512-3Z1yp8TVQf+B4ynN7WoHPKS8EkdTbgAEy0nU0rs/1Kw4pDgmvYH3rz3aI11KgxKCba2cn7N+tqzV1mY2HMN96w==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.5.5.tgz", + "integrity": "sha512-jBeCvETKuJqeiaCdyaheF40aXnnU1+wkSiUs/IQg3tB85up1LyL8x77ClY8qJpuRJUcXQo+ZtdNESmZl4j56Pw==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.0.0", "@babel/helper-simple-access": "^7.1.0", "@babel/helper-split-export-declaration": "^7.4.4", "@babel/template": "^7.4.4", - "@babel/types": "^7.4.4", - "lodash": "^4.17.11" + "@babel/types": "^7.5.5", + "lodash": "^4.17.13" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@babel/helper-optimise-call-expression": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz", - "integrity": "sha1-opIMVwKwc8Fd5REGIAqoytIEl9U=", + "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==", "dev": true, "requires": { "@babel/types": "^7.0.0" @@ -189,22 +219,30 @@ "@babel/helper-plugin-utils": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", - "integrity": "sha1-u7P77phmHFaQNCN8wDlnupm08lA=", + "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", "dev": true }, "@babel/helper-regex": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.4.4.tgz", - "integrity": "sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz", + "integrity": "sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw==", "dev": true, "requires": { - "lodash": "^4.17.11" + "lodash": "^4.17.13" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@babel/helper-remap-async-to-generator": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz", - "integrity": "sha1-Nh2AghtvONp1vT8HheziCojF/n8=", + "integrity": "sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.0.0", @@ -215,21 +253,21 @@ } }, "@babel/helper-replace-supers": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.4.4.tgz", - "integrity": "sha512-04xGEnd+s01nY1l15EuMS1rfKktNF+1CkKmHoErDppjAAZL+IUBZpzT748x262HF7fibaQPhbvWUl5HeSt1EXg==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.5.5.tgz", + "integrity": "sha512-XvRFWrNnlsow2u7jXDuH4jDDctkxbS7gXssrP4q2nUD606ukXHRvydj346wmNg+zAgpFx4MWf4+usfC93bElJg==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.0.0", + "@babel/helper-member-expression-to-functions": "^7.5.5", "@babel/helper-optimise-call-expression": "^7.0.0", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4" + "@babel/traverse": "^7.5.5", + "@babel/types": "^7.5.5" } }, "@babel/helper-simple-access": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz", - "integrity": "sha1-Ze65VMjCRb6qToWdphiPOdceWFw=", + "integrity": "sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==", "dev": true, "requires": { "@babel/template": "^7.1.0", @@ -248,7 +286,7 @@ "@babel/helper-wrap-function": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz", - "integrity": "sha1-xOABJEV2nigVtVKW6tQ6lYVJ9vo=", + "integrity": "sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==", "dev": true, "requires": { "@babel/helper-function-name": "^7.1.0", @@ -258,68 +296,37 @@ } }, "@babel/helpers": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.4.tgz", - "integrity": "sha512-igczbR/0SeuPR8RFfC7tGrbdTbFL3QTvH6D+Z6zNxnTe//GyqmtHmDkzrqDmyZ3eSwPqB/LhyKoU5DXsp+Vp2A==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.5.5.tgz", + "integrity": "sha512-nRq2BUhxZFnfEn/ciJuhklHvFOqjJUD5wpx+1bxUF2axL9C+v4DE/dmp5sT2dKnpOs4orZWzpAZqlCy8QqE/7g==", "dev": true, "requires": { "@babel/template": "^7.4.4", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4" + "@babel/traverse": "^7.5.5", + "@babel/types": "^7.5.5" } }, "@babel/highlight": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", - "integrity": "sha1-9xDDjI1Fjm3ZogGvtjf8t4HOmeQ=", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", + "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", "dev": true, "requires": { "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } } }, "@babel/parser": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz", - "integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.5.5.tgz", + "integrity": "sha512-E5BN68cqR7dhKan1SfqgPGhQ178bkVKpXTPEXnFJBrEt8/DKRZlybmy+IgYLTeN7tp1R5Ccmbm2rBk17sHYU3g==", "dev": true }, "@babel/plugin-proposal-async-generator-functions": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz", - "integrity": "sha1-somzBmadzkrSCwJSiJoVdoydQX4=", + "integrity": "sha512-+Dfo/SCQqrwx48ptLVGLdE39YtWRuKc/Y9I5Fy0P1DDBB9lsAHpjcEJQt+4IifuSOSTLBKJObJqMvaO1pIE8LQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -327,10 +334,20 @@ "@babel/plugin-syntax-async-generators": "^7.2.0" } }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.5.0.tgz", + "integrity": "sha512-x/iMjggsKTFHYC6g11PL7Qy58IK8H5zqfm9e6hu4z1iH2IRyAp9u9dL80zA6R76yFovETFLKz2VJIC2iIPBuFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0" + } + }, "@babel/plugin-proposal-json-strings": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz", - "integrity": "sha1-Vo7MRGxhSK5rJn8CVREwiR4p8xc=", + "integrity": "sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -338,9 +355,9 @@ } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz", - "integrity": "sha512-dMBG6cSPBbHeEBdFXeQ2QLc5gUpg4Vkaz8octD4aoW/ISO+jBOcsuxYL7bsb5WSu8RLP6boxrBIALEHgoHtO9g==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.5.tgz", + "integrity": "sha512-F2DxJJSQ7f64FyTVl5cw/9MWn6naXGdk3Q3UhDbFEEHv+EilCPoeRD3Zh/Utx1CJz4uyKlQ4uH+bJPbEhMV7Zw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -350,7 +367,7 @@ "@babel/plugin-proposal-optional-catch-binding": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz", - "integrity": "sha1-E12B7baKCB5V5W7EhUHs6AZcOPU=", + "integrity": "sha512-mgYj3jCcxug6KUcX4OBoOJz3CMrwRfQELPQ5560F70YQUBZB7uac9fqaWamKR1iWUzGiK2t0ygzjTScZnVz75g==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -371,7 +388,16 @@ "@babel/plugin-syntax-async-generators": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz", - "integrity": "sha1-aeHw2zTG9aDPfiszI78VmnbIy38=", + "integrity": "sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz", + "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -380,7 +406,7 @@ "@babel/plugin-syntax-json-strings": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz", - "integrity": "sha1-cr0T9v/h0lk4Ep0qGGsR/WKVFHA=", + "integrity": "sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -389,7 +415,7 @@ "@babel/plugin-syntax-object-rest-spread": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz", - "integrity": "sha1-O3o+czUQxX6CC5FCpleayLDfrS4=", + "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -398,7 +424,7 @@ "@babel/plugin-syntax-optional-catch-binding": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz", - "integrity": "sha1-qUAT1u2okI3+akd+f57ahWVuz1w=", + "integrity": "sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -407,16 +433,16 @@ "@babel/plugin-transform-arrow-functions": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz", - "integrity": "sha1-mur75Nb/xlY7+Pg3IJFijwB3lVA=", + "integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.4.tgz", - "integrity": "sha512-YiqW2Li8TXmzgbXw+STsSqPBPFnGviiaSp6CYOq55X8GQ2SGVLrXB6pNid8HkqkZAzOH6knbai3snhP7v0fNwA==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.5.0.tgz", + "integrity": "sha512-mqvkzwIGkq0bEF1zLRRiTdjfomZJDV33AH3oQzHVGkI2VzEmXLpKKOBvEVaFZBJdN0XTyH38s9j/Kiqr68dggg==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.0.0", @@ -427,34 +453,42 @@ "@babel/plugin-transform-block-scoped-functions": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz", - "integrity": "sha1-XTzBHo1d3XUqpkyRSNDbbLef0ZA=", + "integrity": "sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.4.tgz", - "integrity": "sha512-jkTUyWZcTrwxu5DD4rWz6rDB5Cjdmgz6z7M7RLXOJyCUkFBawssDGcGh8M/0FTSB87avyJI1HsTwUXp9nKA1PA==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.5.5.tgz", + "integrity": "sha512-82A3CLRRdYubkG85lKwhZB0WZoHxLGsJdux/cOVaJCJpvYFl1LVzAIFyRsa7CvXqW8rBM4Zf3Bfn8PHt5DP0Sg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", - "lodash": "^4.17.11" + "lodash": "^4.17.13" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@babel/plugin-transform-classes": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.4.tgz", - "integrity": "sha512-/e44eFLImEGIpL9qPxSRat13I5QNRgBLu2hOQJCF7VLy/otSM/sypV1+XaIw5+502RX/+6YaSAPmldk+nhHDPw==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.5.5.tgz", + "integrity": "sha512-U2htCNK/6e9K7jGyJ++1p5XRU+LJjrwtoiVn9SzRlDT2KubcZ11OOwy3s24TjHxPgxNwonCYP7U2K51uVYCMDg==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-define-map": "^7.4.4", + "@babel/helper-define-map": "^7.5.5", "@babel/helper-function-name": "^7.1.0", "@babel/helper-optimise-call-expression": "^7.0.0", "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.4.4", + "@babel/helper-replace-supers": "^7.5.5", "@babel/helper-split-export-declaration": "^7.4.4", "globals": "^11.1.0" } @@ -462,16 +496,16 @@ "@babel/plugin-transform-computed-properties": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz", - "integrity": "sha1-g6ffamWIZbHI9kHVEMbzryICFto=", + "integrity": "sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" } }, "@babel/plugin-transform-destructuring": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.4.tgz", - "integrity": "sha512-/aOx+nW0w8eHiEHm+BTERB2oJn5D127iye/SUQl7NjHy0lf+j7h4MKMMSOwdazGq9OxgiNADncE+SRJkCxjZpQ==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.5.0.tgz", + "integrity": "sha512-YbYgbd3TryYYLGyC7ZR+Tq8H/+bCmwoaxHfJHupom5ECstzbRLTch6gOQbhEY9Z4hiCNHEURgq06ykFv9JZ/QQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -489,9 +523,9 @@ } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.2.0.tgz", - "integrity": "sha1-2VLEkw8xKk2//xjwspFOYMNVMLM=", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.5.0.tgz", + "integrity": "sha512-igcziksHizyQPlX9gfSjHkE2wmoCH3evvD2qR5w29/Dk0SMKE/eOI7f1HhBdNhR/zxJDqrgpoDTq5YSLH/XMsQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -500,7 +534,7 @@ "@babel/plugin-transform-exponentiation-operator": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz", - "integrity": "sha1-pjhoKJ5bQAf3BU1GSRr1FDV2YAg=", + "integrity": "sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==", "dev": true, "requires": { "@babel/helper-builder-binary-assignment-operator-visitor": "^7.1.0", @@ -529,7 +563,7 @@ "@babel/plugin-transform-literals": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz", - "integrity": "sha1-aQNT6B+SZ9rU/Yz9d+r6hqulPqE=", + "integrity": "sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -545,40 +579,43 @@ } }, "@babel/plugin-transform-modules-amd": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz", - "integrity": "sha1-gqm85FuVRB9heiQBHcidEtp/TuY=", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.5.0.tgz", + "integrity": "sha512-n20UsQMKnWrltocZZm24cRURxQnWIvsABPJlw/fvoy9c6AgHZzoelAIzajDHAQrDpuKFFPPcFGd7ChsYuIUMpg==", "dev": true, "requires": { "@babel/helper-module-transforms": "^7.1.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "^7.0.0", + "babel-plugin-dynamic-import-node": "^2.3.0" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.4.tgz", - "integrity": "sha512-4sfBOJt58sEo9a2BQXnZq+Q3ZTSAUXyK3E30o36BOGnJ+tvJ6YSxF0PG6kERvbeISgProodWuI9UVG3/FMY6iw==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.5.0.tgz", + "integrity": "sha512-xmHq0B+ytyrWJvQTc5OWAC4ii6Dhr0s22STOoydokG51JjWhyYo5mRPXoi+ZmtHQhZZwuXNN+GG5jy5UZZJxIQ==", "dev": true, "requires": { "@babel/helper-module-transforms": "^7.4.4", "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-simple-access": "^7.1.0" + "@babel/helper-simple-access": "^7.1.0", + "babel-plugin-dynamic-import-node": "^2.3.0" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.4.tgz", - "integrity": "sha512-MSiModfILQc3/oqnG7NrP1jHaSPryO6tA2kOMmAQApz5dayPxWiHqmq4sWH2xF5LcQK56LlbKByCd8Aah/OIkQ==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.5.0.tgz", + "integrity": "sha512-Q2m56tyoQWmuNGxEtUyeEkm6qJYFqs4c+XyXH5RAuYxObRNz9Zgj/1g2GMnjYp2EUyEy7YTrxliGCXzecl/vJg==", "dev": true, "requires": { "@babel/helper-hoist-variables": "^7.4.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "^7.0.0", + "babel-plugin-dynamic-import-node": "^2.3.0" } }, "@babel/plugin-transform-modules-umd": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz", - "integrity": "sha1-dnjOdRafCHe46yI1U4wHQmjdAa4=", + "integrity": "sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==", "dev": true, "requires": { "@babel/helper-module-transforms": "^7.1.0", @@ -586,12 +623,12 @@ } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.4.tgz", - "integrity": "sha512-Ki+Y9nXBlKfhD+LXaRS7v95TtTGYRAf9Y1rTDiE75zf8YQz4GDaWRXosMfJBXxnk88mGFjWdCRIeqDbon7spYA==", + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz", + "integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==", "dev": true, "requires": { - "regexp-tree": "^0.1.0" + "regexp-tree": "^0.1.6" } }, "@babel/plugin-transform-new-target": { @@ -604,13 +641,13 @@ } }, "@babel/plugin-transform-object-super": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz", - "integrity": "sha1-s11MEPVrq11lAEfa0PHY6IFLZZg=", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.5.5.tgz", + "integrity": "sha512-un1zJQAhSosGFBduPgN/YFNvWVpRuHKU7IHBglLoLZsGmruJPOo6pbInneflUdmq7YvSVqhpPs5zdBvLnteltQ==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.1.0" + "@babel/helper-replace-supers": "^7.5.5" } }, "@babel/plugin-transform-parameters": { @@ -634,12 +671,12 @@ } }, "@babel/plugin-transform-regenerator": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.4.tgz", - "integrity": "sha512-Zz3w+pX1SI0KMIiqshFZkwnVGUhDZzpX2vtPzfJBKQQq8WsP/Xy9DNdELWivxcKOCX/Pywge4SiEaPaLtoDT4g==", + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz", + "integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==", "dev": true, "requires": { - "regenerator-transform": "^0.13.4" + "regenerator-transform": "^0.14.0" } }, "@babel/plugin-transform-reserved-words": { @@ -654,7 +691,7 @@ "@babel/plugin-transform-shorthand-properties": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz", - "integrity": "sha1-YzOu4vjW7n4oYVRXKYk0o7RhmPA=", + "integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -663,7 +700,7 @@ "@babel/plugin-transform-spread": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz", - "integrity": "sha1-MQOpq+IvdCttQG7NPNSbd0kZtAY=", + "integrity": "sha512-KWfky/58vubwtS0hLqEnrWJjsMGaOeSBn90Ezn5Jeg9Z8KKHmELbP1yGylMlm5N6TPKeY9A2+UaSYLdxahg01w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -672,7 +709,7 @@ "@babel/plugin-transform-sticky-regex": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz", - "integrity": "sha1-oeRUtZlVYKnB4NU338FQYf0mh+E=", + "integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -692,7 +729,7 @@ "@babel/plugin-transform-typeof-symbol": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz", - "integrity": "sha1-EX0rzsL79ktLWdH5gZiUaC0p8rI=", + "integrity": "sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0" @@ -710,46 +747,48 @@ } }, "@babel/preset-env": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.4.tgz", - "integrity": "sha512-FU1H+ACWqZZqfw1x2G1tgtSSYSfxJLkpaUQL37CenULFARDo+h4xJoVHzRoHbK+85ViLciuI7ME4WTIhFRBBlw==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.5.5.tgz", + "integrity": "sha512-GMZQka/+INwsMz1A5UEql8tG015h5j/qjptpKY2gJ7giy8ohzU710YciJB5rcKsWGWHiW3RUnHib0E5/m3Tp3A==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.0.0", "@babel/helper-plugin-utils": "^7.0.0", "@babel/plugin-proposal-async-generator-functions": "^7.2.0", + "@babel/plugin-proposal-dynamic-import": "^7.5.0", "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.4.4", + "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", "@babel/plugin-syntax-async-generators": "^7.2.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-json-strings": "^7.2.0", "@babel/plugin-syntax-object-rest-spread": "^7.2.0", "@babel/plugin-syntax-optional-catch-binding": "^7.2.0", "@babel/plugin-transform-arrow-functions": "^7.2.0", - "@babel/plugin-transform-async-to-generator": "^7.4.4", + "@babel/plugin-transform-async-to-generator": "^7.5.0", "@babel/plugin-transform-block-scoped-functions": "^7.2.0", - "@babel/plugin-transform-block-scoping": "^7.4.4", - "@babel/plugin-transform-classes": "^7.4.4", + "@babel/plugin-transform-block-scoping": "^7.5.5", + "@babel/plugin-transform-classes": "^7.5.5", "@babel/plugin-transform-computed-properties": "^7.2.0", - "@babel/plugin-transform-destructuring": "^7.4.4", + "@babel/plugin-transform-destructuring": "^7.5.0", "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/plugin-transform-duplicate-keys": "^7.2.0", + "@babel/plugin-transform-duplicate-keys": "^7.5.0", "@babel/plugin-transform-exponentiation-operator": "^7.2.0", "@babel/plugin-transform-for-of": "^7.4.4", "@babel/plugin-transform-function-name": "^7.4.4", "@babel/plugin-transform-literals": "^7.2.0", "@babel/plugin-transform-member-expression-literals": "^7.2.0", - "@babel/plugin-transform-modules-amd": "^7.2.0", - "@babel/plugin-transform-modules-commonjs": "^7.4.4", - "@babel/plugin-transform-modules-systemjs": "^7.4.4", + "@babel/plugin-transform-modules-amd": "^7.5.0", + "@babel/plugin-transform-modules-commonjs": "^7.5.0", + "@babel/plugin-transform-modules-systemjs": "^7.5.0", "@babel/plugin-transform-modules-umd": "^7.2.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.4", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5", "@babel/plugin-transform-new-target": "^7.4.4", - "@babel/plugin-transform-object-super": "^7.2.0", + "@babel/plugin-transform-object-super": "^7.5.5", "@babel/plugin-transform-parameters": "^7.4.4", "@babel/plugin-transform-property-literals": "^7.2.0", - "@babel/plugin-transform-regenerator": "^7.4.4", + "@babel/plugin-transform-regenerator": "^7.4.5", "@babel/plugin-transform-reserved-words": "^7.2.0", "@babel/plugin-transform-shorthand-properties": "^7.2.0", "@babel/plugin-transform-spread": "^7.2.0", @@ -757,9 +796,9 @@ "@babel/plugin-transform-template-literals": "^7.4.4", "@babel/plugin-transform-typeof-symbol": "^7.2.0", "@babel/plugin-transform-unicode-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "browserslist": "^4.5.2", - "core-js-compat": "^3.0.0", + "@babel/types": "^7.5.5", + "browserslist": "^4.6.0", + "core-js-compat": "^3.1.1", "invariant": "^2.2.2", "js-levenshtein": "^1.1.3", "semver": "^5.5.0" @@ -785,20 +824,20 @@ } }, "@babel/traverse": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz", - "integrity": "sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.5.5.tgz", + "integrity": "sha512-MqB0782whsfffYfSjH4TM+LMjrJnhCNEDMDIjeTpl+ASaUvxcjoiVCo/sM1GhS1pHOXYfWVCYneLjMckuUxDaQ==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.4.4", + "@babel/code-frame": "^7.5.5", + "@babel/generator": "^7.5.5", "@babel/helper-function-name": "^7.1.0", "@babel/helper-split-export-declaration": "^7.4.4", - "@babel/parser": "^7.4.4", - "@babel/types": "^7.4.4", + "@babel/parser": "^7.5.5", + "@babel/types": "^7.5.5", "debug": "^4.1.0", "globals": "^11.1.0", - "lodash": "^4.17.11" + "lodash": "^4.17.13" }, "dependencies": { "debug": { @@ -809,42 +848,56 @@ "requires": { "ms": "^2.1.1" } + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true } } }, "@babel/types": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz", - "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.5.5.tgz", + "integrity": "sha512-s63F9nJioLqOlW3UkyMd+BYhXt44YuaFm/VV0VwuteqjYwRrObkU7ra9pY4wAJR3oXi8hJrMcrcJdO/HH33vtw==", "dev": true, "requires": { "esutils": "^2.0.2", - "lodash": "^4.17.11", + "lodash": "^4.17.13", "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + } } }, "@types/estree": { "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha1-4Xfmme4bjCLSMXTKqnQiZEOJUJ8=", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, "@types/node": { - "version": "11.13.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-11.13.8.tgz", - "integrity": "sha512-szA3x/3miL90ZJxUCzx9haNbK5/zmPieGraZEe4WI+3srN0eGLiT22NXeMHmyhNEopn+IrxqMc7wdVwvPl8meg==", + "version": "12.6.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.6.8.tgz", + "integrity": "sha512-aX+gFgA5GHcDi89KG5keey2zf0WfZk/HAQotEamsK2kbey+8yGKcson0hbK8E+v0NArlCJQCqMP161YhV6ZXLg==", "dev": true }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "acorn": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz", - "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz", + "integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==", "dev": true }, "agent-base": { @@ -874,7 +927,7 @@ "anymatch": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha1-VT3Lj5HjyImEXf26NMd3IbkLnXo=", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", "dev": true, "requires": { "micromatch": "^2.1.5", @@ -884,7 +937,7 @@ "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" @@ -910,7 +963,7 @@ "arr-flatten": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true }, "arr-union": { @@ -985,7 +1038,7 @@ "atob": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k=", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, "babel-helper-evaluate-path": { @@ -1002,7 +1055,7 @@ }, "babel-helper-is-nodes-equiv": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz", + "resolved": "http://registry.npmjs.org/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz", "integrity": "sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ=", "dev": true }, @@ -1030,6 +1083,15 @@ "integrity": "sha1-W1GLESf0ezA4dzOGoVYaK0jmMrY=", "dev": true }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz", + "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, "babel-plugin-minify-builtins": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.4.3.tgz", @@ -1237,7 +1299,7 @@ "base": { "version": "0.11.2", "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "dev": true, "requires": { "cache-base": "^1.0.1", @@ -1261,7 +1323,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1270,7 +1332,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1279,7 +1341,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -1296,7 +1358,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } @@ -1304,7 +1366,7 @@ "binary-extensions": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", - "integrity": "sha1-wteA9T1Fu6gxeokC1M7q86Y4WxQ=", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==", "dev": true }, "body": { @@ -1341,14 +1403,14 @@ } }, "browserslist": { - "version": "4.5.6", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.6.tgz", - "integrity": "sha512-o/hPOtbU9oX507lIqon+UvPYqpx3mHc8cV3QemSBTXwkG8gSQSK6UKvXcE/DcleU3+A59XTUHyCvZ5qGy8xVAg==", + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.6.tgz", + "integrity": "sha512-D2Nk3W9JL9Fp/gIcWei8LrERCS+eXu9AM5cfXA8WEZ84lFks+ARnZ0q/R69m2SV3Wjma83QDDPxsNKXUwdIsyA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30000963", - "electron-to-chromium": "^1.3.127", - "node-releases": "^1.1.17" + "caniuse-lite": "^1.0.30000984", + "electron-to-chromium": "^1.3.191", + "node-releases": "^1.1.25" } }, "buffer-from": { @@ -1366,7 +1428,7 @@ "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "dev": true, "requires": { "collection-visit": "^1.0.0", @@ -1405,9 +1467,9 @@ } }, "caniuse-lite": { - "version": "1.0.30000963", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000963.tgz", - "integrity": "sha512-n4HUiullc7Lw0LyzpeLa2ffP8KxFBGdxqD/8G3bSL6oB758hZ2UE2CVK+tQN958tJIi0/tfpjAc67aAtoHgnrQ==", + "version": "1.0.30000988", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000988.tgz", + "integrity": "sha512-lPj3T8poYrRc/bniW5SQPND3GRtSrQdUM/R4mCYTbZxyi3jQiggLvZH4+BYUuX0t4TXjU+vMM7KFDQg+rSzZUQ==", "dev": true }, "chalk": { @@ -1441,7 +1503,7 @@ "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "dev": true, "requires": { "arr-union": "^3.1.0", @@ -1486,7 +1548,7 @@ "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { "color-name": "1.1.3" @@ -1542,7 +1604,7 @@ }, "readable-stream": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { @@ -1575,7 +1637,7 @@ "convert-source-map": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", - "integrity": "sha1-UbU3qMQ+DwTewZk7/83VBOdYrCA=", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "dev": true, "requires": { "safe-buffer": "~5.1.1" @@ -1587,36 +1649,29 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "core-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.0.1.tgz", - "integrity": "sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew==", - "dev": true - }, "core-js-compat": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.0.1.tgz", - "integrity": "sha512-2pC3e+Ht/1/gD7Sim/sqzvRplMiRnFQVlPpDVaHtY9l7zZP7knamr3VRD6NyGfHd84MrDC0tAM9ulNxYMW0T3g==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.1.4.tgz", + "integrity": "sha512-Z5zbO9f1d0YrJdoaQhphVAnKPimX92D6z8lCGphH89MNRxlL1prI9ExJPqVwP0/kgkQCv8c4GJGT8X16yUncOg==", "dev": true, "requires": { - "browserslist": "^4.5.4", - "core-js": "3.0.1", - "core-js-pure": "3.0.1", - "semver": "^6.0.0" + "browserslist": "^4.6.2", + "core-js-pure": "3.1.4", + "semver": "^6.1.1" }, "dependencies": { "semver": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.0.0.tgz", - "integrity": "sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true } } }, "core-js-pure": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.0.1.tgz", - "integrity": "sha512-mSxeQ6IghKW3MoyF4cz19GJ1cMm7761ON+WObSyLfTu/Jn3x7w4NwNFnrZxgl4MTSvYYepVLNuRtlB4loMwJ5g==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.1.4.tgz", + "integrity": "sha512-uJ4Z7iPNwiu1foygbcZYJsJs1jiXrTTCvxfLDXNhI/I+NHbSIEyr548y4fcsCEyWY0XgfAG/qqaunJ1SThHenA==", "dev": true }, "core-util-is": { @@ -1665,10 +1720,19 @@ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", "dev": true }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha1-1Flono1lS6d+AqgX+HENcCyxbp0=", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "dev": true, "requires": { "is-descriptor": "^1.0.2", @@ -1678,7 +1742,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1687,7 +1751,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -1696,7 +1760,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -1713,7 +1777,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } @@ -1733,9 +1797,9 @@ "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=" }, "electron-to-chromium": { - "version": "1.3.129", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.129.tgz", - "integrity": "sha512-puirJsgZnedlFEmRa7WEUIaS8ZgHHn7d7inph+RiapCc0x80hdoDyEEpR9z3aRUSZy4fGxOTOFcxnGmySlrmhA==", + "version": "1.3.207", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.207.tgz", + "integrity": "sha512-RIgAnfqbjZNECBLjslfy4cIYvcPl3GAXmnENrcoo0TZ8fGkyEEAealAbO7MoevW4xYUPe+e68cWAj6eP0DmMHw==", "dev": true }, "ensure-posix-path": { @@ -1868,7 +1932,7 @@ "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { "is-plain-object": "^2.0.4" @@ -1951,7 +2015,7 @@ "fill-range": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", - "integrity": "sha1-6x53OrsFbc2N8r/favWbizqTZWU=", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", "dev": true, "requires": { "is-number": "^2.1.0", @@ -2056,7 +2120,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -2077,12 +2142,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -2097,17 +2164,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -2224,7 +2294,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -2236,6 +2307,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -2250,6 +2322,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -2257,12 +2330,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -2281,6 +2356,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -2361,7 +2437,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -2373,6 +2450,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -2458,7 +2536,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -2494,6 +2573,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -2513,6 +2593,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -2556,19 +2637,27 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, "gaze": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", - "integrity": "sha1-xEFzPhO5J6yMD/C0w7Az8ogSkko=", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", "dev": true, "requires": { "globule": "^1.0.0" @@ -2672,7 +2761,7 @@ "globule": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", - "integrity": "sha1-Xf+xsZHyLSB5epNptJ6rTpg5aW0=", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", "dev": true, "requires": { "glob": "~7.1.1", @@ -2695,9 +2784,9 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true } } @@ -2777,7 +2866,7 @@ "grunt-babel": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/grunt-babel/-/grunt-babel-8.0.0.tgz", - "integrity": "sha1-ku9jqvrfk4xIjcL5JqyYRuDJPRs=", + "integrity": "sha512-WuiZFvGzcyzlEoPIcY1snI234ydDWeWWV5bpnB7PZsOLHcDsxWKnrR1rMWEUsbdVPPjvIirwFNsuo4CbJmsdFQ==", "dev": true }, "grunt-contrib-qunit": { @@ -2814,7 +2903,7 @@ "grunt-contrib-watch": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.1.0.tgz", - "integrity": "sha1-wUPKW4JLKIoCS4VmOaU0Wu23jtQ=", + "integrity": "sha512-yGweN+0DW5yM+oo58fRu/XIRrPcn3r4tQx+nL7eMRwjpvk+rQY6R8o94BPK0i2UhTg9FN21hS+m8vR8v9vXfeg==", "dev": true, "requires": { "async": "^2.6.0", @@ -2826,16 +2915,16 @@ "async": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", - "integrity": "sha1-skWiPKcZMAROxT+kaqAKPofGphA=", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "dev": true, "requires": { "lodash": "^4.17.10" } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true } } @@ -2843,13 +2932,13 @@ "grunt-known-options": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz", - "integrity": "sha1-bMCIEHvQIZ3F0+V9kZI/RpBZgE0=", + "integrity": "sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==", "dev": true }, "grunt-legacy-log": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-2.0.0.tgz", - "integrity": "sha1-yM0sbIGkRlubvy2HTZY/73pZ/7k=", + "integrity": "sha512-1m3+5QvDYfR1ltr8hjiaiNjddxGdQWcH0rw1iKKiQnF0+xtgTazirSTGu68RchPyh1OBng1bBUjLmX8q9NpoCw==", "dev": true, "requires": { "colors": "~1.1.2", @@ -2861,7 +2950,7 @@ "grunt-legacy-log-utils": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.0.1.tgz", - "integrity": "sha1-0vRCx8AVAGXZAEsI/XQQ03UZGU4=", + "integrity": "sha512-o7uHyO/J+i2tXG8r2bZNlVk20vlIFJ9IEYyHMCQGfWYru8Jv3wTqKZzvV30YW9rWEjq0eP3cflQ1qWojIe9VFA==", "dev": true, "requires": { "chalk": "~2.4.1", @@ -2902,7 +2991,7 @@ "grunt-legacy-util": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.1.1.tgz", - "integrity": "sha1-4QYk58hgNOW4cMioYWdD8KCEXkI=", + "integrity": "sha512-9zyA29w/fBe6BIfjGENndwoe1Uy31BIXxTH3s8mga0Z5Bz2Sp4UCjkeyv2tI449ymkx3x26B+46FV4fXEddl5A==", "dev": true, "requires": { "async": "~1.5.2", @@ -2917,7 +3006,7 @@ "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo=", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -2958,6 +3047,12 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, + "has-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "dev": true + }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -3058,7 +3153,7 @@ "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -3092,7 +3187,7 @@ "ini": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc=", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "dev": true }, "invariant": { @@ -3146,7 +3241,7 @@ "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", @@ -3157,7 +3252,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -3219,7 +3314,7 @@ "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { "isobject": "^3.0.1" @@ -3254,7 +3349,7 @@ "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0=", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, "isarray": { @@ -3309,13 +3404,13 @@ "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "json5": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz", - "integrity": "sha1-56DGLEgoXGKNIKELhcibuAfDKFA=", + "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==", "dev": true, "requires": { "minimist": "^1.2.0" @@ -3333,7 +3428,7 @@ "livereload-js": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-2.3.0.tgz", - "integrity": "sha1-w6si6Kr1vzUF2A0JjLrWdyZUjJo=", + "integrity": "sha512-j1R0/FeGa64Y+NmqfZhyoVRzcFlOZ8sNlKzHjh4VvLULFACZhn68XrX5DFg2FhMvSMJmROuFxRSa560ECWKBMg==", "dev": true }, "load-grunt-tasks": { @@ -3380,9 +3475,9 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash.assign": { "version": "4.2.0", @@ -3449,7 +3544,7 @@ "matcher-collection": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/matcher-collection/-/matcher-collection-1.0.5.tgz", - "integrity": "sha1-LuCVQ4Nyy4iE8FgjQTjAXGROwzk=", + "integrity": "sha512-nUCmzKipcJEwYsBVAFh5P+d7JBuhJaW1xs85Hara9xuMLqtCVUrW6DSC0JVIkluxEH2W45nPBM/wjHtBXa/tYA==", "dev": true, "requires": { "minimatch": "^3.0.2" @@ -3553,7 +3648,7 @@ "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -3566,9 +3661,9 @@ "dev": true }, "mixin-deep": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", - "integrity": "sha1-pJ5yaNzhoNlpjkUybFYm3zVD0P4=", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { "for-in": "^1.0.2", @@ -3578,7 +3673,7 @@ "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { "is-plain-object": "^2.0.4" @@ -3606,7 +3701,7 @@ "ms": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha1-MKWGTrPrsKZvLr5tcnrwagnYbgo=", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "dev": true }, "multimatch": { @@ -3631,7 +3726,7 @@ "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha1-uHqKpPwN6P5r6IiVs4mD/yZb0Rk=", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -3662,15 +3757,15 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } }, "node-releases": { - "version": "1.1.17", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.17.tgz", - "integrity": "sha512-/SCjetyta1m7YXLgtACZGDYJdCSIBAWorDWkGCGZlydP2Ll7J48l7j/JxNYZ+xsgSPbWfdulVS/aY+GdjUsQ7Q==", + "version": "1.1.26", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.26.tgz", + "integrity": "sha512-fZPsuhhUHMTlfkhDLGtfY80DSJTjOcx+qD1j5pqPkuhUHVS7xHZIg9EE4DHK8O3f0zTxXHX5VIkDG8pu98/wfQ==", "dev": true, "requires": { "semver": "^5.3.0" @@ -3751,6 +3846,12 @@ } } }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -3768,6 +3869,18 @@ } } }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", @@ -3900,7 +4013,7 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, "path-type": { @@ -3993,7 +4106,7 @@ "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", "dev": true }, "process-nextick-args": { @@ -4050,7 +4163,7 @@ "qunitjs": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/qunitjs/-/qunitjs-2.4.1.tgz", - "integrity": "sha1-iKugVani7D2+v6rQJHGyywAsUws=", + "integrity": "sha512-by/2zYvsNdS6Q6Ev6UJ3qJK+OYVlTzWlQ4afaeYMhVh1dd2K3N1ZZKCrCm3WSWPnz5ELMT8WyJRcVy5PXT2y+Q==", "dev": true, "requires": { "chokidar": "1.6.1", @@ -4167,7 +4280,7 @@ "readdirp": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha1-DodiKjMlqjPokihcr4tOhGUppSU=", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "requires": { "graceful-fs": "^4.1.11", @@ -4190,7 +4303,7 @@ "braces": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha1-WXn9PxTNUxVl5fot8av/8d+u5yk=", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { "arr-flatten": "^1.1.0", @@ -4219,7 +4332,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -4312,7 +4425,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -4320,7 +4433,7 @@ "extglob": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha1-rQD+TcYSqSMuhxhxHcXLWrAoVUM=", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "requires": { "array-unique": "^0.3.2", @@ -4379,7 +4492,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -4388,7 +4501,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -4397,7 +4510,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -4434,13 +4547,13 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha1-cIWbyVyYQJUvNZoGij/En57PrCM=", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -4483,18 +4596,18 @@ "dev": true }, "regenerate-unicode-properties": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.2.tgz", - "integrity": "sha512-SbA/iNrBUf6Pv2zU8Ekv1Qbhv92yxL4hiDa2siuxs4KKn4oOoMDHXjAf7+Nz9qinUQ46B1LcWEi/PhJfPWpZWQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz", + "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==", "dev": true, "requires": { "regenerate": "^1.4.0" } }, "regenerator-transform": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.4.tgz", - "integrity": "sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A==", + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz", + "integrity": "sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ==", "dev": true, "requires": { "private": "^0.1.6" @@ -4512,7 +4625,7 @@ "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha1-H07OJ+ALC2XgJHpoEOaoXYOldSw=", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dev": true, "requires": { "extend-shallow": "^3.0.2", @@ -4520,9 +4633,9 @@ } }, "regexp-tree": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.6.tgz", - "integrity": "sha512-LFrA98Dw/heXqDojz7qKFdygZmFoiVlvE1Zp7Cq2cvF+ZA+03Gmhy0k0PQlsC1jvHPiTUSs+pDHEuSWv6+6D7w==", + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.11.tgz", + "integrity": "sha512-7/l/DgapVVDzZobwMCCgMlqiqyLFJ0cduo/j+3BcDJIB+yJdsYCfKuI3l/04NV+H/rfNRdPIDbXNZHM9XvQatg==", "dev": true }, "regexpu-core": { @@ -4590,9 +4703,9 @@ } }, "resolve": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.1.tgz", - "integrity": "sha512-KuIe4mf++td/eFb6wkaPbMDnP6kObCaEtIDuHOUED6MNUo4K670KZUHuuvYPZDxNF0WVLw49n06M2m2dXphEzA==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", + "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -4632,7 +4745,7 @@ "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w=", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, "rimraf": { @@ -4661,20 +4774,20 @@ } }, "rollup": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.10.1.tgz", - "integrity": "sha512-pW353tmBE7QP622ITkGxtqF0d5gSRCVPD9xqM+fcPjudeZfoXMFW2sCzsTe2TU/zU1xamIjiS9xuFCPVT9fESw==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.17.0.tgz", + "integrity": "sha512-k/j1m0NIsI4SYgCJR4MWPstGJOWfJyd6gycKoMhyoKPVXxm+L49XtbUwZyFsrSU2YXsOkM4u1ll9CS/ZgJBUpw==", "dev": true, "requires": { "@types/estree": "0.0.39", - "@types/node": "^11.13.5", - "acorn": "^6.1.1" + "@types/node": "^12.6.2", + "acorn": "^6.2.0" } }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "safe-json-parse": { @@ -4695,7 +4808,7 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, "save": { @@ -4726,9 +4839,9 @@ "dev": true }, "set-value": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", - "integrity": "sha1-ca5KiPD+77v1LR6mBPP7MV67YnQ=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", "dev": true, "requires": { "extend-shallow": "^2.0.1", @@ -4757,7 +4870,7 @@ "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha1-ZJIufFZbDhQgS6GqfWlkJ40lGC0=", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "dev": true, "requires": { "base": "^0.11.1", @@ -4773,7 +4886,7 @@ "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -4814,7 +4927,7 @@ "snapdragon-node": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "dev": true, "requires": { "define-property": "^1.0.0", @@ -4834,7 +4947,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -4843,7 +4956,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -4852,7 +4965,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -4869,7 +4982,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } @@ -4877,7 +4990,7 @@ "snapdragon-util": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "dev": true, "requires": { "kind-of": "^3.2.0" @@ -4892,7 +5005,7 @@ "source-map-resolve": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", - "integrity": "sha1-cuLMNAlVQ+Q7LGKyxMENSpBU8lk=", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "dev": true, "requires": { "atob": "^2.1.1", @@ -4951,7 +5064,7 @@ "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "dev": true, "requires": { "extend-shallow": "^3.0.0" @@ -5049,7 +5162,7 @@ "tiny-lr": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/tiny-lr/-/tiny-lr-1.1.1.tgz", - "integrity": "sha1-n6VHQS8jj+2waO4pWvi2gsmLKqs=", + "integrity": "sha512-44yhA3tsaRoMOjQQ+5v5mVdqef+kH6Qze9jTpqtVufgYjYt08zyZAwNwwVBj3i1rJMnR52IxOW0LK0vBzgAkuA==", "dev": true, "requires": { "body": "^5.1.0", @@ -5078,7 +5191,7 @@ "to-regex": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha1-E8/dmzNlUvMLUfM6iuG0Knp1mc4=", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "dev": true, "requires": { "define-property": "^2.0.2", @@ -5147,7 +5260,7 @@ "underscore.string": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", - "integrity": "sha1-/CrSVbi9MJ4jnLxYFv0jqbfqQCM=", + "integrity": "sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==", "dev": true, "requires": { "sprintf-js": "^1.0.3", @@ -5157,13 +5270,13 @@ "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", - "integrity": "sha1-JhmADEyCWADv3YNDr33Zkzy+KBg=", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", "dev": true }, "unicode-match-property-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", - "integrity": "sha1-jtKjJWmWG86SJ9Cc0/+7j+1fAgw=", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", "dev": true, "requires": { "unicode-canonical-property-names-ecmascript": "^1.0.4", @@ -5183,38 +5296,15 @@ "dev": true }, "union-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", - "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", "dev": true, "requires": { "arr-union": "^3.1.0", "get-value": "^2.0.6", "is-extendable": "^0.1.1", - "set-value": "^0.4.3" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "set-value": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", - "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.1", - "to-object-path": "^0.3.0" - } - } + "set-value": "^2.0.1" } }, "unset-value": { @@ -5278,7 +5368,7 @@ "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha1-1QyMrHmhn7wg8pEfVuuXP04QBw8=", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, "util-deprecate": { @@ -5320,7 +5410,7 @@ "websocket-extensions": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", - "integrity": "sha1-XS/yKXcAPsaHpLhwc9+7rBRszyk=", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", "dev": true }, "which": { diff --git a/package.json b/package.json index 2e0c80d..780085e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dabbyjs", - "version": "0.9.8", + "version": "0.9.9", "homepage": "https://hexydec.github.io/dabby", "author": "Will Earp ", "description": "A lightweight modular ES6 jQuery clone library built for modern browsers", @@ -27,8 +27,8 @@ "defaults" ], "devDependencies": { - "@babel/core": "^7.4.4", - "@babel/preset-env": "^7.4.4", + "@babel/core": "^7.5.5", + "@babel/preset-env": "^7.5.5", "babel-preset-minify": "^0.4.3", "grunt": "^1.0.4", "grunt-babel": "^8.0.0", @@ -38,7 +38,7 @@ "grunt-rollup": "^10.0.0", "load-grunt-tasks": "^4.0.0", "qunitjs": "^2.4.1", - "rollup": "^1.10.1" + "rollup": "^1.17.0" }, "repository": { "type": "git", diff --git a/tests/test.es5.js.map b/tests/test.es5.js.map index 1697486..0d5dae7 100644 --- a/tests/test.es5.js.map +++ b/tests/test.es5.js.map @@ -1 +1 @@ -{"version":3,"sources":["test.es5.js"],"names":["$$1","hasOwnProperty","QUnit","module","test","assert","expect","done","async","ajax","success","response","status","equal","ok","indexOf","url","complete","xhr","responseText","statusCode","foo","error","dabbyScriptSuccess","get","data","bar","dabbyReflection","type","deepEqual","window","getScript","document","getElementsByClassName","innerHTML","obj","load","innerText","matches","dabbyInlineScriptSuccess","setTimeout","params","foobar","fb","enc","output","param","date","querySelector","value","serialize","encodeURIComponent","hooks","before","main","rmain","style","correct","attr","className","cssText","getAttribute","undefined","i","el","each","after","addClass","removeClass","toggleClass","props","outputCC","css","borderLeftColor","border","padding","json","foo2","hasClass","tabindex","prop","title","name","checked","show","forEach","item","display","length","hide","toggle","initial","multi","createElement","text","opt","radio","add","val","multiple","appendChild","filter","MouseEvent","eventType","bubbles","cancelable","mouseEvent","createEvent","initMouseEvent","prototype","Event","h1","getElementsByTagName","checkbox","html","newh1","triggered","click","objNode","HTMLHeadingElement","backgroundColor","dispatchEvent","view","outerHTML","push","tagName","toLowerCase","map","Array","from","coords","top","left","offset","parseFloat","toFixed","offsetParent","scrollLeft","width","innerWidth","outerWidth","plain","func","e","body","on","trigger","off","divs","querySelectorAll","count","dabbyDivs","slice","call","div","onclick","stopPropagation","camelise","replace","letter","toUpperCase","dasherise","$","dabby","selector","context","nodes","Set","node","nodeType","isWindow","Object","assign","match","isFunction","readyState","addEventListener","once","concat","implementation","createHTMLDocument","children","fn","callback","isArr","isArray","keys","len","parseInt","constructor","Function","filterNodes","not","n","filtered","isPlainObject","getPrototypeOf","proto","toString","getVal","current","values","funcVal","objVal","funcCurrent","create","clone","setCss","key","isNaN","propsCC","borderLeftStyle","borderLeftWidth","index","insertAdjacentHTML","empty","beforeEach","prepend","list","copy","same","isSameNode","append","inner","prependTo","robj","remove","detach","replaceWith","replaceAll","textContent","parent","unwrap","wrap","newobj","closest","eq","is","find","first","has","obj2","last","next","nextAll","nextUntil","prev","prevUntil","prevAll","parents","parentNode","Node","ELEMENT_NODE","parentsUntil","siblings","Dabby","arr","no1","no2","no3","no4","result","numeric","extend","deep","value1","value2","value3","Foo","Number","items"],"mappings":";;;;;;;;;;AAAC,WAAUA,GAAV,EAAe;AACf;;AAEAA,EAAAA,GAAG,GAAGA,GAAG,IAAIA,GAAG,CAACC,cAAJ,CAAmB,SAAnB,CAAP,GAAuCD,GAAG,CAAC,SAAD,CAA1C,GAAwDA,GAA9D;AAEAE,EAAAA,KAAK,CAACC,MAAN,CAAa,MAAb;AAEAD,EAAAA,KAAK,CAACE,IAAN,CAAW,QAAX,EAAqB,UAAUC,MAAV,EAAkB;AACtCA,IAAAA,MAAM,CAACC,MAAP,CAAc,EAAd;AACA,QAAIC,IAAI,GAAGF,MAAM,CAACG,KAAP,CAAa,CAAb,CAAX;AACAR,IAAAA,GAAG,CAACS,IAAJ,CAAS,6BAAT,EAAwC;AAACC,MAAAA,OAAO,EAAE,iBAAUC,QAAV,EAAoBC,MAApB,EAA4B;AAC7EP,QAAAA,MAAM,CAACQ,KAAP,CAAaD,MAAb,EAAqB,SAArB,EAAgC,0BAAhC;AACAP,QAAAA,MAAM,CAACS,EAAP,CAAUH,QAAQ,CAACI,OAAT,CAAiB,kBAAjB,MAAyC,CAAC,CAApD,EAAuD,oCAAvD;AACAR,QAAAA,IAAI;AACJ;AAJuC,KAAxC;AAKAP,IAAAA,GAAG,CAACS,IAAJ,CAAS;AACRO,MAAAA,GAAG,EAAE,6BADG;AAERN,MAAAA,OAAO,EAAE,iBAAUC,QAAV,EAAoBC,MAApB,EAA4B;AACpCP,QAAAA,MAAM,CAACQ,KAAP,CAAaD,MAAb,EAAqB,SAArB,EAAgC,sDAAhC;AACAP,QAAAA,MAAM,CAACS,EAAP,CAAUH,QAAQ,CAACI,OAAT,CAAiB,kBAAjB,MAAyC,CAAC,CAApD,EAAuD,oCAAvD;AACAR,QAA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FV;AAAA,QAGCxN,MAAM,GAAG,EAHV;AAIAA,IAAAA,MAAM,GAAG7C,GAAG,CAAC+H,GAAJ,CAAQiI,GAAR,EAAa,UAAU1K,IAAV,EAAgB;AACrC,aAAOA,IAAP;AACA,KAFQ,CAAT;AAGAjF,IAAAA,MAAM,CAACwB,SAAP,CAAiBwO,MAAjB,EAAyBxN,MAAzB,EAAiC,aAAjC;AAEAA,IAAAA,MAAM,GAAG7C,GAAG,CAAC+H,GAAJ,CAAQ5F,GAAR,EAAa,UAAUmD,IAAV,EAAgB+H,KAAhB,EAAuB;AAC5C,aAAO/H,IAAP;AACA,KAFQ,CAAT;AAGAjF,IAAAA,MAAM,CAACwB,SAAP,CAAiBwO,MAAjB,EAAyBxN,MAAzB,EAAiC,cAAjC;AACA,GAdD;AAgBA,CArzDA,EAqzDCqH,CArzDD,CAAD","sourcesContent":["(function ($$1) {\n\t'use strict';\n\n\t$$1 = $$1 && $$1.hasOwnProperty('default') ? $$1['default'] : $$1;\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.ajax\", function (assert) {\r\n\t\tassert.expect(15);\r\n\t\tvar done = assert.async(8);\r\n\t\t$$1.ajax(\"../tests/assets/sample.html\", {success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\t\t$$1.ajax({\r\n\t\t\turl: \"../tests/assets/sample.html\",\r\n\t\t\tsuccess: function (response, status) {\r\n\t\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request with all settings as object\");\r\n\t\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\t\tdone();\r\n\t\t\t},\r\n\t\t\tcomplete: function (xhr, status) {\r\n\t\t\t\tassert.equal(status, \"success\", \"Can set complete callback\");\r\n\t\t\t\tassert.ok(xhr.responseText.indexOf(\"Sample HTML File\") !== -1, \"Complete callback returned correct file\");\r\n\t\t\t\tdone();\r\n\t\t\t},\r\n\t\t\tstatusCode: {\r\n\t\t\t\t200: function (response, status) {\r\n\t\t\t\t\tassert.equal(status, \"success\", \"Can set statusCode 200 callback\");\r\n\t\t\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"Status code 200 callback returned correct file\");\r\n\t\t\t\t\tdone();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t$$1.ajax(\"../tests/assets/sample.json\", {success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.equal(response.foo, \"foo\", \"AJAX request returned json\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\t\t$$1.ajax(\"../tests/assets/404.html\", {error: function (response, status) {\r\n\t\t\tassert.equal(status, \"error\", \"Can run callback on error\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\r\n\t\t// syncronous\r\n\t\t$$1.ajax(\"../tests/assets/sample.js\", {success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can include a javascript file\");\r\n\t\t\tassert.ok(dabbyScriptSuccess, \"Javascript file included successfully\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\r\n\t\t$$1.ajax(\"../tests/assets/sample.js?v=1.0.0\", {success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can include a javascript file\");\r\n\t\t\tassert.ok(dabbyScriptSuccess, \"Javascript file included successfully\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\r\n\t\t// jsonp\r\n\t\t/*$.ajax(\"../tests/assets/jsonp.js\", {dataType: \"jsonp\", success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can include a javascript file via JSONP\");\r\n\t\t\tassert.ok(response, \"JSONP response correct\");\r\n\t\t\tdone();\r\n\t\t}});*/\r\n\t});\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.get\", function (assert) {\r\n\t\tassert.expect(8);\r\n\t\tvar done = assert.async(4);\r\n\r\n\t\t//basic request\r\n\t\t$$1.get(\"../tests/assets/sample.html\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tdone();\r\n\t\t});\r\n\r\n\t\t//basic request as object\r\n\t\t$$1.get({url: \"../tests/assets/sample.html\", success: function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tdone();\r\n\t\t}});\r\n\r\n\t\t//request with data\r\n\t\tvar data = {foo: \"foo\", bar: \"bar\"};\r\n\t\t$$1.get(\"../tests/assets/reflection.js\", data, function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(dabbyReflection.foo === data.foo && dabbyReflection.bar === data.bar, \"AJAX request set the posted data\");\r\n\t\t\tdone();\r\n\t\t});\r\n\r\n\t\t// specify data type\r\n\t\tvar data = {foo: \"foo\", bar: \"bar\", type: \"text\"};\r\n\t\t$$1.get(\"../tests/assets/json.txt\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.deepEqual(response, data, \"AJAX response processed the data corretly\");\r\n\t\t\tdone();\r\n\t\t}, \"json\");\r\n\t});\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.getScript\", function (assert) {\r\n\t\tassert.expect(2);\r\n\t\tvar done = assert.async(1);\r\n\r\n\t\t//basic request\r\n\t\twindow.dabbyScriptSuccess = false;\r\n\t\t$$1.getScript(\"../tests/assets/sample.js\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can include a script\");\r\n\t\t\tassert.ok(window.dabbyScriptSuccess, \"Script included correctly\");\r\n\t\t\tdone();\r\n\t\t});\r\n\t});\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.fn.load\", function (assert) {\r\n\t\tassert.expect(17);\r\n\t\tvar done = assert.async(3);\r\n\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar obj = $$1(\".testtemp, .testtemp2\");\r\n\r\n\t\t// load HTML\r\n\t\tobj.load(\"../tests/assets/sample.html\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tassert.equal($$1(\"p\", this).get(0).innerText, \"Sample HTML File\", \"HTML was successfully inserted into the page\");\r\n\t\t\tif (this.matches(\".testtemp2\")) { // only done() when run on both\r\n\t\t\t\tdone();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// load HTML with selector\r\n\t\tobj.load(\"../tests/assets/sample.html .test\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tassert.equal($$1(\".test\", this).get(0).innerText, \"This is inside a selector\", \"HTML was successfully inserted into the page\");\r\n\t\t\tif (this.matches(\".testtemp2\")) { // only done() when run on both\r\n\t\t\t\tdone();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// load HTML with a script\r\n\t\twindow.dabbyScriptSuccess = false;\r\n\t\ttest.innerHTML = '
';\r\n\t\t$$1(\".testtemp\").load(\"../tests/assets/sample-js.html\", function (response, status) {\r\n\t\t\tassert.equal(status, \"success\", \"Can make an AJAX request\");\r\n\t\t\tassert.ok(response.indexOf(\"Sample HTML File with Javascript\") !== -1, \"AJAX request returned correct file\");\r\n\t\t\tassert.equal($$1(\"h1\", this).get(0).innerText, \"Sample HTML File with Javascript\", \"HTML was successfully inserted into the page\");\r\n\t\t\tassert.ok(window.dabbyInlineScriptSuccess, \"Inline Script Executes\");\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tassert.ok(window.dabbyScriptSuccess, \"External Script Executed\");\r\n\t\t\t\tdone();\r\n\t\t\t}, 1000);\r\n\t\t});\r\n\t});\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.param\", function (assert) {\r\n\t\tvar params = {\r\n\t\t\tfoo: \"bar\",\r\n\t\t\tbar: \"foo\",\r\n\t\t\tfoobar: {\r\n\t\t\t\tfoo: \"bar\",\r\n\t\t\t\tbar: \"foo\",\r\n\t\t\t},\r\n\t\t\tfb: [\"foo\", \"bar\", \"foobar\"],\r\n\t\t\tenc: \"this is=a&test\"\r\n\t\t},\r\n\t\t\toutput = \"foo=bar&bar=foo&foobar%5Bfoo%5D=bar&foobar%5Bbar%5D=foo&fb%5B%5D=foo&fb%5B%5D=bar&fb%5B%5D=foobar&enc=this%20is%3Da%26test\";\r\n\t\tassert.equal($$1.param(params), output, \"Can encode an array to a query string\");\r\n\t});\n\n\tQUnit.module(\"Ajax\");\r\n\r\n\tQUnit.test(\"$.serialize\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\t\t\t'' +\r\n\r\n\t\t\t'' +\r\n\r\n\t\t\t'' +\r\n\t\t'
';\r\n\t\tvar date = test.querySelector(\"input[name=datetime]\").value;\r\n\t\tassert.equal($$1(\".testtemp\").serialize(), \"input=input&number=42&email=dave%40angel.com&datetime=\"+encodeURIComponent(date)+\"&checkbox-checked=checked&in%5B%5D=input1&in%5B%5D=input2&in%5B%5D=input3&radio=radio2&select=select2&multiselect%5B%5D=select2&multiselect%5B%5D=select3\", \"Can serialize a form\");\r\n\t});\n\n\tQUnit.module(\"Attributes\", hooks => {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\r\n\t\thooks.before(() => {\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t});\r\n\r\n\t\tQUnit.test(\"$.fn.attr\", function (assert) {\r\n\t\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0],\r\n\t\t\t\tstyle = \"padding-top: 10px;\",\r\n\t\t\t\tcorrect = true;\r\n\r\n\t\t\t// set and get class\r\n\t\t\tassert.deepEqual(main.attr(\"class\", \"testtemp testclass\"), main, \"Returns itself when setting class\");\r\n\t\t\tassert.equal(rmain.className, \"testtemp testclass\", \"Can set class\");\r\n\t\t\tassert.equal(main.attr(\"class\"), \"testtemp testclass\", \"Can retrieve class\");\r\n\t\t\tmain.attr(\"class\", \"testtemp\");\r\n\t\t\tassert.equal(main.attr(\"class\"), \"testtemp\", \"Can remove class\");\r\n\r\n\t\t\t// set and get style\r\n\t\t\tassert.deepEqual(main.attr(\"style\", style), main, \"Returns itself when setting style\");\r\n\t\t\tassert.equal(rmain.style.cssText, style, \"Can set style\");\r\n\t\t\tassert.equal(main.attr(\"style\"), style, \"Can retrieve style\");\r\n\r\n\t\t\t// set and get attribute\r\n\t\t\tassert.deepEqual(main.attr(\"itemprop\", \"articleBody\"), main, \"Returns itself when setting property\");\r\n\t\t\tassert.equal(rmain.getAttribute(\"itemprop\"), \"articleBody\", \"Can set property\");\r\n\t\t\tassert.equal(main.attr(\"itemprop\"), \"articleBody\", \"Can retrieve property\");\r\n\t\t\tmain.attr(\"itemprop\", null);\r\n\t\t\tassert.equal(main.attr(\"itemprop\"), undefined, \"Can remove property\");\r\n\r\n\t\t\t// set attributes using a callback\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t\tmain = $$1(\".testtemp\");\r\n\t\t\tassert.deepEqual(main.attr(\"data-test\", function (i, el) {return \"test-\"+i;}), main, \"Returns itself when setting attribute using callback\");\r\n\t\t\tmain.each(function (i) {\r\n\t\t\t\tif (this.getAttribute(\"data-test\") !== \"test-\"+i) {\r\n\t\t\t\t\tcorrect = false;\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tassert.equal(correct, true, \"Can set property with callback\");\r\n\r\n\t\t\t// reset\r\n\t\t});\r\n\r\n\t\thooks.after(() => {\r\n\t\t\ttest.innerHTML = \"\";\r\n\t\t});\r\n\t});\n\n\tQUnit.module(\"Attributes\");\r\n\r\n\tQUnit.test(\"$.fn.addClass\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0];\r\n\r\n\t\t// set and get class\r\n\t\tassert.deepEqual(main.addClass(\"test1\"), main, \"Returns itself when setting class\");\r\n\t\tassert.equal(rmain.className, \"testtemp test1\", \"Can set class\");\r\n\t\tmain.addClass(\"test2 test3\");\r\n\t\tassert.equal(rmain.className, \"testtemp test1 test2 test3\", \"Can set multiple classes\");\r\n\t\trmain.className = \"testtemp\";\r\n\t\tmain.addClass([\"new1\", \"new2\"]);\r\n\t\tassert.equal(rmain.className, \"testtemp new1 new2\", \"Can set multiple classes as an array\");\r\n\r\n\t\t// reset\r\n\t\ttest.innerHTML = \"\";\r\n\t});\r\n\r\n\tQUnit.test(\"$.fn.removeClass\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0];\r\n\r\n\t\t// set and get class\r\n\t\trmain.className = \"testtemp test1 test2 test3\";\r\n\t\tassert.deepEqual(main.removeClass(\"test1\"), main, \"Returns itself when setting class\");\r\n\t\tassert.equal(rmain.className, \"testtemp test2 test3\", \"Can remove class\");\r\n\t\tmain.removeClass(\"test2 test3\");\r\n\t\tassert.equal(rmain.className, \"testtemp\", \"Can remove multiple classes\");\r\n\r\n\t\t// reset\r\n\t\ttest.innerHTML = \"\";\r\n\t});\r\n\r\n\tQUnit.test(\"$.fn.toggleClass\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0];\r\n\r\n\t\t// set and get class\r\n\t\trmain.className = \"testtemp\";\r\n\t\tassert.deepEqual(main.toggleClass(\"test1\"), main, \"Returns itself when setting class\");\r\n\t\tassert.equal(rmain.className, \"testtemp test1\", \"Can toggle class on\");\r\n\t\tmain.toggleClass(\"test1\");\r\n\t\tassert.equal(rmain.className, \"testtemp\", \"Can toggle class off\");\r\n\t\tmain.toggleClass(\"test2 test3\");\r\n\t\tassert.equal(rmain.className, \"testtemp test2 test3\", \"Can toggle multiple classes on\");\r\n\r\n\t\t// test state var\r\n\t\tmain.toggleClass(\"test2 test3 test4\", true);\r\n\t\tassert.equal(rmain.className, \"testtemp test2 test3 test4\", \"Can toggle multiple classes on through state\");\r\n\t\tmain.toggleClass(\"test5 test3 test4\", false);\r\n\t\tassert.equal(rmain.className, \"testtemp test2\", \"Can toggle multiple classes off through state\");\r\n\t\tmain.toggleClass(\"test3\", 0);\r\n\t\tassert.equal(rmain.className, \"testtemp test2 test3\", \"Falsey value don't trigger specification of state\");\r\n\r\n\t\t// reset\r\n\t\ttest.innerHTML = \"\";\r\n\t});\n\n\tQUnit.module(\"Attributes\");\r\n\r\n\tQUnit.test(\"$.fn.css\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0],\r\n\t\t\tprops = [\"border-left-color\", \"border-left-style\", \"border-left-width\"],\r\n\t\t\toutput = {\r\n\t\t\t\t\"border-left-color\": \"rgb(255, 0, 0)\",\r\n\t\t\t\t\"border-left-style\": \"solid\",\r\n\t\t\t\t\"border-left-width\": \"1px\"\r\n\t\t\t},\r\n\t\t\toutputCC = {\r\n\t\t\t\t\"borderLeftColor\": \"rgb(255, 0, 0)\",\r\n\t\t\t\t\"borderLeftStyle\": \"solid\",\r\n\t\t\t\t\"borderLeftWidth\": \"1px\"\r\n\t\t\t};\r\n\r\n\t\t// retrieve CSS properties\r\n\t\trmain.style.cssText = 'border: 1px solid red;';\r\n\t\tassert.equal(main.css(\"border-left-color\"), \"rgb(255, 0, 0)\", \"Can retrieve CSS property\");\r\n\t\tassert.deepEqual(main.css(props), output, \"Can retrieve multiple CSS properties\");\r\n\r\n\t\tprops = [\"borderLeftColor\", \"borderLeftStyle\", \"borderLeftWidth\"];\r\n\t\tassert.deepEqual(main.css(props), outputCC, \"Can retrieve multiple CSS properties with camelCase\");\r\n\r\n\t\t// set css properties\r\n\t\trmain.style.cssText = '';\r\n\t\tassert.deepEqual(main.css(\"border\", \"1px solid red\"), main, \"Dabby object is returned after set\");\r\n\t\tassert.equal(rmain.style.borderLeftColor, \"red\", \"Can set CSS property\");\r\n\t\trmain.style.cssText = '';\r\n\t\tmain.css({border: \"1px solid red\", padding: 10}); // also tests unitless values\r\n\t\tassert.equal(rmain.style.borderLeftColor, \"red\", \"Can set CSS property through an object\");\r\n\t\tassert.equal(rmain.style.padding, \"10px\", \"Can set CSS property through an object\");\r\n\r\n\t\t// uses utils/setcss/setcss.js anyway, so doesn't need extensive testing here\r\n\r\n\t\t// reset\r\n\t\ttest.innerHTML = \"\";\r\n\t});\n\n\tQUnit.module(\"Attributes\", function (hooks) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\r\n\t\thooks.before(function () {\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t});\r\n\r\n\t\tQUnit.test(\"$.fn.data\", function (assert) {\r\n\t\t\tvar main = $$1(\".testtemp\"),\r\n\t\t\t\trmain = document.getElementsByClassName(\"testtemp\")[0],\r\n\t\t\t\tjson = {foo: \"bar\", foo2: \"bar2\"};\r\n\r\n\t\t\t// set data\r\n\t\t\tassert.deepEqual(main.data(\"var\", \"value\"), main, \"Returns itself when setting data\");\r\n\t\t\tassert.equal(main.data(\"var\"), \"value\", \"Can set data\");\r\n\t\t\tmain.data(\"json\", json);\r\n\t\t\tassert.deepEqual(main.data(\"json\"), json, \"Can set and get data as a plain object\");\r\n\t\t\tassert.deepEqual(main.data(), {var: \"value\", json: json}, \"Can retrieve all data from node\");\r\n\t\t});\r\n\r\n\t\thooks.after(function () {\r\n\t\t\ttest.innerHTML = \"\";\r\n\t\t});\r\n\t});\n\n\tQUnit.module(\"Attributes\");\r\n\r\n\tQUnit.test(\"$.fn.hasClass\", function (assert) {\r\n\t\tvar test = document.getElementsByClassName(\"test\")[0];\r\n\t\ttest.innerHTML = '
';\r\n\t\tvar obj = $$1(\".testtemp\");\r\n\r\n\t\tassert.ok(obj.hasClass(\"testtemp2\"), \"Can detect class\");\r\n\t\tassert.ok(!obj.hasClass(\"testtemp3\"), \"Can detect class is not on object\");\r\n\t});\n\n\tQUnit.module(\"Attributes\");\r\n\r\n\tQUnit.test(\"$.fn.prop\", function (assert) {\r\n\t\tvar obj = $$1(\"

\", {tabindex: 1});\r\n\r\n\t\tassert.deepEqual(obj, obj.prop(\"title\", \"test\"), \"Returns self on set\");\r\n\t\tassert.equal(obj.get(0).title, \"test\", \"Can set property\");\r\n\t\tassert.equal(obj.prop(\"title\"), \"test\", \"Can read property\");\r\n\t\tassert.equal(obj.prop(\"tabindex\"), 1, \"Can read property\");\r\n\r\n\t\tvar obj = $$1(\"\", {type: \"checkbox\", name: \"foo\", value: \"bar\", checked: \"checked\"});\r\n\r\n\t\tassert.equal(obj.prop(\"checked\"), true, \"Can read boolean property\");\r\n\t\tobj.prop(\"checked\", \"\");\r\n\t\tassert.equal(obj.get(0).checked, false, \"Can remove value from property\");\r\n\t\tassert.equal(obj.prop(\"title\"), \"\", \"Unset property returns undefined\");\r\n\t});\n\n\tQUnit.module(\"Attributes\", hooks => {\r\n\r\n\t\tQUnit.test(\"$.fn.show\", function (assert) {\r\n\t\t\tvar test = document.getElementsByClassName(\"test\")[0],\r\n\t\t\t\tobj;\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t\tobj = $$1(\".testtemp div\");\r\n\r\n\t\t\tassert.deepEqual(obj.show(), obj, \"Returns self on set\");\r\n\t\t\tlet show = 0;\r\n\t\t\tobj.get().forEach(item => {\r\n\t\t\t\tshow += item.style.display !== \"none\";\r\n\t\t\t});\r\n\t\t\tassert.equal(obj.length, show, \"Showed the requested elements\");\r\n\t\t});\r\n\r\n\t\tQUnit.test(\"$.fn.hide\", function (assert) {\r\n\t\t\tvar test = document.getElementsByClassName(\"test\")[0],\r\n\t\t\t\tobj;\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t\tobj = $$1(\".testtemp div\");\r\n\r\n\t\t\tassert.deepEqual(obj.hide(), obj, \"Returns self on set\");\r\n\t\t\tlet hide = 0;\r\n\t\t\tobj.get().forEach(item => {\r\n\t\t\t\thide += item.style.display === \"none\";\r\n\t\t\t});\r\n\t\t\tassert.equal(obj.length, hide, \"Hid the requested elements\");\r\n\t\t});\r\n\r\n\t\tQUnit.test(\"$.fn.toggle\", function (assert) {\r\n\t\t\tvar test = document.getElementsByClassName(\"test\")[0],\r\n\t\t\t\tobj;\r\n\t\t\ttest.innerHTML = '
';\r\n\t\t\tobj = $$1(\".testtemp div\");\r\n\r\n\t\t\tassert.deepEqual(obj.toggle(), obj, \"Returns self on set\");\r\n\t\t\tlet show = 0, hide = 0;\r\n\t\t\tobj.get().forEach(item => {\r\n\t\t\t\thide += item.style.display === \"none\";\r\n\t\t\t\tshow += item.style.display !== \"none\";\r\n\t\t\t});\r\n\t\t\tassert.equal(3, show, \"Showed the requested elements\");\r\n\t\t\tassert.equal(3, hide, \"Hid the requested elements\");\r\n\r\n\t\t\t// check that the initial value is set back\r\n\t\t\tconst initial = [\"none\", \"inline-block\", \"flex\", \"\", \"none\", \"none\"];\r\n\t\t\tobj.toggle();\r\n\t\t\tobj.get().forEach((item, i) => {\r\n\t\t\t\tassert.equal(initial[i], item.style.display);\r\n\t\t\t});\r\n\t\t});\r\n\t});\n\n\tQUnit.module(\"Attributes\");\r\n\r\n\tQUnit.test(\"$.fn.val\", function (assert) {\r\n\t\tvar obj = $$1(\"\", {type: \"text\", value: \"test\"}),\r\n\t\t\tmulti = document.createElement(\"select\"),\r\n\t\t\ttext = $$1(\"