1(self["webpackChunk"] = self["webpackChunk"] || []).push([["vitrine_newindex_js"],{ 2
vendor: 8,961 bytes, lines 3-179
3/***/ "./assets/sitevitrine/js/lib/owl.carousel.min.js": 4/*!*******************************************************!*\ 5 !*** ./assets/sitevitrine/js/lib/owl.carousel.min.js ***! 6 \*******************************************************/ 7/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 8 9/* provided dependency */ var jQuery = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); 10/* provided dependency */ var __webpack_provided_window_dot_jQuery = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); 11function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } 12__webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); 13__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); 14__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); 15__webpack_require__(/*! core-js/modules/es.array.concat.js */ "./node_modules/core-js/modules/es.array.concat.js"); 16__webpack_require__(/*! core-js/modules/es.array.filter.js */ "./node_modules/core-js/modules/es.array.filter.js"); 17__webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); 18__webpack_require__(/*! core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js"); 19__webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); 20__webpack_require__(/*! core-js/modules/es.array.join.js */ "./node_modules/core-js/modules/es.array.join.js"); 21__webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); 22__webpack_require__(/*! core-js/modules/es.array.slice.js */ "./node_modules/core-js/modules/es.array.slice.js"); 23__webpack_require__(/*! core-js/modules/es.array.splice.js */ "./node_modules/core-js/modules/es.array.splice.js"); 24__webpack_require__(/*! core-js/modules/es.date.to-string.js */ "./node_modules/core-js/modules/es.date.to-string.js"); 25__webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js"); 26__webpack_require__(/*! core-js/modules/es.number.constructor.js */ "./node_modules/core-js/modules/es.number.constructor.js"); 27__webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/core-js/modules/es.number.to-fixed.js"); 28__webpack_require__(/*! core-js/modules/es.object.get-own-property-names.js */ "./node_modules/core-js/modules/es.object.get-own-property-names.js"); 29__webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); 30__webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/core-js/modules/es.parse-float.js"); 31__webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/core-js/modules/es.promise.js"); 32__webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/core-js/modules/es.regexp.constructor.js"); 33__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); 34__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/core-js/modules/es.regexp.to-string.js"); 35__webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); 36__webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/core-js/modules/es.string.match.js"); 37__webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); 38__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); 39__webpack_require__(/*! core-js/modules/web.timers.js */ "./node_modules/core-js/modules/web.timers.js"); 40/** 41 * Owl Carousel v2.3.4 42 * Copyright 2013-2018 David Deutsch 43 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 44 */ 45!function (a, b, c, d) { 46 function e(b, c) { 47 this.settings = null, this.options = a.extend({}, e.Defaults, c), this.$element = a(b), this._handlers = {}, this._plugins = {}, this._supress = {}, this._current = null, this._speed = null, this._coordinates = [], this._breakpoint = null, this._width = null, this._items = [], this._clones = [], this._mergers = [], this._widths = [], this._invalidated = {}, this._pipe = [], this._drag = { 48 time: null, 49 target: null, 50 pointer: null, 51 stage: { 52 start: null, 53 current: null 54 }, 55 direction: null 56 }, this._states = { 57 current: {}, 58 tags: { 59 initializing: ["busy"], 60 animating: ["busy"], 61 dragging: ["interacting"] 62 } 63 }, a.each(["onResize", "onThrottledResize"], a.proxy(function (b, c) { 64 this._handlers[c] = a.proxy(this[c], this); 65 }, this)), a.each(e.Plugins, a.proxy(function (a, b) { 66 this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this); 67 }, this)), a.each(e.Workers, a.proxy(function (b, c) { 68 this._pipe.push({ 69 filter: c.filter, 70 run: a.proxy(c.run, this) 71 }); 72 }, this)), this.setup(), this.initialize(); 73 } 74 e.Defaults = { 75 items: 3, 76 loop: !1, 77 center: !1, 78 rewind: !1, 79 checkVisibility: !0, 80 mouseDrag: !0, 81 touchDrag: !0, 82 pullDrag: !0, 83 freeDrag: !1, 84 margin: 0, 85 stagePadding: 0, 86 merge: !1, 87 mergeFit: !0, 88 autoWidth: !1, 89 startPosition: 0, 90 rtl: !1, 91 smartSpeed: 250, 92 fluidSpeed: !1, 93 dragEndSpeed: !1, 94 responsive: {}, 95 responsiveRefreshRate: 200, 96 responsiveBaseElement: b, 97 fallbackEasing: "swing", 98 slideTransition: "", 99 info: !1, 100 nestedItemSelector: !1, 101 itemElement: "div", 102 stageElement: "div", 103 refreshClass: "owl-refresh", 104 loadedClass: "owl-loaded", 105 loadingClass: "owl-loading", 106 rtlClass: "owl-rtl", 107 responsiveClass: "owl-responsive", 108 dragClass: "owl-drag", 109 itemClass: "owl-item", 110 stageClass: "owl-stage", 111 stageOuterClass: "owl-stage-outer", 112 grabClass: "owl-grab" 113 }, e.Width = { 114 Default: "default", 115 Inner: "inner", 116 Outer: "outer" 117 }, e.Type = { 118 Event: "event", 119 State: "state" 120 }, e.Plugins = {}, e.Workers = [{ 121 filter: ["width", "settings"], 122 run: function run() { 123 this._width = this.$element.width(); 124 } 125 }, { 126 filter: ["width", "items", "settings"], 127 run: function run(a) { 128 a.current = this._items && this._items[this.relative(this._current)]; 129 } 130 }, { 131 filter: ["items", "settings"], 132 run: function run() { 133 this.$stage.children(".cloned").remove(); 134 } 135 }, { 136 filter: ["width", "items", "settings"], 137 run: function run(a) { 138 var b = this.settings.margin || "", 139 c = !this.settings.autoWidth, 140 d = this.settings.rtl, 141 e = { 142 width: "auto", 143 "margin-left": d ? b : "", 144 "margin-right": d ? "" : b 145 }; 146 !c && this.$stage.children().css(e), a.css = e; 147 } 148 }, { 149 filter: ["width", "items", "settings"], 150 run: function run(a) { 151 var b = (this.width() / this.settings.items).toFixed(3) - this.settings.margin, 152 c = null, 153 d = this._items.length, 154 e = !this.settings.autoWidth, 155 f = []; 156 for (a.items = { 157 merge: !1, 158 width: b 159 }; d--;) c = this._mergers[d], c = this.settings.mergeFit && Math.min(c, this.settings.items) || c, a.items.merge = c > 1 || a.items.merge, f[d] = e ? b * c : this._items[d].width(); 160 this._widths = f; 161 } 162 }, { 163 filter: ["items", "settings"], 164 run: function run() { 165 var b = [], 166 c = this._items, 167 d = this.settings, 168 e = Math.max(2 * d.items, 4), 169 f = 2 * Math.ceil(c.length / 2), 170 g = d.loop && c.length ? d.rewind ? e : Math.max(e, f) : 0, 171 h = "", 172 i = ""; 173 for (g /= 2; g > 0;) b.push(this.normalize(b.length / 2, !0)), h += c[b[b.length - 1]][0].outerHTML, b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), i = c[b[b.length - 1]][0].outerHTML + i, g -= 1; 174 this._clones = b, a(h).addClass("cloned").appendTo(this.$stage), a(i).addClass("cloned").prependTo(this.$stage); 175 } 176 }, { 177 filter: ["width", "items", "settings"], 178 run: function run() { 179 for (var a = this.settings.rtl ? 1 : -1, b = this._clones.length + this._items.length, c = -1, d = 0, e = 0, f = []; ++c < b;) d = f[c - 1] || 0, e = this._widths[this.relative(c)] + this.settings.margin, f.pu
179sh(d + e * a); 180 this._coordinates = f; 181 } 182 }, { 183 filter: ["width", "items", "settings"], 184 run: function run() { 185 var a = this.settings.stagePadding, 186 b = this._coordinates, 187 c = { 188 width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a, 189 "padding-left": a || "", 190 "padding-right": a || "" 191 }; 192 this.$stage.css(c); 193 } 194 }, { 195 filter: ["width", "items", "settings"], 196 run: function run(a) { 197 var b = this._coordinates.length, 198 c = !this.settings.autoWidth, 199 d = this.$stage.children(); 200 if (c && a.items.merge) for (; b--;) a.css.width = this._widths[this.relative(b)], d.eq(b).css(a.css);else c && (a.css.width = a.items.width, d.css(a.css)); 201 } 202 }, { 203 filter: ["items"], 204 run: function run() { 205 this._coordinates.length < 1 && this.$stage.removeAttr("style"); 206 } 207 }, { 208 filter: ["width", "items", "settings"], 209 run: function run(a) { 210 a.current = a.current ? this.$stage.children().index(a.current) : 0, a.current = Math.max(this.minimum(), Math.min(this.maximum(), a.current)), this.reset(a.current); 211 } 212 }, { 213 filter: ["position"], 214 run: function run() { 215 this.animate(this.coordinates(this._current)); 216 } 217 }, { 218 filter: ["width", "position", "items", "settings"], 219 run: function run() { 220 var a, 221 b, 222 c, 223 d, 224 e = this.settings.rtl ? 1 : -1, 225 f = 2 * this.settings.stagePadding, 226 g = this.coordinates(this.current()) + f, 227 h = g + this.width() * e, 228 i = []; 229 for (c = 0, d = this._coordinates.length; c < d; c++) a = this._coordinates[c - 1] || 0, b = Math.abs(this._coordinates[c]) + f * e, (this.op(a, "<=", g) && this.op(a, ">", h) || this.op(b, "<", g) && this.op(b, ">", h)) && i.push(c); 230 this.$stage.children(".active").removeClass("active"), this.$stage.children(":eq(" + i.join("), :eq(") + ")").addClass("active"), this.$stage.children(".center").removeClass("center"), this.settings.center && this.$stage.children().eq(this.current()).addClass("center"); 231 } 232 }], e.prototype.initializeStage = function () { 233 this.$stage = this.$element.find("." + this.settings.stageClass), this.$stage.length || (this.$element.addClass(this.options.loadingClass), this.$stage = a("<" + this.settings.stageElement + ">", { 234 "class": this.settings.stageClass 235 }).wrap(a("<div/>", { 236 "class": this.settings.stageOuterClass 237 })), this.$element.append(this.$stage.parent())); 238 }, e.prototype.initializeItems = function () { 239 var b = this.$element.find(".owl-item"); 240 if (b.length) return this._items = b.get().map(function (b) { 241 return a(b); 242 }), this._mergers = this._items.map(function () { 243 return 1; 244 }), void this.refresh(); 245 this.replace(this.$element.children().not(this.$stage.parent())), this.isVisible() ? this.refresh() : this.invalidate("width"), this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass); 246 }, e.prototype.initialize = function () { 247 if (this.enter("initializing"), this.trigger("initialize"), this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), this.settings.autoWidth && !this.is("pre-loading")) { 248 var a, b, c; 249 a = this.$element.find("img"), b = this.settings.nestedItemSelector ? "." + this.settings.nestedItemSelector : d, c = this.$element.children(b).width(), a.length && c <= 0 && this.preloadAutoWidthImages(a); 250 } 251 this.initializeStage(), this.initializeItems(), this.registerEventHandlers(), this.leave("initializing"), this.trigger("initialized"); 252 }, e.prototype.isVisible = function () { 253 return !this.settings.checkVisibility || this.$element.is(":visible"); 254 }, e.prototype.setup = function () { 255 var b = this.viewport(), 256 c = this.options.responsive, 257 d = -1, 258 e = null; 259 c ? (a.each(c, function (a) { 260 a <= b && a > d && (d = Number(a)); 261 }), e = a.extend({}, this.options, c[d]), "function" == typeof e.stagePadding && (e.stagePadding = e.stagePadding()), delete e.responsive, e.responsiveClass && this.$element.attr("class", this.$element.attr("class").replace(new RegExp("(" + this.options.responsiveClass + "-)\\S+\\s", "g"), "$1" + d))) : e = a.extend({}, this.options), this.trigger("change", { 262 property: { 263 name: "settings", 264 value: e 265 } 266 }), this._breakpoint = d, this.settings = e, this.invalidate("settings"), this.trigger("changed", { 267 property: { 268 name: "settings", 269 value: this.settings 270 } 271 }); 272 }, e.prototype.optionsLogic = function () { 273 this.settings.autoWidth && (this.settings.stagePadding = !1, this.settings.merge = !1); 274 }, e.prototype.prepare = function (b) { 275 var c = this.trigger("prepare", { 276 content: b 277 }); 278 return c.data || (c.data = a("<" + this.settings.itemElement + "/>").addClass(this.options.itemClass).append(b)), this.trigger("prepared", { 279 content: c.data 280 }), c.data; 281 }, e.prototype.update = function () { 282 for (var b = 0, c = this._pipe.length, d = a.proxy(function (a) { 283 return this[a]; 284 }, this._invalidated), e = {}; b < c;) (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && this._pipe[b].run(e), b++; 285 this._invalidated = {}, !this.is("valid") && this.enter("valid"); 286 }, e.prototype.width = function (a) { 287 switch (a = a || e.Width.Default) { 288 case e.Width.Inner: 289 case e.Width.Outer: 290 return this._width; 291 default: 292 return this._width - 2 * this.settings.stagePadding + this.settings.margin; 293 } 294 }, e.prototype.refresh = function () { 295 this.enter("refreshing"), this.trigger("refresh"), this.setup(), this.optionsLogic(), this.$element.addClass(this.options.refreshClass), this.update(), this.$element.removeClass(this.options.refreshClass), this.leave("refreshing"), this.trigger("refreshed"); 296 }, e.prototype.onThrottledResize = function () { 297 b.clearTimeout(this.resizeTimer), this.resizeTimer = b.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate); 298 }, e.prototype.onResize = function () { 299 return !!this._items.length && this._width !== this.$element.width() && !!this.isVisible() && (this.enter("resizing"), this.trigger("resize").isDefaultPrevented() ? (this.leave("resizing"), !1) : (this.invalidate("width"), this.refresh(), this.leave("resizing"), void this.trigger("resized"))); 300 }, e.prototype.registerEventHandlers = function () { 301 a.support.transition && this.$stage.on(a.support.transition.end + ".owl.core", a.proxy(this.onTransitionEnd, this)), !1 !== this.settings.responsive && this.on(b, "resize", this._handlers.onThrottledResize), this.settings.mouseDrag && (this.$element.addClass(this.options.dragClass), this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("dragstart.owl.core selectstart.owl.core", function () { 302 return !1; 303 })), this.settings.touchDrag && (this.$stage.on("touchstart.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("touchcancel.owl.core", a.proxy(this.onDragEnd, this))); 304 }, e.prototype.onDragStart = function (b) { 305 var d = null; 306 3 !== b.which && (a.support.transform ? (d = this.$stage.css("transform").replace(/.*\(|\)| /g, "").split(","), d = { 307 x: d[16 === d.length ? 12 : 4],
vendor: 14,033 bytes, lines 308-522
308 y: d[16 === d.length ? 13 : 5] 309 }) : (d = this.$stage.position(), d = { 310 x: this.settings.rtl ? d.left + this.$stage.width() - this.width() + this.settings.margin : d.left, 311 y: d.top 312 }), this.is("animating") && (a.support.transform ? this.animate(d.x) : this.$stage.stop(), this.invalidate("position")), this.$element.toggleClass(this.options.grabClass, "mousedown" === b.type), this.speed(0), this._drag.time = new Date().getTime(), this._drag.target = a(b.target), this._drag.stage.start = d, this._drag.stage.current = d, this._drag.pointer = this.pointer(b), a(c).on("mouseup.owl.core touchend.owl.core", a.proxy(this.onDragEnd, this)), a(c).one("mousemove.owl.core touchmove.owl.core", a.proxy(function (b) { 313 var d = this.difference(this._drag.pointer, this.pointer(b)); 314 a(c).on("mousemove.owl.core touchmove.owl.core", a.proxy(this.onDragMove, this)), Math.abs(d.x) < Math.abs(d.y) && this.is("valid") || (b.preventDefault(), this.enter("dragging"), this.trigger("drag")); 315 }, this))); 316 }, e.prototype.onDragMove = function (a) { 317 var b = null, 318 c = null, 319 d = null, 320 e = this.difference(this._drag.pointer, this.pointer(a)), 321 f = this.difference(this._drag.stage.start, e); 322 this.is("dragging") && (a.preventDefault(), this.settings.loop ? (b = this.coordinates(this.minimum()), c = this.coordinates(this.maximum() + 1) - b, f.x = ((f.x - b) % c + c) % c + b) : (b = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()), c = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()), d = this.settings.pullDrag ? -1 * e.x / 5 : 0, f.x = Math.max(Math.min(f.x, b + d), c + d)), this._drag.stage.current = f, this.animate(f.x)); 323 }, e.prototype.onDragEnd = function (b) { 324 var d = this.difference(this._drag.pointer, this.pointer(b)), 325 e = this._drag.stage.current, 326 f = d.x > 0 ^ this.settings.rtl ? "left" : "right"; 327 a(c).off(".owl.core"), this.$element.removeClass(this.options.grabClass), (0 !== d.x && this.is("dragging") || !this.is("valid")) && (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), this.invalidate("position"), this.update(), this._drag.direction = f, (Math.abs(d.x) > 3 || new Date().getTime() - this._drag.time > 300) && this._drag.target.one("click.owl.core", function () { 328 return !1; 329 })), this.is("dragging") && (this.leave("dragging"), this.trigger("dragged")); 330 }, e.prototype.closest = function (b, c) { 331 var e = -1, 332 f = 30, 333 g = this.width(), 334 h = this.coordinates(); 335 return this.settings.freeDrag || a.each(h, a.proxy(function (a, i) { 336 return "left" === c && b > i - f && b < i + f ? e = a : "right" === c && b > i - g - f && b < i - g + f ? e = a + 1 : this.op(b, "<", i) && this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && (e = "left" === c ? a + 1 : a), -1 === e; 337 }, this)), this.settings.loop || (this.op(b, ">", h[this.minimum()]) ? e = b = this.minimum() : this.op(b, "<", h[this.maximum()]) && (e = b = this.maximum())), e; 338 }, e.prototype.animate = function (b) { 339 var c = this.speed() > 0; 340 this.is("animating") && this.onTransitionEnd(), c && (this.enter("animating"), this.trigger("translate")), a.support.transform3d && a.support.transition ? this.$stage.css({ 341 transform: "translate3d(" + b + "px,0px,0px)", 342 transition: this.speed() / 1e3 + "s" + (this.settings.slideTransition ? " " + this.settings.slideTransition : "") 343 }) : c ? this.$stage.animate({ 344 left: b + "px" 345 }, this.speed(), this.settings.fallbackEasing, a.proxy(this.onTransitionEnd, this)) : this.$stage.css({ 346 left: b + "px" 347 }); 348 }, e.prototype.is = function (a) { 349 return this._states.current[a] && this._states.current[a] > 0; 350 }, e.prototype.current = function (a) { 351 if (a === d) return this._current; 352 if (0 === this._items.length) return d; 353 if (a = this.normalize(a), this._current !== a) { 354 var b = this.trigger("change", { 355 property: { 356 name: "position", 357 value: a 358 } 359 }); 360 b.data !== d && (a = this.normalize(b.data)), this._current = a, this.invalidate("position"), this.trigger("changed", { 361 property: { 362 name: "position", 363 value: this._current 364 } 365 }); 366 } 367 return this._current; 368 }, e.prototype.invalidate = function (b) { 369 return "string" === a.type(b) && (this._invalidated[b] = !0, this.is("valid") && this.leave("valid")), a.map(this._invalidated, function (a, b) { 370 return b; 371 }); 372 }, e.prototype.reset = function (a) { 373 (a = this.normalize(a)) !== d && (this._speed = 0, this._current = a, this.suppress(["translate", "translated"]), this.animate(this.coordinates(a)), this.release(["translate", "translated"])); 374 }, e.prototype.normalize = function (a, b) { 375 var c = this._items.length, 376 e = b ? 0 : this._clones.length; 377 return !this.isNumeric(a) || c < 1 ? a = d : (a < 0 || a >= c + e) && (a = ((a - e / 2) % c + c) % c + e / 2), a; 378 }, e.prototype.relative = function (a) { 379 return a -= this._clones.length / 2, this.normalize(a, !0); 380 }, e.prototype.maximum = function (a) { 381 var b, 382 c, 383 d, 384 e = this.settings, 385 f = this._coordinates.length; 386 if (e.loop) f = this._clones.length / 2 + this._items.length - 1;else if (e.autoWidth || e.merge) { 387 if (b = this._items.length) for (c = this._items[--b].width(), d = this.$element.width(); b-- && !((c += this._items[b].width() + this.settings.margin) > d);); 388 f = b + 1; 389 } else f = e.center ? this._items.length - 1 : this._items.length - e.items; 390 return a && (f -= this._clones.length / 2), Math.max(f, 0); 391 }, e.prototype.minimum = function (a) { 392 return a ? 0 : this._clones.length / 2; 393 }, e.prototype.items = function (a) { 394 return a === d ? this._items.slice() : (a = this.normalize(a, !0), this._items[a]); 395 }, e.prototype.mergers = function (a) { 396 return a === d ? this._mergers.slice() : (a = this.normalize(a, !0), this._mergers[a]); 397 }, e.prototype.clones = function (b) { 398 var c = this._clones.length / 2, 399 e = c + this._items.length, 400 f = function f(a) { 401 return a % 2 == 0 ? e + a / 2 : c - (a + 1) / 2; 402 }; 403 return b === d ? a.map(this._clones, function (a, b) { 404 return f(b); 405 }) : a.map(this._clones, function (a, c) { 406 return a === b ? f(c) : null; 407 }); 408 }, e.prototype.speed = function (a) { 409 return a !== d && (this._speed = a), this._speed; 410 }, e.prototype.coordinates = function (b) { 411 var c, 412 e = 1, 413 f = b - 1; 414 return b === d ? a.map(this._coordinates, a.proxy(function (a, b) { 415 return this.coordinates(b); 416 }, this)) : (this.settings.center ? (this.settings.rtl && (e = -1, f = b + 1), c = this._coordinates[b], c += (this.width() - c + (this._coordinates[f] || 0)) / 2 * e) : c = this._coordinates[f] || 0, c = Math.ceil(c)); 417 }, e.prototype.duration = function (a, b, c) { 418 return 0 === c ? 0 : Math.min(Math.max(Math.abs(b - a), 1), 6) * Math.abs(c || this.settings.smartSpeed); 419 }, e.prototype.to = function (a, b) { 420 var c = this.current(), 421 d = null, 422 e = a - this.relative(c), 423 f = (e > 0) - (e < 0), 424 g = this._items.length, 425 h = this.minimum(), 426 i = this.maximum(); 427 this.settings.loop ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += -1 * f * g), a = c + e, (d = ((a - h) % g + g) % g + h) !== a && d - e <= i && d - e > 0 && (c = d - e, a = d, this.reset(c))) : this.settings.rewind ? (i += 1, a = (a % i + i) % i) : a = Math.max(h, Math.min(i, a)), this.speed(this.duration(c, a, b)), this.current(a), this.isVisible() && this.update(); 428 }, e.prototype.next = function (a) { 429 a = a || !1, this.to(this.relative(this.current()) + 1, a); 430 }, e.prototype.prev = function (a) { 431 a = a || !1, this.to(this.relative(this.current()) - 1, a); 432 }, e.prototype.onTransitionEnd = function (a) { 433 if (a !== d && (a.stopPropagation(), (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0))) return !1; 434 this.leave("animating"), this.trigger("translated"); 435 }, e.prototype.viewport = function () { 436 var d; 437 return this.options.responsiveBaseElement !== b ? d = a(this.options.responsiveBaseElement).width() : b.innerWidth ? d = b.innerWidth : c.documentElement && c.documentElement.clientWidth ? d = c.documentElement.clientWidth : console.warn("Can not detect viewport width."), d; 438 }, e.prototype.replace = function (b) { 439 this.$stage.empty(), this._items = [], b && (b = b instanceof jQuery ? b : a(b)), this.settings.nestedItemSelector && (b = b.find("." + this.settings.nestedItemSelector)), b.filter(function () { 440 return 1 === this.nodeType; 441 }).each(a.proxy(function (a, b) { 442 b = this.prepare(b), this.$stage.append(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1); 443 }, this)), this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0), this.invalidate("items"); 444 }, e.prototype.add = function (b, c) { 445 var e = this.relative(this._current); 446 c = c === d ? this._items.length : this.normalize(c, !0), b = b instanceof jQuery ? b : a(b), this.trigger("add", { 447 content: b, 448 position: c 449 }), b = this.prepare(b), 0 === this._items.length || c === this._items.length ? (0 === this._items.length && this.$stage.append(b), 0 !== this._items.length && this._items[c - 1].after(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)) : (this._items[c].before(b), this._items.splice(c, 0, b), this._mergers.splice(c, 0, 1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)), this._items[e] && this.reset(this._items[e].index()), this.invalidate("items"), this.trigger("added", { 450 content: b, 451 position: c 452 }); 453 }, e.prototype.remove = function (a) { 454 (a = this.normalize(a, !0)) !== d && (this.trigger("remove", { 455 content: this._items[a], 456 position: a 457 }), this._items[a].remove(), this._items.splice(a, 1), this._mergers.splice(a, 1), this.invalidate("items"), this.trigger("removed", { 458 content: null, 459 position: a 460 })); 461 }, e.prototype.preloadAutoWidthImages = function (b) { 462 b.each(a.proxy(function (b, c) { 463 this.enter("pre-loading"), c = a(c), a(new Image()).one("load", a.proxy(function (a) { 464 c.attr("src", a.target.src), c.css("opacity", 1), this.leave("pre-loading"), !this.is("pre-loading") && !this.is("initializing") && this.refresh(); 465 }, this)).attr("src", c.attr("src") || c.attr("data-src") || c.attr("data-src-retina")); 466 }, this)); 467 }, e.prototype.destroy = function () { 468 this.$element.off(".owl.core"), this.$stage.off(".owl.core"), a(c).off(".owl.core"), !1 !== this.settings.responsive && (b.clearTimeout(this.resizeTimer), this.off(b, "resize", this._handlers.onThrottledResize)); 469 for (var d in this._plugins) this._plugins[d].destroy(); 470 this.$stage.children(".cloned").remove(), this.$stage.unwrap(), this.$stage.children().contents().unwrap(), this.$stage.children().unwrap(), this.$stage.remove(), this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class", this.$element.attr("class").replace(new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), "")).removeData("owl.carousel"); 471 }, e.prototype.op = function (a, b, c) { 472 var d = this.settings.rtl; 473 switch (b) { 474 case "<": 475 return d ? a > c : a < c; 476 case ">": 477 return d ? a < c : a > c; 478 case ">=": 479 return d ? a <= c : a >= c; 480 case "<=": 481 return d ? a >= c : a <= c; 482 } 483 }, e.prototype.on = function (a, b, c, d) { 484 a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent && a.attachEvent("on" + b, c); 485 }, e.prototype.off = function (a, b, c, d) { 486 a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent && a.detachEvent("on" + b, c); 487 }, e.prototype.trigger = function (b, c, d, f, g) { 488 var h = { 489 item: { 490 count: this._items.length, 491 index: this.current() 492 } 493 }, 494 i = a.camelCase(a.grep(["on", b, d], function (a) { 495 return a; 496 }).join("-").toLowerCase()), 497 j = a.Event([b, "owl", d || "carousel"].join(".").toLowerCase(), a.extend({ 498 relatedTarget: this 499 }, h, c)); 500 return this._supress[b] || (a.each(this._plugins, function (a, b) { 501 b.onTrigger && b.onTrigger(j); 502 }), this.register({ 503 type: e.Type.Event, 504 name: b 505 }), this.$element.trigger(j), this.settings && "function" == typeof this.settings[i] && this.settings[i].call(this, j)), j; 506 }, e.prototype.enter = function (b) { 507 a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) { 508 this._states.current[b] === d && (this._states.current[b] = 0), this._states.current[b]++; 509 }, this)); 510 }, e.prototype.leave = function (b) { 511 a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) { 512 this._states.current[b]--; 513 }, this)); 514 }, e.prototype.register = function (b) { 515 if (b.type === e.Type.Event) { 516 if (a.event.special[b.name] || (a.event.special[b.name] = {}), !a.event.special[b.name].owl) { 517 var c = a.event.special[b.name]._default; 518 a.event.special[b.name]._default = function (a) { 519 return !c || !c.apply || a.namespace && -1 !== a.namespace.indexOf("owl") ? a.namespace && a.namespace.indexOf("owl") > -1 : c.apply(this, arguments); 520 }, a.event.special[b.name].owl = !0; 521 } 522 } else b.type === e.Type.State && (this._states.tags[b.name] ? this._states.tags[b.name] = this._states.tags[b.name].
522concat(b.tags) : this._states.tags[b.name] = b.tags, this._states.tags[b.name] = a.grep(this._states.tags[b.name], a.proxy(function (c, d) { 523 return a.inArray(c, this._states.tags[b.name]) === d; 524 }, this))); 525 }, e.prototype.suppress = function (b) { 526 a.each(b, a.proxy(function (a, b) { 527 this._supress[b] = !0; 528 }, this)); 529 }, e.prototype.release = function (b) { 530 a.each(b, a.proxy(function (a, b) { 531 delete this._supress[b]; 532 }, this)); 533 }, e.prototype.pointer = function (a) { 534 var c = { 535 x: null, 536 y: null 537 }; 538 return a = a.originalEvent || a || b.event, a = a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : a, a.pageX ? (c.x = a.pageX, c.y = a.pageY) : (c.x = a.clientX, c.y = a.clientY), c; 539 }, e.prototype.isNumeric = function (a) { 540 return !isNaN(parseFloat(a)); 541 }, e.prototype.difference = function (a, b) { 542 return { 543 x: a.x - b.x, 544 y: a.y - b.y 545 }; 546 }, a.fn.owlCarousel = function (b) { 547 var c = Array.prototype.slice.call(arguments, 1); 548 return this.each(function () { 549 var d = a(this), 550 f = d.data("owl.carousel"); 551 f || (f = new e(this, "object" == _typeof(b) && b), d.data("owl.carousel", f), a.each(["next", "prev", "to", "destroy", "refresh", "replace", "add", "remove"], function (b, c) { 552 f.register({ 553 type: e.Type.Event, 554 name: c 555 }), f.$element.on(c + ".owl.carousel.core", a.proxy(function (a) { 556 a.namespace && a.relatedTarget !== this && (this.suppress([c]), f[c].apply(this, [].slice.call(arguments, 1)), this.release([c])); 557 }, f)); 558 })), "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c); 559 }); 560 }, a.fn.owlCarousel.Constructor = e; 561}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 562 var e = function e(b) { 563 this._core = b, this._interval = null, this._visible = null, this._handlers = { 564 "initialized.owl.carousel": a.proxy(function (a) { 565 a.namespace && this._core.settings.autoRefresh && this.watch(); 566 }, this) 567 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers); 568 }; 569 e.Defaults = { 570 autoRefresh: !0, 571 autoRefreshInterval: 500 572 }, e.prototype.watch = function () { 573 this._interval || (this._visible = this._core.isVisible(), this._interval = b.setInterval(a.proxy(this.refresh, this), this._core.settings.autoRefreshInterval)); 574 }, e.prototype.refresh = function () { 575 this._core.isVisible() !== this._visible && (this._visible = !this._visible, this._core.$element.toggleClass("owl-hidden", !this._visible), this._visible && this._core.invalidate("width") && this._core.refresh()); 576 }, e.prototype.destroy = function () { 577 var a, c; 578 b.clearInterval(this._interval); 579 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 580 for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null); 581 }, a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e; 582}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 583 var e = function e(b) { 584 this._core = b, this._loaded = [], this._handlers = { 585 "initialized.owl.carousel change.owl.carousel resized.owl.carousel": a.proxy(function (b) { 586 if (b.namespace && this._core.settings && this._core.settings.lazyLoad && (b.property && "position" == b.property.name || "initialized" == b.type)) { 587 var c = this._core.settings, 588 e = c.center && Math.ceil(c.items / 2) || c.items, 589 f = c.center && -1 * e || 0, 590 g = (b.property && b.property.value !== d ? b.property.value : this._core.current()) + f, 591 h = this._core.clones().length, 592 i = a.proxy(function (a, b) { 593 this.load(b); 594 }, this); 595 for (c.lazyLoadEager > 0 && (e += c.lazyLoadEager, c.loop && (g -= c.lazyLoadEager, e++)); f++ < e;) this.load(h / 2 + this._core.relative(g)), h && a.each(this._core.clones(this._core.relative(g)), i), g++; 596 } 597 }, this) 598 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers); 599 }; 600 e.Defaults = { 601 lazyLoad: !1, 602 lazyLoadEager: 0 603 }, e.prototype.load = function (c) { 604 var d = this._core.$stage.children().eq(c), 605 e = d && d.find(".owl-lazy"); 606 !e || a.inArray(d.get(0), this._loaded) > -1 || (e.each(a.proxy(function (c, d) { 607 var e, 608 f = a(d), 609 g = b.devicePixelRatio > 1 && f.attr("data-src-retina") || f.attr("data-src") || f.attr("data-srcset"); 610 this._core.trigger("load", { 611 element: f, 612 url: g 613 }, "lazy"), f.is("img") ? f.one("load.owl.lazy", a.proxy(function () { 614 f.css("opacity", 1), this._core.trigger("loaded", { 615 element: f, 616 url: g 617 }, "lazy"); 618 }, this)).attr("src", g) : f.is("source") ? f.one("load.owl.lazy", a.proxy(function () { 619 this._core.trigger("loaded", { 620 element: f, 621 url: g 622 }, "lazy"); 623 }, this)).attr("srcset", g) : (e = new Image(), e.onload = a.proxy(function () { 624 f.css({ 625 "background-image": 'url("' + g + '")', 626 opacity: "1" 627 }), this._core.trigger("loaded", { 628 element: f, 629 url: g 630 }, "lazy"); 631 }, this), e.src = g); 632 }, this)), this._loaded.push(d.get(0))); 633 }, e.prototype.destroy = function () { 634 var a, b; 635 for (a in this.handlers) this._core.$element.off(a, this.handlers[a]); 636 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 637 }, a.fn.owlCarousel.Constructor.Plugins.Lazy = e; 638}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 639 var e = function e(c) { 640 this._core = c, this._previousHeight = null, this._handlers = { 641 "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function (a) { 642 a.namespace && this._core.settings.autoHeight && this.update(); 643 }, this), 644 "changed.owl.carousel": a.proxy(function (a) { 645 a.namespace && this._core.settings.autoHeight && "position" === a.property.name && this.update(); 646 }, this), 647 "loaded.owl.lazy": a.proxy(function (a) { 648 a.namespace && this._core.settings.autoHeight && a.element.closest("." + this._core.settings.itemClass).index() === this._core.current() && this.update(); 649 }, this) 650 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._intervalId = null; 651 var d = this; 652 a(b).on("load", function () { 653 d._core.settings.autoHeight && d.update(); 654 }), a(b).resize(function () { 655 d._core.settings.autoHeight && (null != d._intervalId && clearTimeout(d._intervalId), d._intervalId = setTimeout(function () { 656 d.update(); 657 }, 250)); 658 }); 659 }; 660 e.Defaults = { 661 autoHeight: !1, 662 autoHeightClass: "owl-height" 663 }, e.prototype.update = function () { 664 var b = this._core._current, 665 c = b + this._core.settings.items, 666 d = this._core.settings.lazyLoad, 667 e = this._core.$stage.children().toArray().slice(b, c), 668 f = [], 669 g = 0; 670 a.each(e, function (b, c) { 671 f.push(a(c).height()); 672 }), g = Math.max.apply(null, f), g <= 1 && d && this._previousHeight && (g = this._previousHeight), this._previousHeight = g, this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass); 673 }, e.prototype.destroy = function () { 674 var a, b; 675 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 676 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 677 }, a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e; 678}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 679 var e = function e(b) { 680 this._core = b, this._videos = {}, this._playing = null, this._handlers = { 681 "initialized.owl.carousel": a.proxy(function (a) { 682 a.namespace && this._core.register({ 683 type: "state", 684 name: "playing", 685 tags: ["interacting"] 686 }); 687 }, this), 688 "resize.owl.carousel": a.proxy(function (a) { 689 a.namespace && this._core.settings.video && this.isInFullScreen() && a.preventDefault(); 690 }, this), 691 "refreshed.owl.carousel": a.proxy(function (a) { 692 a.namespace && this._core.is("resizing") && this._core.$stage.find(".cloned .owl-video-frame").remove(); 693 }, this), 694 "changed.owl.carousel": a.proxy(function (a) { 695 a.namespace && "position" === a.property.name && this._playing && this.stop(); 696 }, this), 697 "prepared.owl.carousel": a.proxy(function (b) { 698 if (b.namespace) { 699 var c = a(b.content).find(".owl-video"); 700 c.length && (c.css("display", "none"), this.fetch(c, a(b.content))); 701 } 702 }, this) 703 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._core.$element.on("click.owl.video", ".owl-video-play-icon", a.proxy(function (a) { 704 this.play(a); 705 }, this)); 706 }; 707 e.Defaults = { 708 video: !1, 709 videoHeight: !1, 710 videoWidth: !1 711 }, e.prototype.fetch = function (a, b) { 712 var c = function () { 713 return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") ? "vzaar" : "youtube"; 714 }(), 715 d = a.attr("data-vimeo-id") || a.attr("data-youtube-id") || a.attr("data-vzaar-id"), 716 e = a.attr("data-width") || this._core.settings.videoWidth, 717 f = a.attr("data-height") || this._core.settings.videoHeight, 718 g = a.attr("href"); 719 if (!g) throw new Error("Missing video URL."); 720 if (d = g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/), d[3].indexOf("youtu") > -1) c = "youtube";else if (d[3].indexOf("vimeo") > -1) c = "vimeo";else { 721 if (!(d[3].indexOf("vzaar") > -1)) throw new Error("Video URL not supported."); 722 c = "vzaar"; 723 } 724 d = d[6], this._videos[g] = { 725 type: c, 726 id: d, 727 width: e, 728 height: f 729 }, b.attr("data-video", g), this.thumbnail(a, this._videos[g]); 730 }, e.prototype.thumbnail = function (b, c) { 731 var d, 732 e, 733 f,
734 g = c.width && c.height ? "width:" + c.width + "px;height:" + c.height + "px;" : "", 735 h = b.find("img"), 736 i = "src", 737 j = "", 738 k = this._core.settings, 739 l = function l(c) { 740 e = '<div class="owl-video-play-icon"></div>', d = k.lazyLoad ? a("<div/>", { 741 "class": "owl-video-tn " + j, 742 srcType: c 743 }) : a("<div/>", { 744 "class": "owl-video-tn", 745 style: "opacity:1;background-image:url(" + c + ")" 746 }), b.after(d), b.after(e); 747 }; 748 if (b.wrap(a("<div/>", { 749 "class": "owl-video-wrapper", 750 style: g 751 })), this._core.settings.lazyLoad && (i = "data-src", j = "owl-lazy"), h.length) return l(h.attr(i)), h.remove(), !1; 752 "youtube" === c.type ? (f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg", l(f)) : "vimeo" === c.type ? a.ajax({ 753 type: "GET", 754 url: "//vimeo.com/api/v2/video/" + c.id + ".json", 755 jsonp: "callback", 756 dataType: "jsonp", 757 success: function success(a) { 758 f = a[0].thumbnail_large, l(f); 759 } 760 }) : "vzaar" === c.type && a.ajax({ 761 type: "GET", 762 url: "//vzaar.com/api/videos/" + c.id + ".json", 763 jsonp: "callback", 764 dataType: "jsonp", 765 success: function success(a) { 766 f = a.framegrab_url, l(f); 767 } 768 }); 769 }, e.prototype.stop = function () { 770 this._core.trigger("stop", null, "video"), this._playing.find(".owl-video-frame").remove(), this._playing.removeClass("owl-video-playing"), this._playing = null, this._core.leave("playing"), this._core.trigger("stopped", null, "video"); 771 }, e.prototype.play = function (b) { 772 var c, 773 d = a(b.target), 774 e = d.closest("." + this._core.settings.itemClass), 775 f = this._videos[e.attr("data-video")], 776 g = f.width || "100%", 777 h = f.height || this._core.$stage.height(); 778 this._playing || (this._core.enter("playing"), this._core.trigger("play", null, "video"), e = this._core.items(this._core.relative(e.index())), this._core.reset(e.index()), c = a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'), c.attr("height", h), c.attr("width", g), "youtube" === f.type ? c.attr("src", "//www.youtube.com/embed/" + f.id + "?autoplay=1&rel=0&v=" + f.id) : "vimeo" === f.type ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") : "vzaar" === f.type && c.attr("src", "//view.vzaar.com/" + f.id + "/player?autoplay=true"), a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")), this._playing = e.addClass("owl-video-playing")); 779 }, e.prototype.isInFullScreen = function () { 780 var b = c.fullscreenElement || c.mozFullScreenElement || c.webkitFullscreenElement; 781 return b && a(b).parent().hasClass("owl-video-frame"); 782 }, e.prototype.destroy = function () { 783 var a, b; 784 this._core.$element.off("click.owl.video"); 785 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 786 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 787 }, a.fn.owlCarousel.Constructor.Plugins.Video = e; 788}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 789 var e = function e(b) { 790 this.core = b, this.core.options = a.extend({}, e.Defaults, this.core.options), this.swapping = !0, this.previous = d, this.next = d, this.handlers = { 791 "change.owl.carousel": a.proxy(function (a) { 792 a.namespace && "position" == a.property.name && (this.previous = this.core.current(), this.next = a.property.value); 793 }, this), 794 "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(function (a) { 795 a.namespace && (this.swapping = "translated" == a.type); 796 }, this), 797 "translate.owl.carousel": a.proxy(function (a) { 798 a.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn) && this.swap(); 799 }, this) 800 }, this.core.$element.on(this.handlers); 801 }; 802 e.Defaults = { 803 animateOut: !1, 804 animateIn: !1 805 }, e.prototype.swap = function () { 806 if (1 === this.core.settings.items && a.support.animation && a.support.transition) { 807 this.core.speed(0); 808 var b, 809 c = a.proxy(this.clear, this), 810 d = this.core.$stage.children().eq(this.previous), 811 e = this.core.$stage.children().eq(this.next), 812 f = this.core.settings.animateIn, 813 g = this.core.settings.animateOut; 814 this.core.current() !== this.previous && (g && (b = this.core.coordinates(this.previous) - this.core.coordinates(this.next), d.one(a.support.animation.end, c).css({ 815 left: b + "px" 816 }).addClass("animated owl-animated-out").addClass(g)), f && e.one(a.support.animation.end, c).addClass("animated owl-animated-in").addClass(f)); 817 } 818 }, e.prototype.clear = function (b) { 819 a(b.target).css({ 820 left: "" 821 }).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut), this.core.onTransitionEnd(); 822 }, e.prototype.destroy = function () { 823 var a, b; 824 for (a in this.handlers) this.core.$element.off(a, this.handlers[a]); 825 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 826 }, a.fn.owlCarousel.Constructor.Plugins.Animate = e; 827}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 828 var e = function e(b) { 829 this._core = b, this._call = null, this._time = 0, this._timeout = 0, this._paused = !0, this._handlers = { 830 "changed.owl.carousel": a.proxy(function (a) { 831 a.namespace && "settings" === a.property.name ? this._core.settings.autoplay ? this.play() : this.stop() : a.namespace && "position" === a.property.name && this._paused && (this._time = 0); 832 }, this), 833 "initialized.owl.carousel": a.proxy(function (a) { 834 a.namespace && this._core.settings.autoplay && this.play(); 835 }, this), 836 "play.owl.autoplay": a.proxy(function (a, b, c) { 837 a.namespace && this.play(b, c); 838 }, this), 839 "stop.owl.autoplay": a.proxy(function (a) { 840 a.namespace && this.stop(); 841 }, this), 842 "mouseover.owl.autoplay": a.proxy(function () { 843 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause(); 844 }, this), 845 "mouseleave.owl.autoplay": a.proxy(function () { 846 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.play(); 847 }, this), 848 "touchstart.owl.core": a.proxy(function () { 849 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause(); 850 }, this), 851 "touchend.owl.core": a.proxy(function () { 852 this._core.settings.autoplayHoverPause && this.play(); 853 }, this) 854 }, this._core.$element.on(this._handlers), this._core.options = a.extend({}, e.Defaults, this._core.options); 855 }; 856 e.Defaults = { 857 autoplay: !1, 858 autoplayTimeout: 5e3, 859 autoplayHoverPause: !1, 860 autoplaySpeed: !1 861 }, e.prototype._next = function (d) { 862 this._call = b.setTimeout(a.proxy(this._next, this, d), this._timeout * (Math.round(this.read() / this._timeout) + 1)
vendor: 7,825 bytes, lines 862-984
862- this.read()), this._core.is("interacting") || c.hidden || this._core.next(d || this._core.settings.autoplaySpeed); 863 }, e.prototype.read = function () { 864 return new Date().getTime() - this._time; 865 }, e.prototype.play = function (c, d) { 866 var e; 867 this._core.is("rotating") || this._core.enter("rotating"), c = c || this._core.settings.autoplayTimeout, e = Math.min(this._time % (this._timeout || c), c), this._paused ? (this._time = this.read(), this._paused = !1) : b.clearTimeout(this._call), this._time += this.read() % c - e, this._timeout = c, this._call = b.setTimeout(a.proxy(this._next, this, d), c - e); 868 }, e.prototype.stop = function () { 869 this._core.is("rotating") && (this._time = 0, this._paused = !0, b.clearTimeout(this._call), this._core.leave("rotating")); 870 }, e.prototype.pause = function () { 871 this._core.is("rotating") && !this._paused && (this._time = this.read(), this._paused = !0, b.clearTimeout(this._call)); 872 }, e.prototype.destroy = function () { 873 var a, b; 874 this.stop(); 875 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 876 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 877 }, a.fn.owlCarousel.Constructor.Plugins.autoplay = e; 878}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 879 "use strict"; 880 881 var e = function e(b) { 882 this._core = b, this._initialized = !1, this._pages = [], this._controls = {}, this._templates = [], this.$element = this._core.$element, this._overrides = { 883 next: this._core.next, 884 prev: this._core.prev, 885 to: this._core.to 886 }, this._handlers = { 887 "prepared.owl.carousel": a.proxy(function (b) { 888 b.namespace && this._core.settings.dotsData && this._templates.push('<div class="' + this._core.settings.dotClass + '">' + a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot") + "</div>"); 889 }, this), 890 "added.owl.carousel": a.proxy(function (a) { 891 a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 0, this._templates.pop()); 892 }, this), 893 "remove.owl.carousel": a.proxy(function (a) { 894 a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 1); 895 }, this), 896 "changed.owl.carousel": a.proxy(function (a) { 897 a.namespace && "position" == a.property.name && this.draw(); 898 }, this), 899 "initialized.owl.carousel": a.proxy(function (a) { 900 a.namespace && !this._initialized && (this._core.trigger("initialize", null, "navigation"), this.initialize(), this.update(), this.draw(), this._initialized = !0, this._core.trigger("initialized", null, "navigation")); 901 }, this), 902 "refreshed.owl.carousel": a.proxy(function (a) { 903 a.namespace && this._initialized && (this._core.trigger("refresh", null, "navigation"), this.update(), this.draw(), this._core.trigger("refreshed", null, "navigation")); 904 }, this) 905 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers); 906 }; 907 e.Defaults = { 908 nav: !1, 909 navText: ['<span aria-label="Previous">‹</span>', '<span aria-label="Next">›</span>'], 910 navSpeed: !1, 911 navElement: 'button type="button" role="presentation"', 912 navContainer: !1, 913 navContainerClass: "owl-nav", 914 navClass: ["owl-prev", "owl-next"], 915 slideBy: 1, 916 dotClass: "owl-dot", 917 dotsClass: "owl-dots", 918 dots: !0, 919 dotsEach: !1, 920 dotsData: !1, 921 dotsSpeed: !1, 922 dotsContainer: !1 923 }, e.prototype.initialize = function () { 924 var b, 925 c = this._core.settings; 926 this._controls.$relative = (c.navContainer ? a(c.navContainer) : a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"), this._controls.$previous = a("<" + c.navElement + ">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click", a.proxy(function (a) { 927 this.prev(c.navSpeed); 928 }, this)), this._controls.$next = a("<" + c.navElement + ">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click", a.proxy(function (a) { 929 this.next(c.navSpeed); 930 }, this)), c.dotsData || (this._templates = [a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]), this._controls.$absolute = (c.dotsContainer ? a(c.dotsContainer) : a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"), this._controls.$absolute.on("click", "button", a.proxy(function (b) { 931 var d = a(b.target).parent().is(this._controls.$absolute) ? a(b.target).index() : a(b.target).parent().index(); 932 b.preventDefault(), this.to(d, c.dotsSpeed); 933 }, this)); 934 for (b in this._overrides) this._core[b] = a.proxy(this[b], this); 935 }, e.prototype.destroy = function () { 936 var a, b, c, d, e; 937 e = this._core.settings; 938 for (a in this._handlers) this.$element.off(a, this._handlers[a]); 939 for (b in this._controls) "$relative" === b && e.navContainer ? this._controls[b].html("") : this._controls[b].remove(); 940 for (d in this.overides) this._core[d] = this._overrides[d]; 941 for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null); 942 }, e.prototype.update = function () { 943 var a, 944 b, 945 c, 946 d = this._core.clones().length / 2, 947 e = d + this._core.items().length, 948 f = this._core.maximum(!0), 949 g = this._core.settings, 950 h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items; 951 if ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)), g.dots || "page" == g.slideBy) for (this._pages = [], a = d, b = 0, c = 0; a < e; a++) { 952 if (b >= h || 0 === b) { 953 if (this._pages.push({ 954 start: Math.min(f, a - d), 955 end: a - d + h - 1 956 }), Math.min(f, a - d) === f) break; 957 b = 0, ++c; 958 } 959 b += this._core.mergers(this._core.relative(a)); 960 } 961 }, e.prototype.draw = function () { 962 var b, 963 c = this._core.settings, 964 d = this._core.items().length <= c.items, 965 e = this._core.relative(this._core.current()), 966 f = c.loop || c.rewind; 967 this._controls.$relative.toggleClass("disabled", !c.nav || d), c.nav && (this._controls.$previous.toggleClass("disabled", !f && e <= this._core.minimum(!0)), this._controls.$next.toggleClass("disabled", !f && e >= this._core.maximum(!0))), this._controls.$absolute.toggleClass("disabled", !c.dots || d), c.dots && (b = this._pages.length - this._controls.$absolute.children().length, c.dotsData && 0 !== b ? this._controls.$absolute.html(this._templates.join("")) : b > 0 ? this._controls.$absolute.append(new Array(b + 1).join(this._templates[0])) : b < 0 && this._controls.$absolute.children().slice(b).remove(), this._controls.$absolute.find(".active").removeClass("active"), this._controls.$absolute.children().eq(a.inArray(this.current(), this._pages)).addClass("active")); 968 }, e.prototype.onTrigger = function (b) { 969 var c = this._core.settings; 970 b.page = { 971 index: a.inArray(this.current(), this._pages), 972 count: this._pages.length, 973 size: c && (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items) 974 }; 975 }, e.prototype.current = function () { 976 var b = this._core.relative(this._core.current()); 977 return a.grep(this._pages, a.proxy(function (a, c) { 978 return a.start <= b && a.end >= b; 979 }, this)).pop(); 980 }, e.prototype.getPosition = function (b) { 981 var c, 982 d, 983 e = this._core.settings; 984 return "page" == e.slideBy ? (c = a.inArray(this.current(), this._pages), d = this._pages.length, b ? ++c : --c, c = this._pages[(c % d + d) % d].start) : (c = this._core.relative(this._core.current()), d = this._core.items().length, b ? c += e.
984slideBy : c -= e.slideBy), c; 985 }, e.prototype.next = function (b) { 986 a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b); 987 }, e.prototype.prev = function (b) { 988 a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b); 989 }, e.prototype.to = function (b, c, d) { 990 var e; 991 !d && this._pages.length ? (e = this._pages.length, a.proxy(this._overrides.to, this._core)(this._pages[(b % e + e) % e].start, c)) : a.proxy(this._overrides.to, this._core)(b, c); 992 }, a.fn.owlCarousel.Constructor.Plugins.Navigation = e; 993}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 994 "use strict"; 995 996 var e = function e(c) { 997 this._core = c, this._hashes = {}, this.$element = this._core.$element, this._handlers = { 998 "initialized.owl.carousel": a.proxy(function (c) { 999 c.namespace && "URLHash" === this._core.settings.startPosition && a(b).trigger("hashchange.owl.navigation"); 1000 }, this), 1001 "prepared.owl.carousel": a.proxy(function (b) { 1002 if (b.namespace) { 1003 var c = a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"); 1004 if (!c) return; 1005 this._hashes[c] = b.content; 1006 } 1007 }, this), 1008 "changed.owl.carousel": a.proxy(function (c) { 1009 if (c.namespace && "position" === c.property.name) { 1010 var d = this._core.items(this._core.relative(this._core.current())), 1011 e = a.map(this._hashes, function (a, b) { 1012 return a === d ? b : null; 1013 }).join(); 1014 if (!e || b.location.hash.slice(1) === e) return; 1015 b.location.hash = e; 1016 } 1017 }, this) 1018 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers), a(b).on("hashchange.owl.navigation", a.proxy(function (a) { 1019 var c = b.location.hash.substring(1), 1020 e = this._core.$stage.children(), 1021 f = this._hashes[c] && e.index(this._hashes[c]); 1022 f !== d && f !== this._core.current() && this._core.to(this._core.relative(f), !1, !0); 1023 }, this)); 1024 }; 1025 e.Defaults = { 1026 URLhashListener: !1 1027 }, e.prototype.destroy = function () { 1028 var c, d; 1029 a(b).off("hashchange.owl.navigation"); 1030 for (c in this._handlers) this._core.$element.off(c, this._handlers[c]); 1031 for (d in Object.getOwnPropertyNames(this)) "function" != typeof this[d] && (this[d] = null); 1032 }, a.fn.owlCarousel.Constructor.Plugins.Hash = e; 1033}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1034 function e(b, c) { 1035 var e = !1, 1036 f = b.charAt(0).toUpperCase() + b.slice(1); 1037 return a.each((b + " " + h.join(f + " ") + f).split(" "), function (a, b) { 1038 if (g[b] !== d) return e = !c || b, !1; 1039 }), e; 1040 } 1041 function f(a) { 1042 return e(a, !0); 1043 } 1044 var g = a("<support>").get(0).style, 1045 h = "Webkit Moz O ms".split(" "), 1046 i = { 1047 transition: { 1048 end: { 1049 WebkitTransition: "webkitTransitionEnd", 1050 MozTransition: "transitionend", 1051 OTransition: "oTransitionEnd", 1052 transition: "transitionend" 1053 } 1054 }, 1055 animation: { 1056 end: { 1057 WebkitAnimation: "webkitAnimationEnd", 1058 MozAnimation: "animationend", 1059 OAnimation: "oAnimationEnd", 1060 animation: "animationend" 1061 } 1062 } 1063 }, 1064 j = { 1065 csstransforms: function csstransforms() { 1066 return !!e("transform"); 1067 }, 1068 csstransforms3d: function csstransforms3d() { 1069 return !!e("perspective"); 1070 }, 1071 csstransitions: function csstransitions() { 1072 return !!e("transition"); 1073 }, 1074 cssanimations: function cssanimations() { 1075 return !!e("animation"); 1076 } 1077 }; 1078 j.csstransitions() && (a.support.transition = new String(f("transition")), a.support.transition.end = i.transition.end[a.support.transition]), j.cssanimations() && (a.support.animation = new String(f("animation")), a.support.animation.end = i.animation.end[a.support.animation]), j.csstransforms() && (a.support.transform = new String(f("transform")), a.support.transform3d = j.csstransforms3d()); 1079}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document); 1080 1081/***/ }), 1082
1083/***/ "./assets/sitevitrine/js/lib/pinterest-grid.js": 1084/*!*****************************************************!*\ 1085 !*** ./assets/sitevitrine/js/lib/pinterest-grid.js ***! 1086 \*****************************************************/ 1087/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 1088 1089/* provided dependency */ var jQuery = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); 1090__webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); 1091__webpack_require__(/*! core-js/modules/es.array.slice.js */ "./node_modules/core-js/modules/es.array.slice.js"); 1092__webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); 1093/* 1094JALISWALL 0.3 1095by Pierre Bonnin - @PierreBonninPRO - 2015 1096*/ 1097(function ($) { 1098 $.fn.jaliswall = function (options) { 1099 this.each(function () { 1100 var defaults = { 1101 item: '.wall-item', 1102 columnClass: '.wall-column', 1103 resize: true, 1104 onChange: function onChange() { 1105 void 0; 1106 } 1107 }; 1108 var prm = $.extend(defaults, options); 1109 var container = $(this); 1110 var items = container.find(prm.item); 1111 var elemsDatas = []; 1112 var columns = []; 1113 var nbCols = getNbCols(); 1114 init(); 1115 function init() { 1116 nbCols = getNbCols(); 1117 recordAndRemove(); 1118 print(); 1119 if (prm.resize) { 1120 $(window).resize(function () { 1121 if (nbCols != getNbCols()) { 1122 nbCols = getNbCols(); 1123 setColPos(); 1124 print(); 1125 } 1126 }); 1127 } 1128 } 1129 function getNbCols() { 1130 var instanceForCompute = false; 1131 if (container.find(prm.columnClass).length == 0) { 1132 instanceForCompute = true; 1133 container.append("<div class='" + parseSelector(prm.columnClass) + "'></div>"); 1134 } 1135 var colWidth = container.find(prm.columnClass).outerWidth(true); 1136 var wallWidth = container.innerWidth(); 1137 if (instanceForCompute) container.find(prm.columnClass).remove(); 1138 return Math.round(wallWidth / colWidth); 1139 } 1140 1141 // save items content and params and removes originals items 1142 function recordAndRemove() { 1143 items.each(function (index) { 1144 var item = $(this); 1145 elemsDatas.push({ 1146 content: item[0].outerHTML, 1147 colid: index % nbCols 1148 }); 1149 item.remove(); 1150 }); 1151 } 1152 1153 //determines in which column an item should be 1154 function setColPos() { 1155 for (var i in elemsDatas) { 1156 elemsDatas[i].colid = i % nbCols; 1157 } 1158 } 1159 1160 // to get a class name without the selector 1161 function parseSelector(selector) { 1162 return selector.slice(1, selector.length); 1163 } 1164 1165 //write and append html 1166 function print() { 1167 var tree = ''; 1168 //creates columns 1169 for (var i = 0; i < nbCols; i++) { 1170 tree += "<div class='" + parseSelector(prm.columnClass) + "'></div>"; 1171 } 1172 container.html(tree); 1173 1174 // creates items 1175 for (var i in elemsDatas) { 1176 var html = ''; 1177 var content = elemsDatas[i].content != undefined ? elemsDatas[i].content : ''; 1178 html += content; 1179 container.children(prm.columnClass).eq(i % nbCols).append(html); 1180 } 1181 try { 1182 prm.onChange(); 1183 } catch (e) { 1184 console.log('jaliswall onChange error / ' + e); 1185 } 1186 } 1187 1188 //creates a well-formed attribute 1189 function getAttr(attr, type) { 1190 return attr != undefined ? type + "='" + attr + "'" : ''; 1191 } 1192 }); 1193 return this; 1194 }; 1195})(jQuery); 1196function onChange() { 1197 //console.log('cols number changed'); 1198} 1199 1200/***/ }), 1201
vendor: 8,921 bytes, lines 1202-1378
1202/***/ "./assets/sitevitrine/js/lib/slider.js": 1203/*!*********************************************!*\ 1204 !*** ./assets/sitevitrine/js/lib/slider.js ***! 1205 \*********************************************/ 1206/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 1207 1208/* provided dependency */ var jQuery = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); 1209/* provided dependency */ var __webpack_provided_window_dot_jQuery = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); 1210function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } 1211__webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); 1212__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); 1213__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); 1214__webpack_require__(/*! core-js/modules/es.array.concat.js */ "./node_modules/core-js/modules/es.array.concat.js"); 1215__webpack_require__(/*! core-js/modules/es.array.filter.js */ "./node_modules/core-js/modules/es.array.filter.js"); 1216__webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); 1217__webpack_require__(/*! core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js"); 1218__webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); 1219__webpack_require__(/*! core-js/modules/es.array.join.js */ "./node_modules/core-js/modules/es.array.join.js"); 1220__webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); 1221__webpack_require__(/*! core-js/modules/es.array.slice.js */ "./node_modules/core-js/modules/es.array.slice.js"); 1222__webpack_require__(/*! core-js/modules/es.array.splice.js */ "./node_modules/core-js/modules/es.array.splice.js"); 1223__webpack_require__(/*! core-js/modules/es.date.to-string.js */ "./node_modules/core-js/modules/es.date.to-string.js"); 1224__webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js"); 1225__webpack_require__(/*! core-js/modules/es.number.constructor.js */ "./node_modules/core-js/modules/es.number.constructor.js"); 1226__webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/core-js/modules/es.number.to-fixed.js"); 1227__webpack_require__(/*! core-js/modules/es.object.get-own-property-names.js */ "./node_modules/core-js/modules/es.object.get-own-property-names.js"); 1228__webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); 1229__webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/core-js/modules/es.parse-float.js"); 1230__webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/core-js/modules/es.promise.js"); 1231__webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/core-js/modules/es.regexp.constructor.js"); 1232__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); 1233__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/core-js/modules/es.regexp.to-string.js"); 1234__webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); 1235__webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/core-js/modules/es.string.match.js"); 1236__webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); 1237__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); 1238__webpack_require__(/*! core-js/modules/web.timers.js */ "./node_modules/core-js/modules/web.timers.js"); 1239/** 1240 * Owl Carousel v2.3.4 1241 * Copyright 2013-2018 David Deutsch 1242 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 1243 */ 1244!function (a, b, c, d) { 1245 function e(b, c) { 1246 this.settings = null, this.options = a.extend({}, e.Defaults, c), this.$element = a(b), this._handlers = {}, this._plugins = {}, this._supress = {}, this._current = null, this._speed = null, this._coordinates = [], this._breakpoint = null, this._width = null, this._items = [], this._clones = [], this._mergers = [], this._widths = [], this._invalidated = {}, this._pipe = [], this._drag = { 1247 time: null, 1248 target: null, 1249 pointer: null, 1250 stage: { 1251 start: null, 1252 current: null 1253 }, 1254 direction: null 1255 }, this._states = { 1256 current: {}, 1257 tags: { 1258 initializing: ["busy"], 1259 animating: ["busy"], 1260 dragging: ["interacting"] 1261 } 1262 }, a.each(["onResize", "onThrottledResize"], a.proxy(function (b, c) { 1263 this._handlers[c] = a.proxy(this[c], this); 1264 }, this)), a.each(e.Plugins, a.proxy(function (a, b) { 1265 this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this); 1266 }, this)), a.each(e.Workers, a.proxy(function (b, c) { 1267 this._pipe.push({ 1268 filter: c.filter, 1269 run: a.proxy(c.run, this) 1270 }); 1271 }, this)), this.setup(), this.initialize(); 1272 } 1273 e.Defaults = { 1274 items: 3, 1275 loop: !1, 1276 center: !1, 1277 rewind: !1, 1278 checkVisibility: !0, 1279 mouseDrag: !0, 1280 touchDrag: !0, 1281 pullDrag: !0, 1282 freeDrag: !1, 1283 margin: 0, 1284 stagePadding: 0, 1285 merge: !1, 1286 mergeFit: !0, 1287 autoWidth: !1, 1288 startPosition: 0, 1289 rtl: !1, 1290 smartSpeed: 250, 1291 fluidSpeed: !1, 1292 dragEndSpeed: !1, 1293 responsive: {}, 1294 responsiveRefreshRate: 200, 1295 responsiveBaseElement: b, 1296 fallbackEasing: "swing", 1297 slideTransition: "", 1298 info: !1, 1299 nestedItemSelector: !1, 1300 itemElement: "div", 1301 stageElement: "div", 1302 refreshClass: "owl-refresh", 1303 loadedClass: "owl-loaded", 1304 loadingClass: "owl-loading", 1305 rtlClass: "owl-rtl", 1306 responsiveClass: "owl-responsive", 1307 dragClass: "owl-drag", 1308 itemClass: "owl-item", 1309 stageClass: "owl-stage", 1310 stageOuterClass: "owl-stage-outer", 1311 grabClass: "owl-grab" 1312 }, e.Width = { 1313 Default: "default", 1314 Inner: "inner", 1315 Outer: "outer" 1316 }, e.Type = { 1317 Event: "event", 1318 State: "state" 1319 }, e.Plugins = {}, e.Workers = [{ 1320 filter: ["width", "settings"], 1321 run: function run() { 1322 this._width = this.$element.width(); 1323 } 1324 }, { 1325 filter: ["width", "items", "settings"], 1326 run: function run(a) { 1327 a.current = this._items && this._items[this.relative(this._current)]; 1328 } 1329 }, { 1330 filter: ["items", "settings"], 1331 run: function run() { 1332 this.$stage.children(".cloned").remove(); 1333 } 1334 }, { 1335 filter: ["width", "items", "settings"], 1336 run: function run(a) { 1337 var b = this.settings.margin || "", 1338 c = !this.settings.autoWidth, 1339 d = this.settings.rtl, 1340 e = { 1341 width: "auto", 1342 "margin-left": d ? b : "", 1343 "margin-right": d ? "" : b 1344 }; 1345 !c && this.$stage.children().css(e), a.css = e; 1346 } 1347 }, { 1348 filter: ["width", "items", "settings"], 1349 run: function run(a) { 1350 var b = (this.width() / this.settings.items).toFixed(3) - this.settings.margin, 1351 c = null, 1352 d = this._items.length, 1353 e = !this.settings.autoWidth, 1354 f = []; 1355 for (a.items = { 1356 merge: !1, 1357 width: b 1358 }; d--;) c = this._mergers[d], c = this.settings.mergeFit && Math.min(c, this.settings.items) || c, a.items.merge = c > 1 || a.items.merge, f[d] = e ? b * c : this._items[d].width(); 1359 this._widths = f; 1360 } 1361 }, { 1362 filter: ["items", "settings"], 1363 run: function run() { 1364 var b = [], 1365 c = this._items, 1366 d = this.settings, 1367 e = Math.max(2 * d.items, 4), 1368 f = 2 * Math.ceil(c.length / 2), 1369 g = d.loop && c.length ? d.rewind ? e : Math.max(e, f) : 0, 1370 h = "", 1371 i = ""; 1372 for (g /= 2; g > 0;) b.push(this.normalize(b.length / 2, !0)), h += c[b[b.length - 1]][0].outerHTML, b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), i = c[b[b.length - 1]][0].outerHTML + i, g -= 1; 1373 this._clones = b, a(h).addClass("cloned").appendTo(this.$stage), a(i).addClass("cloned").prependTo(this.$stage); 1374 } 1375 }, { 1376 filter: ["width", "items", "settings"], 1377 run: function run() { 1378 for (var a = this.settings.rtl ? 1 : -1, b = this._clones.length + this._items.length, c = -1, d = 0, e = 0, f = []; ++c < b;) d = f[c - 1] || 0, e = this._widths[this.relative(c)] + this.settings.margin, f.pu
1378sh(d + e * a); 1379 this._coordinates = f; 1380 } 1381 }, { 1382 filter: ["width", "items", "settings"], 1383 run: function run() { 1384 var a = this.settings.stagePadding, 1385 b = this._coordinates, 1386 c = { 1387 width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a, 1388 "padding-left": a || "", 1389 "padding-right": a || "" 1390 }; 1391 this.$stage.css(c); 1392 } 1393 }, { 1394 filter: ["width", "items", "settings"], 1395 run: function run(a) { 1396 var b = this._coordinates.length, 1397 c = !this.settings.autoWidth, 1398 d = this.$stage.children(); 1399 if (c && a.items.merge) for (; b--;) a.css.width = this._widths[this.relative(b)], d.eq(b).css(a.css);else c && (a.css.width = a.items.width, d.css(a.css)); 1400 } 1401 }, { 1402 filter: ["items"], 1403 run: function run() { 1404 this._coordinates.length < 1 && this.$stage.removeAttr("style"); 1405 } 1406 }, { 1407 filter: ["width", "items", "settings"], 1408 run: function run(a) { 1409 a.current = a.current ? this.$stage.children().index(a.current) : 0, a.current = Math.max(this.minimum(), Math.min(this.maximum(), a.current)), this.reset(a.current); 1410 } 1411 }, { 1412 filter: ["position"], 1413 run: function run() { 1414 this.animate(this.coordinates(this._current)); 1415 } 1416 }, { 1417 filter: ["width", "position", "items", "settings"], 1418 run: function run() { 1419 var a, 1420 b, 1421 c, 1422 d, 1423 e = this.settings.rtl ? 1 : -1, 1424 f = 2 * this.settings.stagePadding, 1425 g = this.coordinates(this.current()) + f, 1426 h = g + this.width() * e, 1427 i = []; 1428 for (c = 0, d = this._coordinates.length; c < d; c++) a = this._coordinates[c - 1] || 0, b = Math.abs(this._coordinates[c]) + f * e, (this.op(a, "<=", g) && this.op(a, ">", h) || this.op(b, "<", g) && this.op(b, ">", h)) && i.push(c); 1429 this.$stage.children(".active").removeClass("active"), this.$stage.children(":eq(" + i.join("), :eq(") + ")").addClass("active"), this.$stage.children(".center").removeClass("center"), this.settings.center && this.$stage.children().eq(this.current()).addClass("center"); 1430 } 1431 }], e.prototype.initializeStage = function () { 1432 this.$stage = this.$element.find("." + this.settings.stageClass), this.$stage.length || (this.$element.addClass(this.options.loadingClass), this.$stage = a("<" + this.settings.stageElement + ">", { 1433 "class": this.settings.stageClass 1434 }).wrap(a("<div/>", { 1435 "class": this.settings.stageOuterClass 1436 })), this.$element.append(this.$stage.parent())); 1437 }, e.prototype.initializeItems = function () { 1438 var b = this.$element.find(".owl-item"); 1439 if (b.length) return this._items = b.get().map(function (b) { 1440 return a(b); 1441 }), this._mergers = this._items.map(function () { 1442 return 1; 1443 }), void this.refresh(); 1444 this.replace(this.$element.children().not(this.$stage.parent())), this.isVisible() ? this.refresh() : this.invalidate("width"), this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass); 1445 }, e.prototype.initialize = function () { 1446 if (this.enter("initializing"), this.trigger("initialize"), this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), this.settings.autoWidth && !this.is("pre-loading")) { 1447 var a, b, c; 1448 a = this.$element.find("img"), b = this.settings.nestedItemSelector ? "." + this.settings.nestedItemSelector : d, c = this.$element.children(b).width(), a.length && c <= 0 && this.preloadAutoWidthImages(a); 1449 } 1450 this.initializeStage(), this.initializeItems(), this.registerEventHandlers(), this.leave("initializing"), this.trigger("initialized"); 1451 }, e.prototype.isVisible = function () { 1452 return !this.settings.checkVisibility || this.$element.is(":visible"); 1453 }, e.prototype.setup = function () { 1454 var b = this.viewport(), 1455 c = this.options.responsive, 1456 d = -1, 1457 e = null; 1458 c ? (a.each(c, function (a) { 1459 a <= b && a > d && (d = Number(a)); 1460 }), e = a.extend({}, this.options, c[d]), "function" == typeof e.stagePadding && (e.stagePadding = e.stagePadding()), delete e.responsive, e.responsiveClass && this.$element.attr("class", this.$element.attr("class").replace(new RegExp("(" + this.options.responsiveClass + "-)\\S+\\s", "g"), "$1" + d))) : e = a.extend({}, this.options), this.trigger("change", { 1461 property: { 1462 name: "settings", 1463 value: e 1464 } 1465 }), this._breakpoint = d, this.settings = e, this.invalidate("settings"), this.trigger("changed", { 1466 property: { 1467 name: "settings", 1468 value: this.settings 1469 } 1470 }); 1471 }, e.prototype.optionsLogic = function () { 1472 this.settings.autoWidth && (this.settings.stagePadding = !1, this.settings.merge = !1); 1473 }, e.prototype.prepare = function (b) { 1474 var c = this.trigger("prepare", { 1475 content: b 1476 }); 1477 return c.data || (c.data = a("<" + this.settings.itemElement + "/>").addClass(this.options.itemClass).append(b)), this.trigger("prepared", { 1478 content: c.data 1479 }), c.data; 1480 }, e.prototype.update = function () { 1481 for (var b = 0, c = this._pipe.length, d = a.proxy(function (a) { 1482 return this[a]; 1483 }, this._invalidated), e = {}; b < c;) (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && this._pipe[b].run(e), b++; 1484 this._invalidated = {}, !this.is("valid") && this.enter("valid"); 1485 }, e.prototype.width = function (a) { 1486 switch (a = a || e.Width.Default) { 1487 case e.Width.Inner: 1488 case e.Width.Outer: 1489 return this._width; 1490 default: 1491 return this._width - 2 * this.settings.stagePadding + this.settings.margin; 1492 } 1493 }, e.prototype.refresh = function () { 1494 this.enter("refreshing"), this.trigger("refresh"), this.setup(), this.optionsLogic(), this.$element.addClass(this.options.refreshClass), this.update(), this.$element.removeClass(this.options.refreshClass), this.leave("refreshing"), this.trigger("refreshed"); 1495 }, e.prototype.onThrottledResize = function () { 1496 b.clearTimeout(this.resizeTimer), this.resizeTimer = b.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate); 1497 }, e.prototype.onResize = function () { 1498 return !!this._items.length && this._width !== this.$element.width() && !!this.isVisible() && (this.enter("resizing"), this.trigger("resize").isDefaultPrevented() ? (this.leave("resizing"), !1) : (this.invalidate("width"), this.refresh(), this.leave("resizing"), void this.trigger("resized"))); 1499 }, e.prototype.registerEventHandlers = function () { 1500 a.support.transition && this.$stage.on(a.support.transition.end + ".owl.core", a.proxy(this.onTransitionEnd, this)), !1 !== this.settings.responsive && this.on(b, "resize", this._handlers.onThrottledResize), this.settings.mouseDrag && (this.$element.addClass(this.options.dragClass), this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("dragstart.owl.core selectstart.owl.core", function () { 1501 return !1; 1502 })), this.settings.touchDrag && (this.$stage.on("touchstart.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("touchcancel.owl.core", a.proxy(this.onDragEnd, this))); 1503 }, e.prototype.onDragStart = function (b) { 1504 var d = null; 1505 3 !== b.which && (a.support.transform ? (d = this.$stage.css("transform").replace(/.*\(|\)| /g, "").split(","), d = { 1506 x: d[16 === d.length ? 12 : 4],
vendor: 14,033 bytes, lines 1507-1721
1507 y: d[16 === d.length ? 13 : 5] 1508 }) : (d = this.$stage.position(), d = { 1509 x: this.settings.rtl ? d.left + this.$stage.width() - this.width() + this.settings.margin : d.left, 1510 y: d.top 1511 }), this.is("animating") && (a.support.transform ? this.animate(d.x) : this.$stage.stop(), this.invalidate("position")), this.$element.toggleClass(this.options.grabClass, "mousedown" === b.type), this.speed(0), this._drag.time = new Date().getTime(), this._drag.target = a(b.target), this._drag.stage.start = d, this._drag.stage.current = d, this._drag.pointer = this.pointer(b), a(c).on("mouseup.owl.core touchend.owl.core", a.proxy(this.onDragEnd, this)), a(c).one("mousemove.owl.core touchmove.owl.core", a.proxy(function (b) { 1512 var d = this.difference(this._drag.pointer, this.pointer(b)); 1513 a(c).on("mousemove.owl.core touchmove.owl.core", a.proxy(this.onDragMove, this)), Math.abs(d.x) < Math.abs(d.y) && this.is("valid") || (b.preventDefault(), this.enter("dragging"), this.trigger("drag")); 1514 }, this))); 1515 }, e.prototype.onDragMove = function (a) { 1516 var b = null, 1517 c = null, 1518 d = null, 1519 e = this.difference(this._drag.pointer, this.pointer(a)), 1520 f = this.difference(this._drag.stage.start, e); 1521 this.is("dragging") && (a.preventDefault(), this.settings.loop ? (b = this.coordinates(this.minimum()), c = this.coordinates(this.maximum() + 1) - b, f.x = ((f.x - b) % c + c) % c + b) : (b = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()), c = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()), d = this.settings.pullDrag ? -1 * e.x / 5 : 0, f.x = Math.max(Math.min(f.x, b + d), c + d)), this._drag.stage.current = f, this.animate(f.x)); 1522 }, e.prototype.onDragEnd = function (b) { 1523 var d = this.difference(this._drag.pointer, this.pointer(b)), 1524 e = this._drag.stage.current, 1525 f = d.x > 0 ^ this.settings.rtl ? "left" : "right"; 1526 a(c).off(".owl.core"), this.$element.removeClass(this.options.grabClass), (0 !== d.x && this.is("dragging") || !this.is("valid")) && (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), this.invalidate("position"), this.update(), this._drag.direction = f, (Math.abs(d.x) > 3 || new Date().getTime() - this._drag.time > 300) && this._drag.target.one("click.owl.core", function () { 1527 return !1; 1528 })), this.is("dragging") && (this.leave("dragging"), this.trigger("dragged")); 1529 }, e.prototype.closest = function (b, c) { 1530 var e = -1, 1531 f = 30, 1532 g = this.width(), 1533 h = this.coordinates(); 1534 return this.settings.freeDrag || a.each(h, a.proxy(function (a, i) { 1535 return "left" === c && b > i - f && b < i + f ? e = a : "right" === c && b > i - g - f && b < i - g + f ? e = a + 1 : this.op(b, "<", i) && this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && (e = "left" === c ? a + 1 : a), -1 === e; 1536 }, this)), this.settings.loop || (this.op(b, ">", h[this.minimum()]) ? e = b = this.minimum() : this.op(b, "<", h[this.maximum()]) && (e = b = this.maximum())), e; 1537 }, e.prototype.animate = function (b) { 1538 var c = this.speed() > 0; 1539 this.is("animating") && this.onTransitionEnd(), c && (this.enter("animating"), this.trigger("translate")), a.support.transform3d && a.support.transition ? this.$stage.css({ 1540 transform: "translate3d(" + b + "px,0px,0px)", 1541 transition: this.speed() / 1e3 + "s" + (this.settings.slideTransition ? " " + this.settings.slideTransition : "") 1542 }) : c ? this.$stage.animate({ 1543 left: b + "px" 1544 }, this.speed(), this.settings.fallbackEasing, a.proxy(this.onTransitionEnd, this)) : this.$stage.css({ 1545 left: b + "px" 1546 }); 1547 }, e.prototype.is = function (a) { 1548 return this._states.current[a] && this._states.current[a] > 0; 1549 }, e.prototype.current = function (a) { 1550 if (a === d) return this._current; 1551 if (0 === this._items.length) return d; 1552 if (a = this.normalize(a), this._current !== a) { 1553 var b = this.trigger("change", { 1554 property: { 1555 name: "position", 1556 value: a 1557 } 1558 }); 1559 b.data !== d && (a = this.normalize(b.data)), this._current = a, this.invalidate("position"), this.trigger("changed", { 1560 property: { 1561 name: "position", 1562 value: this._current 1563 } 1564 }); 1565 } 1566 return this._current; 1567 }, e.prototype.invalidate = function (b) { 1568 return "string" === a.type(b) && (this._invalidated[b] = !0, this.is("valid") && this.leave("valid")), a.map(this._invalidated, function (a, b) { 1569 return b; 1570 }); 1571 }, e.prototype.reset = function (a) { 1572 (a = this.normalize(a)) !== d && (this._speed = 0, this._current = a, this.suppress(["translate", "translated"]), this.animate(this.coordinates(a)), this.release(["translate", "translated"])); 1573 }, e.prototype.normalize = function (a, b) { 1574 var c = this._items.length, 1575 e = b ? 0 : this._clones.length; 1576 return !this.isNumeric(a) || c < 1 ? a = d : (a < 0 || a >= c + e) && (a = ((a - e / 2) % c + c) % c + e / 2), a; 1577 }, e.prototype.relative = function (a) { 1578 return a -= this._clones.length / 2, this.normalize(a, !0); 1579 }, e.prototype.maximum = function (a) { 1580 var b, 1581 c, 1582 d, 1583 e = this.settings, 1584 f = this._coordinates.length; 1585 if (e.loop) f = this._clones.length / 2 + this._items.length - 1;else if (e.autoWidth || e.merge) { 1586 if (b = this._items.length) for (c = this._items[--b].width(), d = this.$element.width(); b-- && !((c += this._items[b].width() + this.settings.margin) > d);); 1587 f = b + 1; 1588 } else f = e.center ? this._items.length - 1 : this._items.length - e.items; 1589 return a && (f -= this._clones.length / 2), Math.max(f, 0); 1590 }, e.prototype.minimum = function (a) { 1591 return a ? 0 : this._clones.length / 2; 1592 }, e.prototype.items = function (a) { 1593 return a === d ? this._items.slice() : (a = this.normalize(a, !0), this._items[a]); 1594 }, e.prototype.mergers = function (a) { 1595 return a === d ? this._mergers.slice() : (a = this.normalize(a, !0), this._mergers[a]); 1596 }, e.prototype.clones = function (b) { 1597 var c = this._clones.length / 2, 1598 e = c + this._items.length, 1599 f = function f(a) { 1600 return a % 2 == 0 ? e + a / 2 : c - (a + 1) / 2; 1601 }; 1602 return b === d ? a.map(this._clones, function (a, b) { 1603 return f(b); 1604 }) : a.map(this._clones, function (a, c) { 1605 return a === b ? f(c) : null; 1606 }); 1607 }, e.prototype.speed = function (a) { 1608 return a !== d && (this._speed = a), this._speed; 1609 }, e.prototype.coordinates = function (b) { 1610 var c, 1611 e = 1, 1612 f = b - 1; 1613 return b === d ? a.map(this._coordinates, a.proxy(function (a, b) { 1614 return this.coordinates(b); 1615 }, this)) : (this.settings.center ? (this.settings.rtl && (e = -1, f = b + 1), c = this._coordinates[b], c += (this.width() - c + (this._coordinates[f] || 0)) / 2 * e) : c = this._coordinates[f] || 0, c = Math.ceil(c)); 1616 }, e.prototype.duration = function (a, b, c) { 1617 return 0 === c ? 0 : Math.min(Math.max(Math.abs(b - a), 1), 6) * Math.abs(c || this.settings.smartSpeed); 1618 }, e.prototype.to = function (a, b) { 1619 var c = this.current(), 1620 d = null, 1621 e = a - this.relative(c), 1622 f = (e > 0) - (e < 0), 1623 g = this._items.length, 1624 h = this.minimum(), 1625 i = this.maximum(); 1626 this.settings.loop ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += -1 * f * g), a = c + e, (d = ((a - h) % g + g) % g + h) !== a && d - e <= i && d - e > 0 && (c = d - e, a = d, this.reset(c))) : this.settings.rewind ? (i += 1, a = (a % i + i) % i) : a = Math.max(h, Math.min(i, a)), this.speed(this.duration(c, a, b)), this.current(a), this.isVisible() && this.update(); 1627 }, e.prototype.next = function (a) { 1628 a = a || !1, this.to(this.relative(this.current()) + 1, a); 1629 }, e.prototype.prev = function (a) { 1630 a = a || !1, this.to(this.relative(this.current()) - 1, a); 1631 }, e.prototype.onTransitionEnd = function (a) { 1632 if (a !== d && (a.stopPropagation(), (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0))) return !1; 1633 this.leave("animating"), this.trigger("translated"); 1634 }, e.prototype.viewport = function () { 1635 var d; 1636 return this.options.responsiveBaseElement !== b ? d = a(this.options.responsiveBaseElement).width() : b.innerWidth ? d = b.innerWidth : c.documentElement && c.documentElement.clientWidth ? d = c.documentElement.clientWidth : console.warn("Can not detect viewport width."), d; 1637 }, e.prototype.replace = function (b) { 1638 this.$stage.empty(), this._items = [], b && (b = b instanceof jQuery ? b : a(b)), this.settings.nestedItemSelector && (b = b.find("." + this.settings.nestedItemSelector)), b.filter(function () { 1639 return 1 === this.nodeType; 1640 }).each(a.proxy(function (a, b) { 1641 b = this.prepare(b), this.$stage.append(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1); 1642 }, this)), this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0), this.invalidate("items"); 1643 }, e.prototype.add = function (b, c) { 1644 var e = this.relative(this._current); 1645 c = c === d ? this._items.length : this.normalize(c, !0), b = b instanceof jQuery ? b : a(b), this.trigger("add", { 1646 content: b, 1647 position: c 1648 }), b = this.prepare(b), 0 === this._items.length || c === this._items.length ? (0 === this._items.length && this.$stage.append(b), 0 !== this._items.length && this._items[c - 1].after(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)) : (this._items[c].before(b), this._items.splice(c, 0, b), this._mergers.splice(c, 0, 1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)), this._items[e] && this.reset(this._items[e].index()), this.invalidate("items"), this.trigger("added", { 1649 content: b, 1650 position: c 1651 }); 1652 }, e.prototype.remove = function (a) { 1653 (a = this.normalize(a, !0)) !== d && (this.trigger("remove", { 1654 content: this._items[a], 1655 position: a 1656 }), this._items[a].remove(), this._items.splice(a, 1), this._mergers.splice(a, 1), this.invalidate("items"), this.trigger("removed", { 1657 content: null, 1658 position: a 1659 })); 1660 }, e.prototype.preloadAutoWidthImages = function (b) { 1661 b.each(a.proxy(function (b, c) { 1662 this.enter("pre-loading"), c = a(c), a(new Image()).one("load", a.proxy(function (a) { 1663 c.attr("src", a.target.src), c.css("opacity", 1), this.leave("pre-loading"), !this.is("pre-loading") && !this.is("initializing") && this.refresh(); 1664 }, this)).attr("src", c.attr("src") || c.attr("data-src") || c.attr("data-src-retina")); 1665 }, this)); 1666 }, e.prototype.destroy = function () { 1667 this.$element.off(".owl.core"), this.$stage.off(".owl.core"), a(c).off(".owl.core"), !1 !== this.settings.responsive && (b.clearTimeout(this.resizeTimer), this.off(b, "resize", this._handlers.onThrottledResize)); 1668 for (var d in this._plugins) this._plugins[d].destroy(); 1669 this.$stage.children(".cloned").remove(), this.$stage.unwrap(), this.$stage.children().contents().unwrap(), this.$stage.children().unwrap(), this.$stage.remove(), this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class", this.$element.attr("class").replace(new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), "")).removeData("owl.carousel"); 1670 }, e.prototype.op = function (a, b, c) { 1671 var d = this.settings.rtl; 1672 switch (b) { 1673 case "<": 1674 return d ? a > c : a < c; 1675 case ">": 1676 return d ? a < c : a > c; 1677 case ">=": 1678 return d ? a <= c : a >= c; 1679 case "<=": 1680 return d ? a >= c : a <= c; 1681 } 1682 }, e.prototype.on = function (a, b, c, d) { 1683 a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent && a.attachEvent("on" + b, c); 1684 }, e.prototype.off = function (a, b, c, d) { 1685 a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent && a.detachEvent("on" + b, c); 1686 }, e.prototype.trigger = function (b, c, d, f, g) { 1687 var h = { 1688 item: { 1689 count: this._items.length, 1690 index: this.current() 1691 } 1692 }, 1693 i = a.camelCase(a.grep(["on", b, d], function (a) { 1694 return a; 1695 }).join("-").toLowerCase()), 1696 j = a.Event([b, "owl", d || "carousel"].join(".").toLowerCase(), a.extend({ 1697 relatedTarget: this 1698 }, h, c)); 1699 return this._supress[b] || (a.each(this._plugins, function (a, b) { 1700 b.onTrigger && b.onTrigger(j); 1701 }), this.register({ 1702 type: e.Type.Event, 1703 name: b 1704 }), this.$element.trigger(j), this.settings && "function" == typeof this.settings[i] && this.settings[i].call(this, j)), j; 1705 }, e.prototype.enter = function (b) { 1706 a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) { 1707 this._states.current[b] === d && (this._states.current[b] = 0), this._states.current[b]++; 1708 }, this)); 1709 }, e.prototype.leave = function (b) { 1710 a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) { 1711 this._states.current[b]--; 1712 }, this)); 1713 }, e.prototype.register = function (b) { 1714 if (b.type === e.Type.Event) { 1715 if (a.event.special[b.name] || (a.event.special[b.name] = {}), !a.event.special[b.name].owl) { 1716 var c = a.event.special[b.name]._default; 1717 a.event.special[b.name]._default = function (a) { 1718 return !c || !c.apply || a.namespace && -1 !== a.namespace.indexOf("owl") ? a.namespace && a.namespace.indexOf("owl") > -1 : c.apply(this, arguments); 1719 }, a.event.special[b.name].owl = !0; 1720 } 1721 } else b.type === e.Type.State && (this._states.tags[b.name] ? this._states.tags[b.name] = this._states.tags[b.name].
1721concat(b.tags) : this._states.tags[b.name] = b.tags, this._states.tags[b.name] = a.grep(this._states.tags[b.name], a.proxy(function (c, d) { 1722 return a.inArray(c, this._states.tags[b.name]) === d; 1723 }, this))); 1724 }, e.prototype.suppress = function (b) { 1725 a.each(b, a.proxy(function (a, b) { 1726 this._supress[b] = !0; 1727 }, this)); 1728 }, e.prototype.release = function (b) { 1729 a.each(b, a.proxy(function (a, b) { 1730 delete this._supress[b]; 1731 }, this)); 1732 }, e.prototype.pointer = function (a) { 1733 var c = { 1734 x: null, 1735 y: null 1736 }; 1737 return a = a.originalEvent || a || b.event, a = a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : a, a.pageX ? (c.x = a.pageX, c.y = a.pageY) : (c.x = a.clientX, c.y = a.clientY), c; 1738 }, e.prototype.isNumeric = function (a) { 1739 return !isNaN(parseFloat(a)); 1740 }, e.prototype.difference = function (a, b) { 1741 return { 1742 x: a.x - b.x, 1743 y: a.y - b.y 1744 }; 1745 }, a.fn.owlCarousel = function (b) { 1746 var c = Array.prototype.slice.call(arguments, 1); 1747 return this.each(function () { 1748 var d = a(this), 1749 f = d.data("owl.carousel"); 1750 f || (f = new e(this, "object" == _typeof(b) && b), d.data("owl.carousel", f), a.each(["next", "prev", "to", "destroy", "refresh", "replace", "add", "remove"], function (b, c) { 1751 f.register({ 1752 type: e.Type.Event, 1753 name: c 1754 }), f.$element.on(c + ".owl.carousel.core", a.proxy(function (a) { 1755 a.namespace && a.relatedTarget !== this && (this.suppress([c]), f[c].apply(this, [].slice.call(arguments, 1)), this.release([c])); 1756 }, f)); 1757 })), "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c); 1758 }); 1759 }, a.fn.owlCarousel.Constructor = e; 1760}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1761 var e = function e(b) { 1762 this._core = b, this._interval = null, this._visible = null, this._handlers = { 1763 "initialized.owl.carousel": a.proxy(function (a) { 1764 a.namespace && this._core.settings.autoRefresh && this.watch(); 1765 }, this) 1766 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers); 1767 }; 1768 e.Defaults = { 1769 autoRefresh: !0, 1770 autoRefreshInterval: 500 1771 }, e.prototype.watch = function () { 1772 this._interval || (this._visible = this._core.isVisible(), this._interval = b.setInterval(a.proxy(this.refresh, this), this._core.settings.autoRefreshInterval)); 1773 }, e.prototype.refresh = function () { 1774 this._core.isVisible() !== this._visible && (this._visible = !this._visible, this._core.$element.toggleClass("owl-hidden", !this._visible), this._visible && this._core.invalidate("width") && this._core.refresh()); 1775 }, e.prototype.destroy = function () { 1776 var a, c; 1777 b.clearInterval(this._interval); 1778 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 1779 for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null); 1780 }, a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e; 1781}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1782 var e = function e(b) { 1783 this._core = b, this._loaded = [], this._handlers = { 1784 "initialized.owl.carousel change.owl.carousel resized.owl.carousel": a.proxy(function (b) { 1785 if (b.namespace && this._core.settings && this._core.settings.lazyLoad && (b.property && "position" == b.property.name || "initialized" == b.type)) { 1786 var c = this._core.settings, 1787 e = c.center && Math.ceil(c.items / 2) || c.items, 1788 f = c.center && -1 * e || 0, 1789 g = (b.property && b.property.value !== d ? b.property.value : this._core.current()) + f, 1790 h = this._core.clones().length, 1791 i = a.proxy(function (a, b) { 1792 this.load(b); 1793 }, this); 1794 for (c.lazyLoadEager > 0 && (e += c.lazyLoadEager, c.loop && (g -= c.lazyLoadEager, e++)); f++ < e;) this.load(h / 2 + this._core.relative(g)), h && a.each(this._core.clones(this._core.relative(g)), i), g++; 1795 } 1796 }, this) 1797 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers); 1798 }; 1799 e.Defaults = { 1800 lazyLoad: !1, 1801 lazyLoadEager: 0 1802 }, e.prototype.load = function (c) { 1803 var d = this._core.$stage.children().eq(c), 1804 e = d && d.find(".owl-lazy"); 1805 !e || a.inArray(d.get(0), this._loaded) > -1 || (e.each(a.proxy(function (c, d) { 1806 var e, 1807 f = a(d), 1808 g = b.devicePixelRatio > 1 && f.attr("data-src-retina") || f.attr("data-src") || f.attr("data-srcset"); 1809 this._core.trigger("load", { 1810 element: f, 1811 url: g 1812 }, "lazy"), f.is("img") ? f.one("load.owl.lazy", a.proxy(function () { 1813 f.css("opacity", 1), this._core.trigger("loaded", { 1814 element: f, 1815 url: g 1816 }, "lazy"); 1817 }, this)).attr("src", g) : f.is("source") ? f.one("load.owl.lazy", a.proxy(function () { 1818 this._core.trigger("loaded", { 1819 element: f, 1820 url: g 1821 }, "lazy"); 1822 }, this)).attr("srcset", g) : (e = new Image(), e.onload = a.proxy(function () { 1823 f.css({ 1824 "background-image": 'url("' + g + '")', 1825 opacity: "1" 1826 }), this._core.trigger("loaded", { 1827 element: f, 1828 url: g 1829 }, "lazy"); 1830 }, this), e.src = g); 1831 }, this)), this._loaded.push(d.get(0))); 1832 }, e.prototype.destroy = function () { 1833 var a, b; 1834 for (a in this.handlers) this._core.$element.off(a, this.handlers[a]); 1835 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 1836 }, a.fn.owlCarousel.Constructor.Plugins.Lazy = e; 1837}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1838 var e = function e(c) { 1839 this._core = c, this._previousHeight = null, this._handlers = { 1840 "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function (a) { 1841 a.namespace && this._core.settings.autoHeight && this.update(); 1842 }, this), 1843 "changed.owl.carousel": a.proxy(function (a) { 1844 a.namespace && this._core.settings.autoHeight && "position" === a.property.name && this.update(); 1845 }, this), 1846 "loaded.owl.lazy": a.proxy(function (a) { 1847 a.namespace && this._core.settings.autoHeight && a.element.closest("." + this._core.settings.itemClass).index() === this._core.current() && this.update(); 1848 }, this) 1849 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._intervalId = null; 1850 var d = this; 1851 a(b).on("load", function () { 1852 d._core.settings.autoHeight && d.update(); 1853 }), a(b).resize(function () { 1854 d._core.settings.autoHeight && (null != d._intervalId && clearTimeout(d._intervalId), d._intervalId = setTimeout(function () { 1855 d.update(); 1856 }, 250)); 1857 }); 1858 }; 1859 e.Defaults = { 1860 autoHeight: !1, 1861 autoHeightClass: "owl-height" 1862 }, e.prototype.update = function () { 1863 var b = this._core._current, 1864 c = b + this._core.settings.items, 1865 d = this._core.settings.lazyLoad, 1866 e = this._core.$stage.children().toArray().slice(b, c), 1867 f = [], 1868 g = 0; 1869 a.each(e, function (b, c) { 1870 f.push(a(c).height()); 1871 }), g = Math.max.apply(null, f), g <= 1 && d && this._previousHeight && (g = this._previousHeight), this._previousHeight = g, this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass); 1872 }, e.prototype.destroy = function () { 1873 var a, b; 1874 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 1875 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 1876 }, a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e; 1877}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1878 var e = function e(b) { 1879 this._core = b, this._videos = {}, this._playing = null, this._handlers = { 1880 "initialized.owl.carousel": a.proxy(function (a) { 1881 a.namespace && this._core.register({ 1882 type: "state", 1883 name: "playing", 1884 tags: ["interacting"] 1885 }); 1886 }, this), 1887 "resize.owl.carousel": a.proxy(function (a) { 1888 a.namespace && this._core.settings.video && this.isInFullScreen() && a.preventDefault(); 1889 }, this), 1890 "refreshed.owl.carousel": a.proxy(function (a) { 1891 a.namespace && this._core.is("resizing") && this._core.$stage.find(".cloned .owl-video-frame").remove(); 1892 }, this), 1893 "changed.owl.carousel": a.proxy(function (a) { 1894 a.namespace && "position" === a.property.name && this._playing && this.stop(); 1895 }, this), 1896 "prepared.owl.carousel": a.proxy(function (b) { 1897 if (b.namespace) { 1898 var c = a(b.content).find(".owl-video"); 1899 c.length && (c.css("display", "none"), this.fetch(c, a(b.content))); 1900 } 1901 }, this) 1902 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._core.$element.on("click.owl.video", ".owl-video-play-icon", a.proxy(function (a) { 1903 this.play(a); 1904 }, this)); 1905 }; 1906 e.Defaults = { 1907 video: !1, 1908 videoHeight: !1, 1909 videoWidth: !1 1910 }, e.prototype.fetch = function (a, b) { 1911 var c = function () { 1912 return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") ? "vzaar" : "youtube"; 1913 }(), 1914 d = a.attr("data-vimeo-id") || a.attr("data-youtube-id") || a.attr("data-vzaar-id"), 1915 e = a.attr("data-width") || this._core.settings.videoWidth, 1916 f = a.attr("data-height") || this._core.settings.videoHeight, 1917 g = a.attr("href"); 1918 if (!g) throw new Error("Missing video URL."); 1919 if (d = g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/), d[3].indexOf("youtu") > -1) c = "youtube";else if (d[3].indexOf("vimeo") > -1) c = "vimeo";else { 1920 if (!(d[3].indexOf("vzaar") > -1)) throw new Error("Video URL not supported."); 1921 c = "vzaar"; 1922 } 1923 d = d[6], this._videos[g] = { 1924 type: c, 1925 id: d, 1926 width: e, 1927 height: f 1928 }, b.attr("data-video", g), this.thumbnail(a, this._videos[g]); 1929 }, e.prototype.thumbnail = function (b, c) { 1930 var d, 1931 e, 1932 f,
1933 g = c.width && c.height ? "width:" + c.width + "px;height:" + c.height + "px;" : "", 1934 h = b.find("img"), 1935 i = "src", 1936 j = "", 1937 k = this._core.settings, 1938 l = function l(c) { 1939 e = '<div class="owl-video-play-icon"></div>', d = k.lazyLoad ? a("<div/>", { 1940 "class": "owl-video-tn " + j, 1941 srcType: c 1942 }) : a("<div/>", { 1943 "class": "owl-video-tn", 1944 style: "opacity:1;background-image:url(" + c + ")" 1945 }), b.after(d), b.after(e); 1946 }; 1947 if (b.wrap(a("<div/>", { 1948 "class": "owl-video-wrapper", 1949 style: g 1950 })), this._core.settings.lazyLoad && (i = "data-src", j = "owl-lazy"), h.length) return l(h.attr(i)), h.remove(), !1; 1951 "youtube" === c.type ? (f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg", l(f)) : "vimeo" === c.type ? a.ajax({ 1952 type: "GET", 1953 url: "//vimeo.com/api/v2/video/" + c.id + ".json", 1954 jsonp: "callback", 1955 dataType: "jsonp", 1956 success: function success(a) { 1957 f = a[0].thumbnail_large, l(f); 1958 } 1959 }) : "vzaar" === c.type && a.ajax({ 1960 type: "GET", 1961 url: "//vzaar.com/api/videos/" + c.id + ".json", 1962 jsonp: "callback", 1963 dataType: "jsonp", 1964 success: function success(a) { 1965 f = a.framegrab_url, l(f); 1966 } 1967 }); 1968 }, e.prototype.stop = function () { 1969 this._core.trigger("stop", null, "video"), this._playing.find(".owl-video-frame").remove(), this._playing.removeClass("owl-video-playing"), this._playing = null, this._core.leave("playing"), this._core.trigger("stopped", null, "video"); 1970 }, e.prototype.play = function (b) { 1971 var c, 1972 d = a(b.target), 1973 e = d.closest("." + this._core.settings.itemClass), 1974 f = this._videos[e.attr("data-video")], 1975 g = f.width || "100%", 1976 h = f.height || this._core.$stage.height(); 1977 this._playing || (this._core.enter("playing"), this._core.trigger("play", null, "video"), e = this._core.items(this._core.relative(e.index())), this._core.reset(e.index()), c = a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'), c.attr("height", h), c.attr("width", g), "youtube" === f.type ? c.attr("src", "//www.youtube.com/embed/" + f.id + "?autoplay=1&rel=0&v=" + f.id) : "vimeo" === f.type ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") : "vzaar" === f.type && c.attr("src", "//view.vzaar.com/" + f.id + "/player?autoplay=true"), a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")), this._playing = e.addClass("owl-video-playing")); 1978 }, e.prototype.isInFullScreen = function () { 1979 var b = c.fullscreenElement || c.mozFullScreenElement || c.webkitFullscreenElement; 1980 return b && a(b).parent().hasClass("owl-video-frame"); 1981 }, e.prototype.destroy = function () { 1982 var a, b; 1983 this._core.$element.off("click.owl.video"); 1984 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 1985 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 1986 }, a.fn.owlCarousel.Constructor.Plugins.Video = e; 1987}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 1988 var e = function e(b) { 1989 this.core = b, this.core.options = a.extend({}, e.Defaults, this.core.options), this.swapping = !0, this.previous = d, this.next = d, this.handlers = { 1990 "change.owl.carousel": a.proxy(function (a) { 1991 a.namespace && "position" == a.property.name && (this.previous = this.core.current(), this.next = a.property.value); 1992 }, this), 1993 "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(function (a) { 1994 a.namespace && (this.swapping = "translated" == a.type); 1995 }, this), 1996 "translate.owl.carousel": a.proxy(function (a) { 1997 a.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn) && this.swap(); 1998 }, this) 1999 }, this.core.$element.on(this.handlers); 2000 }; 2001 e.Defaults = { 2002 animateOut: !1, 2003 animateIn: !1 2004 }, e.prototype.swap = function () { 2005 if (1 === this.core.settings.items && a.support.animation && a.support.transition) { 2006 this.core.speed(0); 2007 var b, 2008 c = a.proxy(this.clear, this), 2009 d = this.core.$stage.children().eq(this.previous), 2010 e = this.core.$stage.children().eq(this.next), 2011 f = this.core.settings.animateIn, 2012 g = this.core.settings.animateOut; 2013 this.core.current() !== this.previous && (g && (b = this.core.coordinates(this.previous) - this.core.coordinates(this.next), d.one(a.support.animation.end, c).css({ 2014 left: b + "px" 2015 }).addClass("animated owl-animated-out").addClass(g)), f && e.one(a.support.animation.end, c).addClass("animated owl-animated-in").addClass(f)); 2016 } 2017 }, e.prototype.clear = function (b) { 2018 a(b.target).css({ 2019 left: "" 2020 }).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut), this.core.onTransitionEnd(); 2021 }, e.prototype.destroy = function () { 2022 var a, b; 2023 for (a in this.handlers) this.core.$element.off(a, this.handlers[a]); 2024 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 2025 }, a.fn.owlCarousel.Constructor.Plugins.Animate = e; 2026}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 2027 var e = function e(b) { 2028 this._core = b, this._call = null, this._time = 0, this._timeout = 0, this._paused = !0, this._handlers = { 2029 "changed.owl.carousel": a.proxy(function (a) { 2030 a.namespace && "settings" === a.property.name ? this._core.settings.autoplay ? this.play() : this.stop() : a.namespace && "position" === a.property.name && this._paused && (this._time = 0); 2031 }, this), 2032 "initialized.owl.carousel": a.proxy(function (a) { 2033 a.namespace && this._core.settings.autoplay && this.play(); 2034 }, this), 2035 "play.owl.autoplay": a.proxy(function (a, b, c) { 2036 a.namespace && this.play(b, c); 2037 }, this), 2038 "stop.owl.autoplay": a.proxy(function (a) { 2039 a.namespace && this.stop(); 2040 }, this), 2041 "mouseover.owl.autoplay": a.proxy(function () { 2042 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause(); 2043 }, this), 2044 "mouseleave.owl.autoplay": a.proxy(function () { 2045 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.play(); 2046 }, this), 2047 "touchstart.owl.core": a.proxy(function () { 2048 this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause(); 2049 }, this), 2050 "touchend.owl.core": a.proxy(function () { 2051 this._core.settings.autoplayHoverPause && this.play(); 2052 }, this) 2053 }, this._core.$element.on(this._handlers), this._core.options = a.extend({}, e.Defaults, this._core.options); 2054 }; 2055 e.Defaults = { 2056 autoplay: !1, 2057 autoplayTimeout: 5e3, 2058 autoplayHoverPause: !1, 2059 autoplaySpeed: !1 2060 }, e.prototype._next = function (d) { 2061 this._call = b.setTimeout(a.proxy(this._next, this, d), this._timeout * (Math.round(this.read() / this._timeout) + 1)
vendor: 7,825 bytes, lines 2061-2183
2061- this.read()), this._core.is("interacting") || c.hidden || this._core.next(d || this._core.settings.autoplaySpeed); 2062 }, e.prototype.read = function () { 2063 return new Date().getTime() - this._time; 2064 }, e.prototype.play = function (c, d) { 2065 var e; 2066 this._core.is("rotating") || this._core.enter("rotating"), c = c || this._core.settings.autoplayTimeout, e = Math.min(this._time % (this._timeout || c), c), this._paused ? (this._time = this.read(), this._paused = !1) : b.clearTimeout(this._call), this._time += this.read() % c - e, this._timeout = c, this._call = b.setTimeout(a.proxy(this._next, this, d), c - e); 2067 }, e.prototype.stop = function () { 2068 this._core.is("rotating") && (this._time = 0, this._paused = !0, b.clearTimeout(this._call), this._core.leave("rotating")); 2069 }, e.prototype.pause = function () { 2070 this._core.is("rotating") && !this._paused && (this._time = this.read(), this._paused = !0, b.clearTimeout(this._call)); 2071 }, e.prototype.destroy = function () { 2072 var a, b; 2073 this.stop(); 2074 for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); 2075 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 2076 }, a.fn.owlCarousel.Constructor.Plugins.autoplay = e; 2077}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 2078 "use strict"; 2079 2080 var e = function e(b) { 2081 this._core = b, this._initialized = !1, this._pages = [], this._controls = {}, this._templates = [], this.$element = this._core.$element, this._overrides = { 2082 next: this._core.next, 2083 prev: this._core.prev, 2084 to: this._core.to 2085 }, this._handlers = { 2086 "prepared.owl.carousel": a.proxy(function (b) { 2087 b.namespace && this._core.settings.dotsData && this._templates.push('<div class="' + this._core.settings.dotClass + '">' + a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot") + "</div>"); 2088 }, this), 2089 "added.owl.carousel": a.proxy(function (a) { 2090 a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 0, this._templates.pop()); 2091 }, this), 2092 "remove.owl.carousel": a.proxy(function (a) { 2093 a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 1); 2094 }, this), 2095 "changed.owl.carousel": a.proxy(function (a) { 2096 a.namespace && "position" == a.property.name && this.draw(); 2097 }, this), 2098 "initialized.owl.carousel": a.proxy(function (a) { 2099 a.namespace && !this._initialized && (this._core.trigger("initialize", null, "navigation"), this.initialize(), this.update(), this.draw(), this._initialized = !0, this._core.trigger("initialized", null, "navigation")); 2100 }, this), 2101 "refreshed.owl.carousel": a.proxy(function (a) { 2102 a.namespace && this._initialized && (this._core.trigger("refresh", null, "navigation"), this.update(), this.draw(), this._core.trigger("refreshed", null, "navigation")); 2103 }, this) 2104 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers); 2105 }; 2106 e.Defaults = { 2107 nav: !1, 2108 navText: ['<span aria-label="Previous">‹</span>', '<span aria-label="Next">›</span>'], 2109 navSpeed: !1, 2110 navElement: 'button type="button" role="presentation"', 2111 navContainer: !1, 2112 navContainerClass: "owl-nav", 2113 navClass: ["owl-prev", "owl-next"], 2114 slideBy: 1, 2115 dotClass: "owl-dot", 2116 dotsClass: "owl-dots", 2117 dots: !0, 2118 dotsEach: !1, 2119 dotsData: !1, 2120 dotsSpeed: !1, 2121 dotsContainer: !1 2122 }, e.prototype.initialize = function () { 2123 var b, 2124 c = this._core.settings; 2125 this._controls.$relative = (c.navContainer ? a(c.navContainer) : a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"), this._controls.$previous = a("<" + c.navElement + ">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click", a.proxy(function (a) { 2126 this.prev(c.navSpeed); 2127 }, this)), this._controls.$next = a("<" + c.navElement + ">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click", a.proxy(function (a) { 2128 this.next(c.navSpeed); 2129 }, this)), c.dotsData || (this._templates = [a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]), this._controls.$absolute = (c.dotsContainer ? a(c.dotsContainer) : a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"), this._controls.$absolute.on("click", "button", a.proxy(function (b) { 2130 var d = a(b.target).parent().is(this._controls.$absolute) ? a(b.target).index() : a(b.target).parent().index(); 2131 b.preventDefault(), this.to(d, c.dotsSpeed); 2132 }, this)); 2133 for (b in this._overrides) this._core[b] = a.proxy(this[b], this); 2134 }, e.prototype.destroy = function () { 2135 var a, b, c, d, e; 2136 e = this._core.settings; 2137 for (a in this._handlers) this.$element.off(a, this._handlers[a]); 2138 for (b in this._controls) "$relative" === b && e.navContainer ? this._controls[b].html("") : this._controls[b].remove(); 2139 for (d in this.overides) this._core[d] = this._overrides[d]; 2140 for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null); 2141 }, e.prototype.update = function () { 2142 var a, 2143 b, 2144 c, 2145 d = this._core.clones().length / 2, 2146 e = d + this._core.items().length, 2147 f = this._core.maximum(!0), 2148 g = this._core.settings, 2149 h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items; 2150 if ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)), g.dots || "page" == g.slideBy) for (this._pages = [], a = d, b = 0, c = 0; a < e; a++) { 2151 if (b >= h || 0 === b) { 2152 if (this._pages.push({ 2153 start: Math.min(f, a - d), 2154 end: a - d + h - 1 2155 }), Math.min(f, a - d) === f) break; 2156 b = 0, ++c; 2157 } 2158 b += this._core.mergers(this._core.relative(a)); 2159 } 2160 }, e.prototype.draw = function () { 2161 var b, 2162 c = this._core.settings, 2163 d = this._core.items().length <= c.items, 2164 e = this._core.relative(this._core.current()), 2165 f = c.loop || c.rewind; 2166 this._controls.$relative.toggleClass("disabled", !c.nav || d), c.nav && (this._controls.$previous.toggleClass("disabled", !f && e <= this._core.minimum(!0)), this._controls.$next.toggleClass("disabled", !f && e >= this._core.maximum(!0))), this._controls.$absolute.toggleClass("disabled", !c.dots || d), c.dots && (b = this._pages.length - this._controls.$absolute.children().length, c.dotsData && 0 !== b ? this._controls.$absolute.html(this._templates.join("")) : b > 0 ? this._controls.$absolute.append(new Array(b + 1).join(this._templates[0])) : b < 0 && this._controls.$absolute.children().slice(b).remove(), this._controls.$absolute.find(".active").removeClass("active"), this._controls.$absolute.children().eq(a.inArray(this.current(), this._pages)).addClass("active")); 2167 }, e.prototype.onTrigger = function (b) { 2168 var c = this._core.settings; 2169 b.page = { 2170 index: a.inArray(this.current(), this._pages), 2171 count: this._pages.length, 2172 size: c && (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items) 2173 }; 2174 }, e.prototype.current = function () { 2175 var b = this._core.relative(this._core.current()); 2176 return a.grep(this._pages, a.proxy(function (a, c) { 2177 return a.start <= b && a.end >= b; 2178 }, this)).pop(); 2179 }, e.prototype.getPosition = function (b) { 2180 var c, 2181 d, 2182 e = this._core.settings; 2183 return "page" == e.slideBy ? (c = a.inArray(this.current(), this._pages), d = this._pages.length, b ? ++c : --c, c = this._pages[(c % d + d) % d].start) : (c = this._core.relative(this._core.current()), d = this._core.items().length, b ? c += e.
2183slideBy : c -= e.slideBy), c; 2184 }, e.prototype.next = function (b) { 2185 a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b); 2186 }, e.prototype.prev = function (b) { 2187 a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b); 2188 }, e.prototype.to = function (b, c, d) { 2189 var e; 2190 !d && this._pages.length ? (e = this._pages.length, a.proxy(this._overrides.to, this._core)(this._pages[(b % e + e) % e].start, c)) : a.proxy(this._overrides.to, this._core)(b, c); 2191 }, a.fn.owlCarousel.Constructor.Plugins.Navigation = e; 2192}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 2193 "use strict"; 2194 2195 var e = function e(c) { 2196 this._core = c, this._hashes = {}, this.$element = this._core.$element, this._handlers = { 2197 "initialized.owl.carousel": a.proxy(function (c) { 2198 c.namespace && "URLHash" === this._core.settings.startPosition && a(b).trigger("hashchange.owl.navigation"); 2199 }, this), 2200 "prepared.owl.carousel": a.proxy(function (b) { 2201 if (b.namespace) { 2202 var c = a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"); 2203 if (!c) return; 2204 this._hashes[c] = b.content; 2205 } 2206 }, this), 2207 "changed.owl.carousel": a.proxy(function (c) { 2208 if (c.namespace && "position" === c.property.name) { 2209 var d = this._core.items(this._core.relative(this._core.current())), 2210 e = a.map(this._hashes, function (a, b) { 2211 return a === d ? b : null; 2212 }).join(); 2213 if (!e || b.location.hash.slice(1) === e) return; 2214 b.location.hash = e; 2215 } 2216 }, this) 2217 }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers), a(b).on("hashchange.owl.navigation", a.proxy(function (a) { 2218 var c = b.location.hash.substring(1), 2219 e = this._core.$stage.children(), 2220 f = this._hashes[c] && e.index(this._hashes[c]); 2221 f !== d && f !== this._core.current() && this._core.to(this._core.relative(f), !1, !0); 2222 }, this)); 2223 }; 2224 e.Defaults = { 2225 URLhashListener: !1 2226 }, e.prototype.destroy = function () { 2227 var c, d; 2228 a(b).off("hashchange.owl.navigation"); 2229 for (c in this._handlers) this._core.$element.off(c, this._handlers[c]); 2230 for (d in Object.getOwnPropertyNames(this)) "function" != typeof this[d] && (this[d] = null); 2231 }, a.fn.owlCarousel.Constructor.Plugins.Hash = e; 2232}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document), function (a, b, c, d) { 2233 function e(b, c) { 2234 var e = !1, 2235 f = b.charAt(0).toUpperCase() + b.slice(1); 2236 return a.each((b + " " + h.join(f + " ") + f).split(" "), function (a, b) { 2237 if (g[b] !== d) return e = !c || b, !1; 2238 }), e; 2239 } 2240 function f(a) { 2241 return e(a, !0); 2242 } 2243 var g = a("<support>").get(0).style, 2244 h = "Webkit Moz O ms".split(" "), 2245 i = { 2246 transition: { 2247 end: { 2248 WebkitTransition: "webkitTransitionEnd", 2249 MozTransition: "transitionend", 2250 OTransition: "oTransitionEnd", 2251 transition: "transitionend" 2252 } 2253 }, 2254 animation: { 2255 end: { 2256 WebkitAnimation: "webkitAnimationEnd", 2257 MozAnimation: "animationend", 2258 OAnimation: "oAnimationEnd", 2259 animation: "animationend" 2260 } 2261 } 2262 }, 2263 j = { 2264 csstransforms: function csstransforms() { 2265 return !!e("transform"); 2266 }, 2267 csstransforms3d: function csstransforms3d() { 2268 return !!e("perspective"); 2269 }, 2270 csstransitions: function csstransitions() { 2271 return !!e("transition"); 2272 }, 2273 cssanimations: function cssanimations() { 2274 return !!e("animation"); 2275 } 2276 }; 2277 j.csstransitions() && (a.support.transition = new String(f("transition")), a.support.transition.end = i.transition.end[a.support.transition]), j.cssanimations() && (a.support.animation = new String(f("animation")), a.support.animation.end = i.animation.end[a.support.animation]), j.csstransforms() && (a.support.transform = new String(f("transform")), a.support.transform3d = j.csstransforms3d()); 2278}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document); 2279 2280/*! OwlCarousel2Thumbs - v0.1.3 | (c) 2015 @gijsroge | MIT license | https://github.com/gijsroge/OwlCarousel2-Thumbs */ 2281!function (a) { 2282 "use strict"; 2283 2284 var b = function b(c) { 2285 this.owl = c, this._thumbcontent = [], this.owl_currentitem = this.owl.options.startPosition, this.$element = this.owl.$element, this._handlers = { 2286 "prepared.owl.carousel": a.proxy(function (b) { 2287 if (b.namespace && this.owl._options.thumbs && !this.owl._options.thumbImage) this._thumbcontent.push(a(b.content).find("[data-thumb]").attr("data-thumb"));else if (b.namespace && this.owl._options.thumbs && this.owl._options.thumbImage) { 2288 var c = a(b.content).find("img"); 2289 this._thumbcontent.push(c); 2290 } 2291 }, this), 2292 "initialized.owl.carousel": a.proxy(function (a) { 2293 a.namespace && this.owl._options.thumbs && (this.initialize(), this.currentslide(), this.draw()); 2294 }, this), 2295 "changed.owl.carousel": a.proxy(function (a) { 2296 a.namespace && "position" === a.property.name && this.owl._options.thumbs && (this.currentslide(), this.draw()); 2297 }, this), 2298 "refreshed.owl.carousel": a.proxy(function (a) { 2299 a.namespace && this._initialized && this.draw(); 2300 }, this) 2301 }, this.owl._options = a.extend(b.Defaults, this.owl.options), this.owl.$element.on(this._handlers); 2302 }; 2303 b.Defaults = { 2304 thumbs: !0, 2305 thumbImage: !1, 2306 thumbContainerClass: "owl-thumbs", 2307 thumbItemClass: "owl-thumb-item" 2308 }, b.prototype.currentslide = function () { 2309 this.owl_currentitem = this.owl._current - this.owl._clones.length / 2, this.owl_currentitem === this.owl._items.length && (this.owl_currentitem = 0); 2310 }, b.prototype.draw = function () { 2311 a(this._thumbcontent._thumbcontainer).children().filter(".active").removeClass("active"), a(this._thumbcontent._thumbcontainer).children().eq(this.owl_currentitem).addClass("active"); 2312 }, b.prototype.initialize = function () { 2313 var b = this.owl._options; 2314 this._thumbcontent._thumbcontainer = a("<div>").addClass(b.thumbContainerClass).appendTo(this.$element); 2315 var c; 2316 if (this.owl._options.thumbImage) for (c = 0; c < this._thumbcontent.length; ++c) this._thumbcontent._thumbcontainer.append("<button class=" + b.thumbItemClass + '><img src="' + this._thumbcontent[c].attr("src") + '" alt="' + this._thumbcontent[c].attr("alt") + '" /></button>');else for (c = 0; c < this._thumbcontent.length; ++c) this._thumbcontent._thumbcontainer.append("<button class=" + b.thumbItemClass + ">" + this._thumbcontent[c] + "</button>"); 2317 a(this._thumbcontent._thumbcontainer).on("click", "button", a.proxy(function (c) { 2318 var d = a(c.target).parent().is(this._thumbcontent._thumbcontainer) ? a(c.target).index() : a(c.target).parent().index(); 2319 c.preventDefault(), this.owl.to(d, b.dotsSpeed); 2320 }, this)); 2321 }, b.prototype.destroy = function () { 2322 var a, b; 2323 for (a in this._handlers) this.owl.$element.off(a, this._handlers[a]); 2324 for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null); 2325 }, a.fn.owlCarousel.Constructor.Plugins.Thumbs = b; 2326}(window.Zepto || __webpack_provided_window_dot_jQuery, window, document); 2327 2328/***/ }), 2329
2330/***/ "./assets/sitevitrine/js/newindex.js": 2331/*!*******************************************!*\ 2332 !*** ./assets/sitevitrine/js/newindex.js ***! 2333 \*******************************************/ 2334/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 2335 2336"use strict"; 2337__webpack_require__.r(__webpack_exports__); 2338/* harmony import */ var _lib_owl_carousel_min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/owl.carousel.min.js */ "./assets/sitevitrine/js/lib/owl.carousel.min.js"); 2339/* harmony import */ var _lib_owl_carousel_min_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_lib_owl_carousel_min_js__WEBPACK_IMPORTED_MODULE_0__); 2340/* harmony import */ var _lib_pinterest_grid_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lib/pinterest-grid.js */ "./assets/sitevitrine/js/lib/pinterest-grid.js"); 2341/* harmony import */ var _lib_pinterest_grid_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_lib_pinterest_grid_js__WEBPACK_IMPORTED_MODULE_1__); 2342/* harmony import */ var _lib_slider_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lib/slider.js */ "./assets/sitevitrine/js/lib/slider.js"); 2343/* harmony import */ var _lib_slider_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_lib_slider_js__WEBPACK_IMPORTED_MODULE_2__); 2344 2345 2346 2347 2348/***/ }), 2349
vendor: 280,805 bytes, lines 2350-12958
2350/***/ "./node_modules/jquery/dist/jquery.js": 2351/*!********************************************!*\ 2352 !*** ./node_modules/jquery/dist/jquery.js ***! 2353 \********************************************/ 2354/***/ (function(module, exports) { 2355 2356var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 2357 * jQuery JavaScript Library v3.4.1 2358 * https://jquery.com/ 2359 * 2360 * Includes Sizzle.js 2361 * https://sizzlejs.com/ 2362 * 2363 * Copyright JS Foundation and other contributors 2364 * Released under the MIT license 2365 * https://jquery.org/license 2366 * 2367 * Date: 2019-05-01T21:04Z 2368 */ 2369( function( global, factory ) { 2370 2371 "use strict"; 2372 2373 if ( true && typeof module.exports === "object" ) { 2374 2375 // For CommonJS and CommonJS-like environments where a proper `window` 2376 // is present, execute the factory and get jQuery. 2377 // For environments that do not have a `window` with a `document` 2378 // (such as Node.js), expose a factory as module.exports. 2379 // This accentuates the need for the creation of a real `window`. 2380 // e.g. var jQuery = require("jquery")(window); 2381 // See ticket #14549 for more info. 2382 module.exports = global.document ? 2383 factory( global, true ) : 2384 function( w ) { 2385 if ( !w.document ) { 2386 throw new Error( "jQuery requires a window with a document" ); 2387 } 2388 return factory( w ); 2389 }; 2390 } else { 2391 factory( global ); 2392 } 2393 2394// Pass this if window is not defined yet 2395} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { 2396 2397// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 2398// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode 2399// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common 2400// enough that all such attempts are guarded in a try block. 2401"use strict"; 2402 2403var arr = []; 2404 2405var document = window.document; 2406 2407var getProto = Object.getPrototypeOf; 2408 2409var slice = arr.slice; 2410 2411var concat = arr.concat; 2412 2413var push = arr.push; 2414 2415var indexOf = arr.indexOf; 2416 2417var class2type = {}; 2418 2419var toString = class2type.toString; 2420 2421var hasOwn = class2type.hasOwnProperty; 2422 2423var fnToString = hasOwn.toString; 2424 2425var ObjectFunctionString = fnToString.call( Object ); 2426 2427var support = {}; 2428 2429var isFunction = function isFunction( obj ) { 2430 2431 // Support: Chrome <=57, Firefox <=52 2432 // In some browsers, typeof returns "function" for HTML <object> elements 2433 // (i.e., `typeof document.createElement( "object" ) === "function"`). 2434 // We don't want to classify *any* DOM node as a function. 2435 return typeof obj === "function" && typeof obj.nodeType !== "number"; 2436 }; 2437 2438 2439var isWindow = function isWindow( obj ) { 2440 return obj != null && obj === obj.window; 2441 }; 2442 2443 2444 2445 2446 var preservedScriptAttributes = { 2447 type: true, 2448 src: true, 2449 nonce: true, 2450 noModule: true 2451 }; 2452 2453 function DOMEval( code, node, doc ) { 2454 doc = doc || document; 2455 2456 var i, val, 2457 script = doc.createElement( "script" ); 2458 2459 script.text = code; 2460 if ( node ) { 2461 for ( i in preservedScriptAttributes ) { 2462 2463 // Support: Firefox 64+, Edge 18+ 2464 // Some browsers don't support the "nonce" property on scripts. 2465 // On the other hand, just using `getAttribute` is not enough as 2466 // the `nonce` attribute is reset to an empty string whenever it 2467 // becomes browsing-context connected. 2468 // See https://github.com/whatwg/html/issues/2369 2469 // See https://html.spec.whatwg.org/#nonce-attributes 2470 // The `node.getAttribute` check was added for the sake of 2471 // `jQuery.globalEval` so that it can fake a nonce-containing node 2472 // via an object. 2473 val = node[ i ] || node.getAttribute && node.getAttribute( i ); 2474 if ( val ) { 2475 script.setAttribute( i, val ); 2476 } 2477 } 2478 } 2479 doc.head.appendChild( script ).parentNode.removeChild( script ); 2480 } 2481 2482 2483function toType( obj ) { 2484 if ( obj == null ) { 2485 return obj + ""; 2486 } 2487 2488 // Support: Android <=2.3 only (functionish RegExp) 2489 return typeof obj === "object" || typeof obj === "function" ? 2490 class2type[ toString.call( obj ) ] || "object" : 2491 typeof obj; 2492} 2493/* global Symbol */ 2494// Defining this global in .eslintrc.json would create a danger of using the global 2495// unguarded in another place, it seems safer to define global only for this module 2496 2497 2498 2499var 2500 version = "3.4.1", 2501 2502 // Define a local copy of jQuery 2503 jQuery = function( selector, context ) { 2504 2505 // The jQuery object is actually just the init constructor 'enhanced' 2506 // Need init if jQuery is called (just allow error to be thrown if not included) 2507 return new jQuery.fn.init( selector, context ); 2508 }, 2509 2510 // Support: Android <=4.0 only 2511 // Make sure we trim BOM and NBSP 2512 rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; 2513 2514jQuery.fn = jQuery.prototype = { 2515 2516 // The current version of jQuery being used 2517 jquery: version, 2518 2519 constructor: jQuery, 2520 2521 // The default length of a jQuery object is 0 2522 length: 0, 2523 2524 toArray: function() { 2525 return slice.call( this ); 2526 }, 2527 2528 // Get the Nth element in the matched element set OR 2529 // Get the whole matched element set as a clean array 2530 get: function( num ) { 2531 2532 // Return all the elements in a clean array 2533 if ( num == null ) { 2534 return slice.call( this ); 2535 } 2536 2537 // Return just the one element from the set 2538 return num < 0 ? this[ num + this.length ] : this[ num ]; 2539 }, 2540 2541 // Take an array of elements and push it onto the stack 2542 // (returning the new matched element set) 2543 pushStack: function( elems ) { 2544 2545 // Build a new jQuery matched element set 2546 var ret = jQuery.merge( this.constructor(), elems ); 2547 2548 // Add the old object onto the stack (as a reference) 2549 ret.prevObject = this; 2550 2551 // Return the newly-formed element set 2552 return ret; 2553 }, 2554 2555 // Execute a callback for every element in the matched set. 2556 each: function( callback ) { 2557 return jQuery.each( this, callback ); 2558 }, 2559 2560 map: function( callback ) { 2561 return this.pushStack( jQuery.map( this, function( elem, i ) { 2562 return callback.call( elem, i, elem ); 2563 } ) ); 2564 }, 2565 2566 slice: function() { 2567 return this.pushStack( slice.apply( this, arguments ) ); 2568 }, 2569 2570 first: function() { 2571 return this.eq( 0 ); 2572 }, 2573 2574 last: function() { 2575 return this.eq( -1 ); 2576 }, 2577 2578 eq: function( i ) { 2579 var len = this.length, 2580 j = +i + ( i < 0 ? len : 0 ); 2581 return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); 2582 }, 2583 2584 end: function() { 2585 return this.prevObject || this.constructor(); 2586 }, 2587 2588 // For internal use only. 2589 // Behaves like an Array's method, not like a jQuery method. 2590 push: push, 2591 sort: arr.sort, 2592 splice: arr.splice 2593}; 2594 2595jQuery.extend = jQuery.fn.extend = function() { 2596 var options, name, src, copy, copyIsArray, clone, 2597 target = arguments[ 0 ] || {}, 2598 i = 1, 2599 length = arguments.length, 2600 deep = false; 2601 2602 // Handle a deep copy situation 2603 if ( typeof target === "boolean" ) { 2604 deep = target; 2605 2606 // Skip the boolean and the target 2607 target = arguments[ i ] || {}; 2608 i++; 2609 } 2610 2611 // Handle case when target is a string or something (possible in deep copy) 2612 if ( typeof target !== "object" && !isFunction( target ) ) { 2613 target = {}; 2614 } 2615 2616 // Extend jQuery itself if only one argument is passed 2617 if ( i === length ) { 2618 target = this; 2619 i--; 2620 } 2621 2622 for ( ; i < length; i++ ) { 2623 2624 // Only deal with non-null/undefined values 2625 if ( ( options = arguments[ i ] ) != null ) { 2626 2627 // Extend the base object 2628 for ( name in options ) { 2629 copy = options[ name ]; 2630 2631 // Prevent Object.prototype pollution 2632 // Prevent never-ending loop 2633 if ( name === "__proto__" || target === copy ) { 2634 continue; 2635 } 2636 2637 // Recurse if we're merging plain objects or arrays 2638 if ( deep && copy && ( jQuery.isPlainObject( copy ) || 2639 ( copyIsArray = Array.isArray( copy ) ) ) ) { 2640 src = target[ name ]; 2641 2642 // Ensure proper type for the source value 2643 if ( copyIsArray && !Array.isArray( src ) ) { 2644 clone = []; 2645 } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { 2646 clone = {}; 2647 } else { 2648 clone = src; 2649 } 2650 copyIsArray = false; 2651 2652 // Never move original objects, clone them 2653 target[ name ] = jQuery.extend( deep, clone, copy ); 2654 2655 // Don't bring in undefined values 2656 } else if ( copy !== undefined ) { 2657 target[ name ] = copy; 2658 } 2659 } 2660 } 2661 } 2662 2663 // Return the modified object 2664 return target; 2665}; 2666 2667jQuery.extend( { 2668 2669 // Unique for each copy of jQuery on the page 2670 expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), 2671 2672 // Assume jQuery is ready without the ready module 2673 isReady: true, 2674 2675 error: function( msg ) { 2676 throw new Error( msg ); 2677 }, 2678 2679 noop: function() {}, 2680 2681 isPlainObject: function( obj ) { 2682 var proto, Ctor; 2683 2684 // Detect obvious negatives 2685 // Use toString instead of jQuery.type to catch host objects 2686 if ( !obj || toString.call( obj ) !== "[object Object]" ) { 2687 return false; 2688 } 2689 2690 proto = getProto( obj ); 2691 2692 // Objects with no prototype (e.g., `Object.create( null )`) are plain 2693 if ( !proto ) { 2694 return true; 2695 } 2696 2697 // Objects with prototype are plain iff they were constructed by a global Object function 2698 Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; 2699 return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; 2700 }, 2701 2702 isEmptyObject: function( obj ) { 2703 var name; 2704 2705 for ( name in obj ) { 2706 return false; 2707 } 2708 return true; 2709 }, 2710 2711 // Evaluates a script in a global context 2712 globalEval: function( code, options ) { 2713 DOMEval( code, { nonce: options && options.nonce } ); 2714 }, 2715 2716 each: function( obj, callback ) { 2717 var length, i = 0; 2718 2719 if ( isArrayLike( obj ) ) { 2720 length = obj.length; 2721 for ( ; i < length; i++ ) { 2722 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 2723 break; 2724 } 2725 } 2726 } else { 2727 for ( i in obj ) { 2728 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 2729 break; 2730 } 2731 } 2732 } 2733 2734 return obj; 2735 }, 2736 2737 // Support: Android <=4.0 only 2738 trim: function( text ) { 2739 return text == null ? 2740 "" : 2741 ( text + "" ).replace( rtrim, "" ); 2742 }, 2743 2744 // results is for internal usage only 2745 makeArray: function( arr, results ) { 2746 var ret = results || []; 2747 2748 if ( arr != null ) { 2749 if ( isArrayLike( Object( arr ) ) ) { 2750 jQuery.merge( ret, 2751 typeof arr === "string" ? 2752 [ arr ] : arr 2753 ); 2754 } else { 2755 push.call( ret, arr ); 2756 } 2757 } 2758 2759 return ret; 2760 }, 2761 2762 inArray: function( elem, arr, i ) { 2763 return arr == null ? -1 : indexOf.call( arr, elem, i ); 2764 }, 2765 2766 // Support: Android <=4.0 only, PhantomJS 1 only 2767 // push.apply(_, arraylike) throws on ancient WebKit 2768 merge: function( first, second ) { 2769 var len = +second.length, 2770 j = 0, 2771 i = first.length; 2772 2773 for ( ; j < len; j++ ) { 2774 first[ i++ ] = second[ j ]; 2775 } 2776 2777 first.length = i; 2778 2779 return first; 2780 }, 2781 2782 grep: function( elems, callback, invert ) { 2783 var callbackInverse, 2784 matches = [], 2785 i = 0, 2786 length = elems.length, 2787 callbackExpect = !invert; 2788 2789 // Go through the array, only saving the items 2790 // that pass the validator function 2791 for ( ; i < length; i++ ) { 2792 callbackInverse = !callback( elems[ i ], i ); 2793 if ( callbackInverse !== callbackExpect ) { 2794 matches.push( elems[ i ] ); 2795 } 2796 } 2797 2798 return matches; 2799 }, 2800 2801 // arg is for internal usage only 2802 map: function( elems, callback, arg ) { 2803 var length, value, 2804 i = 0, 2805 ret = []; 2806 2807 // Go through the array, translating each of the items to their new values 2808 if ( isArrayLike( elems ) ) { 2809 length = elems.length; 2810 for ( ; i < length; i++ ) { 2811 value = callback( elems[ i ], i, arg ); 2812 2813 if ( value != null ) { 2814 ret.push( value ); 2815 } 2816 } 2817 2818 // Go through every key on the object, 2819 } else { 2820 for ( i in elems ) { 2821 value = callback( elems[ i ], i, arg ); 2822 2823 if ( value != null ) { 2824 ret.push( value ); 2825 } 2826 } 2827 } 2828 2829 // Flatten any nested arrays 2830 return concat.apply( [], ret ); 2831 }, 2832 2833 // A global GUID counter for objects 2834 guid: 1, 2835 2836 // jQuery.support is not used in Core but other projects attach their 2837 // properties to it so it needs to exist. 2838 support: support 2839} ); 2840 2841if ( typeof Symbol === "function" ) { 2842 jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; 2843} 2844 2845// Populate the class2type map 2846jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), 2847function( i, name ) { 2848 class2type[ "[object " + name + "]" ] = name.toLowerCase(); 2849} ); 2850 2851function isArrayLike( obj ) { 2852 2853 // Support: real iOS 8.2 only (not reproducible in simulator) 2854 // `in` check used to prevent JIT error (gh-2145) 2855 // hasOwn isn't used here due to false negatives 2856 // regarding Nodelist length in IE 2857 var length = !!obj && "length" in obj && obj.length, 2858 type = toType( obj ); 2859 2860 if ( isFunction( obj ) || isWindow( obj ) ) { 2861 return false; 2862 } 2863 2864 return type === "array" || length === 0 || 2865 typeof length === "number" && length > 0 && ( length - 1 ) in obj; 2866} 2867var Sizzle = 2868/*! 2869 * Sizzle CSS Selector Engine v2.3.4 2870 * https://sizzlejs.com/ 2871 * 2872 * Copyright JS Foundation and other contributors 2873 * Released under the MIT license 2874 * https://js.foundation/ 2875 * 2876 * Date: 2019-04-08 2877 */ 2878(function( window ) { 2879 2880var i, 2881 support, 2882 Expr, 2883 getText, 2884 isXML, 2885 tokenize, 2886 compile, 2887 select, 2888 outermostContext, 2889 sortInput, 2890 hasDuplicate, 2891 2892 // Local document vars 2893 setDocument, 2894 document, 2895 docElem, 2896 documentIsHTML, 2897 rbuggyQSA, 2898 rbuggyMatches, 2899 matches, 2900 contains, 2901 2902 // Instance-specific data 2903 expando = "sizzle" + 1 * new Date(), 2904 preferredDoc = window.document, 2905 dirruns = 0, 2906 done = 0, 2907 classCache = createCache(), 2908 tokenCache = createCache(), 2909 compilerCache = createCache(), 2910 nonnativeSelectorCache = createCache(), 2911 sortOrder = function( a, b ) { 2912 if ( a === b ) { 2913 hasDuplicate = true; 2914 } 2915 return 0; 2916 }, 2917 2918 // Instance methods 2919 hasOwn = ({}).hasOwnProperty, 2920 arr = [], 2921 pop = arr.pop, 2922 push_native = arr.push, 2923 push = arr.push, 2924 slice = arr.slice, 2925 // Use a stripped-down indexOf as it's faster than native 2926 // https://jsperf.com/thor-indexof-vs-for/5 2927 indexOf = function( list, elem ) { 2928 var i = 0, 2929 len = list.length; 2930 for ( ; i < len; i++ ) { 2931 if ( list[i] === elem ) { 2932 return i; 2933 } 2934 } 2935 return -1; 2936 }, 2937 2938 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 2939 2940 // Regular expressions 2941 2942 // http://www.w3.org/TR/css3-selectors/#whitespace 2943 whitespace = "[\\x20\\t\\r\\n\\f]", 2944 2945 // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier 2946 identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", 2947 2948 // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors 2949 attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + 2950 // Operator (capture 2) 2951 "*([*^$|!~]?=)" + whitespace + 2952 // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" 2953 "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + 2954 "*\\]", 2955 2956 pseudos = ":(" + identifier + ")(?:\\((" + 2957 // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: 2958 // 1. quoted (capture 3; capture 4 or capture 5) 2959 "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + 2960 // 2. simple (capture 6) 2961 "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + 2962 // 3. anything else (capture 2) 2963 ".*" + 2964 ")\\)|)", 2965 2966 // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter 2967 rwhitespace = new RegExp( whitespace + "+", "g" ), 2968 rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), 2969 2970 rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), 2971 rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), 2972 rdescend = new RegExp( whitespace + "|>" ), 2973 2974 rpseudo = new RegExp( pseudos ), 2975 ridentifier = new RegExp( "^" + identifier + "$" ), 2976 2977 matchExpr = { 2978 "ID": new RegExp( "^#(" + identifier + ")" ), 2979 "CLASS": new RegExp( "^\\.(" + identifier + ")" ), 2980 "TAG": new RegExp( "^(" + identifier + "|[*])" ), 2981 "ATTR": new RegExp( "^" + attributes ), 2982 "PSEUDO": new RegExp( "^" + pseudos ), 2983 "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + 2984 "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + 2985 "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), 2986 "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), 2987 // For use in libraries implementing .is() 2988 // We use this for POS matching in `select` 2989 "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + 2990 whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) 2991 }, 2992 2993 rhtml = /HTML$/i, 2994 rinputs = /^(?:input|select|textarea|button)$/i, 2995 rheader = /^h\d$/i, 2996 2997 rnative = /^[^{]+\{\s*\[native \w/, 2998 2999 // Easily-parseable/retrievable ID or TAG or CLASS selectors 3000 rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 3001 3002 rsibling = /[+~]/, 3003 3004 // CSS escapes 3005 // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters 3006 runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), 3007 funescape = function( _, escaped, escapedWhitespace ) { 3008 var high = "0x" + escaped - 0x10000; 3009 // NaN means non-codepoint 3010 // Support: Firefox<24 3011 // Workaround erroneous numeric interpretation of +"0x" 3012 return high !== high || escapedWhitespace ? 3013 escaped : 3014 high < 0 ? 3015 // BMP codepoint 3016 String.fromCharCode( high + 0x10000 ) : 3017 // Supplemental Plane codepoint (surrogate pair) 3018 String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); 3019 }, 3020 3021 // CSS string/identifier serialization 3022 // https://drafts.csswg.org/cssom/#common-serializing-idioms 3023 rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, 3024 fcssescape = function( ch, asCodePoint ) { 3025 if ( asCodePoint ) { 3026 3027 // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER 3028 if ( ch === "\0" ) { 3029 return "\uFFFD"; 3030 } 3031 3032 // Control characters and (dependent upon position) numbers get escaped as code points 3033 return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; 3034 } 3035 3036 // Other potentially-special ASCII characters get backslash-escaped 3037 return "\\" + ch; 3038 }, 3039 3040 // Used for iframes 3041 // See setDocument() 3042 // Removing the function wrapper causes a "Permission Denied" 3043 // error in IE 3044 unloadHandler = function() { 3045 setDocument(); 3046 }, 3047 3048 inDisabledFieldset = addCombinator( 3049 function( elem ) { 3050 return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; 3051 }, 3052 { dir: "parentNode", next: "legend" } 3053 ); 3054 3055// Optimize for push.apply( _, NodeList ) 3056try { 3057 push.apply( 3058 (arr = slice.call( preferredDoc.childNodes )), 3059 preferredDoc.childNodes 3060 ); 3061 // Support: Android<4.0 3062 // Detect silently failing push.apply 3063 arr[ preferredDoc.childNodes.length ].nodeType; 3064} catch ( e ) { 3065 push = { apply: arr.length ? 3066 3067 // Leverage slice if possible 3068 function( target, els ) { 3069 push_native.apply( target, slice.call(els) ); 3070 } : 3071 3072 // Support: IE<9 3073 // Otherwise append directly 3074 function( target, els ) { 3075 var j = target.length, 3076 i = 0; 3077 // Can't trust NodeList.length 3078 while ( (target[j++] = els[i++]) ) {} 3079 target.length = j - 1; 3080 } 3081 }; 3082} 3083 3084function Sizzle( selector, context, results, seed ) { 3085 var m, i, elem, nid, match, groups, newSelector, 3086 newContext = context && context.ownerDocument, 3087 3088 // nodeType defaults to 9, since context defaults to document 3089 nodeType = context ? context.nodeType : 9; 3090 3091 results = results || []; 3092 3093 // Return early from calls with invalid selector or context 3094 if ( typeof selector !== "string" || !selector || 3095 nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { 3096 3097 return results; 3098 } 3099 3100 // Try to shortcut find operations (as opposed to filters) in HTML documents 3101 if ( !seed ) { 3102 3103 if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { 3104 setDocument( context ); 3105 } 3106 context = context || document; 3107 3108 if ( documentIsHTML ) { 3109 3110 // If the selector is sufficiently simple, try using a "get*By*" DOM method 3111 // (excepting DocumentFragment context, where the methods don't exist) 3112 if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { 3113 3114 // ID selector 3115 if ( (m = match[1]) ) { 3116 3117 // Document context 3118 if ( nodeType === 9 ) { 3119 if ( (elem = context.getElementById( m )) ) { 3120 3121 // Support: IE, Opera, Webkit 3122 // TODO: identify versions 3123 // getElementById can match elements by name instead of ID 3124 if ( elem.id === m ) { 3125 results.push( elem ); 3126 return results; 3127 } 3128 } else { 3129 return results; 3130 } 3131 3132 // Element context 3133 } else { 3134 3135 // Support: IE, Opera, Webkit 3136 // TODO: identify versions 3137 // getElementById can match elements by name instead of ID 3138 if ( newContext && (elem = newContext.getElementById( m )) && 3139 contains( context, elem ) && 3140 elem.id === m ) { 3141 3142 results.push( elem ); 3143 return results; 3144 } 3145 } 3146 3147 // Type selector 3148 } else if ( match[2] ) { 3149 push.apply( results, context.getElementsByTagName( selector ) ); 3150 return results; 3151 3152 // Class selector 3153 } else if ( (m = match[3]) && support.getElementsByClassName && 3154 context.getElementsByClassName ) { 3155 3156 push.apply( results, context.getElementsByClassName( m ) ); 3157 return results; 3158 } 3159 } 3160 3161 // Take advantage of querySelectorAll 3162 if ( support.qsa && 3163 !nonnativeSelectorCache[ selector + " " ] && 3164 (!rbuggyQSA || !rbuggyQSA.test( selector )) && 3165 3166 // Support: IE 8 only 3167 // Exclude object elements 3168 (nodeType !== 1 || context.nodeName.toLowerCase() !== "object") ) { 3169 3170 newSelector = selector; 3171 newContext = context; 3172 3173 // qSA considers elements outside a scoping root when evaluating child or 3174 // descendant combinators, which is not what we want. 3175 // In such cases, we work around the behavior by prefixing every selector in the 3176 // list with an ID selector referencing the scope context. 3177 // Thanks to Andrew Dupont for this technique. 3178 if ( nodeType === 1 && rdescend.test( selector ) ) { 3179 3180 // Capture the context ID, setting it first if necessary 3181 if ( (nid = context.getAttribute( "id" )) ) { 3182 nid = nid.replace( rcssescape, fcssescape ); 3183 } else { 3184 context.setAttribute( "id", (nid = expando) ); 3185 } 3186 3187 // Prefix every selector in the list 3188 groups = tokenize( selector ); 3189 i = groups.length; 3190 while ( i-- ) { 3191 groups[i] = "#" + nid + " " + toSelector( groups[i] ); 3192 } 3193 newSelector = groups.join( "," ); 3194 3195 // Expand context for sibling selectors 3196 newContext = rsibling.test( selector ) && testContext( context.parentNode ) || 3197 context; 3198 } 3199 3200 try { 3201 push.apply( results, 3202 newContext.querySelectorAll( newSelector ) 3203 ); 3204 return results; 3205 } catch ( qsaError ) { 3206 nonnativeSelectorCache( selector, true ); 3207 } finally { 3208 if ( nid === expando ) { 3209 context.removeAttribute( "id" ); 3210 } 3211 } 3212 } 3213 } 3214 } 3215 3216 // All others 3217 return select( selector.replace( rtrim, "$1" ), context, results, seed ); 3218} 3219 3220/** 3221 * Create key-value caches of limited size 3222 * @returns {function(string, object)} Returns the Object data after storing it on itself with 3223 * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) 3224 * deleting the oldest entry 3225 */ 3226function createCache() { 3227 var keys = []; 3228 3229 function cache( key, value ) { 3230 // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) 3231 if ( keys.push( key + " " ) > Expr.cacheLength ) { 3232 // Only keep the most recent entries 3233 delete cache[ keys.shift() ]; 3234 } 3235 return (cache[ key + " " ] = value); 3236 } 3237 return cache; 3238} 3239 3240/** 3241 * Mark a function for special use by Sizzle 3242 * @param {Function} fn The function to mark 3243 */ 3244function markFunction( fn ) { 3245 fn[ expando ] = true; 3246 return fn; 3247} 3248 3249/** 3250 * Support testing using an element 3251 * @param {Function} fn Passed the created element and returns a boolean result 3252 */ 3253function assert( fn ) { 3254 var el = document.createElement("fieldset"); 3255 3256 try { 3257 return !!fn( el ); 3258 } catch (e) { 3259 return false; 3260 } finally { 3261 // Remove from its parent by default 3262 if ( el.parentNode ) { 3263 el.parentNode.removeChild( el ); 3264 } 3265 // release memory in IE 3266 el = null; 3267 } 3268} 3269 3270/** 3271 * Adds the same handler for all of the specified attrs 3272 * @param {String} attrs Pipe-separated list of attributes 3273 * @param {Function} handler The method that will be applied 3274 */ 3275function addHandle( attrs, handler ) { 3276 var arr = attrs.split("|"), 3277 i = arr.length; 3278 3279 while ( i-- ) { 3280 Expr.attrHandle[ arr[i] ] = handler; 3281 } 3282} 3283 3284/** 3285 * Checks document order of two siblings 3286 * @param {Element} a 3287 * @param {Element} b 3288 * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b 3289 */ 3290function siblingCheck( a, b ) { 3291 var cur = b && a, 3292 diff = cur && a.nodeType === 1 && b.nodeType === 1 && 3293 a.sourceIndex - b.sourceIndex; 3294 3295 // Use IE sourceIndex if available on both nodes 3296 if ( diff ) { 3297 return diff; 3298 } 3299 3300 // Check if b follows a 3301 if ( cur ) { 3302 while ( (cur = cur.nextSibling) ) { 3303 if ( cur === b ) { 3304 return -1; 3305 } 3306 } 3307 } 3308 3309 return a ? 1 : -1; 3310} 3311 3312/** 3313 * Returns a function to use in pseudos for input types 3314 * @param {String} type 3315 */ 3316function createInputPseudo( type ) { 3317 return function( elem ) { 3318 var name = elem.nodeName.toLowerCase(); 3319 return name === "input" && elem.type === type; 3320 }; 3321} 3322 3323/** 3324 * Returns a function to use in pseudos for buttons 3325 * @param {String} type 3326 */ 3327function createButtonPseudo( type ) { 3328 return function( elem ) { 3329 var name = elem.nodeName.toLowerCase(); 3330 return (name === "input" || name === "button") && elem.type === type; 3331 }; 3332} 3333 3334/** 3335 * Returns a function to use in pseudos for :enabled/:disabled 3336 * @param {Boolean} disabled true for :disabled; false for :enabled 3337 */ 3338function createDisabledPseudo( disabled ) { 3339 3340 // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable 3341 return function( elem ) { 3342 3343 // Only certain elements can match :enabled or :disabled 3344 // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled 3345 // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled 3346 if ( "form" in elem ) { 3347 3348 // Check for inherited disabledness on relevant non-disabled elements: 3349 // * listed form-associated elements in a disabled fieldset 3350 // https://html.spec.whatwg.org/multipage/forms.html#category-listed 3351 // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled 3352 // * option elements in a disabled optgroup 3353 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled 3354 // All such elements have a "form" property. 3355 if ( elem.parentNode && elem.disabled === false ) { 3356 3357 // Option elements defer to a parent optgroup if present 3358 if ( "label" in elem ) { 3359 if ( "label" in elem.parentNode ) { 3360 return elem.parentNode.disabled === disabled; 3361 } else { 3362 return elem.disabled === disabled; 3363 } 3364 } 3365 3366 // Support: IE 6 - 11 3367 // Use the isDisabled shortcut property to check for disabled fieldset ancestors 3368 return elem.isDisabled === disabled || 3369 3370 // Where there is no isDisabled, check manually 3371 /* jshint -W018 */ 3372 elem.isDisabled !== !disabled && 3373 inDisabledFieldset( elem ) === disabled; 3374 } 3375 3376 return elem.disabled === disabled; 3377 3378 // Try to winnow out elements that can't be disabled before trusting the disabled property. 3379 // Some victims get caught in our net (label, legend, menu, track), but it shouldn't 3380 // even exist on them, let alone have a boolean value. 3381 } else if ( "label" in elem ) { 3382 return elem.disabled === disabled; 3383 } 3384 3385 // Remaining elements are neither :enabled nor :disabled 3386 return false; 3387 }; 3388} 3389 3390/** 3391 * Returns a function to use in pseudos for positionals 3392 * @param {Function} fn 3393 */ 3394function createPositionalPseudo( fn ) { 3395 return markFunction(function( argument ) { 3396 argument = +argument; 3397 return markFunction(function( seed, matches ) { 3398 var j, 3399 matchIndexes = fn( [], seed.length, argument ), 3400 i = matchIndexes.length; 3401 3402 // Match elements found at the specified indexes 3403 while ( i-- ) { 3404 if ( seed[ (j = matchIndexes[i]) ] ) { 3405 seed[j] = !(matches[j] = seed[j]); 3406 } 3407 } 3408 }); 3409 }); 3410} 3411 3412/** 3413 * Checks a node for validity as a Sizzle context 3414 * @param {Element|Object=} context 3415 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value 3416 */ 3417function testContext( context ) { 3418 return context && typeof context.getElementsByTagName !== "undefined" && context; 3419} 3420 3421// Expose support vars for convenience 3422support = Sizzle.support = {}; 3423 3424/** 3425 * Detects XML nodes 3426 * @param {Element|Object} elem An element or a document 3427 * @returns {Boolean} True iff elem is a non-HTML XML node 3428 */ 3429isXML = Sizzle.isXML = function( elem ) { 3430 var namespace = elem.namespaceURI, 3431 docElem = (elem.ownerDocument || elem).documentElement; 3432 3433 // Support: IE <=8 3434 // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes 3435 // https://bugs.jquery.com/ticket/4833 3436 return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); 3437}; 3438 3439/** 3440 * Sets document-related variables once based on the current document 3441 * @param {Element|Object} [doc] An element or document object to use to set the document 3442 * @returns {Object} Returns the current document 3443 */ 3444setDocument = Sizzle.setDocument = function( node ) { 3445 var hasCompare, subWindow, 3446 doc = node ? node.ownerDocument || node : preferredDoc; 3447 3448 // Return early if doc is invalid or already selected 3449 if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { 3450 return document; 3451 } 3452 3453 // Update global variables 3454 document = doc; 3455 docElem = document.documentElement; 3456 documentIsHTML = !isXML( document ); 3457 3458 // Support: IE 9-11, Edge 3459 // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) 3460 if ( preferredDoc !== document && 3461 (subWindow = document.defaultView) && subWindow.top !== subWindow ) { 3462 3463 // Support: IE 11, Edge 3464 if ( subWindow.addEventListener ) { 3465 subWindow.addEventListener( "unload", unloadHandler, false ); 3466 3467 // Support: IE 9 - 10 only 3468 } else if ( subWindow.attachEvent ) { 3469 subWindow.attachEvent( "onunload", unloadHandler ); 3470 } 3471 } 3472 3473 /* Attributes 3474 ---------------------------------------------------------------------- */ 3475 3476 // Support: IE<8 3477 // Verify that getAttribute really returns attributes and not properties 3478 // (excepting IE8 booleans) 3479 support.attributes = assert(function( el ) { 3480 el.className = "i"; 3481 return !el.getAttribute("className"); 3482 }); 3483 3484 /* getElement(s)By* 3485 ---------------------------------------------------------------------- */ 3486 3487 // Check if getElementsByTagName("*") returns only elements 3488 support.getElementsByTagName = assert(function( el ) { 3489 el.appendChild( document.createComment("") ); 3490 return !el.getElementsByTagName("*").length; 3491 }); 3492 3493 // Support: IE<9 3494 support.getElementsByClassName = rnative.test( document.getElementsByClassName ); 3495 3496 // Support: IE<10 3497 // Check if getElementById returns elements by name 3498 // The broken getElementById methods don't pick up programmatically-set names, 3499 // so use a roundabout getElementsByName test 3500 support.getById = assert(function( el ) { 3501 docElem.appendChild( el ).id = expando; 3502 return !document.getElementsByName || !document.getElementsByName( expando ).length; 3503 }); 3504 3505 // ID filter and find 3506 if ( support.getById ) { 3507 Expr.filter["ID"] = function( id ) { 3508 var attrId = id.replace( runescape, funescape ); 3509 return function( elem ) { 3510 return elem.getAttribute("id") === attrId; 3511 }; 3512 }; 3513 Expr.find["ID"] = function( id, context ) { 3514 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 3515 var elem = context.getElementById( id ); 3516 return elem ? [ elem ] : []; 3517 } 3518 }; 3519 } else { 3520 Expr.filter["ID"] = function( id ) { 3521 var attrId = id.replace( runescape, funescape ); 3522 return function( elem ) { 3523 var node = typeof elem.getAttributeNode !== "undefined" && 3524 elem.getAttributeNode("id"); 3525 return node && node.value === attrId; 3526 }; 3527 }; 3528 3529 // Support: IE 6 - 7 only 3530 // getElementById is not reliable as a find shortcut 3531 Expr.find["ID"] = function( id, context ) { 3532 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 3533 var node, i, elems, 3534 elem = context.getElementById( id ); 3535 3536 if ( elem ) { 3537 3538 // Verify the id attribute 3539 node = elem.getAttributeNode("id"); 3540 if ( node && node.value === id ) { 3541 return [ elem ]; 3542 } 3543 3544 // Fall back on getElementsByName 3545 elems = context.getElementsByName( id ); 3546 i = 0; 3547 while ( (elem = elems[i++]) ) { 3548 node = elem.getAttributeNode("id"); 3549 if ( node && node.value === id ) { 3550 return [ elem ]; 3551 } 3552 } 3553 } 3554 3555 return []; 3556 } 3557 }; 3558 } 3559 3560 // Tag 3561 Expr.find["TAG"] = support.getElementsByTagName ? 3562 function( tag, context ) { 3563 if ( typeof context.getElementsByTagName !== "undefined" ) { 3564 return context.getElementsByTagName( tag ); 3565 3566 // DocumentFragment nodes don't have gEBTN 3567 } else if ( support.qsa ) { 3568 return context.querySelectorAll( tag ); 3569 } 3570 } : 3571 3572 function( tag, context ) { 3573 var elem, 3574 tmp = [], 3575 i = 0, 3576 // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too 3577 results = context.getElementsByTagName( tag ); 3578 3579 // Filter out possible comments 3580 if ( tag === "*" ) { 3581 while ( (elem = results[i++]) ) { 3582 if ( elem.nodeType === 1 ) { 3583 tmp.push( elem ); 3584 } 3585 } 3586 3587 return tmp; 3588 } 3589 return results; 3590 }; 3591 3592 // Class 3593 Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { 3594 if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { 3595 return context.getElementsByClassName( className ); 3596 } 3597 }; 3598 3599 /* QSA/matchesSelector 3600 ---------------------------------------------------------------------- */ 3601 3602 // QSA and matchesSelector support 3603 3604 // matchesSelector(:active) reports false when true (IE9/Opera 11.5) 3605 rbuggyMatches = []; 3606 3607 // qSa(:focus) reports false when true (Chrome 21) 3608 // We allow this because of a bug in IE8/9 that throws an error 3609 // whenever `document.activeElement` is accessed on an iframe 3610 // So, we allow :focus to pass through QSA all the time to avoid the IE error 3611 // See https://bugs.jquery.com/ticket/13378 3612 rbuggyQSA = []; 3613 3614 if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { 3615 // Build QSA regex 3616 // Regex strategy adopted from Diego Perini 3617 assert(function( el ) { 3618 // Select is set to empty string on purpose 3619 // This is to test IE's treatment of not explicitly 3620 // setting a boolean content attribute, 3621 // since its presence should be enough 3622 // https://bugs.jquery.com/ticket/12359 3623 docElem.appendChild( el ).innerHTML = "<a id='" + expando + "'></a>" + 3624 "<select id='" + expando + "-\r\\' msallowcapture=''>" + 3625 "<option selected=''></option></select>"; 3626 3627 // Support: IE8, Opera 11-12.16 3628 // Nothing should be selected when empty strings follow ^= or $= or *= 3629 // The test attribute must be unknown in Opera but "safe" for WinRT 3630 // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section 3631 if ( el.querySelectorAll("[msallowcapture^='']").length ) { 3632 rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); 3633 } 3634 3635 // Support: IE8 3636 // Boolean attributes and "value" are not treated correctly 3637 if ( !el.querySelectorAll("[selected]").length ) { 3638 rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); 3639 } 3640 3641 // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ 3642 if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { 3643 rbuggyQSA.push("~="); 3644 } 3645 3646 // Webkit/Opera - :checked should return selected option elements 3647 // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked 3648 // IE8 throws error here and will not see later tests 3649 if ( !el.querySelectorAll(":checked").length ) { 3650 rbuggyQSA.push(":checked"); 3651 } 3652 3653 // Support: Safari 8+, iOS 8+ 3654 // https://bugs.webkit.org/show_bug.cgi?id=136851 3655 // In-page `selector#id sibling-combinator selector` fails 3656 if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { 3657 rbuggyQSA.push(".#.+[+~]"); 3658 } 3659 }); 3660 3661 assert(function( el ) { 3662 el.innerHTML = "<a href='' disabled='disabled'></a>" + 3663 "<select disabled='disabled'><option/></select>"; 3664 3665 // Support: Windows 8 Native Apps 3666 // The type and name attributes are restricted during .innerHTML assignment 3667 var input = document.createElement("input"); 3668 input.setAttribute( "type", "hidden" ); 3669 el.appendChild( input ).setAttribute( "name", "D" ); 3670 3671 // Support: IE8 3672 // Enforce case-sensitivity of name attribute 3673 if ( el.querySelectorAll("[name=d]").length ) { 3674 rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); 3675 } 3676 3677 // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) 3678 // IE8 throws error here and will not see later tests 3679 if ( el.querySelectorAll(":enabled").length !== 2 ) { 3680 rbuggyQSA.push( ":enabled", ":disabled" ); 3681 } 3682 3683 // Support: IE9-11+ 3684 // IE's :disabled selector does not pick up the children of disabled fieldsets 3685 docElem.appendChild( el ).disabled = true; 3686 if ( el.querySelectorAll(":disabled").length !== 2 ) { 3687 rbuggyQSA.push( ":enabled", ":disabled" ); 3688 } 3689 3690 // Opera 10-11 does not throw on post-comma invalid pseudos 3691 el.querySelectorAll("*,:x"); 3692 rbuggyQSA.push(",.*:"); 3693 }); 3694 } 3695 3696 if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || 3697 docElem.webkitMatchesSelector || 3698 docElem.mozMatchesSelector || 3699 docElem.oMatchesSelector || 3700 docElem.msMatchesSelector) )) ) { 3701 3702 assert(function( el ) { 3703 // Check to see if it's possible to do matchesSelector 3704 // on a disconnected node (IE 9) 3705 support.disconnectedMatch = matches.call( el, "*" ); 3706 3707 // This should fail with an exception 3708 // Gecko does not error, returns false instead 3709 matches.call( el, "[s!='']:x" ); 3710 rbuggyMatches.push( "!=", pseudos ); 3711 }); 3712 } 3713 3714 rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); 3715 rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); 3716 3717 /* Contains 3718 ---------------------------------------------------------------------- */ 3719 hasCompare = rnative.test( docElem.compareDocumentPosition ); 3720 3721 // Element contains another 3722 // Purposefully self-exclusive 3723 // As in, an element does not contain itself 3724 contains = hasCompare || rnative.test( docElem.contains ) ? 3725 function( a, b ) { 3726 var adown = a.nodeType === 9 ? a.documentElement : a, 3727 bup = b && b.parentNode; 3728 return a === bup || !!( bup && bup.nodeType === 1 && ( 3729 adown.contains ? 3730 adown.contains( bup ) : 3731 a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 3732 )); 3733 } : 3734 function( a, b ) { 3735 if ( b ) { 3736 while ( (b = b.parentNode) ) { 3737 if ( b === a ) { 3738 return true; 3739 } 3740 } 3741 } 3742 return false; 3743 }; 3744 3745 /* Sorting 3746 ---------------------------------------------------------------------- */ 3747 3748 // Document order sorting 3749 sortOrder = hasCompare ? 3750 function( a, b ) { 3751 3752 // Flag for duplicate removal 3753 if ( a === b ) { 3754 hasDuplicate = true; 3755 return 0; 3756 } 3757 3758 // Sort on method existence if only one input has compareDocumentPosition 3759 var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; 3760 if ( compare ) { 3761 return compare; 3762 } 3763 3764 // Calculate position if both inputs belong to the same document 3765 compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? 3766 a.compareDocumentPosition( b ) : 3767 3768 // Otherwise we know they are disconnected 3769 1; 3770 3771 // Disconnected nodes 3772 if ( compare & 1 || 3773 (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { 3774 3775 // Choose the first element that is related to our preferred document 3776 if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { 3777 return -1; 3778 } 3779 if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { 3780 return 1; 3781 } 3782 3783 // Maintain original order 3784 return sortInput ? 3785 ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 3786 0; 3787 } 3788 3789 return compare & 4 ? -1 : 1; 3790 } : 3791 function( a, b ) { 3792 // Exit early if the nodes are identical 3793 if ( a === b ) { 3794 hasDuplicate = true; 3795 return 0; 3796 } 3797 3798 var cur, 3799 i = 0, 3800 aup = a.parentNode, 3801 bup = b.parentNode, 3802 ap = [ a ], 3803 bp = [ b ]; 3804 3805 // Parentless nodes are either documents or disconnected 3806 if ( !aup || !bup ) { 3807 return a === document ? -1 : 3808 b === document ? 1 : 3809 aup ? -1 : 3810 bup ? 1 : 3811 sortInput ? 3812 ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 3813 0; 3814 3815 // If the nodes are siblings, we can do a quick check 3816 } else if ( aup === bup ) { 3817 return siblingCheck( a, b ); 3818 } 3819 3820 // Otherwise we need full lists of their ancestors for comparison 3821 cur = a; 3822 while ( (cur = cur.parentNode) ) { 3823 ap.unshift( cur ); 3824 } 3825 cur = b; 3826 while ( (cur = cur.parentNode) ) { 3827 bp.unshift( cur ); 3828 } 3829 3830 // Walk down the tree looking for a discrepancy 3831 while ( ap[i] === bp[i] ) { 3832 i++; 3833 } 3834 3835 return i ? 3836 // Do a sibling check if the nodes have a common ancestor 3837 siblingCheck( ap[i], bp[i] ) : 3838 3839 // Otherwise nodes in our document sort first 3840 ap[i] === preferredDoc ? -1 : 3841 bp[i] === preferredDoc ? 1 : 3842 0; 3843 }; 3844 3845 return document; 3846}; 3847 3848Sizzle.matches = function( expr, elements ) { 3849 return Sizzle( expr, null, null, elements ); 3850}; 3851 3852Sizzle.matchesSelector = function( elem, expr ) { 3853 // Set document vars if needed 3854 if ( ( elem.ownerDocument || elem ) !== document ) { 3855 setDocument( elem ); 3856 } 3857 3858 if ( support.matchesSelector && documentIsHTML && 3859 !nonnativeSelectorCache[ expr + " " ] && 3860 ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && 3861 ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { 3862 3863 try { 3864 var ret = matches.call( elem, expr ); 3865 3866 // IE 9's matchesSelector returns false on disconnected nodes 3867 if ( ret || support.disconnectedMatch || 3868 // As well, disconnected nodes are said to be in a document 3869 // fragment in IE 9 3870 elem.document && elem.document.nodeType !== 11 ) { 3871 return ret; 3872 } 3873 } catch (e) { 3874 nonnativeSelectorCache( expr, true ); 3875 } 3876 } 3877 3878 return Sizzle( expr, document, null, [ elem ] ).length > 0; 3879}; 3880 3881Sizzle.contains = function( context, elem ) { 3882 // Set document vars if needed 3883 if ( ( context.ownerDocument || context ) !== document ) { 3884 setDocument( context ); 3885 } 3886 return contains( context, elem ); 3887}; 3888 3889Sizzle.attr = function( elem, name ) { 3890 // Set document vars if needed 3891 if ( ( elem.ownerDocument || elem ) !== document ) { 3892 setDocument( elem ); 3893 } 3894 3895 var fn = Expr.attrHandle[ name.toLowerCase() ], 3896 // Don't get fooled by Object.prototype properties (jQuery #13807) 3897 val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? 3898 fn( elem, name, !documentIsHTML ) : 3899 undefined; 3900 3901 return val !== undefined ? 3902 val : 3903 support.attributes || !documentIsHTML ? 3904 elem.getAttribute( name ) : 3905 (val = elem.getAttributeNode(name)) && val.specified ? 3906 val.value : 3907 null; 3908}; 3909 3910Sizzle.escape = function( sel ) { 3911 return (sel + "").replace( rcssescape, fcssescape ); 3912}; 3913 3914Sizzle.error = function( msg ) { 3915 throw new Error( "Syntax error, unrecognized expression: " + msg ); 3916}; 3917 3918/** 3919 * Document sorting and removing duplicates 3920 * @param {ArrayLike} results 3921 */ 3922Sizzle.uniqueSort = function( results ) { 3923 var elem, 3924 duplicates = [], 3925 j = 0, 3926 i = 0; 3927 3928 // Unless we *know* we can detect duplicates, assume their presence 3929 hasDuplicate = !support.detectDuplicates; 3930 sortInput = !support.sortStable && results.slice( 0 ); 3931 results.sort( sortOrder ); 3932 3933 if ( hasDuplicate ) { 3934 while ( (elem = results[i++]) ) { 3935 if ( elem === results[ i ] ) { 3936 j = duplicates.push( i ); 3937 } 3938 } 3939 while ( j-- ) { 3940 results.splice( duplicates[ j ], 1 ); 3941 } 3942 } 3943 3944 // Clear input after sorting to release objects 3945 // See https://github.com/jquery/sizzle/pull/225 3946 sortInput = null; 3947 3948 return results; 3949}; 3950 3951/** 3952 * Utility function for retrieving the text value of an array of DOM nodes 3953 * @param {Array|Element} elem 3954 */ 3955getText = Sizzle.getText = function( elem ) { 3956 var node, 3957 ret = "", 3958 i = 0, 3959 nodeType = elem.nodeType; 3960 3961 if ( !nodeType ) { 3962 // If no nodeType, this is expected to be an array 3963 while ( (node = elem[i++]) ) { 3964 // Do not traverse comment nodes 3965 ret += getText( node ); 3966 } 3967 } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { 3968 // Use textContent for elements 3969 // innerText usage removed for consistency of new lines (jQuery #11153) 3970 if ( typeof elem.textContent === "string" ) { 3971 return elem.textContent; 3972 } else { 3973 // Traverse its children 3974 for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { 3975 ret += getText( elem ); 3976 } 3977 } 3978 } else if ( nodeType === 3 || nodeType === 4 ) { 3979 return elem.nodeValue; 3980 } 3981 // Do not include comment or processing instruction nodes 3982 3983 return ret; 3984}; 3985 3986Expr = Sizzle.selectors = { 3987 3988 // Can be adjusted by the user 3989 cacheLength: 50, 3990 3991 createPseudo: markFunction, 3992 3993 match: matchExpr, 3994 3995 attrHandle: {}, 3996 3997 find: {}, 3998 3999 relative: { 4000 ">": { dir: "parentNode", first: true }, 4001 " ": { dir: "parentNode" }, 4002 "+": { dir: "previousSibling", first: true }, 4003 "~": { dir: "previousSibling" } 4004 }, 4005 4006 preFilter: { 4007 "ATTR": function( match ) { 4008 match[1] = match[1].replace( runescape, funescape ); 4009 4010 // Move the given value to match[3] whether quoted or unquoted 4011 match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); 4012 4013 if ( match[2] === "~=" ) { 4014 match[3] = " " + match[3] + " "; 4015 } 4016 4017 return match.slice( 0, 4 ); 4018 }, 4019 4020 "CHILD": function( match ) { 4021 /* matches from matchExpr["CHILD"] 4022 1 type (only|nth|...) 4023 2 what (child|of-type) 4024 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 4025 4 xn-component of xn+y argument ([+-]?\d*n|) 4026 5 sign of xn-component 4027 6 x of xn-component 4028 7 sign of y-component 4029 8 y of y-component 4030 */ 4031 match[1] = match[1].toLowerCase(); 4032 4033 if ( match[1].slice( 0, 3 ) === "nth" ) { 4034 // nth-* requires argument 4035 if ( !match[3] ) { 4036 Sizzle.error( match[0] ); 4037 } 4038 4039 // numeric x and y parameters for Expr.filter.CHILD 4040 // remember that false/true cast respectively to 0/1 4041 match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); 4042 match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); 4043 4044 // other types prohibit arguments 4045 } else if ( match[3] ) { 4046 Sizzle.error( match[0] ); 4047 } 4048 4049 return match; 4050 }, 4051 4052 "PSEUDO": function( match ) { 4053 var excess, 4054 unquoted = !match[6] && match[2]; 4055 4056 if ( matchExpr["CHILD"].test( match[0] ) ) { 4057 return null; 4058 } 4059 4060 // Accept quoted arguments as-is 4061 if ( match[3] ) { 4062 match[2] = match[4] || match[5] || ""; 4063 4064 // Strip excess characters from unquoted arguments 4065 } else if ( unquoted && rpseudo.test( unquoted ) && 4066 // Get excess from tokenize (recursively) 4067 (excess = tokenize( unquoted, true )) && 4068 // advance to the next closing parenthesis 4069 (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { 4070 4071 // excess is a negative index 4072 match[0] = match[0].slice( 0, excess ); 4073 match[2] = unquoted.slice( 0, excess ); 4074 } 4075 4076 // Return only captures needed by the pseudo filter method (type and argument) 4077 return match.slice( 0, 3 ); 4078 } 4079 }, 4080 4081 filter: { 4082 4083 "TAG": function( nodeNameSelector ) { 4084 var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); 4085 return nodeNameSelector === "*" ? 4086 function() { return true; } : 4087 function( elem ) { 4088 return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; 4089 }; 4090 }, 4091 4092 "CLASS": function( className ) { 4093 var pattern = classCache[ className + " " ]; 4094 4095 return pattern || 4096 (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && 4097 classCache( className, function( elem ) { 4098 return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); 4099 }); 4100 }, 4101 4102 "ATTR": function( name, operator, check ) { 4103 return function( elem ) { 4104 var result = Sizzle.attr( elem, name ); 4105 4106 if ( result == null ) { 4107 return operator === "!="; 4108 } 4109 if ( !operator ) { 4110 return true; 4111 } 4112 4113 result += ""; 4114 4115 return operator === "=" ? result === check : 4116 operator === "!=" ? result !== check : 4117 operator === "^=" ? check && result.indexOf( check ) === 0 : 4118 operator === "*=" ? check && result.indexOf( check ) > -1 : 4119 operator === "$=" ? check && result.slice( -check.length ) === check : 4120 operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : 4121 operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : 4122 false; 4123 }; 4124 }, 4125 4126 "CHILD": function( type, what, argument, first, last ) { 4127 var simple = type.slice( 0, 3 ) !== "nth", 4128 forward = type.slice( -4 ) !== "last", 4129 ofType = what === "of-type"; 4130 4131 return first === 1 && last === 0 ? 4132 4133 // Shortcut for :nth-*(n) 4134 function( elem ) { 4135 return !!elem.parentNode; 4136 } : 4137 4138 function( elem, context, xml ) { 4139 var cache, uniqueCache, outerCache, node, nodeIndex, start, 4140 dir = simple !== forward ? "nextSibling" : "previousSibling", 4141 parent = elem.parentNode, 4142 name = ofType && elem.nodeName.toLowerCase(), 4143 useCache = !xml && !ofType, 4144 diff = false; 4145 4146 if ( parent ) { 4147 4148 // :(first|last|only)-(child|of-type) 4149 if ( simple ) { 4150 while ( dir ) { 4151 node = elem; 4152 while ( (node = node[ dir ]) ) { 4153 if ( ofType ? 4154 node.nodeName.toLowerCase() === name : 4155 node.nodeType === 1 ) { 4156 4157 return false; 4158 } 4159 } 4160 // Reverse direction for :only-* (if we haven't yet done so) 4161 start = dir = type === "only" && !start && "nextSibling"; 4162 } 4163 return true; 4164 } 4165 4166 start = [ forward ? parent.firstChild : parent.lastChild ]; 4167 4168 // non-xml :nth-child(...) stores cache data on `parent` 4169 if ( forward && useCache ) { 4170 4171 // Seek `elem` from a previously-cached index 4172 4173 // ...in a gzip-friendly way 4174 node = parent; 4175 outerCache = node[ expando ] || (node[ expando ] = {}); 4176 4177 // Support: IE <9 only 4178 // Defend against cloned attroperties (jQuery gh-1709) 4179 uniqueCache = outerCache[ node.uniqueID ] || 4180 (outerCache[ node.uniqueID ] = {}); 4181 4182 cache = uniqueCache[ type ] || []; 4183 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 4184 diff = nodeIndex && cache[ 2 ]; 4185 node = nodeIndex && parent.childNodes[ nodeIndex ]; 4186 4187 while ( (node = ++nodeIndex && node && node[ dir ] || 4188 4189 // Fallback to seeking `elem` from the start 4190 (diff = nodeIndex = 0) || start.pop()) ) { 4191 4192 // When found, cache indexes on `parent` and break 4193 if ( node.nodeType === 1 && ++diff && node === elem ) { 4194 uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; 4195 break; 4196 } 4197 } 4198 4199 } else { 4200 // Use previously-cached element index if available 4201 if ( useCache ) { 4202 // ...in a gzip-friendly way 4203 node = elem; 4204 outerCache = node[ expando ] || (node[ expando ] = {}); 4205 4206 // Support: IE <9 only 4207 // Defend against cloned attroperties (jQuery gh-1709) 4208 uniqueCache = outerCache[ node.uniqueID ] || 4209 (outerCache[ node.uniqueID ] = {}); 4210 4211 cache = uniqueCache[ type ] || []; 4212 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 4213 diff = nodeIndex; 4214 } 4215 4216 // xml :nth-child(...) 4217 // or :nth-last-child(...) or :nth(-last)?-of-type(...) 4218 if ( diff === false ) { 4219 // Use the same loop as above to seek `elem` from the start 4220 while ( (node = ++nodeIndex && node && node[ dir ] || 4221 (diff = nodeIndex = 0) || start.pop()) ) { 4222 4223 if ( ( ofType ? 4224 node.nodeName.toLowerCase() === name : 4225 node.nodeType === 1 ) && 4226 ++diff ) { 4227 4228 // Cache the index of each encountered element 4229 if ( useCache ) { 4230 outerCache = node[ expando ] || (node[ expando ] = {}); 4231 4232 // Support: IE <9 only 4233 // Defend against cloned attroperties (jQuery gh-1709) 4234 uniqueCache = outerCache[ node.uniqueID ] || 4235 (outerCache[ node.uniqueID ] = {}); 4236 4237 uniqueCache[ type ] = [ dirruns, diff ]; 4238 } 4239 4240 if ( node === elem ) { 4241 break; 4242 } 4243 } 4244 } 4245 } 4246 } 4247 4248 // Incorporate the offset, then check against cycle size 4249 diff -= last; 4250 return diff === first || ( diff % first === 0 && diff / first >= 0 ); 4251 } 4252 }; 4253 }, 4254 4255 "PSEUDO": function( pseudo, argument ) { 4256 // pseudo-class names are case-insensitive 4257 // http://www.w3.org/TR/selectors/#pseudo-classes 4258 // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters 4259 // Remember that setFilters inherits from pseudos 4260 var args, 4261 fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || 4262 Sizzle.error( "unsupported pseudo: " + pseudo ); 4263 4264 // The user may use createPseudo to indicate that 4265 // arguments are needed to create the filter function 4266 // just as Sizzle does 4267 if ( fn[ expando ] ) { 4268 return fn( argument ); 4269 } 4270 4271 // But maintain support for old signatures 4272 if ( fn.length > 1 ) { 4273 args = [ pseudo, pseudo, "", argument ]; 4274 return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? 4275 markFunction(function( seed, matches ) { 4276 var idx, 4277 matched = fn( seed, argument ), 4278 i = matched.length; 4279 while ( i-- ) { 4280 idx = indexOf( seed, matched[i] ); 4281 seed[ idx ] = !( matches[ idx ] = matched[i] ); 4282 } 4283 }) : 4284 function( elem ) { 4285 return fn( elem, 0, args ); 4286 }; 4287 } 4288 4289 return fn; 4290 } 4291 }, 4292 4293 pseudos: { 4294 // Potentially complex pseudos 4295 "not": markFunction(function( selector ) { 4296 // Trim the selector passed to compile 4297 // to avoid treating leading and trailing 4298 // spaces as combinators 4299 var input = [], 4300 results = [], 4301 matcher = compile( selector.replace( rtrim, "$1" ) ); 4302 4303 return matcher[ expando ] ? 4304 markFunction(function( seed, matches, context, xml ) { 4305 var elem, 4306 unmatched = matcher( seed, null, xml, [] ), 4307 i = seed.length; 4308 4309 // Match elements unmatched by `matcher` 4310 while ( i-- ) { 4311 if ( (elem = unmatched[i]) ) { 4312 seed[i] = !(matches[i] = elem); 4313 } 4314 } 4315 }) : 4316 function( elem, context, xml ) { 4317 input[0] = elem; 4318 matcher( input, null, xml, results ); 4319 // Don't keep the element (issue #299) 4320 input[0] = null; 4321 return !results.pop(); 4322 }; 4323 }), 4324 4325 "has": markFunction(function( selector ) { 4326 return function( elem ) { 4327 return Sizzle( selector, elem ).length > 0; 4328 }; 4329 }), 4330 4331 "contains": markFunction(function( text ) { 4332 text = text.replace( runescape, funescape ); 4333 return function( elem ) { 4334 return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; 4335 }; 4336 }), 4337 4338 // "Whether an element is represented by a :lang() selector 4339 // is based solely on the element's language value 4340 // being equal to the identifier C, 4341 // or beginning with the identifier C immediately followed by "-". 4342 // The matching of C against the element's language value is performed case-insensitively. 4343 // The identifier C does not have to be a valid language name." 4344 // http://www.w3.org/TR/selectors/#lang-pseudo 4345 "lang": markFunction( function( lang ) { 4346 // lang value must be a valid identifier 4347 if ( !ridentifier.test(lang || "") ) { 4348 Sizzle.error( "unsupported lang: " + lang ); 4349 } 4350 lang = lang.replace( runescape, funescape ).toLowerCase(); 4351 return function( elem ) { 4352 var elemLang; 4353 do { 4354 if ( (elemLang = documentIsHTML ? 4355 elem.lang : 4356 elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { 4357 4358 elemLang = elemLang.toLowerCase(); 4359 return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; 4360 } 4361 } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); 4362 return false; 4363 }; 4364 }), 4365 4366 // Miscellaneous 4367 "target": function( elem ) { 4368 var hash = window.location && window.location.hash; 4369 return hash && hash.slice( 1 ) === elem.id; 4370 }, 4371 4372 "root": function( elem ) { 4373 return elem === docElem; 4374 }, 4375 4376 "focus": function( elem ) { 4377 return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); 4378 }, 4379 4380 // Boolean properties 4381 "enabled": createDisabledPseudo( false ), 4382 "disabled": createDisabledPseudo( true ), 4383 4384 "checked": function( elem ) { 4385 // In CSS3, :checked should return both checked and selected elements 4386 // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked 4387 var nodeName = elem.nodeName.toLowerCase(); 4388 return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); 4389 }, 4390 4391 "selected": function( elem ) { 4392 // Accessing this property makes selected-by-default 4393 // options in Safari work properly 4394 if ( elem.parentNode ) { 4395 elem.parentNode.selectedIndex; 4396 } 4397 4398 return elem.selected === true; 4399 }, 4400 4401 // Contents 4402 "empty": function( elem ) { 4403 // http://www.w3.org/TR/selectors/#empty-pseudo 4404 // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), 4405 // but not by others (comment: 8; processing instruction: 7; etc.) 4406 // nodeType < 6 works because attributes (2) do not appear as children 4407 for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { 4408 if ( elem.nodeType < 6 ) { 4409 return false; 4410 } 4411 } 4412 return true; 4413 }, 4414 4415 "parent": function( elem ) { 4416 return !Expr.pseudos["empty"]( elem ); 4417 }, 4418 4419 // Element/input types 4420 "header": function( elem ) { 4421 return rheader.test( elem.nodeName ); 4422 }, 4423 4424 "input": function( elem ) { 4425 return rinputs.test( elem.nodeName ); 4426 }, 4427 4428 "button": function( elem ) { 4429 var name = elem.nodeName.toLowerCase(); 4430 return name === "input" && elem.type === "button" || name === "button"; 4431 }, 4432 4433 "text": function( elem ) { 4434 var attr; 4435 return elem.nodeName.toLowerCase() === "input" && 4436 elem.type === "text" && 4437 4438 // Support: IE<8 4439 // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" 4440 ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); 4441 }, 4442 4443 // Position-in-collection 4444 "first": createPositionalPseudo(function() { 4445 return [ 0 ]; 4446 }), 4447 4448 "last": createPositionalPseudo(function( matchIndexes, length ) { 4449 return [ length - 1 ]; 4450 }), 4451 4452 "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { 4453 return [ argument < 0 ? argument + length : argument ]; 4454 }), 4455 4456 "even": createPositionalPseudo(function( matchIndexes, length ) { 4457 var i = 0; 4458 for ( ; i < length; i += 2 ) { 4459 matchIndexes.push( i ); 4460 } 4461 return matchIndexes; 4462 }), 4463 4464 "odd": createPositionalPseudo(function( matchIndexes, length ) { 4465 var i = 1; 4466 for ( ; i < length; i += 2 ) { 4467 matchIndexes.push( i ); 4468 } 4469 return matchIndexes; 4470 }), 4471 4472 "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { 4473 var i = argument < 0 ? 4474 argument + length : 4475 argument > length ? 4476 length : 4477 argument; 4478 for ( ; --i >= 0; ) { 4479 matchIndexes.push( i ); 4480 } 4481 return matchIndexes; 4482 }), 4483 4484 "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { 4485 var i = argument < 0 ? argument + length : argument; 4486 for ( ; ++i < length; ) { 4487 matchIndexes.push( i ); 4488 } 4489 return matchIndexes; 4490 }) 4491 } 4492}; 4493 4494Expr.pseudos["nth"] = Expr.pseudos["eq"]; 4495 4496// Add button/input type pseudos 4497for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { 4498 Expr.pseudos[ i ] = createInputPseudo( i ); 4499} 4500for ( i in { submit: true, reset: true } ) { 4501 Expr.pseudos[ i ] = createButtonPseudo( i ); 4502} 4503 4504// Easy API for creating new setFilters 4505function setFilters() {} 4506setFilters.prototype = Expr.filters = Expr.pseudos; 4507Expr.setFilters = new setFilters(); 4508 4509tokenize = Sizzle.tokenize = function( selector, parseOnly ) { 4510 var matched, match, tokens, type, 4511 soFar, groups, preFilters, 4512 cached = tokenCache[ selector + " " ]; 4513 4514 if ( cached ) { 4515 return parseOnly ? 0 : cached.slice( 0 ); 4516 } 4517 4518 soFar = selector; 4519 groups = []; 4520 preFilters = Expr.preFilter; 4521 4522 while ( soFar ) { 4523 4524 // Comma and first run 4525 if ( !matched || (match = rcomma.exec( soFar )) ) { 4526 if ( match ) { 4527 // Don't consume trailing commas as valid 4528 soFar = soFar.slice( match[0].length ) || soFar; 4529 } 4530 groups.push( (tokens = []) ); 4531 } 4532 4533 matched = false; 4534 4535 // Combinators 4536 if ( (match = rcombinators.exec( soFar )) ) { 4537 matched = match.shift(); 4538 tokens.push({ 4539 value: matched, 4540 // Cast descendant combinators to space 4541 type: match[0].replace( rtrim, " " ) 4542 }); 4543 soFar = soFar.slice( matched.length ); 4544 } 4545 4546 // Filters 4547 for ( type in Expr.filter ) { 4548 if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || 4549 (match = preFilters[ type ]( match ))) ) { 4550 matched = match.shift(); 4551 tokens.push({ 4552 value: matched, 4553 type: type, 4554 matches: match 4555 }); 4556 soFar = soFar.slice( matched.length ); 4557 } 4558 } 4559 4560 if ( !matched ) { 4561 break; 4562 } 4563 } 4564 4565 // Return the length of the invalid excess 4566 // if we're just parsing 4567 // Otherwise, throw an error or return tokens 4568 return parseOnly ? 4569 soFar.length : 4570 soFar ? 4571 Sizzle.error( selector ) : 4572 // Cache the tokens 4573 tokenCache( selector, groups ).slice( 0 ); 4574}; 4575 4576function toSelector( tokens ) { 4577 var i = 0, 4578 len = tokens.length, 4579 selector = ""; 4580 for ( ; i < len; i++ ) { 4581 selector += tokens[i].value; 4582 } 4583 return selector; 4584} 4585 4586function addCombinator( matcher, combinator, base ) { 4587 var dir = combinator.dir, 4588 skip = combinator.next, 4589 key = skip || dir, 4590 checkNonElements = base && key === "parentNode", 4591 doneName = done++; 4592 4593 return combinator.first ? 4594 // Check against closest ancestor/preceding element 4595 function( elem, context, xml ) { 4596 while ( (elem = elem[ dir ]) ) { 4597 if ( elem.nodeType === 1 || checkNonElements ) { 4598 return matcher( elem, context, xml ); 4599 } 4600 } 4601 return false; 4602 } : 4603 4604 // Check against all ancestor/preceding elements 4605 function( elem, context, xml ) { 4606 var oldCache, uniqueCache, outerCache, 4607 newCache = [ dirruns, doneName ]; 4608 4609 // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching 4610 if ( xml ) { 4611 while ( (elem = elem[ dir ]) ) { 4612 if ( elem.nodeType === 1 || checkNonElements ) { 4613 if ( matcher( elem, context, xml ) ) { 4614 return true; 4615 } 4616 } 4617 } 4618 } else { 4619 while ( (elem = elem[ dir ]) ) { 4620 if ( elem.nodeType === 1 || checkNonElements ) { 4621 outerCache = elem[ expando ] || (elem[ expando ] = {}); 4622 4623 // Support: IE <9 only 4624 // Defend against cloned attroperties (jQuery gh-1709) 4625 uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); 4626 4627 if ( skip && skip === elem.nodeName.toLowerCase() ) { 4628 elem = elem[ dir ] || elem; 4629 } else if ( (oldCache = uniqueCache[ key ]) && 4630 oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { 4631 4632 // Assign to newCache so results back-propagate to previous elements 4633 return (newCache[ 2 ] = oldCache[ 2 ]); 4634 } else { 4635 // Reuse newcache so results back-propagate to previous elements 4636 uniqueCache[ key ] = newCache; 4637 4638 // A match means we're done; a fail means we have to keep checking 4639 if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { 4640 return true; 4641 } 4642 } 4643 } 4644 } 4645 } 4646 return false; 4647 }; 4648} 4649 4650function elementMatcher( matchers ) { 4651 return matchers.length > 1 ? 4652 function( elem, context, xml ) { 4653 var i = matchers.length; 4654 while ( i-- ) { 4655 if ( !matchers[i]( elem, context, xml ) ) { 4656 return false; 4657 } 4658 } 4659 return true; 4660 } : 4661 matchers[0]; 4662} 4663 4664function multipleContexts( selector, contexts, results ) { 4665 var i = 0, 4666 len = contexts.length; 4667 for ( ; i < len; i++ ) { 4668 Sizzle( selector, contexts[i], results ); 4669 } 4670 return results; 4671} 4672 4673function condense( unmatched, map, filter, context, xml ) { 4674 var elem, 4675 newUnmatched = [], 4676 i = 0, 4677 len = unmatched.length, 4678 mapped = map != null; 4679 4680 for ( ; i < len; i++ ) { 4681 if ( (elem = unmatched[i]) ) { 4682 if ( !filter || filter( elem, context, xml ) ) { 4683 newUnmatched.push( elem ); 4684 if ( mapped ) { 4685 map.push( i ); 4686 } 4687 } 4688 } 4689 } 4690 4691 return newUnmatched; 4692} 4693 4694function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { 4695 if ( postFilter && !postFilter[ expando ] ) { 4696 postFilter = setMatcher( postFilter ); 4697 } 4698 if ( postFinder && !postFinder[ expando ] ) { 4699 postFinder = setMatcher( postFinder, postSelector ); 4700 } 4701 return markFunction(function( seed, results, context, xml ) { 4702 var temp, i, elem, 4703 preMap = [], 4704 postMap = [], 4705 preexisting = results.length, 4706 4707 // Get initial elements from seed or context 4708 elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), 4709 4710 // Prefilter to get matcher input, preserving a map for seed-results synchronization 4711 matcherIn = preFilter && ( seed || !selector ) ? 4712 condense( elems, preMap, preFilter, context, xml ) : 4713 elems, 4714 4715 matcherOut = matcher ? 4716 // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, 4717 postFinder || ( seed ? preFilter : preexisting || postFilter ) ? 4718 4719 // ...intermediate processing is necessary 4720 [] : 4721 4722 // ...otherwise use results directly 4723 results : 4724 matcherIn; 4725 4726 // Find primary matches 4727 if ( matcher ) { 4728 matcher( matcherIn, matcherOut, context, xml ); 4729 } 4730 4731 // Apply postFilter 4732 if ( postFilter ) { 4733 temp = condense( matcherOut, postMap ); 4734 postFilter( temp, [], context, xml ); 4735 4736 // Un-match failing elements by moving them back to matcherIn 4737 i = temp.length; 4738 while ( i-- ) { 4739 if ( (elem = temp[i]) ) { 4740 matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); 4741 } 4742 } 4743 } 4744 4745 if ( seed ) { 4746 if ( postFinder || preFilter ) { 4747 if ( postFinder ) { 4748 // Get the final matcherOut by condensing this intermediate into postFinder contexts 4749 temp = []; 4750 i = matcherOut.length; 4751 while ( i-- ) { 4752 if ( (elem = matcherOut[i]) ) { 4753 // Restore matcherIn since elem is not yet a final match 4754 temp.push( (matcherIn[i] = elem) ); 4755 } 4756 } 4757 postFinder( null, (matcherOut = []), temp, xml ); 4758 } 4759 4760 // Move matched elements from seed to results to keep them synchronized 4761 i = matcherOut.length; 4762 while ( i-- ) { 4763 if ( (elem = matcherOut[i]) && 4764 (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { 4765 4766 seed[temp] = !(results[temp] = elem); 4767 } 4768 } 4769 } 4770 4771 // Add elements to results, through postFinder if defined 4772 } else { 4773 matcherOut = condense( 4774 matcherOut === results ? 4775 matcherOut.splice( preexisting, matcherOut.length ) : 4776 matcherOut 4777 ); 4778 if ( postFinder ) { 4779 postFinder( null, results, matcherOut, xml ); 4780 } else { 4781 push.apply( results, matcherOut ); 4782 } 4783 } 4784 }); 4785} 4786 4787function matcherFromTokens( tokens ) { 4788 var checkContext, matcher, j, 4789 len = tokens.length, 4790 leadingRelative = Expr.relative[ tokens[0].type ], 4791 implicitRelative = leadingRelative || Expr.relative[" "], 4792 i = leadingRelative ? 1 : 0, 4793 4794 // The foundational matcher ensures that elements are reachable from top-level context(s) 4795 matchContext = addCombinator( function( elem ) { 4796 return elem === checkContext; 4797 }, implicitRelative, true ), 4798 matchAnyContext = addCombinator( function( elem ) { 4799 return indexOf( checkContext, elem ) > -1; 4800 }, implicitRelative, true ), 4801 matchers = [ function( elem, context, xml ) { 4802 var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( 4803 (checkContext = context).nodeType ? 4804 matchContext( elem, context, xml ) : 4805 matchAnyContext( elem, context, xml ) ); 4806 // Avoid hanging onto element (issue #299) 4807 checkContext = null; 4808 return ret; 4809 } ]; 4810 4811 for ( ; i < len; i++ ) { 4812 if ( (matcher = Expr.relative[ tokens[i].type ]) ) { 4813 matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; 4814 } else { 4815 matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); 4816 4817 // Return special upon seeing a positional matcher 4818 if ( matcher[ expando ] ) { 4819 // Find the next relative operator (if any) for proper handling 4820 j = ++i; 4821 for ( ; j < len; j++ ) { 4822 if ( Expr.relative[ tokens[j].type ] ) { 4823 break; 4824 } 4825 } 4826 return setMatcher( 4827 i > 1 && elementMatcher( matchers ), 4828 i > 1 && toSelector( 4829 // If the preceding token was a descendant combinator, insert an implicit any-element `*` 4830 tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) 4831 ).replace( rtrim, "$1" ), 4832 matcher, 4833 i < j && matcherFromTokens( tokens.slice( i, j ) ), 4834 j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), 4835 j < len && toSelector( tokens ) 4836 ); 4837 } 4838 matchers.push( matcher ); 4839 } 4840 } 4841 4842 return elementMatcher( matchers ); 4843} 4844 4845function matcherFromGroupMatchers( elementMatchers, setMatchers ) { 4846 var bySet = setMatchers.length > 0, 4847 byElement = elementMatchers.length > 0, 4848 superMatcher = function( seed, context, xml, results, outermost ) { 4849 var elem, j, matcher, 4850 matchedCount = 0, 4851 i = "0", 4852 unmatched = seed && [], 4853 setMatched = [], 4854 contextBackup = outermostContext, 4855 // We must always have either seed elements or outermost context 4856 elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), 4857 // Use integer dirruns iff this is the outermost matcher 4858 dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), 4859 len = elems.length; 4860 4861 if ( outermost ) { 4862 outermostContext = context === document || context || outermost; 4863 } 4864 4865 // Add elements passing elementMatchers directly to results 4866 // Support: IE<9, Safari 4867 // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id 4868 for ( ; i !== len && (elem = elems[i]) != null; i++ ) { 4869 if ( byElement && elem ) { 4870 j = 0; 4871 if ( !context && elem.ownerDocument !== document ) { 4872 setDocument( elem ); 4873 xml = !documentIsHTML; 4874 } 4875 while ( (matcher = elementMatchers[j++]) ) { 4876 if ( matcher( elem, context || document, xml) ) { 4877 results.push( elem ); 4878 break; 4879 } 4880 } 4881 if ( outermost ) { 4882 dirruns = dirrunsUnique; 4883 } 4884 } 4885 4886 // Track unmatched elements for set filters 4887 if ( bySet ) { 4888 // They will have gone through all possible matchers 4889 if ( (elem = !matcher && elem) ) { 4890 matchedCount--; 4891 } 4892 4893 // Lengthen the array for every element, matched or not 4894 if ( seed ) { 4895 unmatched.push( elem ); 4896 } 4897 } 4898 } 4899 4900 // `i` is now the count of elements visited above, and adding it to `matchedCount` 4901 // makes the latter nonnegative. 4902 matchedCount += i; 4903 4904 // Apply set filters to unmatched elements 4905 // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` 4906 // equals `i`), unless we didn't visit _any_ elements in the above loop because we have 4907 // no element matchers and no seed. 4908 // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that 4909 // case, which will result in a "00" `matchedCount` that differs from `i` but is also 4910 // numerically zero. 4911 if ( bySet && i !== matchedCount ) { 4912 j = 0; 4913 while ( (matcher = setMatchers[j++]) ) { 4914 matcher( unmatched, setMatched, context, xml ); 4915 } 4916 4917 if ( seed ) { 4918 // Reintegrate element matches to eliminate the need for sorting 4919 if ( matchedCount > 0 ) { 4920 while ( i-- ) { 4921 if ( !(unmatched[i] || setMatched[i]) ) { 4922 setMatched[i] = pop.call( results ); 4923 } 4924 } 4925 } 4926 4927 // Discard index placeholder values to get only actual matches 4928 setMatched = condense( setMatched ); 4929 } 4930 4931 // Add matches to results 4932 push.apply( results, setMatched ); 4933 4934 // Seedless set matches succeeding multiple successful matchers stipulate sorting 4935 if ( outermost && !seed && setMatched.length > 0 && 4936 ( matchedCount + setMatchers.length ) > 1 ) { 4937 4938 Sizzle.uniqueSort( results ); 4939 } 4940 } 4941 4942 // Override manipulation of globals by nested matchers 4943 if ( outermost ) { 4944 dirruns = dirrunsUnique; 4945 outermostContext = contextBackup; 4946 } 4947 4948 return unmatched; 4949 }; 4950 4951 return bySet ? 4952 markFunction( superMatcher ) : 4953 superMatcher; 4954} 4955 4956compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { 4957 var i, 4958 setMatchers = [], 4959 elementMatchers = [], 4960 cached = compilerCache[ selector + " " ]; 4961 4962 if ( !cached ) { 4963 // Generate a function of recursive functions that can be used to check each element 4964 if ( !match ) { 4965 match = tokenize( selector ); 4966 } 4967 i = match.length; 4968 while ( i-- ) { 4969 cached = matcherFromTokens( match[i] ); 4970 if ( cached[ expando ] ) { 4971 setMatchers.push( cached ); 4972 } else { 4973 elementMatchers.push( cached ); 4974 } 4975 } 4976 4977 // Cache the compiled function 4978 cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); 4979 4980 // Save selector and tokenization 4981 cached.selector = selector; 4982 } 4983 return cached; 4984}; 4985 4986/** 4987 * A low-level selection function that works with Sizzle's compiled 4988 * selector functions 4989 * @param {String|Function} selector A selector or a pre-compiled 4990 * selector function built with Sizzle.compile 4991 * @param {Element} context 4992 * @param {Array} [results] 4993 * @param {Array} [seed] A set of elements to match against 4994 */ 4995select = Sizzle.select = function( selector, context, results, seed ) { 4996 var i, tokens, token, type, find, 4997 compiled = typeof selector === "function" && selector, 4998 match = !seed && tokenize( (selector = compiled.selector || selector) ); 4999 5000 results = results || []; 5001 5002 // Try to minimize operations if there is only one selector in the list and no seed 5003 // (the latter of which guarantees us context) 5004 if ( match.length === 1 ) { 5005 5006 // Reduce context if the leading compound selector is an ID 5007 tokens = match[0] = match[0].slice( 0 ); 5008 if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && 5009 context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { 5010 5011 context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; 5012 if ( !context ) { 5013 return results; 5014 5015 // Precompiled matchers will still verify ancestry, so step up a level 5016 } else if ( compiled ) { 5017 context = context.parentNode; 5018 } 5019 5020 selector = selector.slice( tokens.shift().value.length ); 5021 } 5022 5023 // Fetch a seed set for right-to-left matching 5024 i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; 5025 while ( i-- ) { 5026 token = tokens[i]; 5027 5028 // Abort if we hit a combinator 5029 if ( Expr.relative[ (type = token.type) ] ) { 5030 break; 5031 } 5032 if ( (find = Expr.find[ type ]) ) { 5033 // Search, expanding context for leading sibling combinators 5034 if ( (seed = find( 5035 token.matches[0].replace( runescape, funescape ), 5036 rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context 5037 )) ) { 5038 5039 // If seed is empty or no tokens remain, we can return early 5040 tokens.splice( i, 1 ); 5041 selector = seed.length && toSelector( tokens ); 5042 if ( !selector ) { 5043 push.apply( results, seed ); 5044 return results; 5045 } 5046 5047 break; 5048 } 5049 } 5050 } 5051 } 5052 5053 // Compile and execute a filtering function if one is not provided 5054 // Provide `match` to avoid retokenization if we modified the selector above 5055 ( compiled || compile( selector, match ) )( 5056 seed, 5057 context, 5058 !documentIsHTML, 5059 results, 5060 !context || rsibling.test( selector ) && testContext( context.parentNode ) || context 5061 ); 5062 return results; 5063}; 5064 5065// One-time assignments 5066 5067// Sort stability 5068support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; 5069 5070// Support: Chrome 14-35+ 5071// Always assume duplicates if they aren't passed to the comparison function 5072support.detectDuplicates = !!hasDuplicate; 5073 5074// Initialize against the default document 5075setDocument(); 5076 5077// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) 5078// Detached nodes confoundingly follow *each other* 5079support.sortDetached = assert(function( el ) { 5080 // Should return 1, but returns 4 (following) 5081 return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; 5082}); 5083 5084// Support: IE<8 5085// Prevent attribute/property "interpolation" 5086// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx 5087if ( !assert(function( el ) { 5088 el.innerHTML = "<a href='#'></a>"; 5089 return el.firstChild.getAttribute("href") === "#" ; 5090}) ) { 5091 addHandle( "type|href|height|width", function( elem, name, isXML ) { 5092 if ( !isXML ) { 5093 return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); 5094 } 5095 }); 5096} 5097 5098// Support: IE<9 5099// Use defaultValue in place of getAttribute("value") 5100if ( !support.attributes || !assert(function( el ) { 5101 el.innerHTML = "<input/>"; 5102 el.firstChild.setAttribute( "value", "" ); 5103 return el.firstChild.getAttribute( "value" ) === ""; 5104}) ) { 5105 addHandle( "value", function( elem, name, isXML ) { 5106 if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { 5107 return elem.defaultValue; 5108 } 5109 }); 5110} 5111 5112// Support: IE<9 5113// Use getAttributeNode to fetch booleans when getAttribute lies 5114if ( !assert(function( el ) { 5115 return el.getAttribute("disabled") == null; 5116}) ) { 5117 addHandle( booleans, function( elem, name, isXML ) { 5118 var val; 5119 if ( !isXML ) { 5120 return elem[ name ] === true ? name.toLowerCase() : 5121 (val = elem.getAttributeNode( name )) && val.specified ? 5122 val.value : 5123 null; 5124 } 5125 }); 5126} 5127 5128return Sizzle; 5129 5130})( window ); 5131 5132 5133 5134jQuery.find = Sizzle; 5135jQuery.expr = Sizzle.selectors; 5136 5137// Deprecated 5138jQuery.expr[ ":" ] = jQuery.expr.pseudos; 5139jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 5140jQuery.text = Sizzle.getText; 5141jQuery.isXMLDoc = Sizzle.isXML; 5142jQuery.contains = Sizzle.contains; 5143jQuery.escapeSelector = Sizzle.escape; 5144 5145 5146 5147 5148var dir = function( elem, dir, until ) { 5149 var matched = [], 5150 truncate = until !== undefined; 5151 5152 while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 5153 if ( elem.nodeType === 1 ) { 5154 if ( truncate && jQuery( elem ).is( until ) ) { 5155 break; 5156 } 5157 matched.push( elem ); 5158 } 5159 } 5160 return matched; 5161}; 5162 5163 5164var siblings = function( n, elem ) { 5165 var matched = []; 5166 5167 for ( ; n; n = n.nextSibling ) { 5168 if ( n.nodeType === 1 && n !== elem ) { 5169 matched.push( n ); 5170 } 5171 } 5172 5173 return matched; 5174}; 5175 5176 5177var rneedsContext = jQuery.expr.match.needsContext; 5178 5179 5180 5181function nodeName( elem, name ) { 5182 5183 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); 5184 5185}; 5186var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); 5187 5188 5189 5190// Implement the identical functionality for filter and not 5191function winnow( elements, qualifier, not ) { 5192 if ( isFunction( qualifier ) ) { 5193 return jQuery.grep( elements, function( elem, i ) { 5194 return !!qualifier.call( elem, i, elem ) !== not; 5195 } ); 5196 } 5197 5198 // Single element 5199 if ( qualifier.nodeType ) { 5200 return jQuery.grep( elements, function( elem ) { 5201 return ( elem === qualifier ) !== not; 5202 } ); 5203 } 5204 5205 // Arraylike of elements (jQuery, arguments, Array) 5206 if ( typeof qualifier !== "string" ) { 5207 return jQuery.grep( elements, function( elem ) { 5208 return ( indexOf.call( qualifier, elem ) > -1 ) !== not; 5209 } ); 5210 } 5211 5212 // Filtered directly for both simple and complex selectors 5213 return jQuery.filter( qualifier, elements, not ); 5214} 5215 5216jQuery.filter = function( expr, elems, not ) { 5217 var elem = elems[ 0 ]; 5218 5219 if ( not ) { 5220 expr = ":not(" + expr + ")"; 5221 } 5222 5223 if ( elems.length === 1 && elem.nodeType === 1 ) { 5224 return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; 5225 } 5226 5227 return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { 5228 return elem.nodeType === 1; 5229 } ) ); 5230}; 5231 5232jQuery.fn.extend( { 5233 find: function( selector ) { 5234 var i, ret, 5235 len = this.length, 5236 self = this; 5237 5238 if ( typeof selector !== "string" ) { 5239 return this.pushStack( jQuery( selector ).filter( function() { 5240 for ( i = 0; i < len; i++ ) { 5241 if ( jQuery.contains( self[ i ], this ) ) { 5242 return true; 5243 } 5244 } 5245 } ) ); 5246 } 5247 5248 ret = this.pushStack( [] ); 5249 5250 for ( i = 0; i < len; i++ ) { 5251 jQuery.find( selector, self[ i ], ret ); 5252 } 5253 5254 return len > 1 ? jQuery.uniqueSort( ret ) : ret; 5255 }, 5256 filter: function( selector ) { 5257 return this.pushStack( winnow( this, selector || [], false ) ); 5258 }, 5259 not: function( selector ) { 5260 return this.pushStack( winnow( this, selector || [], true ) ); 5261 }, 5262 is: function( selector ) { 5263 return !!winnow( 5264 this, 5265 5266 // If this is a positional/relative selector, check membership in the returned set 5267 // so $("p:first").is("p:last") won't return true for a doc with two "p". 5268 typeof selector === "string" && rneedsContext.test( selector ) ? 5269 jQuery( selector ) : 5270 selector || [], 5271 false 5272 ).length; 5273 } 5274} ); 5275 5276 5277// Initialize a jQuery object 5278 5279 5280// A central reference to the root jQuery(document) 5281var rootjQuery, 5282 5283 // A simple way to check for HTML strings 5284 // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) 5285 // Strict HTML recognition (#11290: must start with <) 5286 // Shortcut simple #id case for speed 5287 rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, 5288 5289 init = jQuery.fn.init = function( selector, context, root ) { 5290 var match, elem; 5291 5292 // HANDLE: $(""), $(null), $(undefined), $(false) 5293 if ( !selector ) { 5294 return this; 5295 } 5296 5297 // Method init() accepts an alternate rootjQuery 5298 // so migrate can support jQuery.sub (gh-2101) 5299 root = root || rootjQuery; 5300 5301 // Handle HTML strings 5302 if ( typeof selector === "string" ) { 5303 if ( selector[ 0 ] === "<" && 5304 selector[ selector.length - 1 ] === ">" && 5305 selector.length >= 3 ) { 5306 5307 // Assume that strings that start and end with <> are HTML and skip the regex check 5308 match = [ null, selector, null ]; 5309 5310 } else { 5311 match = rquickExpr.exec( selector ); 5312 } 5313 5314 // Match html or make sure no context is specified for #id 5315 if ( match && ( match[ 1 ] || !context ) ) { 5316 5317 // HANDLE: $(html) -> $(array) 5318 if ( match[ 1 ] ) { 5319 context = context instanceof jQuery ? context[ 0 ] : context; 5320 5321 // Option to run scripts is true for back-compat 5322 // Intentionally let the error be thrown if parseHTML is not present 5323 jQuery.merge( this, jQuery.parseHTML( 5324 match[ 1 ], 5325 context && context.nodeType ? context.ownerDocument || context : document, 5326 true 5327 ) ); 5328 5329 // HANDLE: $(html, props) 5330 if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { 5331 for ( match in context ) { 5332 5333 // Properties of context are called as methods if possible 5334 if ( isFunction( this[ match ] ) ) { 5335 this[ match ]( context[ match ] ); 5336 5337 // ...and otherwise set as attributes 5338 } else { 5339 this.attr( match, context[ match ] ); 5340 } 5341 } 5342 } 5343 5344 return this; 5345 5346 // HANDLE: $(#id) 5347 } else { 5348 elem = document.getElementById( match[ 2 ] ); 5349 5350 if ( elem ) { 5351 5352 // Inject the element directly into the jQuery object 5353 this[ 0 ] = elem; 5354 this.length = 1; 5355 } 5356 return this; 5357 } 5358 5359 // HANDLE: $(expr, $(...)) 5360 } else if ( !context || context.jquery ) { 5361 return ( context || root ).find( selector ); 5362 5363 // HANDLE: $(expr, context) 5364 // (which is just equivalent to: $(context).find(expr) 5365 } else { 5366 return this.constructor( context ).find( selector ); 5367 } 5368 5369 // HANDLE: $(DOMElement) 5370 } else if ( selector.nodeType ) { 5371 this[ 0 ] = selector; 5372 this.length = 1; 5373 return this; 5374 5375 // HANDLE: $(function) 5376 // Shortcut for document ready 5377 } else if ( isFunction( selector ) ) { 5378 return root.ready !== undefined ? 5379 root.ready( selector ) : 5380 5381 // Execute immediately if ready is not present 5382 selector( jQuery ); 5383 } 5384 5385 return jQuery.makeArray( selector, this ); 5386 }; 5387 5388// Give the init function the jQuery prototype for later instantiation 5389init.prototype = jQuery.fn; 5390 5391// Initialize central reference 5392rootjQuery = jQuery( document ); 5393 5394 5395var rparentsprev = /^(?:parents|prev(?:Until|All))/, 5396 5397 // Methods guaranteed to produce a unique set when starting from a unique set 5398 guaranteedUnique = { 5399 children: true, 5400 contents: true, 5401 next: true, 5402 prev: true 5403 }; 5404 5405jQuery.fn.extend( { 5406 has: function( target ) { 5407 var targets = jQuery( target, this ), 5408 l = targets.length; 5409 5410 return this.filter( function() { 5411 var i = 0; 5412 for ( ; i < l; i++ ) { 5413 if ( jQuery.contains( this, targets[ i ] ) ) { 5414 return true; 5415 } 5416 } 5417 } ); 5418 }, 5419 5420 closest: function( selectors, context ) { 5421 var cur, 5422 i = 0, 5423 l = this.length, 5424 matched = [], 5425 targets = typeof selectors !== "string" && jQuery( selectors ); 5426 5427 // Positional selectors never match, since there's no _selection_ context 5428 if ( !rneedsContext.test( selectors ) ) { 5429 for ( ; i < l; i++ ) { 5430 for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { 5431 5432 // Always skip document fragments 5433 if ( cur.nodeType < 11 && ( targets ? 5434 targets.index( cur ) > -1 : 5435 5436 // Don't pass non-elements to Sizzle 5437 cur.nodeType === 1 && 5438 jQuery.find.matchesSelector( cur, selectors ) ) ) { 5439 5440 matched.push( cur ); 5441 break; 5442 } 5443 } 5444 } 5445 } 5446 5447 return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); 5448 }, 5449 5450 // Determine the position of an element within the set 5451 index: function( elem ) { 5452 5453 // No argument, return index in parent 5454 if ( !elem ) { 5455 return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; 5456 } 5457 5458 // Index in selector 5459 if ( typeof elem === "string" ) { 5460 return indexOf.call( jQuery( elem ), this[ 0 ] ); 5461 } 5462 5463 // Locate the position of the desired element 5464 return indexOf.call( this, 5465 5466 // If it receives a jQuery object, the first element is used 5467 elem.jquery ? elem[ 0 ] : elem 5468 ); 5469 }, 5470 5471 add: function( selector, context ) { 5472 return this.pushStack( 5473 jQuery.uniqueSort( 5474 jQuery.merge( this.get(), jQuery( selector, context ) ) 5475 ) 5476 ); 5477 }, 5478 5479 addBack: function( selector ) { 5480 return this.add( selector == null ? 5481 this.prevObject : this.prevObject.filter( selector ) 5482 ); 5483 } 5484} ); 5485 5486function sibling( cur, dir ) { 5487 while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} 5488 return cur; 5489} 5490 5491jQuery.each( { 5492 parent: function( elem ) { 5493 var parent = elem.parentNode; 5494 return parent && parent.nodeType !== 11 ? parent : null; 5495 }, 5496 parents: function( elem ) { 5497 return dir( elem, "parentNode" ); 5498 }, 5499 parentsUntil: function( elem, i, until ) { 5500 return dir( elem, "parentNode", until ); 5501 }, 5502 next: function( elem ) { 5503 return sibling( elem, "nextSibling" ); 5504 }, 5505 prev: function( elem ) { 5506 return sibling( elem, "previousSibling" ); 5507 }, 5508 nextAll: function( elem ) { 5509 return dir( elem, "nextSibling" ); 5510 }, 5511 prevAll: function( elem ) { 5512 return dir( elem, "previousSibling" ); 5513 }, 5514 nextUntil: function( elem, i, until ) { 5515 return dir( elem, "nextSibling", until ); 5516 }, 5517 prevUntil: function( elem, i, until ) { 5518 return dir( elem, "previousSibling", until ); 5519 }, 5520 siblings: function( elem ) { 5521 return siblings( ( elem.parentNode || {} ).firstChild, elem ); 5522 }, 5523 children: function( elem ) { 5524 return siblings( elem.firstChild ); 5525 }, 5526 contents: function( elem ) { 5527 if ( typeof elem.contentDocument !== "undefined" ) { 5528 return elem.contentDocument; 5529 } 5530 5531 // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only 5532 // Treat the template element as a regular one in browsers that 5533 // don't support it. 5534 if ( nodeName( elem, "template" ) ) { 5535 elem = elem.content || elem; 5536 } 5537 5538 return jQuery.merge( [], elem.childNodes ); 5539 } 5540}, function( name, fn ) { 5541 jQuery.fn[ name ] = function( until, selector ) { 5542 var matched = jQuery.map( this, fn, until ); 5543 5544 if ( name.slice( -5 ) !== "Until" ) { 5545 selector = until; 5546 } 5547 5548 if ( selector && typeof selector === "string" ) { 5549 matched = jQuery.filter( selector, matched ); 5550 } 5551 5552 if ( this.length > 1 ) { 5553 5554 // Remove duplicates 5555 if ( !guaranteedUnique[ name ] ) { 5556 jQuery.uniqueSort( matched ); 5557 } 5558 5559 // Reverse order for parents* and prev-derivatives 5560 if ( rparentsprev.test( name ) ) { 5561 matched.reverse(); 5562 } 5563 } 5564 5565 return this.pushStack( matched ); 5566 }; 5567} ); 5568var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); 5569 5570 5571 5572// Convert String-formatted options into Object-formatted ones 5573function createOptions( options ) { 5574 var object = {}; 5575 jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { 5576 object[ flag ] = true; 5577 } ); 5578 return object; 5579} 5580 5581/* 5582 * Create a callback list using the following parameters: 5583 * 5584 * options: an optional list of space-separated options that will change how 5585 * the callback list behaves or a more traditional option object 5586 * 5587 * By default a callback list will act like an event callback list and can be 5588 * "fired" multiple times. 5589 * 5590 * Possible options: 5591 * 5592 * once: will ensure the callback list can only be fired once (like a Deferred) 5593 * 5594 * memory: will keep track of previous values and will call any callback added 5595 * after the list has been fired right away with the latest "memorized" 5596 * values (like a Deferred) 5597 * 5598 * unique: will ensure a callback can only be added once (no duplicate in the list) 5599 * 5600 * stopOnFalse: interrupt callings when a callback returns false 5601 * 5602 */ 5603jQuery.Callbacks = function( options ) { 5604 5605 // Convert options from String-formatted to Object-formatted if needed 5606 // (we check in cache first) 5607 options = typeof options === "string" ? 5608 createOptions( options ) : 5609 jQuery.extend( {}, options ); 5610 5611 var // Flag to know if list is currently firing 5612 firing, 5613 5614 // Last fire value for non-forgettable lists 5615 memory, 5616 5617 // Flag to know if list was already fired 5618 fired, 5619 5620 // Flag to prevent firing 5621 locked, 5622 5623 // Actual callback list 5624 list = [], 5625 5626 // Queue of execution data for repeatable lists 5627 queue = [], 5628 5629 // Index of currently firing callback (modified by add/remove as needed) 5630 firingIndex = -1, 5631 5632 // Fire callbacks 5633 fire = function() { 5634 5635 // Enforce single-firing 5636 locked = locked || options.once; 5637 5638 // Execute callbacks for all pending executions, 5639 // respecting firingIndex overrides and runtime changes 5640 fired = firing = true; 5641 for ( ; queue.length; firingIndex = -1 ) { 5642 memory = queue.shift(); 5643 while ( ++firingIndex < list.length ) { 5644 5645 // Run callback and check for early termination 5646 if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && 5647 options.stopOnFalse ) { 5648 5649 // Jump to end and forget the data so .add doesn't re-fire 5650 firingIndex = list.length; 5651 memory = false; 5652 } 5653 } 5654 } 5655 5656 // Forget the data if we're done with it 5657 if ( !options.memory ) { 5658 memory = false; 5659 } 5660 5661 firing = false; 5662 5663 // Clean up if we're done firing for good 5664 if ( locked ) { 5665 5666 // Keep an empty list if we have data for future add calls 5667 if ( memory ) { 5668 list = []; 5669 5670 // Otherwise, this object is spent 5671 } else { 5672 list = ""; 5673 } 5674 } 5675 }, 5676 5677 // Actual Callbacks object 5678 self = { 5679 5680 // Add a callback or a collection of callbacks to the list 5681 add: function() { 5682 if ( list ) { 5683 5684 // If we have memory from a past run, we should fire after adding 5685 if ( memory && !firing ) { 5686 firingIndex = list.length - 1; 5687 queue.push( memory ); 5688 } 5689 5690 ( function add( args ) { 5691 jQuery.each( args, function( _, arg ) { 5692 if ( isFunction( arg ) ) { 5693 if ( !options.unique || !self.has( arg ) ) { 5694 list.push( arg ); 5695 } 5696 } else if ( arg && arg.length && toType( arg ) !== "string" ) { 5697 5698 // Inspect recursively 5699 add( arg ); 5700 } 5701 } ); 5702 } )( arguments ); 5703 5704 if ( memory && !firing ) { 5705 fire(); 5706 } 5707 } 5708 return this; 5709 }, 5710 5711 // Remove a callback from the list 5712 remove: function() { 5713 jQuery.each( arguments, function( _, arg ) { 5714 var index; 5715 while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { 5716 list.splice( index, 1 ); 5717 5718 // Handle firing indexes 5719 if ( index <= firingIndex ) { 5720 firingIndex--; 5721 } 5722 } 5723 } ); 5724 return this; 5725 }, 5726 5727 // Check if a given callback is in the list. 5728 // If no argument is given, return whether or not list has callbacks attached. 5729 has: function( fn ) { 5730 return fn ? 5731 jQuery.inArray( fn, list ) > -1 : 5732 list.length > 0; 5733 }, 5734 5735 // Remove all callbacks from the list 5736 empty: function() { 5737 if ( list ) { 5738 list = []; 5739 } 5740 return this; 5741 }, 5742 5743 // Disable .fire and .add 5744 // Abort any current/pending executions 5745 // Clear all callbacks and values 5746 disable: function() { 5747 locked = queue = []; 5748 list = memory = ""; 5749 return this; 5750 }, 5751 disabled: function() { 5752 return !list; 5753 }, 5754 5755 // Disable .fire 5756 // Also disable .add unless we have memory (since it would have no effect) 5757 // Abort any pending executions 5758 lock: function() { 5759 locked = queue = []; 5760 if ( !memory && !firing ) { 5761 list = memory = ""; 5762 } 5763 return this; 5764 }, 5765 locked: function() { 5766 return !!locked; 5767 }, 5768 5769 // Call all callbacks with the given context and arguments 5770 fireWith: function( context, args ) { 5771 if ( !locked ) { 5772 args = args || []; 5773 args = [ context, args.slice ? args.slice() : args ]; 5774 queue.push( args ); 5775 if ( !firing ) { 5776 fire(); 5777 } 5778 } 5779 return this; 5780 }, 5781 5782 // Call all the callbacks with the given arguments 5783 fire: function() { 5784 self.fireWith( this, arguments ); 5785 return this; 5786 }, 5787 5788 // To know if the callbacks have already been called at least once 5789 fired: function() { 5790 return !!fired; 5791 } 5792 }; 5793 5794 return self; 5795}; 5796 5797 5798function Identity( v ) { 5799 return v; 5800} 5801function Thrower( ex ) { 5802 throw ex; 5803} 5804 5805function adoptValue( value, resolve, reject, noValue ) { 5806 var method; 5807 5808 try { 5809 5810 // Check for promise aspect first to privilege synchronous behavior 5811 if ( value && isFunction( ( method = value.promise ) ) ) { 5812 method.call( value ).done( resolve ).fail( reject ); 5813 5814 // Other thenables 5815 } else if ( value && isFunction( ( method = value.then ) ) ) { 5816 method.call( value, resolve, reject ); 5817 5818 // Other non-thenables 5819 } else { 5820 5821 // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: 5822 // * false: [ value ].slice( 0 ) => resolve( value ) 5823 // * true: [ value ].slice( 1 ) => resolve() 5824 resolve.apply( undefined, [ value ].slice( noValue ) ); 5825 } 5826 5827 // For Promises/A+, convert exceptions into rejections 5828 // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in 5829 // Deferred#then to conditionally suppress rejection. 5830 } catch ( value ) { 5831 5832 // Support: Android 4.0 only 5833 // Strict mode functions invoked without .call/.apply get global-object context 5834 reject.apply( undefined, [ value ] ); 5835 } 5836} 5837 5838jQuery.extend( { 5839 5840 Deferred: function( func ) { 5841 var tuples = [ 5842 5843 // action, add listener, callbacks, 5844 // ... .then handlers, argument index, [final state] 5845 [ "notify", "progress", jQuery.Callbacks( "memory" ), 5846 jQuery.Callbacks( "memory" ), 2 ], 5847 [ "resolve", "done", jQuery.Callbacks( "once memory" ), 5848 jQuery.Callbacks( "once memory" ), 0, "resolved" ], 5849 [ "reject", "fail", jQuery.Callbacks( "once memory" ), 5850 jQuery.Callbacks( "once memory" ), 1, "rejected" ] 5851 ], 5852 state = "pending", 5853 promise = { 5854 state: function() { 5855 return state; 5856 }, 5857 always: function() { 5858 deferred.done( arguments ).fail( arguments ); 5859 return this; 5860 }, 5861 "catch": function( fn ) { 5862 return promise.then( null, fn ); 5863 }, 5864 5865 // Keep pipe for back-compat 5866 pipe: function( /* fnDone, fnFail, fnProgress */ ) { 5867 var fns = arguments; 5868 5869 return jQuery.Deferred( function( newDefer ) { 5870 jQuery.each( tuples, function( i, tuple ) { 5871 5872 // Map tuples (progress, done, fail) to arguments (done, fail, progress) 5873 var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; 5874 5875 // deferred.progress(function() { bind to newDefer or newDefer.notify }) 5876 // deferred.done(function() { bind to newDefer or newDefer.resolve }) 5877 // deferred.fail(function() { bind to newDefer or newDefer.reject }) 5878 deferred[ tuple[ 1 ] ]( function() { 5879 var returned = fn && fn.apply( this, arguments ); 5880 if ( returned && isFunction( returned.promise ) ) { 5881 returned.promise() 5882 .progress( newDefer.notify ) 5883 .done( newDefer.resolve ) 5884 .fail( newDefer.reject ); 5885 } else { 5886 newDefer[ tuple[ 0 ] + "With" ]( 5887 this, 5888 fn ? [ returned ] : arguments 5889 ); 5890 } 5891 } ); 5892 } ); 5893 fns = null; 5894 } ).promise(); 5895 }, 5896 then: function( onFulfilled, onRejected, onProgress ) { 5897 var maxDepth = 0; 5898 function resolve( depth, deferred, handler, special ) { 5899 return function() { 5900 var that = this, 5901 args = arguments, 5902 mightThrow = function() { 5903 var returned, then; 5904 5905 // Support: Promises/A+ section 2.3.3.3.3 5906 // https://promisesaplus.com/#point-59 5907 // Ignore double-resolution attempts 5908 if ( depth < maxDepth ) { 5909 return; 5910 } 5911 5912 returned = handler.apply( that, args ); 5913 5914 // Support: Promises/A+ section 2.3.1 5915 // https://promisesaplus.com/#point-48 5916 if ( returned === deferred.promise() ) { 5917 throw new TypeError( "Thenable self-resolution" ); 5918 } 5919 5920 // Support: Promises/A+ sections 2.3.3.1, 3.5 5921 // https://promisesaplus.com/#point-54 5922 // https://promisesaplus.com/#point-75 5923 // Retrieve `then` only once 5924 then = returned && 5925 5926 // Support: Promises/A+ section 2.3.4 5927 // https://promisesaplus.com/#point-64 5928 // Only check objects and functions for thenability 5929 ( typeof returned === "object" || 5930 typeof returned === "function" ) && 5931 returned.then; 5932 5933 // Handle a returned thenable 5934 if ( isFunction( then ) ) { 5935 5936 // Special processors (notify) just wait for resolution 5937 if ( special ) { 5938 then.call( 5939 returned, 5940 resolve( maxDepth, deferred, Identity, special ), 5941 resolve( maxDepth, deferred, Thrower, special ) 5942 ); 5943 5944 // Normal processors (resolve) also hook into progress 5945 } else { 5946 5947 // ...and disregard older resolution values 5948 maxDepth++; 5949 5950 then.call( 5951 returned, 5952 resolve( maxDepth, deferred, Identity, special ), 5953 resolve( maxDepth, deferred, Thrower, special ), 5954 resolve( maxDepth, deferred, Identity, 5955 deferred.notifyWith ) 5956 ); 5957 } 5958 5959 // Handle all other returned values 5960 } else { 5961 5962 // Only substitute handlers pass on context 5963 // and multiple values (non-spec behavior) 5964 if ( handler !== Identity ) { 5965 that = undefined; 5966 args = [ returned ]; 5967 } 5968 5969 // Process the value(s) 5970 // Default process is resolve 5971 ( special || deferred.resolveWith )( that, args ); 5972 } 5973 }, 5974 5975 // Only normal processors (resolve) catch and reject exceptions 5976 process = special ? 5977 mightThrow : 5978 function() { 5979 try { 5980 mightThrow(); 5981 } catch ( e ) { 5982 5983 if ( jQuery.Deferred.exceptionHook ) { 5984 jQuery.Deferred.exceptionHook( e, 5985 process.stackTrace ); 5986 } 5987 5988 // Support: Promises/A+ section 2.3.3.3.4.1 5989 // https://promisesaplus.com/#point-61 5990 // Ignore post-resolution exceptions 5991 if ( depth + 1 >= maxDepth ) { 5992 5993 // Only substitute handlers pass on context 5994 // and multiple values (non-spec behavior) 5995 if ( handler !== Thrower ) { 5996 that = undefined; 5997 args = [ e ]; 5998 } 5999 6000 deferred.rejectWith( that, args ); 6001 } 6002 } 6003 }; 6004 6005 // Support: Promises/A+ section 2.3.3.3.1 6006 // https://promisesaplus.com/#point-57 6007 // Re-resolve promises immediately to dodge false rejection from 6008 // subsequent errors 6009 if ( depth ) { 6010 process(); 6011 } else { 6012 6013 // Call an optional hook to record the stack, in case of exception 6014 // since it's otherwise lost when execution goes async 6015 if ( jQuery.Deferred.getStackHook ) { 6016 process.stackTrace = jQuery.Deferred.getStackHook(); 6017 } 6018 window.setTimeout( process ); 6019 } 6020 }; 6021 } 6022 6023 return jQuery.Deferred( function( newDefer ) { 6024 6025 // progress_handlers.add( ... ) 6026 tuples[ 0 ][ 3 ].add( 6027 resolve( 6028 0, 6029 newDefer, 6030 isFunction( onProgress ) ? 6031 onProgress : 6032 Identity, 6033 newDefer.notifyWith 6034 ) 6035 ); 6036 6037 // fulfilled_handlers.add( ... ) 6038 tuples[ 1 ][ 3 ].add( 6039 resolve( 6040 0, 6041 newDefer, 6042 isFunction( onFulfilled ) ? 6043 onFulfilled : 6044 Identity 6045 ) 6046 ); 6047 6048 // rejected_handlers.add( ... ) 6049 tuples[ 2 ][ 3 ].add( 6050 resolve( 6051 0, 6052 newDefer, 6053 isFunction( onRejected ) ? 6054 onRejected : 6055 Thrower 6056 ) 6057 ); 6058 } ).promise(); 6059 }, 6060 6061 // Get a promise for this deferred 6062 // If obj is provided, the promise aspect is added to the object 6063 promise: function( obj ) { 6064 return obj != null ? jQuery.extend( obj, promise ) : promise; 6065 } 6066 }, 6067 deferred = {}; 6068 6069 // Add list-specific methods 6070 jQuery.each( tuples, function( i, tuple ) { 6071 var list = tuple[ 2 ], 6072 stateString = tuple[ 5 ]; 6073 6074 // promise.progress = list.add 6075 // promise.done = list.add 6076 // promise.fail = list.add 6077 promise[ tuple[ 1 ] ] = list.add; 6078 6079 // Handle state 6080 if ( stateString ) { 6081 list.add( 6082 function() { 6083 6084 // state = "resolved" (i.e., fulfilled) 6085 // state = "rejected" 6086 state = stateString; 6087 }, 6088 6089 // rejected_callbacks.disable 6090 // fulfilled_callbacks.disable 6091 tuples[ 3 - i ][ 2 ].disable, 6092 6093 // rejected_handlers.disable 6094 // fulfilled_handlers.disable 6095 tuples[ 3 - i ][ 3 ].disable, 6096 6097 // progress_callbacks.lock 6098 tuples[ 0 ][ 2 ].lock, 6099 6100 // progress_handlers.lock 6101 tuples[ 0 ][ 3 ].lock 6102 ); 6103 } 6104 6105 // progress_handlers.fire 6106 // fulfilled_handlers.fire 6107 // rejected_handlers.fire 6108 list.add( tuple[ 3 ].fire ); 6109 6110 // deferred.notify = function() { deferred.notifyWith(...) } 6111 // deferred.resolve = function() { deferred.resolveWith(...) } 6112 // deferred.reject = function() { deferred.rejectWith(...) } 6113 deferred[ tuple[ 0 ] ] = function() { 6114 deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); 6115 return this; 6116 }; 6117 6118 // deferred.notifyWith = list.fireWith 6119 // deferred.resolveWith = list.fireWith 6120 // deferred.rejectWith = list.fireWith 6121 deferred[ tuple[ 0 ] + "With" ] = list.fireWith; 6122 } ); 6123 6124 // Make the deferred a promise 6125 promise.promise( deferred ); 6126 6127 // Call given func if any 6128 if ( func ) { 6129 func.call( deferred, deferred ); 6130 } 6131 6132 // All done! 6133 return deferred; 6134 }, 6135 6136 // Deferred helper 6137 when: function( singleValue ) { 6138 var 6139 6140 // count of uncompleted subordinates 6141 remaining = arguments.length, 6142 6143 // count of unprocessed arguments 6144 i = remaining, 6145 6146 // subordinate fulfillment data 6147 resolveContexts = Array( i ), 6148 resolveValues = slice.call( arguments ), 6149 6150 // the master Deferred 6151 master = jQuery.Deferred(), 6152 6153 // subordinate callback factory 6154 updateFunc = function( i ) { 6155 return function( value ) { 6156 resolveContexts[ i ] = this; 6157 resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; 6158 if ( !( --remaining ) ) { 6159 master.resolveWith( resolveContexts, resolveValues ); 6160 } 6161 }; 6162 }; 6163 6164 // Single- and empty arguments are adopted like Promise.resolve 6165 if ( remaining <= 1 ) { 6166 adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, 6167 !remaining ); 6168 6169 // Use .then() to unwrap secondary thenables (cf. gh-3000) 6170 if ( master.state() === "pending" || 6171 isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { 6172 6173 return master.then(); 6174 } 6175 } 6176 6177 // Multiple arguments are aggregated like Promise.all array elements 6178 while ( i-- ) { 6179 adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); 6180 } 6181 6182 return master.promise(); 6183 } 6184} ); 6185 6186 6187// These usually indicate a programmer mistake during development, 6188// warn about them ASAP rather than swallowing them by default. 6189var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 6190 6191jQuery.Deferred.exceptionHook = function( error, stack ) { 6192 6193 // Support: IE 8 - 9 only 6194 // Console exists when dev tools are open, which can happen at any time 6195 if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 6196 window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); 6197 } 6198}; 6199 6200 6201 6202 6203jQuery.readyException = function( error ) { 6204 window.setTimeout( function() { 6205 throw error; 6206 } ); 6207}; 6208 6209 6210 6211 6212// The deferred used on DOM ready 6213var readyList = jQuery.Deferred(); 6214 6215jQuery.fn.ready = function( fn ) { 6216 6217 readyList 6218 .then( fn ) 6219 6220 // Wrap jQuery.readyException in a function so that the lookup 6221 // happens at the time of error handling instead of callback 6222 // registration. 6223 .catch( function( error ) { 6224 jQuery.readyException( error ); 6225 } ); 6226 6227 return this; 6228}; 6229 6230jQuery.extend( { 6231 6232 // Is the DOM ready to be used? Set to true once it occurs. 6233 isReady: false, 6234 6235 // A counter to track how many items to wait for before 6236 // the ready event fires. See #6781 6237 readyWait: 1, 6238 6239 // Handle when the DOM is ready 6240 ready: function( wait ) { 6241 6242 // Abort if there are pending holds or we're already ready 6243 if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { 6244 return; 6245 } 6246 6247 // Remember that the DOM is ready 6248 jQuery.isReady = true; 6249 6250 // If a normal DOM Ready event fired, decrement, and wait if need be 6251 if ( wait !== true && --jQuery.readyWait > 0 ) { 6252 return; 6253 } 6254 6255 // If there are functions bound, to execute 6256 readyList.resolveWith( document, [ jQuery ] ); 6257 } 6258} ); 6259 6260jQuery.ready.then = readyList.then; 6261 6262// The ready event handler and self cleanup method 6263function completed() { 6264 document.removeEventListener( "DOMContentLoaded", completed ); 6265 window.removeEventListener( "load", completed ); 6266 jQuery.ready(); 6267} 6268 6269// Catch cases where $(document).ready() is called 6270// after the browser event has already occurred. 6271// Support: IE <=9 - 10 only 6272// Older IE sometimes signals "interactive" too soon 6273if ( document.readyState === "complete" || 6274 ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { 6275 6276 // Handle it asynchronously to allow scripts the opportunity to delay ready 6277 window.setTimeout( jQuery.ready ); 6278 6279} else { 6280 6281 // Use the handy event callback 6282 document.addEventListener( "DOMContentLoaded", completed ); 6283 6284 // A fallback to window.onload, that will always work 6285 window.addEventListener( "load", completed ); 6286} 6287 6288 6289 6290 6291// Multifunctional method to get and set values of a collection 6292// The value/s can optionally be executed if it's a function 6293var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { 6294 var i = 0, 6295 len = elems.length, 6296 bulk = key == null; 6297 6298 // Sets many values 6299 if ( toType( key ) === "object" ) { 6300 chainable = true; 6301 for ( i in key ) { 6302 access( elems, fn, i, key[ i ], true, emptyGet, raw ); 6303 } 6304 6305 // Sets one value 6306 } else if ( value !== undefined ) { 6307 chainable = true; 6308 6309 if ( !isFunction( value ) ) { 6310 raw = true; 6311 } 6312 6313 if ( bulk ) { 6314 6315 // Bulk operations run against the entire set 6316 if ( raw ) { 6317 fn.call( elems, value ); 6318 fn = null; 6319 6320 // ...except when executing function values 6321 } else { 6322 bulk = fn; 6323 fn = function( elem, key, value ) { 6324 return bulk.call( jQuery( elem ), value ); 6325 }; 6326 } 6327 } 6328 6329 if ( fn ) { 6330 for ( ; i < len; i++ ) { 6331 fn( 6332 elems[ i ], key, raw ? 6333 value : 6334 value.call( elems[ i ], i, fn( elems[ i ], key ) ) 6335 ); 6336 } 6337 } 6338 } 6339 6340 if ( chainable ) { 6341 return elems; 6342 } 6343 6344 // Gets 6345 if ( bulk ) { 6346 return fn.call( elems ); 6347 } 6348 6349 return len ? fn( elems[ 0 ], key ) : emptyGet; 6350}; 6351 6352 6353// Matches dashed string for camelizing 6354var rmsPrefix = /^-ms-/, 6355 rdashAlpha = /-([a-z])/g; 6356 6357// Used by camelCase as callback to replace() 6358function fcamelCase( all, letter ) { 6359 return letter.toUpperCase(); 6360} 6361 6362// Convert dashed to camelCase; used by the css and data modules 6363// Support: IE <=9 - 11, Edge 12 - 15 6364// Microsoft forgot to hump their vendor prefix (#9572) 6365function camelCase( string ) { 6366 return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); 6367} 6368var acceptData = function( owner ) { 6369 6370 // Accepts only: 6371 // - Node 6372 // - Node.ELEMENT_NODE 6373 // - Node.DOCUMENT_NODE 6374 // - Object 6375 // - Any 6376 return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 6377}; 6378 6379 6380 6381 6382function Data() { 6383 this.expando = jQuery.expando + Data.uid++; 6384} 6385 6386Data.uid = 1; 6387 6388Data.prototype = { 6389 6390 cache: function( owner ) { 6391 6392 // Check if the owner object already has a cache 6393 var value = owner[ this.expando ]; 6394 6395 // If not, create one 6396 if ( !value ) { 6397 value = {}; 6398 6399 // We can accept data for non-element nodes in modern browsers, 6400 // but we should not, see #8335. 6401 // Always return an empty object. 6402 if ( acceptData( owner ) ) { 6403 6404 // If it is a node unlikely to be stringify-ed or looped over 6405 // use plain assignment 6406 if ( owner.nodeType ) { 6407 owner[ this.expando ] = value; 6408 6409 // Otherwise secure it in a non-enumerable property 6410 // configurable must be true to allow the property to be 6411 // deleted when data is removed 6412 } else { 6413 Object.defineProperty( owner, this.expando, { 6414 value: value, 6415 configurable: true 6416 } ); 6417 } 6418 } 6419 } 6420 6421 return value; 6422 }, 6423 set: function( owner, data, value ) { 6424 var prop, 6425 cache = this.cache( owner ); 6426 6427 // Handle: [ owner, key, value ] args 6428 // Always use camelCase key (gh-2257) 6429 if ( typeof data === "string" ) { 6430 cache[ camelCase( data ) ] = value; 6431 6432 // Handle: [ owner, { properties } ] args 6433 } else { 6434 6435 // Copy the properties one-by-one to the cache object 6436 for ( prop in data ) { 6437 cache[ camelCase( prop ) ] = data[ prop ]; 6438 } 6439 } 6440 return cache; 6441 }, 6442 get: function( owner, key ) { 6443 return key === undefined ? 6444 this.cache( owner ) : 6445 6446 // Always use camelCase key (gh-2257) 6447 owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; 6448 }, 6449 access: function( owner, key, value ) { 6450 6451 // In cases where either: 6452 // 6453 // 1. No key was specified 6454 // 2. A string key was specified, but no value provided 6455 // 6456 // Take the "read" path and allow the get method to determine 6457 // which value to return, respectively either: 6458 // 6459 // 1. The entire cache object 6460 // 2. The data stored at the key 6461 // 6462 if ( key === undefined || 6463 ( ( key && typeof key === "string" ) && value === undefined ) ) { 6464 6465 return this.get( owner, key ); 6466 } 6467 6468 // When the key is not a string, or both a key and value 6469 // are specified, set or extend (existing objects) with either: 6470 // 6471 // 1. An object of properties 6472 // 2. A key and value 6473 // 6474 this.set( owner, key, value ); 6475 6476 // Since the "set" path can have two possible entry points 6477 // return the expected data based on which path was taken[*] 6478 return value !== undefined ? value : key; 6479 }, 6480 remove: function( owner, key ) { 6481 var i, 6482 cache = owner[ this.expando ]; 6483 6484 if ( cache === undefined ) { 6485 return; 6486 } 6487 6488 if ( key !== undefined ) { 6489 6490 // Support array or space separated string of keys 6491 if ( Array.isArray( key ) ) { 6492 6493 // If key is an array of keys... 6494 // We always set camelCase keys, so remove that. 6495 key = key.map( camelCase ); 6496 } else { 6497 key = camelCase( key ); 6498 6499 // If a key with the spaces exists, use it. 6500 // Otherwise, create an array by matching non-whitespace 6501 key = key in cache ? 6502 [ key ] : 6503 ( key.match( rnothtmlwhite ) || [] ); 6504 } 6505 6506 i = key.length; 6507 6508 while ( i-- ) { 6509 delete cache[ key[ i ] ]; 6510 } 6511 } 6512 6513 // Remove the expando if there's no more data 6514 if ( key === undefined || jQuery.isEmptyObject( cache ) ) { 6515 6516 // Support: Chrome <=35 - 45 6517 // Webkit & Blink performance suffers when deleting properties 6518 // from DOM nodes, so set to undefined instead 6519 // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) 6520 if ( owner.nodeType ) { 6521 owner[ this.expando ] = undefined; 6522 } else { 6523 delete owner[ this.expando ]; 6524 } 6525 } 6526 }, 6527 hasData: function( owner ) { 6528 var cache = owner[ this.expando ]; 6529 return cache !== undefined && !jQuery.isEmptyObject( cache ); 6530 } 6531}; 6532var dataPriv = new Data(); 6533 6534var dataUser = new Data(); 6535 6536 6537 6538// Implementation Summary 6539// 6540// 1. Enforce API surface and semantic compatibility with 1.9.x branch 6541// 2. Improve the module's maintainability by reducing the storage 6542// paths to a single mechanism. 6543// 3. Use the same single mechanism to support "private" and "user" data. 6544// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) 6545// 5. Avoid exposing implementation details on user objects (eg. expando properties) 6546// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 6547 6548var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 6549 rmultiDash = /[A-Z]/g; 6550 6551function getData( data ) { 6552 if ( data === "true" ) { 6553 return true; 6554 } 6555 6556 if ( data === "false" ) { 6557 return false; 6558 } 6559 6560 if ( data === "null" ) { 6561 return null; 6562 } 6563 6564 // Only convert to a number if it doesn't change the string 6565 if ( data === +data + "" ) { 6566 return +data; 6567 } 6568 6569 if ( rbrace.test( data ) ) { 6570 return JSON.parse( data ); 6571 } 6572 6573 return data; 6574} 6575 6576function dataAttr( elem, key, data ) { 6577 var name; 6578 6579 // If nothing was found internally, try to fetch any 6580 // data from the HTML5 data-* attribute 6581 if ( data === undefined && elem.nodeType === 1 ) { 6582 name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); 6583 data = elem.getAttribute( name ); 6584 6585 if ( typeof data === "string" ) { 6586 try { 6587 data = getData( data ); 6588 } catch ( e ) {} 6589 6590 // Make sure we set the data so it isn't changed later 6591 dataUser.set( elem, key, data ); 6592 } else { 6593 data = undefined; 6594 } 6595 } 6596 return data; 6597} 6598 6599jQuery.extend( { 6600 hasData: function( elem ) { 6601 return dataUser.hasData( elem ) || dataPriv.hasData( elem ); 6602 }, 6603 6604 data: function( elem, name, data ) { 6605 return dataUser.access( elem, name, data ); 6606 }, 6607 6608 removeData: function( elem, name ) { 6609 dataUser.remove( elem, name ); 6610 }, 6611 6612 // TODO: Now that all calls to _data and _removeData have been replaced 6613 // with direct calls to dataPriv methods, these can be deprecated. 6614 _data: function( elem, name, data ) { 6615 return dataPriv.access( elem, name, data ); 6616 }, 6617 6618 _removeData: function( elem, name ) { 6619 dataPriv.remove( elem, name ); 6620 } 6621} ); 6622 6623jQuery.fn.extend( { 6624 data: function( key, value ) { 6625 var i, name, data, 6626 elem = this[ 0 ], 6627 attrs = elem && elem.attributes; 6628 6629 // Gets all values 6630 if ( key === undefined ) { 6631 if ( this.length ) { 6632 data = dataUser.get( elem ); 6633 6634 if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { 6635 i = attrs.length; 6636 while ( i-- ) { 6637 6638 // Support: IE 11 only 6639 // The attrs elements can be null (#14894) 6640 if ( attrs[ i ] ) { 6641 name = attrs[ i ].name; 6642 if ( name.indexOf( "data-" ) === 0 ) { 6643 name = camelCase( name.slice( 5 ) ); 6644 dataAttr( elem, name, data[ name ] ); 6645 } 6646 } 6647 } 6648 dataPriv.set( elem, "hasDataAttrs", true ); 6649 } 6650 } 6651 6652 return data; 6653 } 6654 6655 // Sets multiple values 6656 if ( typeof key === "object" ) { 6657 return this.each( function() { 6658 dataUser.set( this, key ); 6659 } ); 6660 } 6661 6662 return access( this, function( value ) { 6663 var data; 6664 6665 // The calling jQuery object (element matches) is not empty 6666 // (and therefore has an element appears at this[ 0 ]) and the 6667 // `value` parameter was not undefined. An empty jQuery object 6668 // will result in `undefined` for elem = this[ 0 ] which will 6669 // throw an exception if an attempt to read a data cache is made. 6670 if ( elem && value === undefined ) { 6671 6672 // Attempt to get data from the cache 6673 // The key will always be camelCased in Data 6674 data = dataUser.get( elem, key ); 6675 if ( data !== undefined ) { 6676 return data; 6677 } 6678 6679 // Attempt to "discover" the data in 6680 // HTML5 custom data-* attrs 6681 data = dataAttr( elem, key ); 6682 if ( data !== undefined ) { 6683 return data; 6684 } 6685 6686 // We tried really hard, but the data doesn't exist. 6687 return; 6688 } 6689 6690 // Set the data... 6691 this.each( function() { 6692 6693 // We always store the camelCased key 6694 dataUser.set( this, key, value ); 6695 } ); 6696 }, null, value, arguments.length > 1, null, true ); 6697 }, 6698 6699 removeData: function( key ) { 6700 return this.each( function() { 6701 dataUser.remove( this, key ); 6702 } ); 6703 } 6704} ); 6705 6706 6707jQuery.extend( { 6708 queue: function( elem, type, data ) { 6709 var queue; 6710 6711 if ( elem ) { 6712 type = ( type || "fx" ) + "queue"; 6713 queue = dataPriv.get( elem, type ); 6714 6715 // Speed up dequeue by getting out quickly if this is just a lookup 6716 if ( data ) { 6717 if ( !queue || Array.isArray( data ) ) { 6718 queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); 6719 } else { 6720 queue.push( data ); 6721 } 6722 } 6723 return queue || []; 6724 } 6725 }, 6726 6727 dequeue: function( elem, type ) { 6728 type = type || "fx"; 6729 6730 var queue = jQuery.queue( elem, type ), 6731 startLength = queue.length, 6732 fn = queue.shift(), 6733 hooks = jQuery._queueHooks( elem, type ), 6734 next = function() { 6735 jQuery.dequeue( elem, type ); 6736 }; 6737 6738 // If the fx queue is dequeued, always remove the progress sentinel 6739 if ( fn === "inprogress" ) { 6740 fn = queue.shift(); 6741 startLength--; 6742 } 6743 6744 if ( fn ) { 6745 6746 // Add a progress sentinel to prevent the fx queue from being 6747 // automatically dequeued 6748 if ( type === "fx" ) { 6749 queue.unshift( "inprogress" ); 6750 } 6751 6752 // Clear up the last queue stop function 6753 delete hooks.stop; 6754 fn.call( elem, next, hooks ); 6755 } 6756 6757 if ( !startLength && hooks ) { 6758 hooks.empty.fire(); 6759 } 6760 }, 6761 6762 // Not public - generate a queueHooks object, or return the current one 6763 _queueHooks: function( elem, type ) { 6764 var key = type + "queueHooks"; 6765 return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { 6766 empty: jQuery.Callbacks( "once memory" ).add( function() { 6767 dataPriv.remove( elem, [ type + "queue", key ] ); 6768 } ) 6769 } ); 6770 } 6771} ); 6772 6773jQuery.fn.extend( { 6774 queue: function( type, data ) { 6775 var setter = 2; 6776 6777 if ( typeof type !== "string" ) { 6778 data = type; 6779 type = "fx"; 6780 setter--; 6781 } 6782 6783 if ( arguments.length < setter ) { 6784 return jQuery.queue( this[ 0 ], type ); 6785 } 6786 6787 return data === undefined ? 6788 this : 6789 this.each( function() { 6790 var queue = jQuery.queue( this, type, data ); 6791 6792 // Ensure a hooks for this queue 6793 jQuery._queueHooks( this, type ); 6794 6795 if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { 6796 jQuery.dequeue( this, type ); 6797 } 6798 } ); 6799 }, 6800 dequeue: function( type ) { 6801 return this.each( function() { 6802 jQuery.dequeue( this, type ); 6803 } ); 6804 }, 6805 clearQueue: function( type ) { 6806 return this.queue( type || "fx", [] ); 6807 }, 6808 6809 // Get a promise resolved when queues of a certain type 6810 // are emptied (fx is the type by default) 6811 promise: function( type, obj ) { 6812 var tmp, 6813 count = 1, 6814 defer = jQuery.Deferred(), 6815 elements = this, 6816 i = this.length, 6817 resolve = function() { 6818 if ( !( --count ) ) { 6819 defer.resolveWith( elements, [ elements ] ); 6820 } 6821 }; 6822 6823 if ( typeof type !== "string" ) { 6824 obj = type; 6825 type = undefined; 6826 } 6827 type = type || "fx"; 6828 6829 while ( i-- ) { 6830 tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); 6831 if ( tmp && tmp.empty ) { 6832 count++; 6833 tmp.empty.add( resolve ); 6834 } 6835 } 6836 resolve(); 6837 return defer.promise( obj ); 6838 } 6839} ); 6840var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 6841 6842var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6843 6844 6845var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; 6846 6847var documentElement = document.documentElement; 6848 6849 6850 6851 var isAttached = function( elem ) { 6852 return jQuery.contains( elem.ownerDocument, elem ); 6853 }, 6854 composed = { composed: true }; 6855 6856 // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only 6857 // Check attachment across shadow DOM boundaries when possible (gh-3504) 6858 // Support: iOS 10.0-10.2 only 6859 // Early iOS 10 versions support `attachShadow` but not `getRootNode`, 6860 // leading to errors. We need to check for `getRootNode`. 6861 if ( documentElement.getRootNode ) { 6862 isAttached = function( elem ) { 6863 return jQuery.contains( elem.ownerDocument, elem ) || 6864 elem.getRootNode( composed ) === elem.ownerDocument; 6865 }; 6866 } 6867var isHiddenWithinTree = function( elem, el ) { 6868 6869 // isHiddenWithinTree might be called from jQuery#filter function; 6870 // in that case, element will be second argument 6871 elem = el || elem; 6872 6873 // Inline style trumps all 6874 return elem.style.display === "none" || 6875 elem.style.display === "" && 6876 6877 // Otherwise, check computed style 6878 // Support: Firefox <=43 - 45 6879 // Disconnected elements can have computed display: none, so first confirm that elem is 6880 // in the document. 6881 isAttached( elem ) && 6882 6883 jQuery.css( elem, "display" ) === "none"; 6884 }; 6885 6886var swap = function( elem, options, callback, args ) { 6887 var ret, name, 6888 old = {}; 6889 6890 // Remember the old values, and insert the new ones 6891 for ( name in options ) { 6892 old[ name ] = elem.style[ name ]; 6893 elem.style[ name ] = options[ name ]; 6894 } 6895 6896 ret = callback.apply( elem, args || [] ); 6897 6898 // Revert the old values 6899 for ( name in options ) { 6900 elem.style[ name ] = old[ name ]; 6901 } 6902 6903 return ret; 6904}; 6905 6906 6907 6908 6909function adjustCSS( elem, prop, valueParts, tween ) { 6910 var adjusted, scale, 6911 maxIterations = 20, 6912 currentValue = tween ? 6913 function() { 6914 return tween.cur(); 6915 } : 6916 function() { 6917 return jQuery.css( elem, prop, "" ); 6918 }, 6919 initial = currentValue(), 6920 unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), 6921 6922 // Starting value computation is required for potential unit mismatches 6923 initialInUnit = elem.nodeType && 6924 ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && 6925 rcssNum.exec( jQuery.css( elem, prop ) ); 6926 6927 if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { 6928 6929 // Support: Firefox <=54 6930 // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) 6931 initial = initial / 2; 6932 6933 // Trust units reported by jQuery.css 6934 unit = unit || initialInUnit[ 3 ]; 6935 6936 // Iteratively approximate from a nonzero starting point 6937 initialInUnit = +initial || 1; 6938 6939 while ( maxIterations-- ) { 6940 6941 // Evaluate and update our best guess (doubling guesses that zero out). 6942 // Finish if the scale equals or crosses 1 (making the old*new product non-positive). 6943 jQuery.style( elem, prop, initialInUnit + unit ); 6944 if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { 6945 maxIterations = 0; 6946 } 6947 initialInUnit = initialInUnit / scale; 6948 6949 } 6950 6951 initialInUnit = initialInUnit * 2; 6952 jQuery.style( elem, prop, initialInUnit + unit ); 6953 6954 // Make sure we update the tween properties later on 6955 valueParts = valueParts || []; 6956 } 6957 6958 if ( valueParts ) { 6959 initialInUnit = +initialInUnit || +initial || 0; 6960 6961 // Apply relative offset (+=/-=) if specified 6962 adjusted = valueParts[ 1 ] ? 6963 initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : 6964 +valueParts[ 2 ]; 6965 if ( tween ) { 6966 tween.unit = unit; 6967 tween.start = initialInUnit; 6968 tween.end = adjusted; 6969 } 6970 } 6971 return adjusted; 6972} 6973 6974 6975var defaultDisplayMap = {}; 6976 6977function getDefaultDisplay( elem ) { 6978 var temp, 6979 doc = elem.ownerDocument, 6980 nodeName = elem.nodeName, 6981 display = defaultDisplayMap[ nodeName ]; 6982 6983 if ( display ) { 6984 return display; 6985 } 6986 6987 temp = doc.body.appendChild( doc.createElement( nodeName ) ); 6988 display = jQuery.css( temp, "display" ); 6989 6990 temp.parentNode.removeChild( temp ); 6991 6992 if ( display === "none" ) { 6993 display = "block"; 6994 } 6995 defaultDisplayMap[ nodeName ] = display; 6996 6997 return display; 6998} 6999 7000function showHide( elements, show ) { 7001 var display, elem, 7002 values = [], 7003 index = 0, 7004 length = elements.length; 7005 7006 // Determine new display value for elements that need to change 7007 for ( ; index < length; index++ ) { 7008 elem = elements[ index ]; 7009 if ( !elem.style ) { 7010 continue; 7011 } 7012 7013 display = elem.style.display; 7014 if ( show ) { 7015 7016 // Since we force visibility upon cascade-hidden elements, an immediate (and slow) 7017 // check is required in this first loop unless we have a nonempty display value (either 7018 // inline or about-to-be-restored) 7019 if ( display === "none" ) { 7020 values[ index ] = dataPriv.get( elem, "display" ) || null; 7021 if ( !values[ index ] ) { 7022 elem.style.display = ""; 7023 } 7024 } 7025 if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { 7026 values[ index ] = getDefaultDisplay( elem ); 7027 } 7028 } else { 7029 if ( display !== "none" ) { 7030 values[ index ] = "none"; 7031 7032 // Remember what we're overwriting 7033 dataPriv.set( elem, "display", display ); 7034 } 7035 } 7036 } 7037 7038 // Set the display of the elements in a second loop to avoid constant reflow 7039 for ( index = 0; index < length; index++ ) { 7040 if ( values[ index ] != null ) { 7041 elements[ index ].style.display = values[ index ]; 7042 } 7043 } 7044 7045 return elements; 7046} 7047 7048jQuery.fn.extend( { 7049 show: function() { 7050 return showHide( this, true ); 7051 }, 7052 hide: function() { 7053 return showHide( this ); 7054 }, 7055 toggle: function( state ) { 7056 if ( typeof state === "boolean" ) { 7057 return state ? this.show() : this.hide(); 7058 } 7059 7060 return this.each( function() { 7061 if ( isHiddenWithinTree( this ) ) { 7062 jQuery( this ).show(); 7063 } else { 7064 jQuery( this ).hide(); 7065 } 7066 } ); 7067 } 7068} ); 7069var rcheckableType = ( /^(?:checkbox|radio)$/i ); 7070 7071var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); 7072 7073var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); 7074 7075 7076 7077// We have to close these tags to support XHTML (#13200) 7078var wrapMap = { 7079 7080 // Support: IE <=9 only 7081 option: [ 1, "<select multiple='multiple'>", "</select>" ], 7082 7083 // XHTML parsers do not magically insert elements in the 7084 // same way that tag soup parsers do. So we cannot shorten 7085 // this by omitting <tbody> or other required elements. 7086 thead: [ 1, "<table>", "</table>" ], 7087 col: [ 2, "<table><colgroup>", "</colgroup></table>" ], 7088 tr: [ 2, "<table><tbody>", "</tbody></table>" ], 7089 td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], 7090 7091 _default: [ 0, "", "" ] 7092}; 7093 7094// Support: IE <=9 only 7095wrapMap.optgroup = wrapMap.option; 7096 7097wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 7098wrapMap.th = wrapMap.td; 7099 7100 7101function getAll( context, tag ) { 7102 7103 // Support: IE <=9 - 11 only 7104 // Use typeof to avoid zero-argument method invocation on host objects (#15151) 7105 var ret; 7106 7107 if ( typeof context.getElementsByTagName !== "undefined" ) { 7108 ret = context.getElementsByTagName( tag || "*" ); 7109 7110 } else if ( typeof context.querySelectorAll !== "undefined" ) { 7111 ret = context.querySelectorAll( tag || "*" ); 7112 7113 } else { 7114 ret = []; 7115 } 7116 7117 if ( tag === undefined || tag && nodeName( context, tag ) ) { 7118 return jQuery.merge( [ context ], ret ); 7119 } 7120 7121 return ret; 7122} 7123 7124 7125// Mark scripts as having already been evaluated 7126function setGlobalEval( elems, refElements ) { 7127 var i = 0, 7128 l = elems.length; 7129 7130 for ( ; i < l; i++ ) { 7131 dataPriv.set( 7132 elems[ i ], 7133 "globalEval", 7134 !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 7135 ); 7136 } 7137} 7138 7139 7140var rhtml = /<|&#?\w+;/; 7141 7142function buildFragment( elems, context, scripts, selection, ignored ) { 7143 var elem, tmp, tag, wrap, attached, j, 7144 fragment = context.createDocumentFragment(), 7145 nodes = [], 7146 i = 0, 7147 l = elems.length; 7148 7149 for ( ; i < l; i++ ) { 7150 elem = elems[ i ]; 7151 7152 if ( elem || elem === 0 ) { 7153 7154 // Add nodes directly 7155 if ( toType( elem ) === "object" ) { 7156 7157 // Support: Android <=4.0 only, PhantomJS 1 only 7158 // push.apply(_, arraylike) throws on ancient WebKit 7159 jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); 7160 7161 // Convert non-html into a text node 7162 } else if ( !rhtml.test( elem ) ) { 7163 nodes.push( context.createTextNode( elem ) ); 7164 7165 // Convert html into DOM nodes 7166 } else { 7167 tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); 7168 7169 // Deserialize a standard representation 7170 tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); 7171 wrap = wrapMap[ tag ] || wrapMap._default; 7172 tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; 7173 7174 // Descend through wrappers to the right content 7175 j = wrap[ 0 ]; 7176 while ( j-- ) { 7177 tmp = tmp.lastChild; 7178 } 7179 7180 // Support: Android <=4.0 only, PhantomJS 1 only 7181 // push.apply(_, arraylike) throws on ancient WebKit 7182 jQuery.merge( nodes, tmp.childNodes ); 7183 7184 // Remember the top-level container 7185 tmp = fragment.firstChild; 7186 7187 // Ensure the created nodes are orphaned (#12392) 7188 tmp.textContent = ""; 7189 } 7190 } 7191 } 7192 7193 // Remove wrapper from fragment 7194 fragment.textContent = ""; 7195 7196 i = 0; 7197 while ( ( elem = nodes[ i++ ] ) ) { 7198 7199 // Skip elements already in the context collection (trac-4087) 7200 if ( selection && jQuery.inArray( elem, selection ) > -1 ) { 7201 if ( ignored ) { 7202 ignored.push( elem ); 7203 } 7204 continue; 7205 } 7206 7207 attached = isAttached( elem ); 7208 7209 // Append to fragment 7210 tmp = getAll( fragment.appendChild( elem ), "script" ); 7211 7212 // Preserve script evaluation history 7213 if ( attached ) { 7214 setGlobalEval( tmp ); 7215 } 7216 7217 // Capture executables 7218 if ( scripts ) { 7219 j = 0; 7220 while ( ( elem = tmp[ j++ ] ) ) { 7221 if ( rscriptType.test( elem.type || "" ) ) { 7222 scripts.push( elem ); 7223 } 7224 } 7225 } 7226 } 7227 7228 return fragment; 7229} 7230 7231 7232( function() { 7233 var fragment = document.createDocumentFragment(), 7234 div = fragment.appendChild( document.createElement( "div" ) ), 7235 input = document.createElement( "input" ); 7236 7237 // Support: Android 4.0 - 4.3 only 7238 // Check state lost if the name is set (#11217) 7239 // Support: Windows Web Apps (WWA) 7240 // `name` and `type` must use .setAttribute for WWA (#14901) 7241 input.setAttribute( "type", "radio" ); 7242 input.setAttribute( "checked", "checked" ); 7243 input.setAttribute( "name", "t" ); 7244 7245 div.appendChild( input ); 7246 7247 // Support: Android <=4.1 only 7248 // Older WebKit doesn't clone checked state correctly in fragments 7249 support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 7250 7251 // Support: IE <=11 only 7252 // Make sure textarea (and checkbox) defaultValue is properly cloned 7253 div.innerHTML = "<textarea>x</textarea>"; 7254 support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 7255} )(); 7256 7257 7258var 7259 rkeyEvent = /^key/, 7260 rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, 7261 rtypenamespace = /^([^.]*)(?:\.(.+)|)/; 7262 7263function returnTrue() { 7264 return true; 7265} 7266 7267function returnFalse() { 7268 return false; 7269} 7270 7271// Support: IE <=9 - 11+ 7272// focus() and blur() are asynchronous, except when they are no-op. 7273// So expect focus to be synchronous when the element is already active, 7274// and blur to be synchronous when the element is not already active. 7275// (focus and blur are always synchronous in other supported browsers, 7276// this just defines when we can count on it). 7277function expectSync( elem, type ) { 7278 return ( elem === safeActiveElement() ) === ( type === "focus" ); 7279} 7280 7281// Support: IE <=9 only 7282// Accessing document.activeElement can throw unexpectedly 7283// https://bugs.jquery.com/ticket/13393 7284function safeActiveElement() { 7285 try { 7286 return document.activeElement; 7287 } catch ( err ) { } 7288} 7289 7290function on( elem, types, selector, data, fn, one ) { 7291 var origFn, type; 7292 7293 // Types can be a map of types/handlers 7294 if ( typeof types === "object" ) { 7295 7296 // ( types-Object, selector, data ) 7297 if ( typeof selector !== "string" ) { 7298 7299 // ( types-Object, data ) 7300 data = data || selector; 7301 selector = undefined; 7302 } 7303 for ( type in types ) { 7304 on( elem, type, selector, data, types[ type ], one ); 7305 } 7306 return elem; 7307 } 7308 7309 if ( data == null && fn == null ) { 7310 7311 // ( types, fn ) 7312 fn = selector; 7313 data = selector = undefined; 7314 } else if ( fn == null ) { 7315 if ( typeof selector === "string" ) { 7316 7317 // ( types, selector, fn ) 7318 fn = data; 7319 data = undefined; 7320 } else { 7321 7322 // ( types, data, fn ) 7323 fn = data; 7324 data = selector; 7325 selector = undefined; 7326 } 7327 } 7328 if ( fn === false ) { 7329 fn = returnFalse; 7330 } else if ( !fn ) { 7331 return elem; 7332 } 7333 7334 if ( one === 1 ) { 7335 origFn = fn; 7336 fn = function( event ) { 7337 7338 // Can use an empty set, since event contains the info 7339 jQuery().off( event ); 7340 return origFn.apply( this, arguments ); 7341 }; 7342 7343 // Use same guid so caller can remove using origFn 7344 fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); 7345 } 7346 return elem.each( function() { 7347 jQuery.event.add( this, types, fn, data, selector ); 7348 } ); 7349} 7350 7351/* 7352 * Helper functions for managing events -- not part of the public interface. 7353 * Props to Dean Edwards' addEvent library for many of the ideas. 7354 */ 7355jQuery.event = { 7356 7357 global: {}, 7358 7359 add: function( elem, types, handler, data, selector ) { 7360 7361 var handleObjIn, eventHandle, tmp, 7362 events, t, handleObj, 7363 special, handlers, type, namespaces, origType, 7364 elemData = dataPriv.get( elem ); 7365 7366 // Don't attach events to noData or text/comment nodes (but allow plain objects) 7367 if ( !elemData ) { 7368 return; 7369 } 7370 7371 // Caller can pass in an object of custom data in lieu of the handler 7372 if ( handler.handler ) { 7373 handleObjIn = handler; 7374 handler = handleObjIn.handler; 7375 selector = handleObjIn.selector; 7376 } 7377 7378 // Ensure that invalid selectors throw exceptions at attach time 7379 // Evaluate against documentElement in case elem is a non-element node (e.g., document) 7380 if ( selector ) { 7381 jQuery.find.matchesSelector( documentElement, selector ); 7382 } 7383 7384 // Make sure that the handler has a unique ID, used to find/remove it later 7385 if ( !handler.guid ) { 7386 handler.guid = jQuery.guid++; 7387 } 7388 7389 // Init the element's event structure and main handler, if this is the first 7390 if ( !( events = elemData.events ) ) { 7391 events = elemData.events = {}; 7392 } 7393 if ( !( eventHandle = elemData.handle ) ) { 7394 eventHandle = elemData.handle = function( e ) { 7395 7396 // Discard the second event of a jQuery.event.trigger() and 7397 // when an event is called after a page has unloaded 7398 return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? 7399 jQuery.event.dispatch.apply( elem, arguments ) : undefined; 7400 }; 7401 } 7402 7403 // Handle multiple events separated by a space 7404 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 7405 t = types.length; 7406 while ( t-- ) { 7407 tmp = rtypenamespace.exec( types[ t ] ) || []; 7408 type = origType = tmp[ 1 ]; 7409 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 7410 7411 // There *must* be a type, no attaching namespace-only handlers 7412 if ( !type ) { 7413 continue; 7414 } 7415 7416 // If event changes its type, use the special event handlers for the changed type 7417 special = jQuery.event.special[ type ] || {}; 7418 7419 // If selector defined, determine special event api type, otherwise given type 7420 type = ( selector ? special.delegateType : special.bindType ) || type; 7421 7422 // Update special based on newly reset type 7423 special = jQuery.event.special[ type ] || {}; 7424 7425 // handleObj is passed to all event handlers 7426 handleObj = jQuery.extend( { 7427 type: type, 7428 origType: origType, 7429 data: data, 7430 handler: handler, 7431 guid: handler.guid, 7432 selector: selector, 7433 needsContext: selector && jQuery.expr.match.needsContext.test( selector ), 7434 namespace: namespaces.join( "." ) 7435 }, handleObjIn ); 7436 7437 // Init the event handler queue if we're the first 7438 if ( !( handlers = events[ type ] ) ) { 7439 handlers = events[ type ] = []; 7440 handlers.delegateCount = 0; 7441 7442 // Only use addEventListener if the special events handler returns false 7443 if ( !special.setup || 7444 special.setup.call( elem, data, namespaces, eventHandle ) === false ) { 7445 7446 if ( elem.addEventListener ) { 7447 elem.addEventListener( type, eventHandle ); 7448 } 7449 } 7450 } 7451 7452 if ( special.add ) { 7453 special.add.call( elem, handleObj ); 7454 7455 if ( !handleObj.handler.guid ) { 7456 handleObj.handler.guid = handler.guid; 7457 } 7458 } 7459 7460 // Add to the element's handler list, delegates in front 7461 if ( selector ) { 7462 handlers.splice( handlers.delegateCount++, 0, handleObj ); 7463 } else { 7464 handlers.push( handleObj ); 7465 } 7466 7467 // Keep track of which events have ever been used, for event optimization 7468 jQuery.event.global[ type ] = true; 7469 } 7470 7471 }, 7472 7473 // Detach an event or set of events from an element 7474 remove: function( elem, types, handler, selector, mappedTypes ) { 7475 7476 var j, origCount, tmp, 7477 events, t, handleObj, 7478 special, handlers, type, namespaces, origType, 7479 elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); 7480 7481 if ( !elemData || !( events = elemData.events ) ) { 7482 return; 7483 } 7484 7485 // Once for each type.namespace in types; type may be omitted 7486 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 7487 t = types.length; 7488 while ( t-- ) { 7489 tmp = rtypenamespace.exec( types[ t ] ) || []; 7490 type = origType = tmp[ 1 ]; 7491 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 7492 7493 // Unbind all events (on this namespace, if provided) for the element 7494 if ( !type ) { 7495 for ( type in events ) { 7496 jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); 7497 } 7498 continue; 7499 } 7500 7501 special = jQuery.event.special[ type ] || {}; 7502 type = ( selector ? special.delegateType : special.bindType ) || type; 7503 handlers = events[ type ] || []; 7504 tmp = tmp[ 2 ] && 7505 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); 7506 7507 // Remove matching events 7508 origCount = j = handlers.length; 7509 while ( j-- ) { 7510 handleObj = handlers[ j ]; 7511 7512 if ( ( mappedTypes || origType === handleObj.origType ) && 7513 ( !handler || handler.guid === handleObj.guid ) && 7514 ( !tmp || tmp.test( handleObj.namespace ) ) && 7515 ( !selector || selector === handleObj.selector || 7516 selector === "**" && handleObj.selector ) ) { 7517 handlers.splice( j, 1 ); 7518 7519 if ( handleObj.selector ) { 7520 handlers.delegateCount--; 7521 } 7522 if ( special.remove ) { 7523 special.remove.call( elem, handleObj ); 7524 } 7525 } 7526 } 7527 7528 // Remove generic event handler if we removed something and no more handlers exist 7529 // (avoids potential for endless recursion during removal of special event handlers) 7530 if ( origCount && !handlers.length ) { 7531 if ( !special.teardown || 7532 special.teardown.call( elem, namespaces, elemData.handle ) === false ) { 7533 7534 jQuery.removeEvent( elem, type, elemData.handle ); 7535 } 7536 7537 delete events[ type ]; 7538 } 7539 } 7540 7541 // Remove data and the expando if it's no longer used 7542 if ( jQuery.isEmptyObject( events ) ) { 7543 dataPriv.remove( elem, "handle events" ); 7544 } 7545 }, 7546 7547 dispatch: function( nativeEvent ) { 7548 7549 // Make a writable jQuery.Event from the native event object 7550 var event = jQuery.event.fix( nativeEvent ); 7551 7552 var i, j, ret, matched, handleObj, handlerQueue, 7553 args = new Array( arguments.length ), 7554 handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], 7555 special = jQuery.event.special[ event.type ] || {}; 7556 7557 // Use the fix-ed jQuery.Event rather than the (read-only) native event 7558 args[ 0 ] = event; 7559 7560 for ( i = 1; i < arguments.length; i++ ) { 7561 args[ i ] = arguments[ i ]; 7562 } 7563 7564 event.delegateTarget = this; 7565 7566 // Call the preDispatch hook for the mapped type, and let it bail if desired 7567 if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { 7568 return; 7569 } 7570 7571 // Determine handlers 7572 handlerQueue = jQuery.event.handlers.call( this, event, handlers ); 7573 7574 // Run delegates first; they may want to stop propagation beneath us 7575 i = 0; 7576 while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { 7577 event.currentTarget = matched.elem; 7578 7579 j = 0; 7580 while ( ( handleObj = matched.handlers[ j++ ] ) && 7581 !event.isImmediatePropagationStopped() ) { 7582 7583 // If the event is namespaced, then each handler is only invoked if it is 7584 // specially universal or its namespaces are a superset of the event's. 7585 if ( !event.rnamespace || handleObj.namespace === false || 7586 event.rnamespace.test( handleObj.namespace ) ) { 7587 7588 event.handleObj = handleObj; 7589 event.data = handleObj.data; 7590 7591 ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || 7592 handleObj.handler ).apply( matched.elem, args ); 7593 7594 if ( ret !== undefined ) { 7595 if ( ( event.result = ret ) === false ) { 7596 event.preventDefault(); 7597 event.stopPropagation(); 7598 } 7599 } 7600 } 7601 } 7602 } 7603 7604 // Call the postDispatch hook for the mapped type 7605 if ( special.postDispatch ) { 7606 special.postDispatch.call( this, event ); 7607 } 7608 7609 return event.result; 7610 }, 7611 7612 handlers: function( event, handlers ) { 7613 var i, handleObj, sel, matchedHandlers, matchedSelectors, 7614 handlerQueue = [], 7615 delegateCount = handlers.delegateCount, 7616 cur = event.target; 7617 7618 // Find delegate handlers 7619 if ( delegateCount && 7620 7621 // Support: IE <=9 7622 // Black-hole SVG <use> instance trees (trac-13180) 7623 cur.nodeType && 7624 7625 // Support: Firefox <=42 7626 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) 7627 // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click 7628 // Support: IE 11 only 7629 // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) 7630 !( event.type === "click" && event.button >= 1 ) ) { 7631 7632 for ( ; cur !== this; cur = cur.parentNode || this ) { 7633 7634 // Don't check non-elements (#13208) 7635 // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) 7636 if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { 7637 matchedHandlers = []; 7638 matchedSelectors = {}; 7639 for ( i = 0; i < delegateCount; i++ ) { 7640 handleObj = handlers[ i ]; 7641 7642 // Don't conflict with Object.prototype properties (#13203) 7643 sel = handleObj.selector + " "; 7644 7645 if ( matchedSelectors[ sel ] === undefined ) { 7646 matchedSelectors[ sel ] = handleObj.needsContext ? 7647 jQuery( sel, this ).index( cur ) > -1 : 7648 jQuery.find( sel, this, null, [ cur ] ).length; 7649 } 7650 if ( matchedSelectors[ sel ] ) { 7651 matchedHandlers.push( handleObj ); 7652 } 7653 } 7654 if ( matchedHandlers.length ) { 7655 handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); 7656 } 7657 } 7658 } 7659 } 7660 7661 // Add the remaining (directly-bound) handlers 7662 cur = this; 7663 if ( delegateCount < handlers.length ) { 7664 handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); 7665 } 7666 7667 return handlerQueue; 7668 }, 7669 7670 addProp: function( name, hook ) { 7671 Object.defineProperty( jQuery.Event.prototype, name, { 7672 enumerable: true, 7673 configurable: true, 7674 7675 get: isFunction( hook ) ? 7676 function() { 7677 if ( this.originalEvent ) { 7678 return hook( this.originalEvent ); 7679 } 7680 } : 7681 function() { 7682 if ( this.originalEvent ) { 7683 return this.originalEvent[ name ]; 7684 } 7685 }, 7686 7687 set: function( value ) { 7688 Object.defineProperty( this, name, { 7689 enumerable: true, 7690 configurable: true, 7691 writable: true, 7692 value: value 7693 } ); 7694 } 7695 } ); 7696 }, 7697 7698 fix: function( originalEvent ) { 7699 return originalEvent[ jQuery.expando ] ? 7700 originalEvent : 7701 new jQuery.Event( originalEvent ); 7702 }, 7703 7704 special: { 7705 load: { 7706 7707 // Prevent triggered image.load events from bubbling to window.load 7708 noBubble: true 7709 }, 7710 click: { 7711 7712 // Utilize native event to ensure correct state for checkable inputs 7713 setup: function( data ) { 7714 7715 // For mutual compressibility with _default, replace `this` access with a local var. 7716 // `|| data` is dead code meant only to preserve the variable through minification. 7717 var el = this || data; 7718 7719 // Claim the first handler 7720 if ( rcheckableType.test( el.type ) && 7721 el.click && nodeName( el, "input" ) ) { 7722 7723 // dataPriv.set( el, "click", ... ) 7724 leverageNative( el, "click", returnTrue ); 7725 } 7726 7727 // Return false to allow normal processing in the caller 7728 return false; 7729 }, 7730 trigger: function( data ) { 7731 7732 // For mutual compressibility with _default, replace `this` access with a local var. 7733 // `|| data` is dead code meant only to preserve the variable through minification. 7734 var el = this || data; 7735 7736 // Force setup before triggering a click 7737 if ( rcheckableType.test( el.type ) && 7738 el.click && nodeName( el, "input" ) ) { 7739 7740 leverageNative( el, "click" ); 7741 } 7742 7743 // Return non-false to allow normal event-path propagation 7744 return true; 7745 }, 7746 7747 // For cross-browser consistency, suppress native .click() on links 7748 // Also prevent it if we're currently inside a leveraged native-event stack 7749 _default: function( event ) { 7750 var target = event.target; 7751 return rcheckableType.test( target.type ) && 7752 target.click && nodeName( target, "input" ) && 7753 dataPriv.get( target, "click" ) || 7754 nodeName( target, "a" ); 7755 } 7756 }, 7757 7758 beforeunload: { 7759 postDispatch: function( event ) { 7760 7761 // Support: Firefox 20+ 7762 // Firefox doesn't alert if the returnValue field is not set. 7763 if ( event.result !== undefined && event.originalEvent ) { 7764 event.originalEvent.returnValue = event.result; 7765 } 7766 } 7767 } 7768 } 7769}; 7770 7771// Ensure the presence of an event listener that handles manually-triggered 7772// synthetic events by interrupting progress until reinvoked in response to 7773// *native* events that it fires directly, ensuring that state changes have 7774// already occurred before other listeners are invoked. 7775function leverageNative( el, type, expectSync ) { 7776 7777 // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add 7778 if ( !expectSync ) { 7779 if ( dataPriv.get( el, type ) === undefined ) { 7780 jQuery.event.add( el, type, returnTrue ); 7781 } 7782 return; 7783 } 7784 7785 // Register the controller as a special universal handler for all event namespaces 7786 dataPriv.set( el, type, false ); 7787 jQuery.event.add( el, type, { 7788 namespace: false, 7789 handler: function( event ) { 7790 var notAsync, result, 7791 saved = dataPriv.get( this, type ); 7792 7793 if ( ( event.isTrigger & 1 ) && this[ type ] ) { 7794 7795 // Interrupt processing of the outer synthetic .trigger()ed event 7796 // Saved data should be false in such cases, but might be a leftover capture object 7797 // from an async native handler (gh-4350) 7798 if ( !saved.length ) { 7799 7800 // Store arguments for use when handling the inner native event 7801 // There will always be at least one argument (an event object), so this array 7802 // will not be confused with a leftover capture object. 7803 saved = slice.call( arguments ); 7804 dataPriv.set( this, type, saved ); 7805 7806 // Trigger the native event and capture its result 7807 // Support: IE <=9 - 11+ 7808 // focus() and blur() are asynchronous 7809 notAsync = expectSync( this, type ); 7810 this[ type ](); 7811 result = dataPriv.get( this, type ); 7812 if ( saved !== result || notAsync ) { 7813 dataPriv.set( this, type, false ); 7814 } else { 7815 result = {}; 7816 } 7817 if ( saved !== result ) { 7818 7819 // Cancel the outer synthetic event 7820 event.stopImmediatePropagation(); 7821 event.preventDefault(); 7822 return result.value; 7823 } 7824 7825 // If this is an inner synthetic event for an event with a bubbling surrogate 7826 // (focus or blur), assume that the surrogate already propagated from triggering the 7827 // native event and prevent that from happening again here. 7828 // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the 7829 // bubbling surrogate propagates *after* the non-bubbling base), but that seems 7830 // less bad than duplication. 7831 } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { 7832 event.stopPropagation(); 7833 } 7834 7835 // If this is a native event triggered above, everything is now in order 7836 // Fire an inner synthetic event with the original arguments 7837 } else if ( saved.length ) { 7838 7839 // ...and capture the result 7840 dataPriv.set( this, type, { 7841 value: jQuery.event.trigger( 7842 7843 // Support: IE <=9 - 11+ 7844 // Extend with the prototype to reset the above stopImmediatePropagation() 7845 jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), 7846 saved.slice( 1 ), 7847 this 7848 ) 7849 } ); 7850 7851 // Abort handling of the native event 7852 event.stopImmediatePropagation(); 7853 } 7854 } 7855 } ); 7856} 7857 7858jQuery.removeEvent = function( elem, type, handle ) { 7859 7860 // This "if" is needed for plain objects 7861 if ( elem.removeEventListener ) { 7862 elem.removeEventListener( type, handle ); 7863 } 7864}; 7865 7866jQuery.Event = function( src, props ) { 7867 7868 // Allow instantiation without the 'new' keyword 7869 if ( !( this instanceof jQuery.Event ) ) { 7870 return new jQuery.Event( src, props ); 7871 } 7872 7873 // Event object 7874 if ( src && src.type ) { 7875 this.originalEvent = src; 7876 this.type = src.type; 7877 7878 // Events bubbling up the document may have been marked as prevented 7879 // by a handler lower down the tree; reflect the correct value. 7880 this.isDefaultPrevented = src.defaultPrevented || 7881 src.defaultPrevented === undefined && 7882 7883 // Support: Android <=2.3 only 7884 src.returnValue === false ? 7885 returnTrue : 7886 returnFalse; 7887 7888 // Create target properties 7889 // Support: Safari <=6 - 7 only 7890 // Target should not be a text node (#504, #13143) 7891 this.target = ( src.target && src.target.nodeType === 3 ) ? 7892 src.target.parentNode : 7893 src.target; 7894 7895 this.currentTarget = src.currentTarget; 7896 this.relatedTarget = src.relatedTarget; 7897 7898 // Event type 7899 } else { 7900 this.type = src; 7901 } 7902 7903 // Put explicitly provided properties onto the event object 7904 if ( props ) { 7905 jQuery.extend( this, props ); 7906 } 7907 7908 // Create a timestamp if incoming event doesn't have one 7909 this.timeStamp = src && src.timeStamp || Date.now(); 7910 7911 // Mark it as fixed 7912 this[ jQuery.expando ] = true; 7913}; 7914 7915// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding 7916// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html 7917jQuery.Event.prototype = { 7918 constructor: jQuery.Event, 7919 isDefaultPrevented: returnFalse, 7920 isPropagationStopped: returnFalse, 7921 isImmediatePropagationStopped: returnFalse, 7922 isSimulated: false, 7923 7924 preventDefault: function() { 7925 var e = this.originalEvent; 7926 7927 this.isDefaultPrevented = returnTrue; 7928 7929 if ( e && !this.isSimulated ) { 7930 e.preventDefault(); 7931 } 7932 }, 7933 stopPropagation: function() { 7934 var e = this.originalEvent; 7935 7936 this.isPropagationStopped = returnTrue; 7937 7938 if ( e && !this.isSimulated ) { 7939 e.stopPropagation(); 7940 } 7941 }, 7942 stopImmediatePropagation: function() { 7943 var e = this.originalEvent; 7944 7945 this.isImmediatePropagationStopped = returnTrue; 7946 7947 if ( e && !this.isSimulated ) { 7948 e.stopImmediatePropagation(); 7949 } 7950 7951 this.stopPropagation(); 7952 } 7953}; 7954 7955// Includes all common event props including KeyEvent and MouseEvent specific props 7956jQuery.each( { 7957 altKey: true, 7958 bubbles: true, 7959 cancelable: true, 7960 changedTouches: true, 7961 ctrlKey: true, 7962 detail: true, 7963 eventPhase: true, 7964 metaKey: true, 7965 pageX: true, 7966 pageY: true, 7967 shiftKey: true, 7968 view: true, 7969 "char": true, 7970 code: true, 7971 charCode: true, 7972 key: true, 7973 keyCode: true, 7974 button: true, 7975 buttons: true, 7976 clientX: true, 7977 clientY: true, 7978 offsetX: true, 7979 offsetY: true, 7980 pointerId: true, 7981 pointerType: true, 7982 screenX: true, 7983 screenY: true, 7984 targetTouches: true, 7985 toElement: true, 7986 touches: true, 7987 7988 which: function( event ) { 7989 var button = event.button; 7990 7991 // Add which for key events 7992 if ( event.which == null && rkeyEvent.test( event.type ) ) { 7993 return event.charCode != null ? event.charCode : event.keyCode; 7994 } 7995 7996 // Add which for click: 1 === left; 2 === middle; 3 === right 7997 if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { 7998 if ( button & 1 ) { 7999 return 1; 8000 } 8001 8002 if ( button & 2 ) { 8003 return 3; 8004 } 8005 8006 if ( button & 4 ) { 8007 return 2; 8008 } 8009 8010 return 0; 8011 } 8012 8013 return event.which; 8014 } 8015}, jQuery.event.addProp ); 8016 8017jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { 8018 jQuery.event.special[ type ] = { 8019 8020 // Utilize native event if possible so blur/focus sequence is correct 8021 setup: function() { 8022 8023 // Claim the first handler 8024 // dataPriv.set( this, "focus", ... ) 8025 // dataPriv.set( this, "blur", ... ) 8026 leverageNative( this, type, expectSync ); 8027 8028 // Return false to allow normal processing in the caller 8029 return false; 8030 }, 8031 trigger: function() { 8032 8033 // Force setup before trigger 8034 leverageNative( this, type ); 8035 8036 // Return non-false to allow normal event-path propagation 8037 return true; 8038 }, 8039 8040 delegateType: delegateType 8041 }; 8042} ); 8043 8044// Create mouseenter/leave events using mouseover/out and event-time checks 8045// so that event delegation works in jQuery. 8046// Do the same for pointerenter/pointerleave and pointerover/pointerout 8047// 8048// Support: Safari 7 only 8049// Safari sends mouseenter too often; see: 8050// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 8051// for the description of the bug (it existed in older Chrome versions as well). 8052jQuery.each( { 8053 mouseenter: "mouseover", 8054 mouseleave: "mouseout", 8055 pointerenter: "pointerover", 8056 pointerleave: "pointerout" 8057}, function( orig, fix ) { 8058 jQuery.event.special[ orig ] = { 8059 delegateType: fix, 8060 bindType: fix, 8061 8062 handle: function( event ) { 8063 var ret, 8064 target = this, 8065 related = event.relatedTarget, 8066 handleObj = event.handleObj; 8067 8068 // For mouseenter/leave call the handler if related is outside the target. 8069 // NB: No relatedTarget if the mouse left/entered the browser window 8070 if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { 8071 event.type = handleObj.origType; 8072 ret = handleObj.handler.apply( this, arguments ); 8073 event.type = fix; 8074 } 8075 return ret; 8076 } 8077 }; 8078} ); 8079 8080jQuery.fn.extend( { 8081 8082 on: function( types, selector, data, fn ) { 8083 return on( this, types, selector, data, fn ); 8084 }, 8085 one: function( types, selector, data, fn ) { 8086 return on( this, types, selector, data, fn, 1 ); 8087 }, 8088 off: function( types, selector, fn ) { 8089 var handleObj, type; 8090 if ( types && types.preventDefault && types.handleObj ) { 8091 8092 // ( event ) dispatched jQuery.Event 8093 handleObj = types.handleObj; 8094 jQuery( types.delegateTarget ).off( 8095 handleObj.namespace ? 8096 handleObj.origType + "." + handleObj.namespace : 8097 handleObj.origType, 8098 handleObj.selector, 8099 handleObj.handler 8100 ); 8101 return this; 8102 } 8103 if ( typeof types === "object" ) { 8104 8105 // ( types-object [, selector] ) 8106 for ( type in types ) { 8107 this.off( type, selector, types[ type ] ); 8108 } 8109 return this; 8110 } 8111 if ( selector === false || typeof selector === "function" ) { 8112 8113 // ( types [, fn] ) 8114 fn = selector; 8115 selector = undefined; 8116 } 8117 if ( fn === false ) { 8118 fn = returnFalse; 8119 } 8120 return this.each( function() { 8121 jQuery.event.remove( this, types, fn, selector ); 8122 } ); 8123 } 8124} ); 8125 8126 8127var 8128 8129 /* eslint-disable max-len */ 8130 8131 // See https://github.com/eslint/eslint/issues/3229 8132 rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, 8133 8134 /* eslint-enable */ 8135 8136 // Support: IE <=10 - 11, Edge 12 - 13 only 8137 // In IE/Edge using regex groups here causes severe slowdowns. 8138 // See https://connect.microsoft.com/IE/feedback/details/1736512/ 8139 rnoInnerhtml = /<script|<style|<link/i, 8140 8141 // checked="checked" or checked 8142 rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, 8143 rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; 8144 8145// Prefer a tbody over its parent table for containing new rows 8146function manipulationTarget( elem, content ) { 8147 if ( nodeName( elem, "table" ) && 8148 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { 8149 8150 return jQuery( elem ).children( "tbody" )[ 0 ] || elem; 8151 } 8152 8153 return elem; 8154} 8155 8156// Replace/restore the type attribute of script elements for safe DOM manipulation 8157function disableScript( elem ) { 8158 elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; 8159 return elem; 8160} 8161function restoreScript( elem ) { 8162 if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { 8163 elem.type = elem.type.slice( 5 ); 8164 } else { 8165 elem.removeAttribute( "type" ); 8166 } 8167 8168 return elem; 8169} 8170 8171function cloneCopyEvent( src, dest ) { 8172 var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; 8173 8174 if ( dest.nodeType !== 1 ) { 8175 return; 8176 } 8177 8178 // 1. Copy private data: events, handlers, etc. 8179 if ( dataPriv.hasData( src ) ) { 8180 pdataOld = dataPriv.access( src ); 8181 pdataCur = dataPriv.set( dest, pdataOld ); 8182 events = pdataOld.events; 8183 8184 if ( events ) { 8185 delete pdataCur.handle; 8186 pdataCur.events = {}; 8187 8188 for ( type in events ) { 8189 for ( i = 0, l = events[ type ].length; i < l; i++ ) { 8190 jQuery.event.add( dest, type, events[ type ][ i ] ); 8191 } 8192 } 8193 } 8194 } 8195 8196 // 2. Copy user data 8197 if ( dataUser.hasData( src ) ) { 8198 udataOld = dataUser.access( src ); 8199 udataCur = jQuery.extend( {}, udataOld ); 8200 8201 dataUser.set( dest, udataCur ); 8202 } 8203} 8204 8205// Fix IE bugs, see support tests 8206function fixInput( src, dest ) { 8207 var nodeName = dest.nodeName.toLowerCase(); 8208 8209 // Fails to persist the checked state of a cloned checkbox or radio button. 8210 if ( nodeName === "input" && rcheckableType.test( src.type ) ) { 8211 dest.checked = src.checked; 8212 8213 // Fails to return the selected option to the default selected state when cloning options 8214 } else if ( nodeName === "input" || nodeName === "textarea" ) { 8215 dest.defaultValue = src.defaultValue; 8216 } 8217} 8218 8219function domManip( collection, args, callback, ignored ) { 8220 8221 // Flatten any nested arrays 8222 args = concat.apply( [], args ); 8223 8224 var fragment, first, scripts, hasScripts, node, doc, 8225 i = 0, 8226 l = collection.length, 8227 iNoClone = l - 1, 8228 value = args[ 0 ], 8229 valueIsFunction = isFunction( value ); 8230 8231 // We can't cloneNode fragments that contain checked, in WebKit 8232 if ( valueIsFunction || 8233 ( l > 1 && typeof value === "string" && 8234 !support.checkClone && rchecked.test( value ) ) ) { 8235 return collection.each( function( index ) { 8236 var self = collection.eq( index ); 8237 if ( valueIsFunction ) { 8238 args[ 0 ] = value.call( this, index, self.html() ); 8239 } 8240 domManip( self, args, callback, ignored ); 8241 } ); 8242 } 8243 8244 if ( l ) { 8245 fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); 8246 first = fragment.firstChild; 8247 8248 if ( fragment.childNodes.length === 1 ) { 8249 fragment = first; 8250 } 8251 8252 // Require either new content or an interest in ignored elements to invoke the callback 8253 if ( first || ignored ) { 8254 scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); 8255 hasScripts = scripts.length; 8256 8257 // Use the original fragment for the last item 8258 // instead of the first because it can end up 8259 // being emptied incorrectly in certain situations (#8070). 8260 for ( ; i < l; i++ ) { 8261 node = fragment; 8262 8263 if ( i !== iNoClone ) { 8264 node = jQuery.clone( node, true, true ); 8265 8266 // Keep references to cloned scripts for later restoration 8267 if ( hasScripts ) { 8268 8269 // Support: Android <=4.0 only, PhantomJS 1 only 8270 // push.apply(_, arraylike) throws on ancient WebKit 8271 jQuery.merge( scripts, getAll( node, "script" ) ); 8272 } 8273 } 8274 8275 callback.call( collection[ i ], node, i ); 8276 } 8277 8278 if ( hasScripts ) { 8279 doc = scripts[ scripts.length - 1 ].ownerDocument; 8280 8281 // Reenable scripts 8282 jQuery.map( scripts, restoreScript ); 8283 8284 // Evaluate executable scripts on first document insertion 8285 for ( i = 0; i < hasScripts; i++ ) { 8286 node = scripts[ i ]; 8287 if ( rscriptType.test( node.type || "" ) && 8288 !dataPriv.access( node, "globalEval" ) && 8289 jQuery.contains( doc, node ) ) { 8290 8291 if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { 8292 8293 // Optional AJAX dependency, but won't run scripts if not present 8294 if ( jQuery._evalUrl && !node.noModule ) { 8295 jQuery._evalUrl( node.src, { 8296 nonce: node.nonce || node.getAttribute( "nonce" ) 8297 } ); 8298 } 8299 } else { 8300 DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); 8301 } 8302 } 8303 } 8304 } 8305 } 8306 } 8307 8308 return collection; 8309} 8310 8311function remove( elem, selector, keepData ) { 8312 var node, 8313 nodes = selector ? jQuery.filter( selector, elem ) : elem, 8314 i = 0; 8315 8316 for ( ; ( node = nodes[ i ] ) != null; i++ ) { 8317 if ( !keepData && node.nodeType === 1 ) { 8318 jQuery.cleanData( getAll( node ) ); 8319 } 8320 8321 if ( node.parentNode ) { 8322 if ( keepData && isAttached( node ) ) { 8323 setGlobalEval( getAll( node, "script" ) ); 8324 } 8325 node.parentNode.removeChild( node ); 8326 } 8327 } 8328 8329 return elem; 8330} 8331 8332jQuery.extend( { 8333 htmlPrefilter: function( html ) { 8334 return html.replace( rxhtmlTag, "<$1></$2>" ); 8335 }, 8336 8337 clone: function( elem, dataAndEvents, deepDataAndEvents ) { 8338 var i, l, srcElements, destElements, 8339 clone = elem.cloneNode( true ), 8340 inPage = isAttached( elem ); 8341 8342 // Fix IE cloning issues 8343 if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && 8344 !jQuery.isXMLDoc( elem ) ) { 8345 8346 // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 8347 destElements = getAll( clone ); 8348 srcElements = getAll( elem ); 8349 8350 for ( i = 0, l = srcElements.length; i < l; i++ ) { 8351 fixInput( srcElements[ i ], destElements[ i ] ); 8352 } 8353 } 8354 8355 // Copy the events from the original to the clone 8356 if ( dataAndEvents ) { 8357 if ( deepDataAndEvents ) { 8358 srcElements = srcElements || getAll( elem ); 8359 destElements = destElements || getAll( clone ); 8360 8361 for ( i = 0, l = srcElements.length; i < l; i++ ) { 8362 cloneCopyEvent( srcElements[ i ], destElements[ i ] ); 8363 } 8364 } else { 8365 cloneCopyEvent( elem, clone ); 8366 } 8367 } 8368 8369 // Preserve script evaluation history 8370 destElements = getAll( clone, "script" ); 8371 if ( destElements.length > 0 ) { 8372 setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); 8373 } 8374 8375 // Return the cloned set 8376 return clone; 8377 }, 8378 8379 cleanData: function( elems ) { 8380 var data, elem, type, 8381 special = jQuery.event.special, 8382 i = 0; 8383 8384 for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { 8385 if ( acceptData( elem ) ) { 8386 if ( ( data = elem[ dataPriv.expando ] ) ) { 8387 if ( data.events ) { 8388 for ( type in data.events ) { 8389 if ( special[ type ] ) { 8390 jQuery.event.remove( elem, type ); 8391 8392 // This is a shortcut to avoid jQuery.event.remove's overhead 8393 } else { 8394 jQuery.removeEvent( elem, type, data.handle ); 8395 } 8396 } 8397 } 8398 8399 // Support: Chrome <=35 - 45+ 8400 // Assign undefined instead of using delete, see Data#remove 8401 elem[ dataPriv.expando ] = undefined; 8402 } 8403 if ( elem[ dataUser.expando ] ) { 8404 8405 // Support: Chrome <=35 - 45+ 8406 // Assign undefined instead of using delete, see Data#remove 8407 elem[ dataUser.expando ] = undefined; 8408 } 8409 } 8410 } 8411 } 8412} ); 8413 8414jQuery.fn.extend( { 8415 detach: function( selector ) { 8416 return remove( this, selector, true ); 8417 }, 8418 8419 remove: function( selector ) { 8420 return remove( this, selector ); 8421 }, 8422 8423 text: function( value ) { 8424 return access( this, function( value ) { 8425 return value === undefined ? 8426 jQuery.text( this ) : 8427 this.empty().each( function() { 8428 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 8429 this.textContent = value; 8430 } 8431 } ); 8432 }, null, value, arguments.length ); 8433 }, 8434 8435 append: function() { 8436 return domManip( this, arguments, function( elem ) { 8437 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 8438 var target = manipulationTarget( this, elem ); 8439 target.appendChild( elem ); 8440 } 8441 } ); 8442 }, 8443 8444 prepend: function() { 8445 return domManip( this, arguments, function( elem ) { 8446 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 8447 var target = manipulationTarget( this, elem ); 8448 target.insertBefore( elem, target.firstChild ); 8449 } 8450 } ); 8451 }, 8452 8453 before: function() { 8454 return domManip( this, arguments, function( elem ) { 8455 if ( this.parentNode ) { 8456 this.parentNode.insertBefore( elem, this ); 8457 } 8458 } ); 8459 }, 8460 8461 after: function() { 8462 return domManip( this, arguments, function( elem ) { 8463 if ( this.parentNode ) { 8464 this.parentNode.insertBefore( elem, this.nextSibling ); 8465 } 8466 } ); 8467 }, 8468 8469 empty: function() { 8470 var elem, 8471 i = 0; 8472 8473 for ( ; ( elem = this[ i ] ) != null; i++ ) { 8474 if ( elem.nodeType === 1 ) { 8475 8476 // Prevent memory leaks 8477 jQuery.cleanData( getAll( elem, false ) ); 8478 8479 // Remove any remaining nodes 8480 elem.textContent = ""; 8481 } 8482 } 8483 8484 return this; 8485 }, 8486 8487 clone: function( dataAndEvents, deepDataAndEvents ) { 8488 dataAndEvents = dataAndEvents == null ? false : dataAndEvents; 8489 deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; 8490 8491 return this.map( function() { 8492 return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); 8493 } ); 8494 }, 8495 8496 html: function( value ) { 8497 return access( this, function( value ) { 8498 var elem = this[ 0 ] || {}, 8499 i = 0, 8500 l = this.length; 8501 8502 if ( value === undefined && elem.nodeType === 1 ) { 8503 return elem.innerHTML; 8504 } 8505 8506 // See if we can take a shortcut and just use innerHTML 8507 if ( typeof value === "string" && !rnoInnerhtml.test( value ) && 8508 !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { 8509 8510 value = jQuery.htmlPrefilter( value ); 8511 8512 try { 8513 for ( ; i < l; i++ ) { 8514 elem = this[ i ] || {}; 8515 8516 // Remove element nodes and prevent memory leaks 8517 if ( elem.nodeType === 1 ) { 8518 jQuery.cleanData( getAll( elem, false ) ); 8519 elem.innerHTML = value; 8520 } 8521 } 8522 8523 elem = 0; 8524 8525 // If using innerHTML throws an exception, use the fallback method 8526 } catch ( e ) {} 8527 } 8528 8529 if ( elem ) { 8530 this.empty().append( value ); 8531 } 8532 }, null, value, arguments.length ); 8533 }, 8534 8535 replaceWith: function() { 8536 var ignored = []; 8537 8538 // Make the changes, replacing each non-ignored context element with the new content 8539 return domManip( this, arguments, function( elem ) { 8540 var parent = this.parentNode; 8541 8542 if ( jQuery.inArray( this, ignored ) < 0 ) { 8543 jQuery.cleanData( getAll( this ) ); 8544 if ( parent ) { 8545 parent.replaceChild( elem, this ); 8546 } 8547 } 8548 8549 // Force callback invocation 8550 }, ignored ); 8551 } 8552} ); 8553 8554jQuery.each( { 8555 appendTo: "append", 8556 prependTo: "prepend", 8557 insertBefore: "before", 8558 insertAfter: "after", 8559 replaceAll: "replaceWith" 8560}, function( name, original ) { 8561 jQuery.fn[ name ] = function( selector ) { 8562 var elems, 8563 ret = [], 8564 insert = jQuery( selector ), 8565 last = insert.length - 1, 8566 i = 0; 8567 8568 for ( ; i <= last; i++ ) { 8569 elems = i === last ? this : this.clone( true ); 8570 jQuery( insert[ i ] )[ original ]( elems ); 8571 8572 // Support: Android <=4.0 only, PhantomJS 1 only 8573 // .get() because push.apply(_, arraylike) throws on ancient WebKit 8574 push.apply( ret, elems.get() ); 8575 } 8576 8577 return this.pushStack( ret ); 8578 }; 8579} ); 8580var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 8581 8582var getStyles = function( elem ) { 8583 8584 // Support: IE <=11 only, Firefox <=30 (#15098, #14150) 8585 // IE throws on elements created in popups 8586 // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 8587 var view = elem.ownerDocument.defaultView; 8588 8589 if ( !view || !view.opener ) { 8590 view = window; 8591 } 8592 8593 return view.getComputedStyle( elem ); 8594 }; 8595 8596var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); 8597 8598 8599 8600( function() { 8601 8602 // Executing both pixelPosition & boxSizingReliable tests require only one layout 8603 // so they're executed at the same time to save the second computation. 8604 function computeStyleTests() { 8605 8606 // This is a singleton, we need to execute it only once 8607 if ( !div ) { 8608 return; 8609 } 8610 8611 container.style.cssText = "position:absolute;left:-11111px;width:60px;" + 8612 "margin-top:1px;padding:0;border:0"; 8613 div.style.cssText = 8614 "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + 8615 "margin:auto;border:1px;padding:1px;" + 8616 "width:60%;top:1%"; 8617 documentElement.appendChild( container ).appendChild( div ); 8618 8619 var divStyle = window.getComputedStyle( div ); 8620 pixelPositionVal = divStyle.top !== "1%"; 8621 8622 // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 8623 reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; 8624 8625 // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 8626 // Some styles come back with percentage values, even though they shouldn't 8627 div.style.right = "60%"; 8628 pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; 8629 8630 // Support: IE 9 - 11 only 8631 // Detect misreporting of content dimensions for box-sizing:border-box elements 8632 boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; 8633 8634 // Support: IE 9 only 8635 // Detect overflow:scroll screwiness (gh-3699) 8636 // Support: Chrome <=64 8637 // Don't get tricked when zoom affects offsetWidth (gh-4029) 8638 div.style.position = "absolute"; 8639 scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; 8640 8641 documentElement.removeChild( container ); 8642 8643 // Nullify the div so it wouldn't be stored in the memory and 8644 // it will also be a sign that checks already performed 8645 div = null; 8646 } 8647 8648 function roundPixelMeasures( measure ) { 8649 return Math.round( parseFloat( measure ) ); 8650 } 8651 8652 var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, 8653 reliableMarginLeftVal, 8654 container = document.createElement( "div" ), 8655 div = document.createElement( "div" ); 8656 8657 // Finish early in limited (non-browser) environments 8658 if ( !div.style ) { 8659 return; 8660 } 8661 8662 // Support: IE <=9 - 11 only 8663 // Style of cloned element affects source element cloned (#8908) 8664 div.style.backgroundClip = "content-box"; 8665 div.cloneNode( true ).style.backgroundClip = ""; 8666 support.clearCloneStyle = div.style.backgroundClip === "content-box"; 8667 8668 jQuery.extend( support, { 8669 boxSizingReliable: function() { 8670 computeStyleTests(); 8671 return boxSizingReliableVal; 8672 }, 8673 pixelBoxStyles: function() { 8674 computeStyleTests(); 8675 return pixelBoxStylesVal; 8676 }, 8677 pixelPosition: function() { 8678 computeStyleTests(); 8679 return pixelPositionVal; 8680 }, 8681 reliableMarginLeft: function() { 8682 computeStyleTests(); 8683 return reliableMarginLeftVal; 8684 }, 8685 scrollboxSize: function() { 8686 computeStyleTests(); 8687 return scrollboxSizeVal; 8688 } 8689 } ); 8690} )(); 8691 8692 8693function curCSS( elem, name, computed ) { 8694 var width, minWidth, maxWidth, ret, 8695 8696 // Support: Firefox 51+ 8697 // Retrieving style before computed somehow 8698 // fixes an issue with getting wrong values 8699 // on detached elements 8700 style = elem.style; 8701 8702 computed = computed || getStyles( elem ); 8703 8704 // getPropertyValue is needed for: 8705 // .css('filter') (IE 9 only, #12537) 8706 // .css('--customProperty) (#3144) 8707 if ( computed ) { 8708 ret = computed.getPropertyValue( name ) || computed[ name ]; 8709 8710 if ( ret === "" && !isAttached( elem ) ) { 8711 ret = jQuery.style( elem, name ); 8712 } 8713 8714 // A tribute to the "awesome hack by Dean Edwards" 8715 // Android Browser returns percentage for some values, 8716 // but width seems to be reliably pixels. 8717 // This is against the CSSOM draft spec: 8718 // https://drafts.csswg.org/cssom/#resolved-values 8719 if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { 8720 8721 // Remember the original values 8722 width = style.width; 8723 minWidth = style.minWidth; 8724 maxWidth = style.maxWidth; 8725 8726 // Put in the new values to get a computed value out 8727 style.minWidth = style.maxWidth = style.width = ret; 8728 ret = computed.width; 8729 8730 // Revert the changed values 8731 style.width = width; 8732 style.minWidth = minWidth; 8733 style.maxWidth = maxWidth; 8734 } 8735 } 8736 8737 return ret !== undefined ? 8738 8739 // Support: IE <=9 - 11 only 8740 // IE returns zIndex value as an integer. 8741 ret + "" : 8742 ret; 8743} 8744 8745 8746function addGetHookIf( conditionFn, hookFn ) { 8747 8748 // Define the hook, we'll check on the first run if it's really needed. 8749 return { 8750 get: function() { 8751 if ( conditionFn() ) { 8752 8753 // Hook not needed (or it's not possible to use it due 8754 // to missing dependency), remove it. 8755 delete this.get; 8756 return; 8757 } 8758 8759 // Hook needed; redefine it so that the support test is not executed again. 8760 return ( this.get = hookFn ).apply( this, arguments ); 8761 } 8762 }; 8763} 8764 8765 8766var cssPrefixes = [ "Webkit", "Moz", "ms" ], 8767 emptyStyle = document.createElement( "div" ).style, 8768 vendorProps = {}; 8769 8770// Return a vendor-prefixed property or undefined 8771function vendorPropName( name ) { 8772 8773 // Check for vendor prefixed names 8774 var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), 8775 i = cssPrefixes.length; 8776 8777 while ( i-- ) { 8778 name = cssPrefixes[ i ] + capName; 8779 if ( name in emptyStyle ) { 8780 return name; 8781 } 8782 } 8783} 8784 8785// Return a potentially-mapped jQuery.cssProps or vendor prefixed property 8786function finalPropName( name ) { 8787 var final = jQuery.cssProps[ name ] || vendorProps[ name ]; 8788 8789 if ( final ) { 8790 return final; 8791 } 8792 if ( name in emptyStyle ) { 8793 return name; 8794 } 8795 return vendorProps[ name ] = vendorPropName( name ) || name; 8796} 8797 8798 8799var 8800 8801 // Swappable if display is none or starts with table 8802 // except "table", "table-cell", or "table-caption" 8803 // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display 8804 rdisplayswap = /^(none|table(?!-c[ea]).+)/, 8805 rcustomProp = /^--/, 8806 cssShow = { position: "absolute", visibility: "hidden", display: "block" }, 8807 cssNormalTransform = { 8808 letterSpacing: "0", 8809 fontWeight: "400" 8810 }; 8811 8812function setPositiveNumber( elem, value, subtract ) { 8813 8814 // Any relative (+/-) values have already been 8815 // normalized at this point 8816 var matches = rcssNum.exec( value ); 8817 return matches ? 8818 8819 // Guard against undefined "subtract", e.g., when used as in cssHooks 8820 Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : 8821 value; 8822} 8823 8824function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { 8825 var i = dimension === "width" ? 1 : 0, 8826 extra = 0, 8827 delta = 0; 8828 8829 // Adjustment may not be necessary 8830 if ( box === ( isBorderBox ? "border" : "content" ) ) { 8831 return 0; 8832 } 8833 8834 for ( ; i < 4; i += 2 ) { 8835 8836 // Both box models exclude margin 8837 if ( box === "margin" ) { 8838 delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); 8839 } 8840 8841 // If we get here with a content-box, we're seeking "padding" or "border" or "margin" 8842 if ( !isBorderBox ) { 8843 8844 // Add padding 8845 delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 8846 8847 // For "border" or "margin", add border 8848 if ( box !== "padding" ) { 8849 delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 8850 8851 // But still keep track of it otherwise 8852 } else { 8853 extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 8854 } 8855 8856 // If we get here with a border-box (content + padding + border), we're seeking "content" or 8857 // "padding" or "margin" 8858 } else { 8859 8860 // For "content", subtract padding 8861 if ( box === "content" ) { 8862 delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 8863 } 8864 8865 // For "content" or "padding", subtract border 8866 if ( box !== "margin" ) { 8867 delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 8868 } 8869 } 8870 } 8871 8872 // Account for positive content-box scroll gutter when requested by providing computedVal 8873 if ( !isBorderBox && computedVal >= 0 ) { 8874 8875 // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border 8876 // Assuming integer scroll gutter, subtract the rest and round down 8877 delta += Math.max( 0, Math.ceil( 8878 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 8879 computedVal - 8880 delta - 8881 extra - 8882 0.5 8883 8884 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter 8885 // Use an explicit zero to avoid NaN (gh-3964) 8886 ) ) || 0; 8887 } 8888 8889 return delta; 8890} 8891 8892function getWidthOrHeight( elem, dimension, extra ) { 8893 8894 // Start with computed style 8895 var styles = getStyles( elem ), 8896 8897 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). 8898 // Fake content-box until we know it's needed to know the true value. 8899 boxSizingNeeded = !support.boxSizingReliable() || extra, 8900 isBorderBox = boxSizingNeeded && 8901 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 8902 valueIsBorderBox = isBorderBox, 8903 8904 val = curCSS( elem, dimension, styles ), 8905 offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); 8906 8907 // Support: Firefox <=54 8908 // Return a confounding non-pixel value or feign ignorance, as appropriate. 8909 if ( rnumnonpx.test( val ) ) { 8910 if ( !extra ) { 8911 return val; 8912 } 8913 val = "auto"; 8914 } 8915 8916 8917 // Fall back to offsetWidth/offsetHeight when value is "auto" 8918 // This happens for inline elements with no explicit setting (gh-3571) 8919 // Support: Android <=4.1 - 4.3 only 8920 // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) 8921 // Support: IE 9-11 only 8922 // Also use offsetWidth/offsetHeight for when box sizing is unreliable 8923 // We use getClientRects() to check for hidden/disconnected. 8924 // In those cases, the computed value can be trusted to be border-box 8925 if ( ( !support.boxSizingReliable() && isBorderBox || 8926 val === "auto" || 8927 !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && 8928 elem.getClientRects().length ) { 8929 8930 isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; 8931 8932 // Where available, offsetWidth/offsetHeight approximate border box dimensions. 8933 // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the 8934 // retrieved value as a content box dimension. 8935 valueIsBorderBox = offsetProp in elem; 8936 if ( valueIsBorderBox ) { 8937 val = elem[ offsetProp ]; 8938 } 8939 } 8940 8941 // Normalize "" and auto 8942 val = parseFloat( val ) || 0; 8943 8944 // Adjust for the element's box model 8945 return ( val + 8946 boxModelAdjustment( 8947 elem, 8948 dimension, 8949 extra || ( isBorderBox ? "border" : "content" ), 8950 valueIsBorderBox, 8951 styles, 8952 8953 // Provide the current computed size to request scroll gutter calculation (gh-3589) 8954 val 8955 ) 8956 ) + "px"; 8957} 8958 8959jQuery.extend( { 8960 8961 // Add in style property hooks for overriding the default 8962 // behavior of getting and setting a style property 8963 cssHooks: { 8964 opacity: { 8965 get: function( elem, computed ) { 8966 if ( computed ) { 8967 8968 // We should always get a number back from opacity 8969 var ret = curCSS( elem, "opacity" ); 8970 return ret === "" ? "1" : ret; 8971 } 8972 } 8973 } 8974 }, 8975 8976 // Don't automatically add "px" to these possibly-unitless properties 8977 cssNumber: { 8978 "animationIterationCount": true, 8979 "columnCount": true, 8980 "fillOpacity": true, 8981 "flexGrow": true, 8982 "flexShrink": true, 8983 "fontWeight": true, 8984 "gridArea": true, 8985 "gridColumn": true, 8986 "gridColumnEnd": true, 8987 "gridColumnStart": true, 8988 "gridRow": true, 8989 "gridRowEnd": true, 8990 "gridRowStart": true, 8991 "lineHeight": true, 8992 "opacity": true, 8993 "order": true, 8994 "orphans": true, 8995 "widows": true, 8996 "zIndex": true, 8997 "zoom": true 8998 }, 8999 9000 // Add in properties whose names you wish to fix before 9001 // setting or getting the value 9002 cssProps: {}, 9003 9004 // Get and set the style property on a DOM Node 9005 style: function( elem, name, value, extra ) { 9006 9007 // Don't set styles on text and comment nodes 9008 if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { 9009 return; 9010 } 9011 9012 // Make sure that we're working with the right name 9013 var ret, type, hooks, 9014 origName = camelCase( name ), 9015 isCustomProp = rcustomProp.test( name ), 9016 style = elem.style; 9017 9018 // Make sure that we're working with the right name. We don't 9019 // want to query the value if it is a CSS custom property 9020 // since they are user-defined. 9021 if ( !isCustomProp ) { 9022 name = finalPropName( origName ); 9023 } 9024 9025 // Gets hook for the prefixed version, then unprefixed version 9026 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 9027 9028 // Check if we're setting a value 9029 if ( value !== undefined ) { 9030 type = typeof value; 9031 9032 // Convert "+=" or "-=" to relative numbers (#7345) 9033 if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { 9034 value = adjustCSS( elem, name, ret ); 9035 9036 // Fixes bug #9237 9037 type = "number"; 9038 } 9039 9040 // Make sure that null and NaN values aren't set (#7116) 9041 if ( value == null || value !== value ) { 9042 return; 9043 } 9044 9045 // If a number was passed in, add the unit (except for certain CSS properties) 9046 // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append 9047 // "px" to a few hardcoded values. 9048 if ( type === "number" && !isCustomProp ) { 9049 value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); 9050 } 9051 9052 // background-* props affect original clone's values 9053 if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { 9054 style[ name ] = "inherit"; 9055 } 9056 9057 // If a hook was provided, use that value, otherwise just set the specified value 9058 if ( !hooks || !( "set" in hooks ) || 9059 ( value = hooks.set( elem, value, extra ) ) !== undefined ) { 9060 9061 if ( isCustomProp ) { 9062 style.setProperty( name, value ); 9063 } else { 9064 style[ name ] = value; 9065 } 9066 } 9067 9068 } else { 9069 9070 // If a hook was provided get the non-computed value from there 9071 if ( hooks && "get" in hooks && 9072 ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { 9073 9074 return ret; 9075 } 9076 9077 // Otherwise just get the value from the style object 9078 return style[ name ]; 9079 } 9080 }, 9081 9082 css: function( elem, name, extra, styles ) { 9083 var val, num, hooks, 9084 origName = camelCase( name ), 9085 isCustomProp = rcustomProp.test( name ); 9086 9087 // Make sure that we're working with the right name. We don't 9088 // want to modify the value if it is a CSS custom property 9089 // since they are user-defined. 9090 if ( !isCustomProp ) { 9091 name = finalPropName( origName ); 9092 } 9093 9094 // Try prefixed name followed by the unprefixed name 9095 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 9096 9097 // If a hook was provided get the computed value from there 9098 if ( hooks && "get" in hooks ) { 9099 val = hooks.get( elem, true, extra ); 9100 } 9101 9102 // Otherwise, if a way to get the computed value exists, use that 9103 if ( val === undefined ) { 9104 val = curCSS( elem, name, styles ); 9105 } 9106 9107 // Convert "normal" to computed value 9108 if ( val === "normal" && name in cssNormalTransform ) { 9109 val = cssNormalTransform[ name ]; 9110 } 9111 9112 // Make numeric if forced or a qualifier was provided and val looks numeric 9113 if ( extra === "" || extra ) { 9114 num = parseFloat( val ); 9115 return extra === true || isFinite( num ) ? num || 0 : val; 9116 } 9117 9118 return val; 9119 } 9120} ); 9121 9122jQuery.each( [ "height", "width" ], function( i, dimension ) { 9123 jQuery.cssHooks[ dimension ] = { 9124 get: function( elem, computed, extra ) { 9125 if ( computed ) { 9126 9127 // Certain elements can have dimension info if we invisibly show them 9128 // but it must have a current display style that would benefit 9129 return rdisplayswap.test( jQuery.css( elem, "display" ) ) && 9130 9131 // Support: Safari 8+ 9132 // Table columns in Safari have non-zero offsetWidth & zero 9133 // getBoundingClientRect().width unless display is changed. 9134 // Support: IE <=11 only 9135 // Running getBoundingClientRect on a disconnected node 9136 // in IE throws an error. 9137 ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? 9138 swap( elem, cssShow, function() { 9139 return getWidthOrHeight( elem, dimension, extra ); 9140 } ) : 9141 getWidthOrHeight( elem, dimension, extra ); 9142 } 9143 }, 9144 9145 set: function( elem, value, extra ) { 9146 var matches, 9147 styles = getStyles( elem ), 9148 9149 // Only read styles.position if the test has a chance to fail 9150 // to avoid forcing a reflow. 9151 scrollboxSizeBuggy = !support.scrollboxSize() && 9152 styles.position === "absolute", 9153 9154 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) 9155 boxSizingNeeded = scrollboxSizeBuggy || extra, 9156 isBorderBox = boxSizingNeeded && 9157 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 9158 subtract = extra ? 9159 boxModelAdjustment( 9160 elem, 9161 dimension, 9162 extra, 9163 isBorderBox, 9164 styles 9165 ) : 9166 0; 9167 9168 // Account for unreliable border-box dimensions by comparing offset* to computed and 9169 // faking a content-box to get border and padding (gh-3699) 9170 if ( isBorderBox && scrollboxSizeBuggy ) { 9171 subtract -= Math.ceil( 9172 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 9173 parseFloat( styles[ dimension ] ) - 9174 boxModelAdjustment( elem, dimension, "border", false, styles ) - 9175 0.5 9176 ); 9177 } 9178 9179 // Convert to pixels if value adjustment is needed 9180 if ( subtract && ( matches = rcssNum.exec( value ) ) && 9181 ( matches[ 3 ] || "px" ) !== "px" ) { 9182 9183 elem.style[ dimension ] = value; 9184 value = jQuery.css( elem, dimension ); 9185 } 9186 9187 return setPositiveNumber( elem, value, subtract ); 9188 } 9189 }; 9190} ); 9191 9192jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, 9193 function( elem, computed ) { 9194 if ( computed ) { 9195 return ( parseFloat( curCSS( elem, "marginLeft" ) ) || 9196 elem.getBoundingClientRect().left - 9197 swap( elem, { marginLeft: 0 }, function() { 9198 return elem.getBoundingClientRect().left; 9199 } ) 9200 ) + "px"; 9201 } 9202 } 9203); 9204 9205// These hooks are used by animate to expand properties 9206jQuery.each( { 9207 margin: "", 9208 padding: "", 9209 border: "Width" 9210}, function( prefix, suffix ) { 9211 jQuery.cssHooks[ prefix + suffix ] = { 9212 expand: function( value ) { 9213 var i = 0, 9214 expanded = {}, 9215 9216 // Assumes a single number if not a string 9217 parts = typeof value === "string" ? value.split( " " ) : [ value ]; 9218 9219 for ( ; i < 4; i++ ) { 9220 expanded[ prefix + cssExpand[ i ] + suffix ] = 9221 parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; 9222 } 9223 9224 return expanded; 9225 } 9226 }; 9227 9228 if ( prefix !== "margin" ) { 9229 jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; 9230 } 9231} ); 9232 9233jQuery.fn.extend( { 9234 css: function( name, value ) { 9235 return access( this, function( elem, name, value ) { 9236 var styles, len, 9237 map = {}, 9238 i = 0; 9239 9240 if ( Array.isArray( name ) ) { 9241 styles = getStyles( elem ); 9242 len = name.length; 9243 9244 for ( ; i < len; i++ ) { 9245 map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); 9246 } 9247 9248 return map; 9249 } 9250 9251 return value !== undefined ? 9252 jQuery.style( elem, name, value ) : 9253 jQuery.css( elem, name ); 9254 }, name, value, arguments.length > 1 ); 9255 } 9256} ); 9257 9258 9259function Tween( elem, options, prop, end, easing ) { 9260 return new Tween.prototype.init( elem, options, prop, end, easing ); 9261} 9262jQuery.Tween = Tween; 9263 9264Tween.prototype = { 9265 constructor: Tween, 9266 init: function( elem, options, prop, end, easing, unit ) { 9267 this.elem = elem; 9268 this.prop = prop; 9269 this.easing = easing || jQuery.easing._default; 9270 this.options = options; 9271 this.start = this.now = this.cur(); 9272 this.end = end; 9273 this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); 9274 }, 9275 cur: function() { 9276 var hooks = Tween.propHooks[ this.prop ]; 9277 9278 return hooks && hooks.get ? 9279 hooks.get( this ) : 9280 Tween.propHooks._default.get( this ); 9281 }, 9282 run: function( percent ) { 9283 var eased, 9284 hooks = Tween.propHooks[ this.prop ]; 9285 9286 if ( this.options.duration ) { 9287 this.pos = eased = jQuery.easing[ this.easing ]( 9288 percent, this.options.duration * percent, 0, 1, this.options.duration 9289 ); 9290 } else { 9291 this.pos = eased = percent; 9292 } 9293 this.now = ( this.end - this.start ) * eased + this.start; 9294 9295 if ( this.options.step ) { 9296 this.options.step.call( this.elem, this.now, this ); 9297 } 9298 9299 if ( hooks && hooks.set ) { 9300 hooks.set( this ); 9301 } else { 9302 Tween.propHooks._default.set( this ); 9303 } 9304 return this; 9305 } 9306}; 9307 9308Tween.prototype.init.prototype = Tween.prototype; 9309 9310Tween.propHooks = { 9311 _default: { 9312 get: function( tween ) { 9313 var result; 9314 9315 // Use a property on the element directly when it is not a DOM element, 9316 // or when there is no matching style property that exists. 9317 if ( tween.elem.nodeType !== 1 || 9318 tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { 9319 return tween.elem[ tween.prop ]; 9320 } 9321 9322 // Passing an empty string as a 3rd parameter to .css will automatically 9323 // attempt a parseFloat and fallback to a string if the parse fails. 9324 // Simple values such as "10px" are parsed to Float; 9325 // complex values such as "rotate(1rad)" are returned as-is. 9326 result = jQuery.css( tween.elem, tween.prop, "" ); 9327 9328 // Empty strings, null, undefined and "auto" are converted to 0. 9329 return !result || result === "auto" ? 0 : result; 9330 }, 9331 set: function( tween ) { 9332 9333 // Use step hook for back compat. 9334 // Use cssHook if its there. 9335 // Use .style if available and use plain properties where available. 9336 if ( jQuery.fx.step[ tween.prop ] ) { 9337 jQuery.fx.step[ tween.prop ]( tween ); 9338 } else if ( tween.elem.nodeType === 1 && ( 9339 jQuery.cssHooks[ tween.prop ] || 9340 tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { 9341 jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); 9342 } else { 9343 tween.elem[ tween.prop ] = tween.now; 9344 } 9345 } 9346 } 9347}; 9348 9349// Support: IE <=9 only 9350// Panic based approach to setting things on disconnected nodes 9351Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { 9352 set: function( tween ) { 9353 if ( tween.elem.nodeType && tween.elem.parentNode ) { 9354 tween.elem[ tween.prop ] = tween.now; 9355 } 9356 } 9357}; 9358 9359jQuery.easing = { 9360 linear: function( p ) { 9361 return p; 9362 }, 9363 swing: function( p ) { 9364 return 0.5 - Math.cos( p * Math.PI ) / 2; 9365 }, 9366 _default: "swing" 9367}; 9368 9369jQuery.fx = Tween.prototype.init; 9370 9371// Back compat <1.8 extension point 9372jQuery.fx.step = {}; 9373 9374 9375 9376 9377var 9378 fxNow, inProgress, 9379 rfxtypes = /^(?:toggle|show|hide)$/, 9380 rrun = /queueHooks$/; 9381 9382function schedule() { 9383 if ( inProgress ) { 9384 if ( document.hidden === false && window.requestAnimationFrame ) { 9385 window.requestAnimationFrame( schedule ); 9386 } else { 9387 window.setTimeout( schedule, jQuery.fx.interval ); 9388 } 9389 9390 jQuery.fx.tick(); 9391 } 9392} 9393 9394// Animations created synchronously will run synchronously 9395function createFxNow() { 9396 window.setTimeout( function() { 9397 fxNow = undefined; 9398 } ); 9399 return ( fxNow = Date.now() ); 9400} 9401 9402// Generate parameters to create a standard animation 9403function genFx( type, includeWidth ) { 9404 var which, 9405 i = 0, 9406 attrs = { height: type }; 9407 9408 // If we include width, step value is 1 to do all cssExpand values, 9409 // otherwise step value is 2 to skip over Left and Right 9410 includeWidth = includeWidth ? 1 : 0; 9411 for ( ; i < 4; i += 2 - includeWidth ) { 9412 which = cssExpand[ i ]; 9413 attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; 9414 } 9415 9416 if ( includeWidth ) { 9417 attrs.opacity = attrs.width = type; 9418 } 9419 9420 return attrs; 9421} 9422 9423function createTween( value, prop, animation ) { 9424 var tween, 9425 collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), 9426 index = 0, 9427 length = collection.length; 9428 for ( ; index < length; index++ ) { 9429 if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { 9430 9431 // We're done with this property 9432 return tween; 9433 } 9434 } 9435} 9436 9437function defaultPrefilter( elem, props, opts ) { 9438 var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, 9439 isBox = "width" in props || "height" in props, 9440 anim = this, 9441 orig = {}, 9442 style = elem.style, 9443 hidden = elem.nodeType && isHiddenWithinTree( elem ), 9444 dataShow = dataPriv.get( elem, "fxshow" ); 9445 9446 // Queue-skipping animations hijack the fx hooks 9447 if ( !opts.queue ) { 9448 hooks = jQuery._queueHooks( elem, "fx" ); 9449 if ( hooks.unqueued == null ) { 9450 hooks.unqueued = 0; 9451 oldfire = hooks.empty.fire; 9452 hooks.empty.fire = function() { 9453 if ( !hooks.unqueued ) { 9454 oldfire(); 9455 } 9456 }; 9457 } 9458 hooks.unqueued++; 9459 9460 anim.always( function() { 9461 9462 // Ensure the complete handler is called before this completes 9463 anim.always( function() { 9464 hooks.unqueued--; 9465 if ( !jQuery.queue( elem, "fx" ).length ) { 9466 hooks.empty.fire(); 9467 } 9468 } ); 9469 } ); 9470 } 9471 9472 // Detect show/hide animations 9473 for ( prop in props ) { 9474 value = props[ prop ]; 9475 if ( rfxtypes.test( value ) ) { 9476 delete props[ prop ]; 9477 toggle = toggle || value === "toggle"; 9478 if ( value === ( hidden ? "hide" : "show" ) ) { 9479 9480 // Pretend to be hidden if this is a "show" and 9481 // there is still data from a stopped show/hide 9482 if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { 9483 hidden = true; 9484 9485 // Ignore all other no-op show/hide data 9486 } else { 9487 continue; 9488 } 9489 } 9490 orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); 9491 } 9492 } 9493 9494 // Bail out if this is a no-op like .hide().hide() 9495 propTween = !jQuery.isEmptyObject( props ); 9496 if ( !propTween && jQuery.isEmptyObject( orig ) ) { 9497 return; 9498 } 9499 9500 // Restrict "overflow" and "display" styles during box animations 9501 if ( isBox && elem.nodeType === 1 ) { 9502 9503 // Support: IE <=9 - 11, Edge 12 - 15 9504 // Record all 3 overflow attributes because IE does not infer the shorthand 9505 // from identically-valued overflowX and overflowY and Edge just mirrors 9506 // the overflowX value there. 9507 opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; 9508 9509 // Identify a display type, preferring old show/hide data over the CSS cascade 9510 restoreDisplay = dataShow && dataShow.display; 9511 if ( restoreDisplay == null ) { 9512 restoreDisplay = dataPriv.get( elem, "display" ); 9513 } 9514 display = jQuery.css( elem, "display" ); 9515 if ( display === "none" ) { 9516 if ( restoreDisplay ) { 9517 display = restoreDisplay; 9518 } else { 9519 9520 // Get nonempty value(s) by temporarily forcing visibility 9521 showHide( [ elem ], true ); 9522 restoreDisplay = elem.style.display || restoreDisplay; 9523 display = jQuery.css( elem, "display" ); 9524 showHide( [ elem ] ); 9525 } 9526 } 9527 9528 // Animate inline elements as inline-block 9529 if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { 9530 if ( jQuery.css( elem, "float" ) === "none" ) { 9531 9532 // Restore the original display value at the end of pure show/hide animations 9533 if ( !propTween ) { 9534 anim.done( function() { 9535 style.display = restoreDisplay; 9536 } ); 9537 if ( restoreDisplay == null ) { 9538 display = style.display; 9539 restoreDisplay = display === "none" ? "" : display; 9540 } 9541 } 9542 style.display = "inline-block"; 9543 } 9544 } 9545 } 9546 9547 if ( opts.overflow ) { 9548 style.overflow = "hidden"; 9549 anim.always( function() { 9550 style.overflow = opts.overflow[ 0 ]; 9551 style.overflowX = opts.overflow[ 1 ]; 9552 style.overflowY = opts.overflow[ 2 ]; 9553 } ); 9554 } 9555 9556 // Implement show/hide animations 9557 propTween = false; 9558 for ( prop in orig ) { 9559 9560 // General show/hide setup for this element animation 9561 if ( !propTween ) { 9562 if ( dataShow ) { 9563 if ( "hidden" in dataShow ) { 9564 hidden = dataShow.hidden; 9565 } 9566 } else { 9567 dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); 9568 } 9569 9570 // Store hidden/visible for toggle so `.stop().toggle()` "reverses" 9571 if ( toggle ) { 9572 dataShow.hidden = !hidden; 9573 } 9574 9575 // Show elements before animating them 9576 if ( hidden ) { 9577 showHide( [ elem ], true ); 9578 } 9579 9580 /* eslint-disable no-loop-func */ 9581 9582 anim.done( function() { 9583 9584 /* eslint-enable no-loop-func */ 9585 9586 // The final step of a "hide" animation is actually hiding the element 9587 if ( !hidden ) { 9588 showHide( [ elem ] ); 9589 } 9590 dataPriv.remove( elem, "fxshow" ); 9591 for ( prop in orig ) { 9592 jQuery.style( elem, prop, orig[ prop ] ); 9593 } 9594 } ); 9595 } 9596 9597 // Per-property setup 9598 propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); 9599 if ( !( prop in dataShow ) ) { 9600 dataShow[ prop ] = propTween.start; 9601 if ( hidden ) { 9602 propTween.end = propTween.start; 9603 propTween.start = 0; 9604 } 9605 } 9606 } 9607} 9608 9609function propFilter( props, specialEasing ) { 9610 var index, name, easing, value, hooks; 9611 9612 // camelCase, specialEasing and expand cssHook pass 9613 for ( index in props ) { 9614 name = camelCase( index ); 9615 easing = specialEasing[ name ]; 9616 value = props[ index ]; 9617 if ( Array.isArray( value ) ) { 9618 easing = value[ 1 ]; 9619 value = props[ index ] = value[ 0 ]; 9620 } 9621 9622 if ( index !== name ) { 9623 props[ name ] = value; 9624 delete props[ index ]; 9625 } 9626 9627 hooks = jQuery.cssHooks[ name ]; 9628 if ( hooks && "expand" in hooks ) { 9629 value = hooks.expand( value ); 9630 delete props[ name ]; 9631 9632 // Not quite $.extend, this won't overwrite existing keys. 9633 // Reusing 'index' because we have the correct "name" 9634 for ( index in value ) { 9635 if ( !( index in props ) ) { 9636 props[ index ] = value[ index ]; 9637 specialEasing[ index ] = easing; 9638 } 9639 } 9640 } else { 9641 specialEasing[ name ] = easing; 9642 } 9643 } 9644} 9645 9646function Animation( elem, properties, options ) { 9647 var result, 9648 stopped, 9649 index = 0, 9650 length = Animation.prefilters.length, 9651 deferred = jQuery.Deferred().always( function() { 9652 9653 // Don't match elem in the :animated selector 9654 delete tick.elem; 9655 } ), 9656 tick = function() { 9657 if ( stopped ) { 9658 return false; 9659 } 9660 var currentTime = fxNow || createFxNow(), 9661 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), 9662 9663 // Support: Android 2.3 only 9664 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) 9665 temp = remaining / animation.duration || 0, 9666 percent = 1 - temp, 9667 index = 0, 9668 length = animation.tweens.length; 9669 9670 for ( ; index < length; index++ ) { 9671 animation.tweens[ index ].run( percent ); 9672 } 9673 9674 deferred.notifyWith( elem, [ animation, percent, remaining ] ); 9675 9676 // If there's more to do, yield 9677 if ( percent < 1 && length ) { 9678 return remaining; 9679 } 9680 9681 // If this was an empty animation, synthesize a final progress notification 9682 if ( !length ) { 9683 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 9684 } 9685 9686 // Resolve the animation and report its conclusion 9687 deferred.resolveWith( elem, [ animation ] ); 9688 return false; 9689 }, 9690 animation = deferred.promise( { 9691 elem: elem, 9692 props: jQuery.extend( {}, properties ), 9693 opts: jQuery.extend( true, { 9694 specialEasing: {}, 9695 easing: jQuery.easing._default 9696 }, options ), 9697 originalProperties: properties, 9698 originalOptions: options, 9699 startTime: fxNow || createFxNow(), 9700 duration: options.duration, 9701 tweens: [], 9702 createTween: function( prop, end ) { 9703 var tween = jQuery.Tween( elem, animation.opts, prop, end, 9704 animation.opts.specialEasing[ prop ] || animation.opts.easing ); 9705 animation.tweens.push( tween ); 9706 return tween; 9707 }, 9708 stop: function( gotoEnd ) { 9709 var index = 0, 9710 9711 // If we are going to the end, we want to run all the tweens 9712 // otherwise we skip this part 9713 length = gotoEnd ? animation.tweens.length : 0; 9714 if ( stopped ) { 9715 return this; 9716 } 9717 stopped = true; 9718 for ( ; index < length; index++ ) { 9719 animation.tweens[ index ].run( 1 ); 9720 } 9721 9722 // Resolve when we played the last frame; otherwise, reject 9723 if ( gotoEnd ) { 9724 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 9725 deferred.resolveWith( elem, [ animation, gotoEnd ] ); 9726 } else { 9727 deferred.rejectWith( elem, [ animation, gotoEnd ] ); 9728 } 9729 return this; 9730 } 9731 } ), 9732 props = animation.props; 9733 9734 propFilter( props, animation.opts.specialEasing ); 9735 9736 for ( ; index < length; index++ ) { 9737 result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); 9738 if ( result ) { 9739 if ( isFunction( result.stop ) ) { 9740 jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = 9741 result.stop.bind( result ); 9742 } 9743 return result; 9744 } 9745 } 9746 9747 jQuery.map( props, createTween, animation ); 9748 9749 if ( isFunction( animation.opts.start ) ) { 9750 animation.opts.start.call( elem, animation ); 9751 } 9752 9753 // Attach callbacks from options 9754 animation 9755 .progress( animation.opts.progress ) 9756 .done( animation.opts.done, animation.opts.complete ) 9757 .fail( animation.opts.fail ) 9758 .always( animation.opts.always ); 9759 9760 jQuery.fx.timer( 9761 jQuery.extend( tick, { 9762 elem: elem, 9763 anim: animation, 9764 queue: animation.opts.queue 9765 } ) 9766 ); 9767 9768 return animation; 9769} 9770 9771jQuery.Animation = jQuery.extend( Animation, { 9772 9773 tweeners: { 9774 "*": [ function( prop, value ) { 9775 var tween = this.createTween( prop, value ); 9776 adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); 9777 return tween; 9778 } ] 9779 }, 9780 9781 tweener: function( props, callback ) { 9782 if ( isFunction( props ) ) { 9783 callback = props; 9784 props = [ "*" ]; 9785 } else { 9786 props = props.match( rnothtmlwhite ); 9787 } 9788 9789 var prop, 9790 index = 0, 9791 length = props.length; 9792 9793 for ( ; index < length; index++ ) { 9794 prop = props[ index ]; 9795 Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; 9796 Animation.tweeners[ prop ].unshift( callback ); 9797 } 9798 }, 9799 9800 prefilters: [ defaultPrefilter ], 9801 9802 prefilter: function( callback, prepend ) { 9803 if ( prepend ) { 9804 Animation.prefilters.unshift( callback ); 9805 } else { 9806 Animation.prefilters.push( callback ); 9807 } 9808 } 9809} ); 9810 9811jQuery.speed = function( speed, easing, fn ) { 9812 var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { 9813 complete: fn || !fn && easing || 9814 isFunction( speed ) && speed, 9815 duration: speed, 9816 easing: fn && easing || easing && !isFunction( easing ) && easing 9817 }; 9818 9819 // Go to the end state if fx are off 9820 if ( jQuery.fx.off ) { 9821 opt.duration = 0; 9822 9823 } else { 9824 if ( typeof opt.duration !== "number" ) { 9825 if ( opt.duration in jQuery.fx.speeds ) { 9826 opt.duration = jQuery.fx.speeds[ opt.duration ]; 9827 9828 } else { 9829 opt.duration = jQuery.fx.speeds._default; 9830 } 9831 } 9832 } 9833 9834 // Normalize opt.queue - true/undefined/null -> "fx" 9835 if ( opt.queue == null || opt.queue === true ) { 9836 opt.queue = "fx"; 9837 } 9838 9839 // Queueing 9840 opt.old = opt.complete; 9841 9842 opt.complete = function() { 9843 if ( isFunction( opt.old ) ) { 9844 opt.old.call( this ); 9845 } 9846 9847 if ( opt.queue ) { 9848 jQuery.dequeue( this, opt.queue ); 9849 } 9850 }; 9851 9852 return opt; 9853}; 9854 9855jQuery.fn.extend( { 9856 fadeTo: function( speed, to, easing, callback ) { 9857 9858 // Show any hidden elements after setting opacity to 0 9859 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() 9860 9861 // Animate to the value specified 9862 .end().animate( { opacity: to }, speed, easing, callback ); 9863 }, 9864 animate: function( prop, speed, easing, callback ) { 9865 var empty = jQuery.isEmptyObject( prop ), 9866 optall = jQuery.speed( speed, easing, callback ), 9867 doAnimation = function() { 9868 9869 // Operate on a copy of prop so per-property easing won't be lost 9870 var anim = Animation( this, jQuery.extend( {}, prop ), optall ); 9871 9872 // Empty animations, or finishing resolves immediately 9873 if ( empty || dataPriv.get( this, "finish" ) ) { 9874 anim.stop( true ); 9875 } 9876 }; 9877 doAnimation.finish = doAnimation; 9878 9879 return empty || optall.queue === false ? 9880 this.each( doAnimation ) : 9881 this.queue( optall.queue, doAnimation ); 9882 }, 9883 stop: function( type, clearQueue, gotoEnd ) { 9884 var stopQueue = function( hooks ) { 9885 var stop = hooks.stop; 9886 delete hooks.stop; 9887 stop( gotoEnd ); 9888 }; 9889 9890 if ( typeof type !== "string" ) { 9891 gotoEnd = clearQueue; 9892 clearQueue = type; 9893 type = undefined; 9894 } 9895 if ( clearQueue && type !== false ) { 9896 this.queue( type || "fx", [] ); 9897 } 9898 9899 return this.each( function() { 9900 var dequeue = true, 9901 index = type != null && type + "queueHooks", 9902 timers = jQuery.timers, 9903 data = dataPriv.get( this ); 9904 9905 if ( index ) { 9906 if ( data[ index ] && data[ index ].stop ) { 9907 stopQueue( data[ index ] ); 9908 } 9909 } else { 9910 for ( index in data ) { 9911 if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { 9912 stopQueue( data[ index ] ); 9913 } 9914 } 9915 } 9916 9917 for ( index = timers.length; index--; ) { 9918 if ( timers[ index ].elem === this && 9919 ( type == null || timers[ index ].queue === type ) ) { 9920 9921 timers[ index ].anim.stop( gotoEnd ); 9922 dequeue = false; 9923 timers.splice( index, 1 ); 9924 } 9925 } 9926 9927 // Start the next in the queue if the last step wasn't forced. 9928 // Timers currently will call their complete callbacks, which 9929 // will dequeue but only if they were gotoEnd. 9930 if ( dequeue || !gotoEnd ) { 9931 jQuery.dequeue( this, type ); 9932 } 9933 } ); 9934 }, 9935 finish: function( type ) { 9936 if ( type !== false ) { 9937 type = type || "fx"; 9938 } 9939 return this.each( function() { 9940 var index, 9941 data = dataPriv.get( this ), 9942 queue = data[ type + "queue" ], 9943 hooks = data[ type + "queueHooks" ], 9944 timers = jQuery.timers, 9945 length = queue ? queue.length : 0; 9946 9947 // Enable finishing flag on private data 9948 data.finish = true; 9949 9950 // Empty the queue first 9951 jQuery.queue( this, type, [] ); 9952 9953 if ( hooks && hooks.stop ) { 9954 hooks.stop.call( this, true ); 9955 } 9956 9957 // Look for any active animations, and finish them 9958 for ( index = timers.length; index--; ) { 9959 if ( timers[ index ].elem === this && timers[ index ].queue === type ) { 9960 timers[ index ].anim.stop( true ); 9961 timers.splice( index, 1 ); 9962 } 9963 } 9964 9965 // Look for any animations in the old queue and finish them 9966 for ( index = 0; index < length; index++ ) { 9967 if ( queue[ index ] && queue[ index ].finish ) { 9968 queue[ index ].finish.call( this ); 9969 } 9970 } 9971 9972 // Turn off finishing flag 9973 delete data.finish; 9974 } ); 9975 } 9976} ); 9977 9978jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { 9979 var cssFn = jQuery.fn[ name ]; 9980 jQuery.fn[ name ] = function( speed, easing, callback ) { 9981 return speed == null || typeof speed === "boolean" ? 9982 cssFn.apply( this, arguments ) : 9983 this.animate( genFx( name, true ), speed, easing, callback ); 9984 }; 9985} ); 9986 9987// Generate shortcuts for custom animations 9988jQuery.each( { 9989 slideDown: genFx( "show" ), 9990 slideUp: genFx( "hide" ), 9991 slideToggle: genFx( "toggle" ), 9992 fadeIn: { opacity: "show" }, 9993 fadeOut: { opacity: "hide" }, 9994 fadeToggle: { opacity: "toggle" } 9995}, function( name, props ) { 9996 jQuery.fn[ name ] = function( speed, easing, callback ) { 9997 return this.animate( props, speed, easing, callback ); 9998 }; 9999} ); 10000 10001jQuery.timers = []; 10002jQuery.fx.tick = function() { 10003 var timer, 10004 i = 0, 10005 timers = jQuery.timers; 10006 10007 fxNow = Date.now(); 10008 10009 for ( ; i < timers.length; i++ ) { 10010 timer = timers[ i ]; 10011 10012 // Run the timer and safely remove it when done (allowing for external removal) 10013 if ( !timer() && timers[ i ] === timer ) { 10014 timers.splice( i--, 1 ); 10015 } 10016 } 10017 10018 if ( !timers.length ) { 10019 jQuery.fx.stop(); 10020 } 10021 fxNow = undefined; 10022}; 10023 10024jQuery.fx.timer = function( timer ) { 10025 jQuery.timers.push( timer ); 10026 jQuery.fx.start(); 10027}; 10028 10029jQuery.fx.interval = 13; 10030jQuery.fx.start = function() { 10031 if ( inProgress ) { 10032 return; 10033 } 10034 10035 inProgress = true; 10036 schedule(); 10037}; 10038 10039jQuery.fx.stop = function() { 10040 inProgress = null; 10041}; 10042 10043jQuery.fx.speeds = { 10044 slow: 600, 10045 fast: 200, 10046 10047 // Default speed 10048 _default: 400 10049}; 10050 10051 10052// Based off of the plugin by Clint Helfers, with permission. 10053// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 10054jQuery.fn.delay = function( time, type ) { 10055 time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 10056 type = type || "fx"; 10057 10058 return this.queue( type, function( next, hooks ) { 10059 var timeout = window.setTimeout( next, time ); 10060 hooks.stop = function() { 10061 window.clearTimeout( timeout ); 10062 }; 10063 } ); 10064}; 10065 10066 10067( function() { 10068 var input = document.createElement( "input" ), 10069 select = document.createElement( "select" ), 10070 opt = select.appendChild( document.createElement( "option" ) ); 10071 10072 input.type = "checkbox"; 10073 10074 // Support: Android <=4.3 only 10075 // Default value for a checkbox should be "on" 10076 support.checkOn = input.value !== ""; 10077 10078 // Support: IE <=11 only 10079 // Must access selectedIndex to make default options select 10080 support.optSelected = opt.selected; 10081 10082 // Support: IE <=11 only 10083 // An input loses its value after becoming a radio 10084 input = document.createElement( "input" ); 10085 input.value = "t"; 10086 input.type = "radio"; 10087 support.radioValue = input.value === "t"; 10088} )(); 10089 10090 10091var boolHook, 10092 attrHandle = jQuery.expr.attrHandle; 10093 10094jQuery.fn.extend( { 10095 attr: function( name, value ) { 10096 return access( this, jQuery.attr, name, value, arguments.length > 1 ); 10097 }, 10098 10099 removeAttr: function( name ) { 10100 return this.each( function() { 10101 jQuery.removeAttr( this, name ); 10102 } ); 10103 } 10104} ); 10105 10106jQuery.extend( { 10107 attr: function( elem, name, value ) { 10108 var ret, hooks, 10109 nType = elem.nodeType; 10110 10111 // Don't get/set attributes on text, comment and attribute nodes 10112 if ( nType === 3 || nType === 8 || nType === 2 ) { 10113 return; 10114 } 10115 10116 // Fallback to prop when attributes are not supported 10117 if ( typeof elem.getAttribute === "undefined" ) { 10118 return jQuery.prop( elem, name, value ); 10119 } 10120 10121 // Attribute hooks are determined by the lowercase version 10122 // Grab necessary hook if one is defined 10123 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 10124 hooks = jQuery.attrHooks[ name.toLowerCase() ] || 10125 ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); 10126 } 10127 10128 if ( value !== undefined ) { 10129 if ( value === null ) { 10130 jQuery.removeAttr( elem, name ); 10131 return; 10132 } 10133 10134 if ( hooks && "set" in hooks && 10135 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 10136 return ret; 10137 } 10138 10139 elem.setAttribute( name, value + "" ); 10140 return value; 10141 } 10142 10143 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 10144 return ret; 10145 } 10146 10147 ret = jQuery.find.attr( elem, name ); 10148 10149 // Non-existent attributes return null, we normalize to undefined 10150 return ret == null ? undefined : ret; 10151 }, 10152 10153 attrHooks: { 10154 type: { 10155 set: function( elem, value ) { 10156 if ( !support.radioValue && value === "radio" && 10157 nodeName( elem, "input" ) ) { 10158 var val = elem.value; 10159 elem.setAttribute( "type", value ); 10160 if ( val ) { 10161 elem.value = val; 10162 } 10163 return value; 10164 } 10165 } 10166 } 10167 }, 10168 10169 removeAttr: function( elem, value ) { 10170 var name, 10171 i = 0, 10172 10173 // Attribute names can contain non-HTML whitespace characters 10174 // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 10175 attrNames = value && value.match( rnothtmlwhite ); 10176 10177 if ( attrNames && elem.nodeType === 1 ) { 10178 while ( ( name = attrNames[ i++ ] ) ) { 10179 elem.removeAttribute( name ); 10180 } 10181 } 10182 } 10183} ); 10184 10185// Hooks for boolean attributes 10186boolHook = { 10187 set: function( elem, value, name ) { 10188 if ( value === false ) { 10189 10190 // Remove boolean attributes when set to false 10191 jQuery.removeAttr( elem, name ); 10192 } else { 10193 elem.setAttribute( name, name ); 10194 } 10195 return name; 10196 } 10197}; 10198 10199jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { 10200 var getter = attrHandle[ name ] || jQuery.find.attr; 10201 10202 attrHandle[ name ] = function( elem, name, isXML ) { 10203 var ret, handle, 10204 lowercaseName = name.toLowerCase(); 10205 10206 if ( !isXML ) { 10207 10208 // Avoid an infinite loop by temporarily removing this function from the getter 10209 handle = attrHandle[ lowercaseName ]; 10210 attrHandle[ lowercaseName ] = ret; 10211 ret = getter( elem, name, isXML ) != null ? 10212 lowercaseName : 10213 null; 10214 attrHandle[ lowercaseName ] = handle; 10215 } 10216 return ret; 10217 }; 10218} ); 10219 10220 10221 10222 10223var rfocusable = /^(?:input|select|textarea|button)$/i, 10224 rclickable = /^(?:a|area)$/i; 10225 10226jQuery.fn.extend( { 10227 prop: function( name, value ) { 10228 return access( this, jQuery.prop, name, value, arguments.length > 1 ); 10229 }, 10230 10231 removeProp: function( name ) { 10232 return this.each( function() { 10233 delete this[ jQuery.propFix[ name ] || name ]; 10234 } ); 10235 } 10236} ); 10237 10238jQuery.extend( { 10239 prop: function( elem, name, value ) { 10240 var ret, hooks, 10241 nType = elem.nodeType; 10242 10243 // Don't get/set properties on text, comment and attribute nodes 10244 if ( nType === 3 || nType === 8 || nType === 2 ) { 10245 return; 10246 } 10247 10248 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 10249 10250 // Fix name and attach hooks 10251 name = jQuery.propFix[ name ] || name; 10252 hooks = jQuery.propHooks[ name ]; 10253 } 10254 10255 if ( value !== undefined ) { 10256 if ( hooks && "set" in hooks && 10257 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 10258 return ret; 10259 } 10260 10261 return ( elem[ name ] = value ); 10262 } 10263 10264 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 10265 return ret; 10266 } 10267 10268 return elem[ name ]; 10269 }, 10270 10271 propHooks: { 10272 tabIndex: { 10273 get: function( elem ) { 10274 10275 // Support: IE <=9 - 11 only 10276 // elem.tabIndex doesn't always return the 10277 // correct value when it hasn't been explicitly set 10278 // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ 10279 // Use proper attribute retrieval(#12072) 10280 var tabindex = jQuery.find.attr( elem, "tabindex" ); 10281 10282 if ( tabindex ) { 10283 return parseInt( tabindex, 10 ); 10284 } 10285 10286 if ( 10287 rfocusable.test( elem.nodeName ) || 10288 rclickable.test( elem.nodeName ) && 10289 elem.href 10290 ) { 10291 return 0; 10292 } 10293 10294 return -1; 10295 } 10296 } 10297 }, 10298 10299 propFix: { 10300 "for": "htmlFor", 10301 "class": "className" 10302 } 10303} ); 10304 10305// Support: IE <=11 only 10306// Accessing the selectedIndex property 10307// forces the browser to respect setting selected 10308// on the option 10309// The getter ensures a default option is selected 10310// when in an optgroup 10311// eslint rule "no-unused-expressions" is disabled for this code 10312// since it considers such accessions noop 10313if ( !support.optSelected ) { 10314 jQuery.propHooks.selected = { 10315 get: function( elem ) { 10316 10317 /* eslint no-unused-expressions: "off" */ 10318 10319 var parent = elem.parentNode; 10320 if ( parent && parent.parentNode ) { 10321 parent.parentNode.selectedIndex; 10322 } 10323 return null; 10324 }, 10325 set: function( elem ) { 10326 10327 /* eslint no-unused-expressions: "off" */ 10328 10329 var parent = elem.parentNode; 10330 if ( parent ) { 10331 parent.selectedIndex; 10332 10333 if ( parent.parentNode ) { 10334 parent.parentNode.selectedIndex; 10335 } 10336 } 10337 } 10338 }; 10339} 10340 10341jQuery.each( [ 10342 "tabIndex", 10343 "readOnly", 10344 "maxLength", 10345 "cellSpacing", 10346 "cellPadding", 10347 "rowSpan", 10348 "colSpan", 10349 "useMap", 10350 "frameBorder", 10351 "contentEditable" 10352], function() { 10353 jQuery.propFix[ this.toLowerCase() ] = this; 10354} ); 10355 10356 10357 10358 10359 // Strip and collapse whitespace according to HTML spec 10360 // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace 10361 function stripAndCollapse( value ) { 10362 var tokens = value.match( rnothtmlwhite ) || []; 10363 return tokens.join( " " ); 10364 } 10365 10366 10367function getClass( elem ) { 10368 return elem.getAttribute && elem.getAttribute( "class" ) || ""; 10369} 10370 10371function classesToArray( value ) { 10372 if ( Array.isArray( value ) ) { 10373 return value; 10374 } 10375 if ( typeof value === "string" ) { 10376 return value.match( rnothtmlwhite ) || []; 10377 } 10378 return []; 10379} 10380 10381jQuery.fn.extend( { 10382 addClass: function( value ) { 10383 var classes, elem, cur, curValue, clazz, j, finalValue, 10384 i = 0; 10385 10386 if ( isFunction( value ) ) { 10387 return this.each( function( j ) { 10388 jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); 10389 } ); 10390 } 10391 10392 classes = classesToArray( value ); 10393 10394 if ( classes.length ) { 10395 while ( ( elem = this[ i++ ] ) ) { 10396 curValue = getClass( elem ); 10397 cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 10398 10399 if ( cur ) { 10400 j = 0; 10401 while ( ( clazz = classes[ j++ ] ) ) { 10402 if ( cur.indexOf( " " + clazz + " " ) < 0 ) { 10403 cur += clazz + " "; 10404 } 10405 } 10406 10407 // Only assign if different to avoid unneeded rendering. 10408 finalValue = stripAndCollapse( cur ); 10409 if ( curValue !== finalValue ) { 10410 elem.setAttribute( "class", finalValue ); 10411 } 10412 } 10413 } 10414 } 10415 10416 return this; 10417 }, 10418 10419 removeClass: function( value ) { 10420 var classes, elem, cur, curValue, clazz, j, finalValue, 10421 i = 0; 10422 10423 if ( isFunction( value ) ) { 10424 return this.each( function( j ) { 10425 jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); 10426 } ); 10427 } 10428 10429 if ( !arguments.length ) { 10430 return this.attr( "class", "" ); 10431 } 10432 10433 classes = classesToArray( value ); 10434 10435 if ( classes.length ) { 10436 while ( ( elem = this[ i++ ] ) ) { 10437 curValue = getClass( elem ); 10438 10439 // This expression is here for better compressibility (see addClass) 10440 cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 10441 10442 if ( cur ) { 10443 j = 0; 10444 while ( ( clazz = classes[ j++ ] ) ) { 10445 10446 // Remove *all* instances 10447 while ( cur.indexOf( " " + clazz + " " ) > -1 ) { 10448 cur = cur.replace( " " + clazz + " ", " " ); 10449 } 10450 } 10451 10452 // Only assign if different to avoid unneeded rendering. 10453 finalValue = stripAndCollapse( cur ); 10454 if ( curValue !== finalValue ) { 10455 elem.setAttribute( "class", finalValue ); 10456 } 10457 } 10458 } 10459 } 10460 10461 return this; 10462 }, 10463 10464 toggleClass: function( value, stateVal ) { 10465 var type = typeof value, 10466 isValidValue = type === "string" || Array.isArray( value ); 10467 10468 if ( typeof stateVal === "boolean" && isValidValue ) { 10469 return stateVal ? this.addClass( value ) : this.removeClass( value ); 10470 } 10471 10472 if ( isFunction( value ) ) { 10473 return this.each( function( i ) { 10474 jQuery( this ).toggleClass( 10475 value.call( this, i, getClass( this ), stateVal ), 10476 stateVal 10477 ); 10478 } ); 10479 } 10480 10481 return this.each( function() { 10482 var className, i, self, classNames; 10483 10484 if ( isValidValue ) { 10485 10486 // Toggle individual class names 10487 i = 0; 10488 self = jQuery( this ); 10489 classNames = classesToArray( value ); 10490 10491 while ( ( className = classNames[ i++ ] ) ) { 10492 10493 // Check each className given, space separated list 10494 if ( self.hasClass( className ) ) { 10495 self.removeClass( className ); 10496 } else { 10497 self.addClass( className ); 10498 } 10499 } 10500 10501 // Toggle whole class name 10502 } else if ( value === undefined || type === "boolean" ) { 10503 className = getClass( this ); 10504 if ( className ) { 10505 10506 // Store className if set 10507 dataPriv.set( this, "__className__", className ); 10508 } 10509 10510 // If the element has a class name or if we're passed `false`, 10511 // then remove the whole classname (if there was one, the above saved it). 10512 // Otherwise bring back whatever was previously saved (if anything), 10513 // falling back to the empty string if nothing was stored. 10514 if ( this.setAttribute ) { 10515 this.setAttribute( "class", 10516 className || value === false ? 10517 "" : 10518 dataPriv.get( this, "__className__" ) || "" 10519 ); 10520 } 10521 } 10522 } ); 10523 }, 10524 10525 hasClass: function( selector ) { 10526 var className, elem, 10527 i = 0; 10528 10529 className = " " + selector + " "; 10530 while ( ( elem = this[ i++ ] ) ) { 10531 if ( elem.nodeType === 1 && 10532 ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { 10533 return true; 10534 } 10535 } 10536 10537 return false; 10538 } 10539} ); 10540 10541 10542 10543 10544var rreturn = /\r/g; 10545 10546jQuery.fn.extend( { 10547 val: function( value ) { 10548 var hooks, ret, valueIsFunction, 10549 elem = this[ 0 ]; 10550 10551 if ( !arguments.length ) { 10552 if ( elem ) { 10553 hooks = jQuery.valHooks[ elem.type ] || 10554 jQuery.valHooks[ elem.nodeName.toLowerCase() ]; 10555 10556 if ( hooks && 10557 "get" in hooks && 10558 ( ret = hooks.get( elem, "value" ) ) !== undefined 10559 ) { 10560 return ret; 10561 } 10562 10563 ret = elem.value; 10564 10565 // Handle most common string cases 10566 if ( typeof ret === "string" ) { 10567 return ret.replace( rreturn, "" ); 10568 } 10569 10570 // Handle cases where value is null/undef or number 10571 return ret == null ? "" : ret; 10572 } 10573 10574 return; 10575 } 10576 10577 valueIsFunction = isFunction( value ); 10578 10579 return this.each( function( i ) { 10580 var val; 10581 10582 if ( this.nodeType !== 1 ) { 10583 return; 10584 } 10585 10586 if ( valueIsFunction ) { 10587 val = value.call( this, i, jQuery( this ).val() ); 10588 } else { 10589 val = value; 10590 } 10591 10592 // Treat null/undefined as ""; convert numbers to string 10593 if ( val == null ) { 10594 val = ""; 10595 10596 } else if ( typeof val === "number" ) { 10597 val += ""; 10598 10599 } else if ( Array.isArray( val ) ) { 10600 val = jQuery.map( val, function( value ) { 10601 return value == null ? "" : value + ""; 10602 } ); 10603 } 10604 10605 hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; 10606 10607 // If set returns undefined, fall back to normal setting 10608 if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { 10609 this.value = val; 10610 } 10611 } ); 10612 } 10613} ); 10614 10615jQuery.extend( { 10616 valHooks: { 10617 option: { 10618 get: function( elem ) { 10619 10620 var val = jQuery.find.attr( elem, "value" ); 10621 return val != null ? 10622 val : 10623 10624 // Support: IE <=10 - 11 only 10625 // option.text throws exceptions (#14686, #14858) 10626 // Strip and collapse whitespace 10627 // https://html.spec.whatwg.org/#strip-and-collapse-whitespace 10628 stripAndCollapse( jQuery.text( elem ) ); 10629 } 10630 }, 10631 select: { 10632 get: function( elem ) { 10633 var value, option, i, 10634 options = elem.options, 10635 index = elem.selectedIndex, 10636 one = elem.type === "select-one", 10637 values = one ? null : [], 10638 max = one ? index + 1 : options.length; 10639 10640 if ( index < 0 ) { 10641 i = max; 10642 10643 } else { 10644 i = one ? index : 0; 10645 } 10646 10647 // Loop through all the selected options 10648 for ( ; i < max; i++ ) { 10649 option = options[ i ]; 10650 10651 // Support: IE <=9 only 10652 // IE8-9 doesn't update selected after form reset (#2551) 10653 if ( ( option.selected || i === index ) && 10654 10655 // Don't return options that are disabled or in a disabled optgroup 10656 !option.disabled && 10657 ( !option.parentNode.disabled || 10658 !nodeName( option.parentNode, "optgroup" ) ) ) { 10659 10660 // Get the specific value for the option 10661 value = jQuery( option ).val(); 10662 10663 // We don't need an array for one selects 10664 if ( one ) { 10665 return value; 10666 } 10667 10668 // Multi-Selects return an array 10669 values.push( value ); 10670 } 10671 } 10672 10673 return values; 10674 }, 10675 10676 set: function( elem, value ) { 10677 var optionSet, option, 10678 options = elem.options, 10679 values = jQuery.makeArray( value ), 10680 i = options.length; 10681 10682 while ( i-- ) { 10683 option = options[ i ]; 10684 10685 /* eslint-disable no-cond-assign */ 10686 10687 if ( option.selected = 10688 jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 10689 ) { 10690 optionSet = true; 10691 } 10692 10693 /* eslint-enable no-cond-assign */ 10694 } 10695 10696 // Force browsers to behave consistently when non-matching value is set 10697 if ( !optionSet ) { 10698 elem.selectedIndex = -1; 10699 } 10700 return values; 10701 } 10702 } 10703 } 10704} ); 10705 10706// Radios and checkboxes getter/setter 10707jQuery.each( [ "radio", "checkbox" ], function() { 10708 jQuery.valHooks[ this ] = { 10709 set: function( elem, value ) { 10710 if ( Array.isArray( value ) ) { 10711 return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); 10712 } 10713 } 10714 }; 10715 if ( !support.checkOn ) { 10716 jQuery.valHooks[ this ].get = function( elem ) { 10717 return elem.getAttribute( "value" ) === null ? "on" : elem.value; 10718 }; 10719 } 10720} ); 10721 10722 10723 10724 10725// Return jQuery for attributes-only inclusion 10726 10727 10728support.focusin = "onfocusin" in window; 10729 10730 10731var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, 10732 stopPropagationCallback = function( e ) { 10733 e.stopPropagation(); 10734 }; 10735 10736jQuery.extend( jQuery.event, { 10737 10738 trigger: function( event, data, elem, onlyHandlers ) { 10739 10740 var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, 10741 eventPath = [ elem || document ], 10742 type = hasOwn.call( event, "type" ) ? event.type : event, 10743 namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; 10744 10745 cur = lastElement = tmp = elem = elem || document; 10746 10747 // Don't do events on text and comment nodes 10748 if ( elem.nodeType === 3 || elem.nodeType === 8 ) { 10749 return; 10750 } 10751 10752 // focus/blur morphs to focusin/out; ensure we're not firing them right now 10753 if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { 10754 return; 10755 } 10756 10757 if ( type.indexOf( "." ) > -1 ) { 10758 10759 // Namespaced trigger; create a regexp to match event type in handle() 10760 namespaces = type.split( "." ); 10761 type = namespaces.shift(); 10762 namespaces.sort(); 10763 } 10764 ontype = type.indexOf( ":" ) < 0 && "on" + type; 10765 10766 // Caller can pass in a jQuery.Event object, Object, or just an event type string 10767 event = event[ jQuery.expando ] ? 10768 event : 10769 new jQuery.Event( type, typeof event === "object" && event ); 10770 10771 // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) 10772 event.isTrigger = onlyHandlers ? 2 : 3; 10773 event.namespace = namespaces.join( "." ); 10774 event.rnamespace = event.namespace ? 10775 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : 10776 null; 10777 10778 // Clean up the event in case it is being reused 10779 event.result = undefined; 10780 if ( !event.target ) { 10781 event.target = elem; 10782 } 10783 10784 // Clone any incoming data and prepend the event, creating the handler arg list 10785 data = data == null ? 10786 [ event ] : 10787 jQuery.makeArray( data, [ event ] ); 10788 10789 // Allow special events to draw outside the lines 10790 special = jQuery.event.special[ type ] || {}; 10791 if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { 10792 return; 10793 } 10794 10795 // Determine event propagation path in advance, per W3C events spec (#9951) 10796 // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) 10797 if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { 10798 10799 bubbleType = special.delegateType || type; 10800 if ( !rfocusMorph.test( bubbleType + type ) ) { 10801 cur = cur.parentNode; 10802 } 10803 for ( ; cur; cur = cur.parentNode ) { 10804 eventPath.push( cur ); 10805 tmp = cur; 10806 } 10807 10808 // Only add window if we got to document (e.g., not plain obj or detached DOM) 10809 if ( tmp === ( elem.ownerDocument || document ) ) { 10810 eventPath.push( tmp.defaultView || tmp.parentWindow || window ); 10811 } 10812 } 10813 10814 // Fire handlers on the event path 10815 i = 0; 10816 while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { 10817 lastElement = cur; 10818 event.type = i > 1 ? 10819 bubbleType : 10820 special.bindType || type; 10821 10822 // jQuery handler 10823 handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && 10824 dataPriv.get( cur, "handle" ); 10825 if ( handle ) { 10826 handle.apply( cur, data ); 10827 } 10828 10829 // Native handler 10830 handle = ontype && cur[ ontype ]; 10831 if ( handle && handle.apply && acceptData( cur ) ) { 10832 event.result = handle.apply( cur, data ); 10833 if ( event.result === false ) { 10834 event.preventDefault(); 10835 } 10836 } 10837 } 10838 event.type = type; 10839 10840 // If nobody prevented the default action, do it now 10841 if ( !onlyHandlers && !event.isDefaultPrevented() ) { 10842 10843 if ( ( !special._default || 10844 special._default.apply( eventPath.pop(), data ) === false ) && 10845 acceptData( elem ) ) { 10846 10847 // Call a native DOM method on the target with the same name as the event. 10848 // Don't do default actions on window, that's where global variables be (#6170) 10849 if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { 10850 10851 // Don't re-trigger an onFOO event when we call its FOO() method 10852 tmp = elem[ ontype ]; 10853 10854 if ( tmp ) { 10855 elem[ ontype ] = null; 10856 } 10857 10858 // Prevent re-triggering of the same event, since we already bubbled it above 10859 jQuery.event.triggered = type; 10860 10861 if ( event.isPropagationStopped() ) { 10862 lastElement.addEventListener( type, stopPropagationCallback ); 10863 } 10864 10865 elem[ type ](); 10866 10867 if ( event.isPropagationStopped() ) { 10868 lastElement.removeEventListener( type, stopPropagationCallback ); 10869 } 10870 10871 jQuery.event.triggered = undefined; 10872 10873 if ( tmp ) { 10874 elem[ ontype ] = tmp; 10875 } 10876 } 10877 } 10878 } 10879 10880 return event.result; 10881 }, 10882 10883 // Piggyback on a donor event to simulate a different one 10884 // Used only for `focus(in | out)` events 10885 simulate: function( type, elem, event ) { 10886 var e = jQuery.extend( 10887 new jQuery.Event(), 10888 event, 10889 { 10890 type: type, 10891 isSimulated: true 10892 } 10893 ); 10894 10895 jQuery.event.trigger( e, null, elem ); 10896 } 10897 10898} ); 10899 10900jQuery.fn.extend( { 10901 10902 trigger: function( type, data ) { 10903 return this.each( function() { 10904 jQuery.event.trigger( type, data, this ); 10905 } ); 10906 }, 10907 triggerHandler: function( type, data ) { 10908 var elem = this[ 0 ]; 10909 if ( elem ) { 10910 return jQuery.event.trigger( type, data, elem, true ); 10911 } 10912 } 10913} ); 10914 10915 10916// Support: Firefox <=44 10917// Firefox doesn't have focus(in | out) events 10918// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 10919// 10920// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 10921// focus(in | out) events fire after focus & blur events, 10922// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order 10923// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 10924if ( !support.focusin ) { 10925 jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { 10926 10927 // Attach a single capturing handler on the document while someone wants focusin/focusout 10928 var handler = function( event ) { 10929 jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); 10930 }; 10931 10932 jQuery.event.special[ fix ] = { 10933 setup: function() { 10934 var doc = this.ownerDocument || this, 10935 attaches = dataPriv.access( doc, fix ); 10936 10937 if ( !attaches ) { 10938 doc.addEventListener( orig, handler, true ); 10939 } 10940 dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); 10941 }, 10942 teardown: function() { 10943 var doc = this.ownerDocument || this, 10944 attaches = dataPriv.access( doc, fix ) - 1; 10945 10946 if ( !attaches ) { 10947 doc.removeEventListener( orig, handler, true ); 10948 dataPriv.remove( doc, fix ); 10949 10950 } else { 10951 dataPriv.access( doc, fix, attaches ); 10952 } 10953 } 10954 }; 10955 } ); 10956} 10957var location = window.location; 10958 10959var nonce = Date.now(); 10960 10961var rquery = ( /\?/ ); 10962 10963 10964 10965// Cross-browser xml parsing 10966jQuery.parseXML = function( data ) { 10967 var xml; 10968 if ( !data || typeof data !== "string" ) { 10969 return null; 10970 } 10971 10972 // Support: IE 9 - 11 only 10973 // IE throws on parseFromString with invalid input. 10974 try { 10975 xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 10976 } catch ( e ) { 10977 xml = undefined; 10978 } 10979 10980 if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 10981 jQuery.error( "Invalid XML: " + data ); 10982 } 10983 return xml; 10984}; 10985 10986 10987var 10988 rbracket = /\[\]$/, 10989 rCRLF = /\r?\n/g, 10990 rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, 10991 rsubmittable = /^(?:input|select|textarea|keygen)/i; 10992 10993function buildParams( prefix, obj, traditional, add ) { 10994 var name; 10995 10996 if ( Array.isArray( obj ) ) { 10997 10998 // Serialize array item. 10999 jQuery.each( obj, function( i, v ) { 11000 if ( traditional || rbracket.test( prefix ) ) { 11001 11002 // Treat each array item as a scalar. 11003 add( prefix, v ); 11004 11005 } else { 11006 11007 // Item is non-scalar (array or object), encode its numeric index. 11008 buildParams( 11009 prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", 11010 v, 11011 traditional, 11012 add 11013 ); 11014 } 11015 } ); 11016 11017 } else if ( !traditional && toType( obj ) === "object" ) { 11018 11019 // Serialize object item. 11020 for ( name in obj ) { 11021 buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); 11022 } 11023 11024 } else { 11025 11026 // Serialize scalar item. 11027 add( prefix, obj ); 11028 } 11029} 11030 11031// Serialize an array of form elements or a set of 11032// key/values into a query string 11033jQuery.param = function( a, traditional ) { 11034 var prefix, 11035 s = [], 11036 add = function( key, valueOrFunction ) { 11037 11038 // If value is a function, invoke it and use its return value 11039 var value = isFunction( valueOrFunction ) ? 11040 valueOrFunction() : 11041 valueOrFunction; 11042 11043 s[ s.length ] = encodeURIComponent( key ) + "=" + 11044 encodeURIComponent( value == null ? "" : value ); 11045 }; 11046 11047 if ( a == null ) { 11048 return ""; 11049 } 11050 11051 // If an array was passed in, assume that it is an array of form elements. 11052 if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { 11053 11054 // Serialize the form elements 11055 jQuery.each( a, function() { 11056 add( this.name, this.value ); 11057 } ); 11058 11059 } else { 11060 11061 // If traditional, encode the "old" way (the way 1.3.2 or older 11062 // did it), otherwise encode params recursively. 11063 for ( prefix in a ) { 11064 buildParams( prefix, a[ prefix ], traditional, add ); 11065 } 11066 } 11067 11068 // Return the resulting serialization 11069 return s.join( "&" ); 11070}; 11071 11072jQuery.fn.extend( { 11073 serialize: function() { 11074 return jQuery.param( this.serializeArray() ); 11075 }, 11076 serializeArray: function() { 11077 return this.map( function() { 11078 11079 // Can add propHook for "elements" to filter or add form elements 11080 var elements = jQuery.prop( this, "elements" ); 11081 return elements ? jQuery.makeArray( elements ) : this; 11082 } ) 11083 .filter( function() { 11084 var type = this.type; 11085 11086 // Use .is( ":disabled" ) so that fieldset[disabled] works 11087 return this.name && !jQuery( this ).is( ":disabled" ) && 11088 rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && 11089 ( this.checked || !rcheckableType.test( type ) ); 11090 } ) 11091 .map( function( i, elem ) { 11092 var val = jQuery( this ).val(); 11093 11094 if ( val == null ) { 11095 return null; 11096 } 11097 11098 if ( Array.isArray( val ) ) { 11099 return jQuery.map( val, function( val ) { 11100 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 11101 } ); 11102 } 11103 11104 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 11105 } ).get(); 11106 } 11107} ); 11108 11109 11110var 11111 r20 = /%20/g, 11112 rhash = /#.*$/, 11113 rantiCache = /([?&])_=[^&]*/, 11114 rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, 11115 11116 // #7653, #8125, #8152: local protocol detection 11117 rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, 11118 rnoContent = /^(?:GET|HEAD)$/, 11119 rprotocol = /^\/\//, 11120 11121 /* Prefilters 11122 * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) 11123 * 2) These are called: 11124 * - BEFORE asking for a transport 11125 * - AFTER param serialization (s.data is a string if s.processData is true) 11126 * 3) key is the dataType 11127 * 4) the catchall symbol "*" can be used 11128 * 5) execution will start with transport dataType and THEN continue down to "*" if needed 11129 */ 11130 prefilters = {}, 11131 11132 /* Transports bindings 11133 * 1) key is the dataType 11134 * 2) the catchall symbol "*" can be used 11135 * 3) selection will start with transport dataType and THEN go to "*" if needed 11136 */ 11137 transports = {}, 11138 11139 // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression 11140 allTypes = "*/".concat( "*" ), 11141 11142 // Anchor tag for parsing the document origin 11143 originAnchor = document.createElement( "a" ); 11144 originAnchor.href = location.href; 11145 11146// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport 11147function addToPrefiltersOrTransports( structure ) { 11148 11149 // dataTypeExpression is optional and defaults to "*" 11150 return function( dataTypeExpression, func ) { 11151 11152 if ( typeof dataTypeExpression !== "string" ) { 11153 func = dataTypeExpression; 11154 dataTypeExpression = "*"; 11155 } 11156 11157 var dataType, 11158 i = 0, 11159 dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; 11160 11161 if ( isFunction( func ) ) { 11162 11163 // For each dataType in the dataTypeExpression 11164 while ( ( dataType = dataTypes[ i++ ] ) ) { 11165 11166 // Prepend if requested 11167 if ( dataType[ 0 ] === "+" ) { 11168 dataType = dataType.slice( 1 ) || "*"; 11169 ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); 11170 11171 // Otherwise append 11172 } else { 11173 ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); 11174 } 11175 } 11176 } 11177 }; 11178} 11179 11180// Base inspection function for prefilters and transports 11181function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { 11182 11183 var inspected = {}, 11184 seekingTransport = ( structure === transports ); 11185 11186 function inspect( dataType ) { 11187 var selected; 11188 inspected[ dataType ] = true; 11189 jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { 11190 var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); 11191 if ( typeof dataTypeOrTransport === "string" && 11192 !seekingTransport && !inspected[ dataTypeOrTransport ] ) { 11193 11194 options.dataTypes.unshift( dataTypeOrTransport ); 11195 inspect( dataTypeOrTransport ); 11196 return false; 11197 } else if ( seekingTransport ) { 11198 return !( selected = dataTypeOrTransport ); 11199 } 11200 } ); 11201 return selected; 11202 } 11203 11204 return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); 11205} 11206 11207// A special extend for ajax options 11208// that takes "flat" options (not to be deep extended) 11209// Fixes #9887 11210function ajaxExtend( target, src ) { 11211 var key, deep, 11212 flatOptions = jQuery.ajaxSettings.flatOptions || {}; 11213 11214 for ( key in src ) { 11215 if ( src[ key ] !== undefined ) { 11216 ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; 11217 } 11218 } 11219 if ( deep ) { 11220 jQuery.extend( true, target, deep ); 11221 } 11222 11223 return target; 11224} 11225 11226/* Handles responses to an ajax request: 11227 * - finds the right dataType (mediates between content-type and expected dataType) 11228 * - returns the corresponding response 11229 */ 11230function ajaxHandleResponses( s, jqXHR, responses ) { 11231 11232 var ct, type, finalDataType, firstDataType, 11233 contents = s.contents, 11234 dataTypes = s.dataTypes; 11235 11236 // Remove auto dataType and get content-type in the process 11237 while ( dataTypes[ 0 ] === "*" ) { 11238 dataTypes.shift(); 11239 if ( ct === undefined ) { 11240 ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); 11241 } 11242 } 11243 11244 // Check if we're dealing with a known content-type 11245 if ( ct ) { 11246 for ( type in contents ) { 11247 if ( contents[ type ] && contents[ type ].test( ct ) ) { 11248 dataTypes.unshift( type ); 11249 break; 11250 } 11251 } 11252 } 11253 11254 // Check to see if we have a response for the expected dataType 11255 if ( dataTypes[ 0 ] in responses ) { 11256 finalDataType = dataTypes[ 0 ]; 11257 } else { 11258 11259 // Try convertible dataTypes 11260 for ( type in responses ) { 11261 if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { 11262 finalDataType = type; 11263 break; 11264 } 11265 if ( !firstDataType ) { 11266 firstDataType = type; 11267 } 11268 } 11269 11270 // Or just use first one 11271 finalDataType = finalDataType || firstDataType; 11272 } 11273 11274 // If we found a dataType 11275 // We add the dataType to the list if needed 11276 // and return the corresponding response 11277 if ( finalDataType ) { 11278 if ( finalDataType !== dataTypes[ 0 ] ) { 11279 dataTypes.unshift( finalDataType ); 11280 } 11281 return responses[ finalDataType ]; 11282 } 11283} 11284 11285/* Chain conversions given the request and the original response 11286 * Also sets the responseXXX fields on the jqXHR instance 11287 */ 11288function ajaxConvert( s, response, jqXHR, isSuccess ) { 11289 var conv2, current, conv, tmp, prev, 11290 converters = {}, 11291 11292 // Work with a copy of dataTypes in case we need to modify it for conversion 11293 dataTypes = s.dataTypes.slice(); 11294 11295 // Create converters map with lowercased keys 11296 if ( dataTypes[ 1 ] ) { 11297 for ( conv in s.converters ) { 11298 converters[ conv.toLowerCase() ] = s.converters[ conv ]; 11299 } 11300 } 11301 11302 current = dataTypes.shift(); 11303 11304 // Convert to each sequential dataType 11305 while ( current ) { 11306 11307 if ( s.responseFields[ current ] ) { 11308 jqXHR[ s.responseFields[ current ] ] = response; 11309 } 11310 11311 // Apply the dataFilter if provided 11312 if ( !prev && isSuccess && s.dataFilter ) { 11313 response = s.dataFilter( response, s.dataType ); 11314 } 11315 11316 prev = current; 11317 current = dataTypes.shift(); 11318 11319 if ( current ) { 11320 11321 // There's only work to do if current dataType is non-auto 11322 if ( current === "*" ) { 11323 11324 current = prev; 11325 11326 // Convert response if prev dataType is non-auto and differs from current 11327 } else if ( prev !== "*" && prev !== current ) { 11328 11329 // Seek a direct converter 11330 conv = converters[ prev + " " + current ] || converters[ "* " + current ]; 11331 11332 // If none found, seek a pair 11333 if ( !conv ) { 11334 for ( conv2 in converters ) { 11335 11336 // If conv2 outputs current 11337 tmp = conv2.split( " " ); 11338 if ( tmp[ 1 ] === current ) { 11339 11340 // If prev can be converted to accepted input 11341 conv = converters[ prev + " " + tmp[ 0 ] ] || 11342 converters[ "* " + tmp[ 0 ] ]; 11343 if ( conv ) { 11344 11345 // Condense equivalence converters 11346 if ( conv === true ) { 11347 conv = converters[ conv2 ]; 11348 11349 // Otherwise, insert the intermediate dataType 11350 } else if ( converters[ conv2 ] !== true ) { 11351 current = tmp[ 0 ]; 11352 dataTypes.unshift( tmp[ 1 ] ); 11353 } 11354 break; 11355 } 11356 } 11357 } 11358 } 11359 11360 // Apply converter (if not an equivalence) 11361 if ( conv !== true ) { 11362 11363 // Unless errors are allowed to bubble, catch and return them 11364 if ( conv && s.throws ) { 11365 response = conv( response ); 11366 } else { 11367 try { 11368 response = conv( response ); 11369 } catch ( e ) { 11370 return { 11371 state: "parsererror", 11372 error: conv ? e : "No conversion from " + prev + " to " + current 11373 }; 11374 } 11375 } 11376 } 11377 } 11378 } 11379 } 11380 11381 return { state: "success", data: response }; 11382} 11383 11384jQuery.extend( { 11385 11386 // Counter for holding the number of active queries 11387 active: 0, 11388 11389 // Last-Modified header cache for next request 11390 lastModified: {}, 11391 etag: {}, 11392 11393 ajaxSettings: { 11394 url: location.href, 11395 type: "GET", 11396 isLocal: rlocalProtocol.test( location.protocol ), 11397 global: true, 11398 processData: true, 11399 async: true, 11400 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 11401 11402 /* 11403 timeout: 0, 11404 data: null, 11405 dataType: null, 11406 username: null, 11407 password: null, 11408 cache: null, 11409 throws: false, 11410 traditional: false, 11411 headers: {}, 11412 */ 11413 11414 accepts: { 11415 "*": allTypes, 11416 text: "text/plain", 11417 html: "text/html", 11418 xml: "application/xml, text/xml", 11419 json: "application/json, text/javascript" 11420 }, 11421 11422 contents: { 11423 xml: /\bxml\b/, 11424 html: /\bhtml/, 11425 json: /\bjson\b/ 11426 }, 11427 11428 responseFields: { 11429 xml: "responseXML", 11430 text: "responseText", 11431 json: "responseJSON" 11432 }, 11433 11434 // Data converters 11435 // Keys separate source (or catchall "*") and destination types with a single space 11436 converters: { 11437 11438 // Convert anything to text 11439 "* text": String, 11440 11441 // Text to html (true = no transformation) 11442 "text html": true, 11443 11444 // Evaluate text as a json expression 11445 "text json": JSON.parse, 11446 11447 // Parse text as xml 11448 "text xml": jQuery.parseXML 11449 }, 11450 11451 // For options that shouldn't be deep extended: 11452 // you can add your own custom options here if 11453 // and when you create one that shouldn't be 11454 // deep extended (see ajaxExtend) 11455 flatOptions: { 11456 url: true, 11457 context: true 11458 } 11459 }, 11460 11461 // Creates a full fledged settings object into target 11462 // with both ajaxSettings and settings fields. 11463 // If target is omitted, writes into ajaxSettings. 11464 ajaxSetup: function( target, settings ) { 11465 return settings ? 11466 11467 // Building a settings object 11468 ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : 11469 11470 // Extending ajaxSettings 11471 ajaxExtend( jQuery.ajaxSettings, target ); 11472 }, 11473 11474 ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), 11475 ajaxTransport: addToPrefiltersOrTransports( transports ), 11476 11477 // Main method 11478 ajax: function( url, options ) { 11479 11480 // If url is an object, simulate pre-1.5 signature 11481 if ( typeof url === "object" ) { 11482 options = url; 11483 url = undefined; 11484 } 11485 11486 // Force options to be an object 11487 options = options || {}; 11488 11489 var transport, 11490 11491 // URL without anti-cache param 11492 cacheURL, 11493 11494 // Response headers 11495 responseHeadersString, 11496 responseHeaders, 11497 11498 // timeout handle 11499 timeoutTimer, 11500 11501 // Url cleanup var 11502 urlAnchor, 11503 11504 // Request state (becomes false upon send and true upon completion) 11505 completed, 11506 11507 // To know if global events are to be dispatched 11508 fireGlobals, 11509 11510 // Loop variable 11511 i, 11512 11513 // uncached part of the url 11514 uncached, 11515 11516 // Create the final options object 11517 s = jQuery.ajaxSetup( {}, options ), 11518 11519 // Callbacks context 11520 callbackContext = s.context || s, 11521 11522 // Context for global events is callbackContext if it is a DOM node or jQuery collection 11523 globalEventContext = s.context && 11524 ( callbackContext.nodeType || callbackContext.jquery ) ? 11525 jQuery( callbackContext ) : 11526 jQuery.event, 11527 11528 // Deferreds 11529 deferred = jQuery.Deferred(), 11530 completeDeferred = jQuery.Callbacks( "once memory" ), 11531 11532 // Status-dependent callbacks 11533 statusCode = s.statusCode || {}, 11534 11535 // Headers (they are sent all at once) 11536 requestHeaders = {}, 11537 requestHeadersNames = {}, 11538 11539 // Default abort message 11540 strAbort = "canceled", 11541 11542 // Fake xhr 11543 jqXHR = { 11544 readyState: 0, 11545 11546 // Builds headers hashtable if needed 11547 getResponseHeader: function( key ) { 11548 var match; 11549 if ( completed ) { 11550 if ( !responseHeaders ) { 11551 responseHeaders = {}; 11552 while ( ( match = rheaders.exec( responseHeadersString ) ) ) { 11553 responseHeaders[ match[ 1 ].toLowerCase() + " " ] = 11554 ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) 11555 .concat( match[ 2 ] ); 11556 } 11557 } 11558 match = responseHeaders[ key.toLowerCase() + " " ]; 11559 } 11560 return match == null ? null : match.join( ", " ); 11561 }, 11562 11563 // Raw string 11564 getAllResponseHeaders: function() { 11565 return completed ? responseHeadersString : null; 11566 }, 11567 11568 // Caches the header 11569 setRequestHeader: function( name, value ) { 11570 if ( completed == null ) { 11571 name = requestHeadersNames[ name.toLowerCase() ] = 11572 requestHeadersNames[ name.toLowerCase() ] || name; 11573 requestHeaders[ name ] = value; 11574 } 11575 return this; 11576 }, 11577 11578 // Overrides response content-type header 11579 overrideMimeType: function( type ) { 11580 if ( completed == null ) { 11581 s.mimeType = type; 11582 } 11583 return this; 11584 }, 11585 11586 // Status-dependent callbacks 11587 statusCode: function( map ) { 11588 var code; 11589 if ( map ) { 11590 if ( completed ) { 11591 11592 // Execute the appropriate callbacks 11593 jqXHR.always( map[ jqXHR.status ] ); 11594 } else { 11595 11596 // Lazy-add the new callbacks in a way that preserves old ones 11597 for ( code in map ) { 11598 statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; 11599 } 11600 } 11601 } 11602 return this; 11603 }, 11604 11605 // Cancel the request 11606 abort: function( statusText ) { 11607 var finalText = statusText || strAbort; 11608 if ( transport ) { 11609 transport.abort( finalText ); 11610 } 11611 done( 0, finalText ); 11612 return this; 11613 } 11614 }; 11615 11616 // Attach deferreds 11617 deferred.promise( jqXHR ); 11618 11619 // Add protocol if not provided (prefilters might expect it) 11620 // Handle falsy url in the settings object (#10093: consistency with old signature) 11621 // We also use the url parameter if available 11622 s.url = ( ( url || s.url || location.href ) + "" ) 11623 .replace( rprotocol, location.protocol + "//" ); 11624 11625 // Alias method option to type as per ticket #12004 11626 s.type = options.method || options.type || s.method || s.type; 11627 11628 // Extract dataTypes list 11629 s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; 11630 11631 // A cross-domain request is in order when the origin doesn't match the current origin. 11632 if ( s.crossDomain == null ) { 11633 urlAnchor = document.createElement( "a" ); 11634 11635 // Support: IE <=8 - 11, Edge 12 - 15 11636 // IE throws exception on accessing the href property if url is malformed, 11637 // e.g. http://example.com:80x/ 11638 try { 11639 urlAnchor.href = s.url; 11640 11641 // Support: IE <=8 - 11 only 11642 // Anchor's host property isn't correctly set when s.url is relative 11643 urlAnchor.href = urlAnchor.href; 11644 s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== 11645 urlAnchor.protocol + "//" + urlAnchor.host; 11646 } catch ( e ) { 11647 11648 // If there is an error parsing the URL, assume it is crossDomain, 11649 // it can be rejected by the transport if it is invalid 11650 s.crossDomain = true; 11651 } 11652 } 11653 11654 // Convert data if not already a string 11655 if ( s.data && s.processData && typeof s.data !== "string" ) { 11656 s.data = jQuery.param( s.data, s.traditional ); 11657 } 11658 11659 // Apply prefilters 11660 inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); 11661 11662 // If request was aborted inside a prefilter, stop there 11663 if ( completed ) { 11664 return jqXHR; 11665 } 11666 11667 // We can fire global events as of now if asked to 11668 // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) 11669 fireGlobals = jQuery.event && s.global; 11670 11671 // Watch for a new set of requests 11672 if ( fireGlobals && jQuery.active++ === 0 ) { 11673 jQuery.event.trigger( "ajaxStart" ); 11674 } 11675 11676 // Uppercase the type 11677 s.type = s.type.toUpperCase(); 11678 11679 // Determine if request has content 11680 s.hasContent = !rnoContent.test( s.type ); 11681 11682 // Save the URL in case we're toying with the If-Modified-Since 11683 // and/or If-None-Match header later on 11684 // Remove hash to simplify url manipulation 11685 cacheURL = s.url.replace( rhash, "" ); 11686 11687 // More options handling for requests with no content 11688 if ( !s.hasContent ) { 11689 11690 // Remember the hash so we can put it back 11691 uncached = s.url.slice( cacheURL.length ); 11692 11693 // If data is available and should be processed, append data to url 11694 if ( s.data && ( s.processData || typeof s.data === "string" ) ) { 11695 cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; 11696 11697 // #9682: remove data so that it's not used in an eventual retry 11698 delete s.data; 11699 } 11700 11701 // Add or update anti-cache param if needed 11702 if ( s.cache === false ) { 11703 cacheURL = cacheURL.replace( rantiCache, "$1" ); 11704 uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; 11705 } 11706 11707 // Put hash and anti-cache on the URL that will be requested (gh-1732) 11708 s.url = cacheURL + uncached; 11709 11710 // Change '%20' to '+' if this is encoded form body content (gh-2658) 11711 } else if ( s.data && s.processData && 11712 ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { 11713 s.data = s.data.replace( r20, "+" ); 11714 } 11715 11716 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 11717 if ( s.ifModified ) { 11718 if ( jQuery.lastModified[ cacheURL ] ) { 11719 jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); 11720 } 11721 if ( jQuery.etag[ cacheURL ] ) { 11722 jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); 11723 } 11724 } 11725 11726 // Set the correct header, if data is being sent 11727 if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { 11728 jqXHR.setRequestHeader( "Content-Type", s.contentType ); 11729 } 11730 11731 // Set the Accepts header for the server, depending on the dataType 11732 jqXHR.setRequestHeader( 11733 "Accept", 11734 s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? 11735 s.accepts[ s.dataTypes[ 0 ] ] + 11736 ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : 11737 s.accepts[ "*" ] 11738 ); 11739 11740 // Check for headers option 11741 for ( i in s.headers ) { 11742 jqXHR.setRequestHeader( i, s.headers[ i ] ); 11743 } 11744 11745 // Allow custom headers/mimetypes and early abort 11746 if ( s.beforeSend && 11747 ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { 11748 11749 // Abort if not done already and return 11750 return jqXHR.abort(); 11751 } 11752 11753 // Aborting is no longer a cancellation 11754 strAbort = "abort"; 11755 11756 // Install callbacks on deferreds 11757 completeDeferred.add( s.complete ); 11758 jqXHR.done( s.success ); 11759 jqXHR.fail( s.error ); 11760 11761 // Get transport 11762 transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); 11763 11764 // If no transport, we auto-abort 11765 if ( !transport ) { 11766 done( -1, "No Transport" ); 11767 } else { 11768 jqXHR.readyState = 1; 11769 11770 // Send global event 11771 if ( fireGlobals ) { 11772 globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); 11773 } 11774 11775 // If request was aborted inside ajaxSend, stop there 11776 if ( completed ) { 11777 return jqXHR; 11778 } 11779 11780 // Timeout 11781 if ( s.async && s.timeout > 0 ) { 11782 timeoutTimer = window.setTimeout( function() { 11783 jqXHR.abort( "timeout" ); 11784 }, s.timeout ); 11785 } 11786 11787 try { 11788 completed = false; 11789 transport.send( requestHeaders, done ); 11790 } catch ( e ) { 11791 11792 // Rethrow post-completion exceptions 11793 if ( completed ) { 11794 throw e; 11795 } 11796 11797 // Propagate others as results 11798 done( -1, e ); 11799 } 11800 } 11801 11802 // Callback for when everything is done 11803 function done( status, nativeStatusText, responses, headers ) { 11804 var isSuccess, success, error, response, modified, 11805 statusText = nativeStatusText; 11806 11807 // Ignore repeat invocations 11808 if ( completed ) { 11809 return; 11810 } 11811 11812 completed = true; 11813 11814 // Clear timeout if it exists 11815 if ( timeoutTimer ) { 11816 window.clearTimeout( timeoutTimer ); 11817 } 11818 11819 // Dereference transport for early garbage collection 11820 // (no matter how long the jqXHR object will be used) 11821 transport = undefined; 11822 11823 // Cache response headers 11824 responseHeadersString = headers || ""; 11825 11826 // Set readyState 11827 jqXHR.readyState = status > 0 ? 4 : 0; 11828 11829 // Determine if successful 11830 isSuccess = status >= 200 && status < 300 || status === 304; 11831 11832 // Get response data 11833 if ( responses ) { 11834 response = ajaxHandleResponses( s, jqXHR, responses ); 11835 } 11836 11837 // Convert no matter what (that way responseXXX fields are always set) 11838 response = ajaxConvert( s, response, jqXHR, isSuccess ); 11839 11840 // If successful, handle type chaining 11841 if ( isSuccess ) { 11842 11843 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 11844 if ( s.ifModified ) { 11845 modified = jqXHR.getResponseHeader( "Last-Modified" ); 11846 if ( modified ) { 11847 jQuery.lastModified[ cacheURL ] = modified; 11848 } 11849 modified = jqXHR.getResponseHeader( "etag" ); 11850 if ( modified ) { 11851 jQuery.etag[ cacheURL ] = modified; 11852 } 11853 } 11854 11855 // if no content 11856 if ( status === 204 || s.type === "HEAD" ) { 11857 statusText = "nocontent"; 11858 11859 // if not modified 11860 } else if ( status === 304 ) { 11861 statusText = "notmodified"; 11862 11863 // If we have data, let's convert it 11864 } else { 11865 statusText = response.state; 11866 success = response.data; 11867 error = response.error; 11868 isSuccess = !error; 11869 } 11870 } else { 11871 11872 // Extract error from statusText and normalize for non-aborts 11873 error = statusText; 11874 if ( status || !statusText ) { 11875 statusText = "error"; 11876 if ( status < 0 ) { 11877 status = 0; 11878 } 11879 } 11880 } 11881 11882 // Set data for the fake xhr object 11883 jqXHR.status = status; 11884 jqXHR.statusText = ( nativeStatusText || statusText ) + ""; 11885 11886 // Success/Error 11887 if ( isSuccess ) { 11888 deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); 11889 } else { 11890 deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); 11891 } 11892 11893 // Status-dependent callbacks 11894 jqXHR.statusCode( statusCode ); 11895 statusCode = undefined; 11896 11897 if ( fireGlobals ) { 11898 globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", 11899 [ jqXHR, s, isSuccess ? success : error ] ); 11900 } 11901 11902 // Complete 11903 completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); 11904 11905 if ( fireGlobals ) { 11906 globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); 11907 11908 // Handle the global AJAX counter 11909 if ( !( --jQuery.active ) ) { 11910 jQuery.event.trigger( "ajaxStop" ); 11911 } 11912 } 11913 } 11914 11915 return jqXHR; 11916 }, 11917 11918 getJSON: function( url, data, callback ) { 11919 return jQuery.get( url, data, callback, "json" ); 11920 }, 11921 11922 getScript: function( url, callback ) { 11923 return jQuery.get( url, undefined, callback, "script" ); 11924 } 11925} ); 11926 11927jQuery.each( [ "get", "post" ], function( i, method ) { 11928 jQuery[ method ] = function( url, data, callback, type ) { 11929 11930 // Shift arguments if data argument was omitted 11931 if ( isFunction( data ) ) { 11932 type = type || callback; 11933 callback = data; 11934 data = undefined; 11935 } 11936 11937 // The url can be an options object (which then must have .url) 11938 return jQuery.ajax( jQuery.extend( { 11939 url: url, 11940 type: method, 11941 dataType: type, 11942 data: data, 11943 success: callback 11944 }, jQuery.isPlainObject( url ) && url ) ); 11945 }; 11946} ); 11947 11948 11949jQuery._evalUrl = function( url, options ) { 11950 return jQuery.ajax( { 11951 url: url, 11952 11953 // Make this explicit, since user can override this through ajaxSetup (#11264) 11954 type: "GET", 11955 dataType: "script", 11956 cache: true, 11957 async: false, 11958 global: false, 11959 11960 // Only evaluate the response if it is successful (gh-4126) 11961 // dataFilter is not invoked for failure responses, so using it instead 11962 // of the default converter is kludgy but it works. 11963 converters: { 11964 "text script": function() {} 11965 }, 11966 dataFilter: function( response ) { 11967 jQuery.globalEval( response, options ); 11968 } 11969 } ); 11970}; 11971 11972 11973jQuery.fn.extend( { 11974 wrapAll: function( html ) { 11975 var wrap; 11976 11977 if ( this[ 0 ] ) { 11978 if ( isFunction( html ) ) { 11979 html = html.call( this[ 0 ] ); 11980 } 11981 11982 // The elements to wrap the target around 11983 wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); 11984 11985 if ( this[ 0 ].parentNode ) { 11986 wrap.insertBefore( this[ 0 ] ); 11987 } 11988 11989 wrap.map( function() { 11990 var elem = this; 11991 11992 while ( elem.firstElementChild ) { 11993 elem = elem.firstElementChild; 11994 } 11995 11996 return elem; 11997 } ).append( this ); 11998 } 11999 12000 return this; 12001 }, 12002 12003 wrapInner: function( html ) { 12004 if ( isFunction( html ) ) { 12005 return this.each( function( i ) { 12006 jQuery( this ).wrapInner( html.call( this, i ) ); 12007 } ); 12008 } 12009 12010 return this.each( function() { 12011 var self = jQuery( this ), 12012 contents = self.contents(); 12013 12014 if ( contents.length ) { 12015 contents.wrapAll( html ); 12016 12017 } else { 12018 self.append( html ); 12019 } 12020 } ); 12021 }, 12022 12023 wrap: function( html ) { 12024 var htmlIsFunction = isFunction( html ); 12025 12026 return this.each( function( i ) { 12027 jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); 12028 } ); 12029 }, 12030 12031 unwrap: function( selector ) { 12032 this.parent( selector ).not( "body" ).each( function() { 12033 jQuery( this ).replaceWith( this.childNodes ); 12034 } ); 12035 return this; 12036 } 12037} ); 12038 12039 12040jQuery.expr.pseudos.hidden = function( elem ) { 12041 return !jQuery.expr.pseudos.visible( elem ); 12042}; 12043jQuery.expr.pseudos.visible = function( elem ) { 12044 return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); 12045}; 12046 12047 12048 12049 12050jQuery.ajaxSettings.xhr = function() { 12051 try { 12052 return new window.XMLHttpRequest(); 12053 } catch ( e ) {} 12054}; 12055 12056var xhrSuccessStatus = { 12057 12058 // File protocol always yields status code 0, assume 200 12059 0: 200, 12060 12061 // Support: IE <=9 only 12062 // #1450: sometimes IE returns 1223 when it should be 204 12063 1223: 204 12064 }, 12065 xhrSupported = jQuery.ajaxSettings.xhr(); 12066 12067support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); 12068support.ajax = xhrSupported = !!xhrSupported; 12069 12070jQuery.ajaxTransport( function( options ) { 12071 var callback, errorCallback; 12072 12073 // Cross domain only allowed if supported through XMLHttpRequest 12074 if ( support.cors || xhrSupported && !options.crossDomain ) { 12075 return { 12076 send: function( headers, complete ) { 12077 var i, 12078 xhr = options.xhr(); 12079 12080 xhr.open( 12081 options.type, 12082 options.url, 12083 options.async, 12084 options.username, 12085 options.password 12086 ); 12087 12088 // Apply custom fields if provided 12089 if ( options.xhrFields ) { 12090 for ( i in options.xhrFields ) { 12091 xhr[ i ] = options.xhrFields[ i ]; 12092 } 12093 } 12094 12095 // Override mime type if needed 12096 if ( options.mimeType && xhr.overrideMimeType ) { 12097 xhr.overrideMimeType( options.mimeType ); 12098 } 12099 12100 // X-Requested-With header 12101 // For cross-domain requests, seeing as conditions for a preflight are 12102 // akin to a jigsaw puzzle, we simply never set it to be sure. 12103 // (it can always be set on a per-request basis or even using ajaxSetup) 12104 // For same-domain requests, won't change header if already provided. 12105 if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { 12106 headers[ "X-Requested-With" ] = "XMLHttpRequest"; 12107 } 12108 12109 // Set headers 12110 for ( i in headers ) { 12111 xhr.setRequestHeader( i, headers[ i ] ); 12112 } 12113 12114 // Callback 12115 callback = function( type ) { 12116 return function() { 12117 if ( callback ) { 12118 callback = errorCallback = xhr.onload = 12119 xhr.onerror = xhr.onabort = xhr.ontimeout = 12120 xhr.onreadystatechange = null; 12121 12122 if ( type === "abort" ) { 12123 xhr.abort(); 12124 } else if ( type === "error" ) { 12125 12126 // Support: IE <=9 only 12127 // On a manual native abort, IE9 throws 12128 // errors on any property access that is not readyState 12129 if ( typeof xhr.status !== "number" ) { 12130 complete( 0, "error" ); 12131 } else { 12132 complete( 12133 12134 // File: protocol always yields status 0; see #8605, #14207 12135 xhr.status, 12136 xhr.statusText 12137 ); 12138 } 12139 } else { 12140 complete( 12141 xhrSuccessStatus[ xhr.status ] || xhr.status, 12142 xhr.statusText, 12143 12144 // Support: IE <=9 only 12145 // IE9 has no XHR2 but throws on binary (trac-11426) 12146 // For XHR2 non-text, let the caller handle it (gh-2498) 12147 ( xhr.responseType || "text" ) !== "text" || 12148 typeof xhr.responseText !== "string" ? 12149 { binary: xhr.response } : 12150 { text: xhr.responseText }, 12151 xhr.getAllResponseHeaders() 12152 ); 12153 } 12154 } 12155 }; 12156 }; 12157 12158 // Listen to events 12159 xhr.onload = callback(); 12160 errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); 12161 12162 // Support: IE 9 only 12163 // Use onreadystatechange to replace onabort 12164 // to handle uncaught aborts 12165 if ( xhr.onabort !== undefined ) { 12166 xhr.onabort = errorCallback; 12167 } else { 12168 xhr.onreadystatechange = function() { 12169 12170 // Check readyState before timeout as it changes 12171 if ( xhr.readyState === 4 ) { 12172 12173 // Allow onerror to be called first, 12174 // but that will not handle a native abort 12175 // Also, save errorCallback to a variable 12176 // as xhr.onerror cannot be accessed 12177 window.setTimeout( function() { 12178 if ( callback ) { 12179 errorCallback(); 12180 } 12181 } ); 12182 } 12183 }; 12184 } 12185 12186 // Create the abort callback 12187 callback = callback( "abort" ); 12188 12189 try { 12190 12191 // Do send the request (this may raise an exception) 12192 xhr.send( options.hasContent && options.data || null ); 12193 } catch ( e ) { 12194 12195 // #14683: Only rethrow if this hasn't been notified as an error yet 12196 if ( callback ) { 12197 throw e; 12198 } 12199 } 12200 }, 12201 12202 abort: function() { 12203 if ( callback ) { 12204 callback(); 12205 } 12206 } 12207 }; 12208 } 12209} ); 12210 12211 12212 12213 12214// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) 12215jQuery.ajaxPrefilter( function( s ) { 12216 if ( s.crossDomain ) { 12217 s.contents.script = false; 12218 } 12219} ); 12220 12221// Install script dataType 12222jQuery.ajaxSetup( { 12223 accepts: { 12224 script: "text/javascript, application/javascript, " + 12225 "application/ecmascript, application/x-ecmascript" 12226 }, 12227 contents: { 12228 script: /\b(?:java|ecma)script\b/ 12229 }, 12230 converters: { 12231 "text script": function( text ) { 12232 jQuery.globalEval( text ); 12233 return text; 12234 } 12235 } 12236} ); 12237 12238// Handle cache's special case and crossDomain 12239jQuery.ajaxPrefilter( "script", function( s ) { 12240 if ( s.cache === undefined ) { 12241 s.cache = false; 12242 } 12243 if ( s.crossDomain ) { 12244 s.type = "GET"; 12245 } 12246} ); 12247 12248// Bind script tag hack transport 12249jQuery.ajaxTransport( "script", function( s ) { 12250 12251 // This transport only deals with cross domain or forced-by-attrs requests 12252 if ( s.crossDomain || s.scriptAttrs ) { 12253 var script, callback; 12254 return { 12255 send: function( _, complete ) { 12256 script = jQuery( "<script>" ) 12257 .attr( s.scriptAttrs || {} ) 12258 .prop( { charset: s.scriptCharset, src: s.url } ) 12259 .on( "load error", callback = function( evt ) { 12260 script.remove(); 12261 callback = null; 12262 if ( evt ) { 12263 complete( evt.type === "error" ? 404 : 200, evt.type ); 12264 } 12265 } ); 12266 12267 // Use native DOM manipulation to avoid our domManip AJAX trickery 12268 document.head.appendChild( script[ 0 ] ); 12269 }, 12270 abort: function() { 12271 if ( callback ) { 12272 callback(); 12273 } 12274 } 12275 }; 12276 } 12277} ); 12278 12279 12280 12281 12282var oldCallbacks = [], 12283 rjsonp = /(=)\?(?=&|$)|\?\?/; 12284 12285// Default jsonp settings 12286jQuery.ajaxSetup( { 12287 jsonp: "callback", 12288 jsonpCallback: function() { 12289 var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); 12290 this[ callback ] = true; 12291 return callback; 12292 } 12293} ); 12294 12295// Detect, normalize options and install callbacks for jsonp requests 12296jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { 12297 12298 var callbackName, overwritten, responseContainer, 12299 jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? 12300 "url" : 12301 typeof s.data === "string" && 12302 ( s.contentType || "" ) 12303 .indexOf( "application/x-www-form-urlencoded" ) === 0 && 12304 rjsonp.test( s.data ) && "data" 12305 ); 12306 12307 // Handle iff the expected data type is "jsonp" or we have a parameter to set 12308 if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { 12309 12310 // Get callback name, remembering preexisting value associated with it 12311 callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ? 12312 s.jsonpCallback() : 12313 s.jsonpCallback; 12314 12315 // Insert callback into url or form data 12316 if ( jsonProp ) { 12317 s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); 12318 } else if ( s.jsonp !== false ) { 12319 s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; 12320 } 12321 12322 // Use data converter to retrieve json after script execution 12323 s.converters[ "script json" ] = function() { 12324 if ( !responseContainer ) { 12325 jQuery.error( callbackName + " was not called" ); 12326 } 12327 return responseContainer[ 0 ]; 12328 }; 12329 12330 // Force json dataType 12331 s.dataTypes[ 0 ] = "json"; 12332 12333 // Install callback 12334 overwritten = window[ callbackName ]; 12335 window[ callbackName ] = function() { 12336 responseContainer = arguments; 12337 }; 12338 12339 // Clean-up function (fires after converters) 12340 jqXHR.always( function() { 12341 12342 // If previous value didn't exist - remove it 12343 if ( overwritten === undefined ) { 12344 jQuery( window ).removeProp( callbackName ); 12345 12346 // Otherwise restore preexisting value 12347 } else { 12348 window[ callbackName ] = overwritten; 12349 } 12350 12351 // Save back as free 12352 if ( s[ callbackName ] ) { 12353 12354 // Make sure that re-using the options doesn't screw things around 12355 s.jsonpCallback = originalSettings.jsonpCallback; 12356 12357 // Save the callback name for future use 12358 oldCallbacks.push( callbackName ); 12359 } 12360 12361 // Call if it was a function and we have a response 12362 if ( responseContainer && isFunction( overwritten ) ) { 12363 overwritten( responseContainer[ 0 ] ); 12364 } 12365 12366 responseContainer = overwritten = undefined; 12367 } ); 12368 12369 // Delegate to script 12370 return "script"; 12371 } 12372} ); 12373 12374 12375 12376 12377// Support: Safari 8 only 12378// In Safari 8 documents created via document.implementation.createHTMLDocument 12379// collapse sibling forms: the second one becomes a child of the first one. 12380// Because of that, this security measure has to be disabled in Safari 8. 12381// https://bugs.webkit.org/show_bug.cgi?id=137337 12382support.createHTMLDocument = ( function() { 12383 var body = document.implementation.createHTMLDocument( "" ).body; 12384 body.innerHTML = "<form></form><form></form>"; 12385 return body.childNodes.length === 2; 12386} )(); 12387 12388 12389// Argument "data" should be string of html 12390// context (optional): If specified, the fragment will be created in this context, 12391// defaults to document 12392// keepScripts (optional): If true, will include scripts passed in the html string 12393jQuery.parseHTML = function( data, context, keepScripts ) { 12394 if ( typeof data !== "string" ) { 12395 return []; 12396 } 12397 if ( typeof context === "boolean" ) { 12398 keepScripts = context; 12399 context = false; 12400 } 12401 12402 var base, parsed, scripts; 12403 12404 if ( !context ) { 12405 12406 // Stop scripts or inline event handlers from being executed immediately 12407 // by using document.implementation 12408 if ( support.createHTMLDocument ) { 12409 context = document.implementation.createHTMLDocument( "" ); 12410 12411 // Set the base href for the created document 12412 // so any parsed elements with URLs 12413 // are based on the document's URL (gh-2965) 12414 base = context.createElement( "base" ); 12415 base.href = document.location.href; 12416 context.head.appendChild( base ); 12417 } else { 12418 context = document; 12419 } 12420 } 12421 12422 parsed = rsingleTag.exec( data ); 12423 scripts = !keepScripts && []; 12424 12425 // Single tag 12426 if ( parsed ) { 12427 return [ context.createElement( parsed[ 1 ] ) ]; 12428 } 12429 12430 parsed = buildFragment( [ data ], context, scripts ); 12431 12432 if ( scripts && scripts.length ) { 12433 jQuery( scripts ).remove(); 12434 } 12435 12436 return jQuery.merge( [], parsed.childNodes ); 12437}; 12438 12439 12440/** 12441 * Load a url into a page 12442 */ 12443jQuery.fn.load = function( url, params, callback ) { 12444 var selector, type, response, 12445 self = this, 12446 off = url.indexOf( " " ); 12447 12448 if ( off > -1 ) { 12449 selector = stripAndCollapse( url.slice( off ) ); 12450 url = url.slice( 0, off ); 12451 } 12452 12453 // If it's a function 12454 if ( isFunction( params ) ) { 12455 12456 // We assume that it's the callback 12457 callback = params; 12458 params = undefined; 12459 12460 // Otherwise, build a param string 12461 } else if ( params && typeof params === "object" ) { 12462 type = "POST"; 12463 } 12464 12465 // If we have elements to modify, make the request 12466 if ( self.length > 0 ) { 12467 jQuery.ajax( { 12468 url: url, 12469 12470 // If "type" variable is undefined, then "GET" method will be used. 12471 // Make value of this field explicit since 12472 // user can override it through ajaxSetup method 12473 type: type || "GET", 12474 dataType: "html", 12475 data: params 12476 } ).done( function( responseText ) { 12477 12478 // Save response for use in complete callback 12479 response = arguments; 12480 12481 self.html( selector ? 12482 12483 // If a selector was specified, locate the right elements in a dummy div 12484 // Exclude scripts to avoid IE 'Permission Denied' errors 12485 jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : 12486 12487 // Otherwise use the full result 12488 responseText ); 12489 12490 // If the request succeeds, this function gets "data", "status", "jqXHR" 12491 // but they are ignored because response was set above. 12492 // If it fails, this function gets "jqXHR", "status", "error" 12493 } ).always( callback && function( jqXHR, status ) { 12494 self.each( function() { 12495 callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); 12496 } ); 12497 } ); 12498 } 12499 12500 return this; 12501}; 12502 12503 12504 12505 12506// Attach a bunch of functions for handling common AJAX events 12507jQuery.each( [ 12508 "ajaxStart", 12509 "ajaxStop", 12510 "ajaxComplete", 12511 "ajaxError", 12512 "ajaxSuccess", 12513 "ajaxSend" 12514], function( i, type ) { 12515 jQuery.fn[ type ] = function( fn ) { 12516 return this.on( type, fn ); 12517 }; 12518} ); 12519 12520 12521 12522 12523jQuery.expr.pseudos.animated = function( elem ) { 12524 return jQuery.grep( jQuery.timers, function( fn ) { 12525 return elem === fn.elem; 12526 } ).length; 12527}; 12528 12529 12530 12531 12532jQuery.offset = { 12533 setOffset: function( elem, options, i ) { 12534 var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, 12535 position = jQuery.css( elem, "position" ), 12536 curElem = jQuery( elem ), 12537 props = {}; 12538 12539 // Set position first, in-case top/left are set even on static elem 12540 if ( position === "static" ) { 12541 elem.style.position = "relative"; 12542 } 12543 12544 curOffset = curElem.offset(); 12545 curCSSTop = jQuery.css( elem, "top" ); 12546 curCSSLeft = jQuery.css( elem, "left" ); 12547 calculatePosition = ( position === "absolute" || position === "fixed" ) && 12548 ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; 12549 12550 // Need to be able to calculate position if either 12551 // top or left is auto and position is either absolute or fixed 12552 if ( calculatePosition ) { 12553 curPosition = curElem.position(); 12554 curTop = curPosition.top; 12555 curLeft = curPosition.left; 12556 12557 } else { 12558 curTop = parseFloat( curCSSTop ) || 0; 12559 curLeft = parseFloat( curCSSLeft ) || 0; 12560 } 12561 12562 if ( isFunction( options ) ) { 12563 12564 // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) 12565 options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); 12566 } 12567 12568 if ( options.top != null ) { 12569 props.top = ( options.top - curOffset.top ) + curTop; 12570 } 12571 if ( options.left != null ) { 12572 props.left = ( options.left - curOffset.left ) + curLeft; 12573 } 12574 12575 if ( "using" in options ) { 12576 options.using.call( elem, props ); 12577 12578 } else { 12579 curElem.css( props ); 12580 } 12581 } 12582}; 12583 12584jQuery.fn.extend( { 12585 12586 // offset() relates an element's border box to the document origin 12587 offset: function( options ) { 12588 12589 // Preserve chaining for setter 12590 if ( arguments.length ) { 12591 return options === undefined ? 12592 this : 12593 this.each( function( i ) { 12594 jQuery.offset.setOffset( this, options, i ); 12595 } ); 12596 } 12597 12598 var rect, win, 12599 elem = this[ 0 ]; 12600 12601 if ( !elem ) { 12602 return; 12603 } 12604 12605 // Return zeros for disconnected and hidden (display: none) elements (gh-2310) 12606 // Support: IE <=11 only 12607 // Running getBoundingClientRect on a 12608 // disconnected node in IE throws an error 12609 if ( !elem.getClientRects().length ) { 12610 return { top: 0, left: 0 }; 12611 } 12612 12613 // Get document-relative position by adding viewport scroll to viewport-relative gBCR 12614 rect = elem.getBoundingClientRect(); 12615 win = elem.ownerDocument.defaultView; 12616 return { 12617 top: rect.top + win.pageYOffset, 12618 left: rect.left + win.pageXOffset 12619 }; 12620 }, 12621 12622 // position() relates an element's margin box to its offset parent's padding box 12623 // This corresponds to the behavior of CSS absolute positioning 12624 position: function() { 12625 if ( !this[ 0 ] ) { 12626 return; 12627 } 12628 12629 var offsetParent, offset, doc, 12630 elem = this[ 0 ], 12631 parentOffset = { top: 0, left: 0 }; 12632 12633 // position:fixed elements are offset from the viewport, which itself always has zero offset 12634 if ( jQuery.css( elem, "position" ) === "fixed" ) { 12635 12636 // Assume position:fixed implies availability of getBoundingClientRect 12637 offset = elem.getBoundingClientRect(); 12638 12639 } else { 12640 offset = this.offset(); 12641 12642 // Account for the *real* offset parent, which can be the document or its root element 12643 // when a statically positioned element is identified 12644 doc = elem.ownerDocument; 12645 offsetParent = elem.offsetParent || doc.documentElement; 12646 while ( offsetParent && 12647 ( offsetParent === doc.body || offsetParent === doc.documentElement ) && 12648 jQuery.css( offsetParent, "position" ) === "static" ) { 12649 12650 offsetParent = offsetParent.parentNode; 12651 } 12652 if ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) { 12653 12654 // Incorporate borders into its offset, since they are outside its content origin 12655 parentOffset = jQuery( offsetParent ).offset(); 12656 parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true ); 12657 parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true ); 12658 } 12659 } 12660 12661 // Subtract parent offsets and element margins 12662 return { 12663 top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), 12664 left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) 12665 }; 12666 }, 12667 12668 // This method will return documentElement in the following cases: 12669 // 1) For the element inside the iframe without offsetParent, this method will return 12670 // documentElement of the parent window 12671 // 2) For the hidden or detached element 12672 // 3) For body or html element, i.e. in case of the html node - it will return itself 12673 // 12674 // but those exceptions were never presented as a real life use-cases 12675 // and might be considered as more preferable results. 12676 // 12677 // This logic, however, is not guaranteed and can change at any point in the future 12678 offsetParent: function() { 12679 return this.map( function() { 12680 var offsetParent = this.offsetParent; 12681 12682 while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { 12683 offsetParent = offsetParent.offsetParent; 12684 } 12685 12686 return offsetParent || documentElement; 12687 } ); 12688 } 12689} ); 12690 12691// Create scrollLeft and scrollTop methods 12692jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { 12693 var top = "pageYOffset" === prop; 12694 12695 jQuery.fn[ method ] = function( val ) { 12696 return access( this, function( elem, method, val ) { 12697 12698 // Coalesce documents and windows 12699 var win; 12700 if ( isWindow( elem ) ) { 12701 win = elem; 12702 } else if ( elem.nodeType === 9 ) { 12703 win = elem.defaultView; 12704 } 12705 12706 if ( val === undefined ) { 12707 return win ? win[ prop ] : elem[ method ]; 12708 } 12709 12710 if ( win ) { 12711 win.scrollTo( 12712 !top ? val : win.pageXOffset, 12713 top ? val : win.pageYOffset 12714 ); 12715 12716 } else { 12717 elem[ method ] = val; 12718 } 12719 }, method, val, arguments.length ); 12720 }; 12721} ); 12722 12723// Support: Safari <=7 - 9.1, Chrome <=37 - 49 12724// Add the top/left cssHooks using jQuery.fn.position 12725// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 12726// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347 12727// getComputedStyle returns percent when specified for top/left/bottom/right; 12728// rather than make the css module depend on the offset module, just check for it here 12729jQuery.each( [ "top", "left" ], function( i, prop ) { 12730 jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, 12731 function( elem, computed ) { 12732 if ( computed ) { 12733 computed = curCSS( elem, prop ); 12734 12735 // If curCSS returns percentage, fallback to offset 12736 return rnumnonpx.test( computed ) ? 12737 jQuery( elem ).position()[ prop ] + "px" : 12738 computed; 12739 } 12740 } 12741 ); 12742} ); 12743 12744 12745// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods 12746jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { 12747 jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, 12748 function( defaultExtra, funcName ) { 12749 12750 // Margin is only for outerHeight, outerWidth 12751 jQuery.fn[ funcName ] = function( margin, value ) { 12752 var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), 12753 extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); 12754 12755 return access( this, function( elem, type, value ) { 12756 var doc; 12757 12758 if ( isWindow( elem ) ) { 12759 12760 // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729) 12761 return funcName.indexOf( "outer" ) === 0 ? 12762 elem[ "inner" + name ] : 12763 elem.document.documentElement[ "client" + name ]; 12764 } 12765 12766 // Get document width or height 12767 if ( elem.nodeType === 9 ) { 12768 doc = elem.documentElement; 12769 12770 // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], 12771 // whichever is greatest 12772 return Math.max( 12773 elem.body[ "scroll" + name ], doc[ "scroll" + name ], 12774 elem.body[ "offset" + name ], doc[ "offset" + name ], 12775 doc[ "client" + name ] 12776 ); 12777 } 12778 12779 return value === undefined ? 12780 12781 // Get width or height on the element, requesting but not forcing parseFloat 12782 jQuery.css( elem, type, extra ) : 12783 12784 // Set width or height on the element 12785 jQuery.style( elem, type, value, extra ); 12786 }, type, chainable ? margin : undefined, chainable ); 12787 }; 12788 } ); 12789} ); 12790 12791 12792jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + 12793 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 12794 "change select submit keydown keypress keyup contextmenu" ).split( " " ), 12795 function( i, name ) { 12796 12797 // Handle event binding 12798 jQuery.fn[ name ] = function( data, fn ) { 12799 return arguments.length > 0 ? 12800 this.on( name, null, data, fn ) : 12801 this.trigger( name ); 12802 }; 12803} ); 12804 12805jQuery.fn.extend( { 12806 hover: function( fnOver, fnOut ) { 12807 return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 12808 } 12809} ); 12810 12811 12812 12813 12814jQuery.fn.extend( { 12815 12816 bind: function( types, data, fn ) { 12817 return this.on( types, null, data, fn ); 12818 }, 12819 unbind: function( types, fn ) { 12820 return this.off( types, null, fn ); 12821 }, 12822 12823 delegate: function( selector, types, data, fn ) { 12824 return this.on( types, selector, data, fn ); 12825 }, 12826 undelegate: function( selector, types, fn ) { 12827 12828 // ( namespace ) or ( selector, types [, fn] ) 12829 return arguments.length === 1 ? 12830 this.off( selector, "**" ) : 12831 this.off( types, selector || "**", fn ); 12832 } 12833} ); 12834 12835// Bind a function to a context, optionally partially applying any 12836// arguments. 12837// jQuery.proxy is deprecated to promote standards (specifically Function#bind) 12838// However, it is not slated for removal any time soon 12839jQuery.proxy = function( fn, context ) { 12840 var tmp, args, proxy; 12841 12842 if ( typeof context === "string" ) { 12843 tmp = fn[ context ]; 12844 context = fn; 12845 fn = tmp; 12846 } 12847 12848 // Quick check to determine if target is callable, in the spec 12849 // this throws a TypeError, but we will just return undefined. 12850 if ( !isFunction( fn ) ) { 12851 return undefined; 12852 } 12853 12854 // Simulated bind 12855 args = slice.call( arguments, 2 ); 12856 proxy = function() { 12857 return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); 12858 }; 12859 12860 // Set the guid of unique handler to the same of original handler, so it can be removed 12861 proxy.guid = fn.guid = fn.guid || jQuery.guid++; 12862 12863 return proxy; 12864}; 12865 12866jQuery.holdReady = function( hold ) { 12867 if ( hold ) { 12868 jQuery.readyWait++; 12869 } else { 12870 jQuery.ready( true ); 12871 } 12872}; 12873jQuery.isArray = Array.isArray; 12874jQuery.parseJSON = JSON.parse; 12875jQuery.nodeName = nodeName; 12876jQuery.isFunction = isFunction; 12877jQuery.isWindow = isWindow; 12878jQuery.camelCase = camelCase; 12879jQuery.type = toType; 12880 12881jQuery.now = Date.now; 12882 12883jQuery.isNumeric = function( obj ) { 12884 12885 // As of jQuery 3.0, isNumeric is limited to 12886 // strings and numbers (primitives or objects) 12887 // that can be coerced to finite numbers (gh-2662) 12888 var type = jQuery.type( obj ); 12889 return ( type === "number" || type === "string" ) && 12890 12891 // parseFloat NaNs numeric-cast false positives ("") 12892 // ...but misinterprets leading-number strings, particularly hex literals ("0x...") 12893 // subtraction forces infinities to NaN 12894 !isNaN( obj - parseFloat( obj ) ); 12895}; 12896 12897 12898 12899 12900// Register as a named AMD module, since jQuery can be concatenated with other 12901// files that may use define, but not via a proper concatenation script that 12902// understands anonymous AMD modules. A named AMD is safest and most robust 12903// way to register. Lowercase jquery is used because AMD module names are 12904// derived from file names, and jQuery is normally delivered in a lowercase 12905// file name. Do this after creating the global so that if an AMD module wants 12906// to call noConflict to hide this version of jQuery, it will work. 12907 12908// Note that for maximum portability, libraries that are not jQuery should 12909// declare themselves as anonymous modules, and avoid setting a global if an 12910// AMD loader is present. jQuery is a special case. For more information, see 12911// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 12912 12913if ( true ) { 12914 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() { 12915 return jQuery; 12916 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), 12917 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 12918} 12919 12920 12921 12922 12923var 12924 12925 // Map over jQuery in case of overwrite 12926 _jQuery = window.jQuery, 12927 12928 // Map over the $ in case of overwrite 12929 _$ = window.$; 12930 12931jQuery.noConflict = function( deep ) { 12932 if ( window.$ === jQuery ) { 12933 window.$ = _$; 12934 } 12935 12936 if ( deep && window.jQuery === jQuery ) { 12937 window.jQuery = _jQuery; 12938 } 12939 12940 return jQuery; 12941}; 12942 12943// Expose jQuery and $ identifiers, even in AMD 12944// (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 12945// and CommonJS for browser emulators (#13566) 12946if ( !noGlobal ) { 12947 window.jQuery = window.$ = jQuery; 12948} 12949 12950 12951 12952 12953return jQuery; 12954} ); 12955 12956 12957/***/ }), 12958
vendor: 808 bytes, lines 12959-12980
12959/***/ "./node_modules/core-js/internals/a-callable.js": 12960/*!******************************************************!*\ 12961 !*** ./node_modules/core-js/internals/a-callable.js ***! 12962 \******************************************************/ 12963/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 12964 12965"use strict"; 12966 12967var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 12968var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 12969 12970var $TypeError = TypeError; 12971 12972// `Assert: IsCallable(argument) is true` 12973module.exports = function (argument) { 12974 if (isCallable(argument)) return argument; 12975 throw new $TypeError(tryToString(argument) + ' is not a function'); 12976}; 12977 12978 12979/***/ }), 12980
vendor: 838 bytes, lines 12981-13002
12981/***/ "./node_modules/core-js/internals/a-constructor.js": 12982/*!*********************************************************!*\ 12983 !*** ./node_modules/core-js/internals/a-constructor.js ***! 12984 \*********************************************************/ 12985/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 12986 12987"use strict"; 12988 12989var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); 12990var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 12991 12992var $TypeError = TypeError; 12993 12994// `Assert: IsConstructor(argument) is true` 12995module.exports = function (argument) { 12996 if (isConstructor(argument)) return argument; 12997 throw new $TypeError(tryToString(argument) + ' is not a constructor'); 12998}; 12999 13000 13001/***/ }), 13002
vendor: 741 bytes, lines 13003-13023
13003/***/ "./node_modules/core-js/internals/a-possible-prototype.js": 13004/*!****************************************************************!*\ 13005 !*** ./node_modules/core-js/internals/a-possible-prototype.js ***! 13006 \****************************************************************/ 13007/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13008 13009"use strict"; 13010 13011var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 13012 13013var $String = String; 13014var $TypeError = TypeError; 13015 13016module.exports = function (argument) { 13017 if (typeof argument == 'object' || isCallable(argument)) return argument; 13018 throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); 13019}; 13020 13021 13022/***/ }), 13023
vendor: 1,241 bytes, lines 13024-13055
13024/***/ "./node_modules/core-js/internals/add-to-unscopables.js": 13025/*!**************************************************************!*\ 13026 !*** ./node_modules/core-js/internals/add-to-unscopables.js ***! 13027 \**************************************************************/ 13028/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13029 13030"use strict"; 13031 13032var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 13033var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); 13034var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 13035 13036var UNSCOPABLES = wellKnownSymbol('unscopables'); 13037var ArrayPrototype = Array.prototype; 13038 13039// Array.prototype[@@unscopables] 13040// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 13041if (ArrayPrototype[UNSCOPABLES] === undefined) { 13042 defineProperty(ArrayPrototype, UNSCOPABLES, { 13043 configurable: true, 13044 value: create(null) 13045 }); 13046} 13047 13048// add a key to Array.prototype[@@unscopables] 13049module.exports = function (key) { 13050 ArrayPrototype[UNSCOPABLES][key] = true; 13051}; 13052 13053 13054/***/ }), 13055
vendor: 712 bytes, lines 13056-13074
13056/***/ "./node_modules/core-js/internals/advance-string-index.js": 13057/*!****************************************************************!*\ 13058 !*** ./node_modules/core-js/internals/advance-string-index.js ***! 13059 \****************************************************************/ 13060/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13061 13062"use strict"; 13063 13064var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").charAt); 13065 13066// `AdvanceStringIndex` abstract operation 13067// https://tc39.es/ecma262/#sec-advancestringindex 13068module.exports = function (S, index, unicode) { 13069 return index + (unicode ? charAt(S, index).length : 1); 13070}; 13071 13072 13073/***/ }), 13074
vendor: 654 bytes, lines 13075-13094
13075/***/ "./node_modules/core-js/internals/an-instance.js": 13076/*!*******************************************************!*\ 13077 !*** ./node_modules/core-js/internals/an-instance.js ***! 13078 \*******************************************************/ 13079/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13080 13081"use strict"; 13082 13083var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 13084 13085var $TypeError = TypeError; 13086 13087module.exports = function (it, Prototype) { 13088 if (isPrototypeOf(Prototype, it)) return it; 13089 throw new $TypeError('Incorrect invocation'); 13090}; 13091 13092 13093/***/ }), 13094
vendor: 683 bytes, lines 13095-13116
13095/***/ "./node_modules/core-js/internals/an-object.js": 13096/*!*****************************************************!*\ 13097 !*** ./node_modules/core-js/internals/an-object.js ***! 13098 \*****************************************************/ 13099/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13100 13101"use strict"; 13102 13103var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 13104 13105var $String = String; 13106var $TypeError = TypeError; 13107 13108// `Assert: Type(argument) is Object` 13109module.exports = function (argument) { 13110 if (isObject(argument)) return argument; 13111 throw new $TypeError($String(argument) + ' is not an object'); 13112}; 13113 13114 13115/***/ }), 13116
vendor: 1,889 bytes, lines 13117-13160
13117/***/ "./node_modules/core-js/internals/array-includes.js": 13118/*!**********************************************************!*\ 13119 !*** ./node_modules/core-js/internals/array-includes.js ***! 13120 \**********************************************************/ 13121/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13122 13123"use strict"; 13124 13125var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 13126var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); 13127var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 13128 13129// `Array.prototype.{ indexOf, includes }` methods implementation 13130var createMethod = function (IS_INCLUDES) { 13131 return function ($this, el, fromIndex) { 13132 var O = toIndexedObject($this); 13133 var length = lengthOfArrayLike(O); 13134 var index = toAbsoluteIndex(fromIndex, length); 13135 var value; 13136 // Array#includes uses SameValueZero equality algorithm 13137 // eslint-disable-next-line no-self-compare -- NaN check 13138 if (IS_INCLUDES && el !== el) while (length > index) { 13139 value = O[index++]; 13140 // eslint-disable-next-line no-self-compare -- NaN check 13141 if (value !== value) return true; 13142 // Array#indexOf ignores holes, Array#includes - not 13143 } else for (;length > index; index++) { 13144 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; 13145 } return !IS_INCLUDES && -1; 13146 }; 13147}; 13148 13149module.exports = { 13150 // `Array.prototype.includes` method 13151 // https://tc39.es/ecma262/#sec-array.prototype.includes 13152 includes: createMethod(true), 13153 // `Array.prototype.indexOf` method 13154 // https://tc39.es/ecma262/#sec-array.prototype.indexof 13155 indexOf: createMethod(false) 13156}; 13157 13158 13159/***/ }), 13160
vendor: 3,709 bytes, lines 13161-13245
13161/***/ "./node_modules/core-js/internals/array-iteration.js": 13162/*!***********************************************************!*\ 13163 !*** ./node_modules/core-js/internals/array-iteration.js ***! 13164 \***********************************************************/ 13165/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13166 13167"use strict"; 13168 13169var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); 13170var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 13171var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); 13172var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 13173var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 13174var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); 13175 13176var push = uncurryThis([].push); 13177 13178// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation 13179var createMethod = function (TYPE) { 13180 var IS_MAP = TYPE === 1; 13181 var IS_FILTER = TYPE === 2; 13182 var IS_SOME = TYPE === 3; 13183 var IS_EVERY = TYPE === 4; 13184 var IS_FIND_INDEX = TYPE === 6; 13185 var IS_FILTER_REJECT = TYPE === 7; 13186 var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; 13187 return function ($this, callbackfn, that, specificCreate) { 13188 var O = toObject($this); 13189 var self = IndexedObject(O); 13190 var boundFunction = bind(callbackfn, that); 13191 var length = lengthOfArrayLike(self); 13192 var index = 0; 13193 var create = specificCreate || arraySpeciesCreate; 13194 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; 13195 var value, result; 13196 for (;length > index; index++) if (NO_HOLES || index in self) { 13197 value = self[index]; 13198 result = boundFunction(value, index, O); 13199 if (TYPE) { 13200 if (IS_MAP) target[index] = result; // map 13201 else if (result) switch (TYPE) { 13202 case 3: return true; // some 13203 case 5: return value; // find 13204 case 6: return index; // findIndex 13205 case 2: push(target, value); // filter 13206 } else switch (TYPE) { 13207 case 4: return false; // every 13208 case 7: push(target, value); // filterReject 13209 } 13210 } 13211 } 13212 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; 13213 }; 13214}; 13215 13216module.exports = { 13217 // `Array.prototype.forEach` method 13218 // https://tc39.es/ecma262/#sec-array.prototype.foreach 13219 forEach: createMethod(0), 13220 // `Array.prototype.map` method 13221 // https://tc39.es/ecma262/#sec-array.prototype.map 13222 map: createMethod(1), 13223 // `Array.prototype.filter` method 13224 // https://tc39.es/ecma262/#sec-array.prototype.filter 13225 filter: createMethod(2), 13226 // `Array.prototype.some` method 13227 // https://tc39.es/ecma262/#sec-array.prototype.some 13228 some: createMethod(3), 13229 // `Array.prototype.every` method 13230 // https://tc39.es/ecma262/#sec-array.prototype.every 13231 every: createMethod(4), 13232 // `Array.prototype.find` method 13233 // https://tc39.es/ecma262/#sec-array.prototype.find 13234 find: createMethod(5), 13235 // `Array.prototype.findIndex` method 13236 // https://tc39.es/ecma262/#sec-array.prototype.findIndex 13237 findIndex: createMethod(6), 13238 // `Array.prototype.filterReject` method 13239 // https://github.com/tc39/proposal-array-filtering 13240 filterReject: createMethod(7) 13241}; 13242 13243 13244/***/ }), 13245
vendor: 1,300 bytes, lines 13246-13276
13246/***/ "./node_modules/core-js/internals/array-method-has-species-support.js": 13247/*!****************************************************************************!*\ 13248 !*** ./node_modules/core-js/internals/array-method-has-species-support.js ***! 13249 \****************************************************************************/ 13250/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13251 13252"use strict"; 13253 13254var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 13255var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 13256var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); 13257 13258var SPECIES = wellKnownSymbol('species'); 13259 13260module.exports = function (METHOD_NAME) { 13261 // We can't use this feature detection in V8 since it causes 13262 // deoptimization and serious performance degradation 13263 // https://github.com/zloirock/core-js/issues/677 13264 return V8_VERSION >= 51 || !fails(function () { 13265 var array = []; 13266 var constructor = array.constructor = {}; 13267 constructor[SPECIES] = function () { 13268 return { foo: 1 }; 13269 }; 13270 return array[METHOD_NAME](Boolean).foo !== 1; 13271 }); 13272}; 13273 13274 13275/***/ }), 13276
vendor: 756 bytes, lines 13277-13297
13277/***/ "./node_modules/core-js/internals/array-method-is-strict.js": 13278/*!******************************************************************!*\ 13279 !*** ./node_modules/core-js/internals/array-method-is-strict.js ***! 13280 \******************************************************************/ 13281/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13282 13283"use strict"; 13284 13285var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 13286 13287module.exports = function (METHOD_NAME, argument) { 13288 var method = [][METHOD_NAME]; 13289 return !!method && fails(function () { 13290 // eslint-disable-next-line no-useless-call -- required for testing 13291 method.call(null, argument || function () { return 1; }, 1); 13292 }); 13293}; 13294 13295 13296/***/ }), 13297
vendor: 1,485 bytes, lines 13298-13335
13298/***/ "./node_modules/core-js/internals/array-set-length.js": 13299/*!************************************************************!*\ 13300 !*** ./node_modules/core-js/internals/array-set-length.js ***! 13301 \************************************************************/ 13302/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13303 13304"use strict"; 13305 13306var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 13307var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); 13308 13309var $TypeError = TypeError; 13310// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 13311var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 13312 13313// Safari < 13 does not throw an error in this case 13314var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { 13315 // makes no sense without proper strict mode support 13316 if (this !== undefined) return true; 13317 try { 13318 // eslint-disable-next-line es/no-object-defineproperty -- safe 13319 Object.defineProperty([], 'length', { writable: false }).length = 1; 13320 } catch (error) { 13321 return error instanceof TypeError; 13322 } 13323}(); 13324 13325module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { 13326 if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { 13327 throw new $TypeError('Cannot set read only .length'); 13328 } return O.length = length; 13329} : function (O, length) { 13330 return O.length = length; 13331}; 13332 13333 13334/***/ }), 13335
vendor: 1,172 bytes, lines 13336-13364
13336/***/ "./node_modules/core-js/internals/array-slice-simple.js": 13337/*!**************************************************************!*\ 13338 !*** ./node_modules/core-js/internals/array-slice-simple.js ***! 13339 \**************************************************************/ 13340/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13341 13342"use strict"; 13343 13344var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); 13345var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 13346var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); 13347 13348var $Array = Array; 13349var max = Math.max; 13350 13351module.exports = function (O, start, end) { 13352 var length = lengthOfArrayLike(O); 13353 var k = toAbsoluteIndex(start, length); 13354 var fin = toAbsoluteIndex(end === undefined ? length : end, length); 13355 var result = $Array(max(fin - k, 0)); 13356 var n = 0; 13357 for (; k < fin; k++, n++) createProperty(result, n, O[k]); 13358 result.length = n; 13359 return result; 13360}; 13361 13362 13363/***/ }), 13364
vendor: 519 bytes, lines 13365-13379
13365/***/ "./node_modules/core-js/internals/array-slice.js": 13366/*!*******************************************************!*\ 13367 !*** ./node_modules/core-js/internals/array-slice.js ***! 13368 \*******************************************************/ 13369/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13370 13371"use strict"; 13372 13373var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 13374 13375module.exports = uncurryThis([].slice); 13376 13377 13378/***/ }), 13379
vendor: 1,423 bytes, lines 13380-13413
13380/***/ "./node_modules/core-js/internals/array-species-constructor.js": 13381/*!*********************************************************************!*\ 13382 !*** ./node_modules/core-js/internals/array-species-constructor.js ***! 13383 \*********************************************************************/ 13384/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13385 13386"use strict"; 13387 13388var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); 13389var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); 13390var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 13391var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 13392 13393var SPECIES = wellKnownSymbol('species'); 13394var $Array = Array; 13395 13396// a part of `ArraySpeciesCreate` abstract operation 13397// https://tc39.es/ecma262/#sec-arrayspeciescreate 13398module.exports = function (originalArray) { 13399 var C; 13400 if (isArray(originalArray)) { 13401 C = originalArray.constructor; 13402 // cross-realm fallback 13403 if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; 13404 else if (isObject(C)) { 13405 C = C[SPECIES]; 13406 if (C === null) C = undefined; 13407 } 13408 } return C === undefined ? $Array : C; 13409}; 13410 13411 13412/***/ }), 13413
vendor: 766 bytes, lines 13414-13432
13414/***/ "./node_modules/core-js/internals/array-species-create.js": 13415/*!****************************************************************!*\ 13416 !*** ./node_modules/core-js/internals/array-species-create.js ***! 13417 \****************************************************************/ 13418/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13419 13420"use strict"; 13421 13422var arraySpeciesConstructor = __webpack_require__(/*! ../internals/array-species-constructor */ "./node_modules/core-js/internals/array-species-constructor.js"); 13423 13424// `ArraySpeciesCreate` abstract operation 13425// https://tc39.es/ecma262/#sec-arrayspeciescreate 13426module.exports = function (originalArray, length) { 13427 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); 13428}; 13429 13430 13431/***/ }), 13432
vendor: 1,550 bytes, lines 13433-13484
13433/***/ "./node_modules/core-js/internals/check-correctness-of-iteration.js": 13434/*!**************************************************************************!*\ 13435 !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***! 13436 \**************************************************************************/ 13437/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13438 13439"use strict"; 13440 13441var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 13442 13443var ITERATOR = wellKnownSymbol('iterator'); 13444var SAFE_CLOSING = false; 13445 13446try { 13447 var called = 0; 13448 var iteratorWithReturn = { 13449 next: function () { 13450 return { done: !!called++ }; 13451 }, 13452 'return': function () { 13453 SAFE_CLOSING = true; 13454 } 13455 }; 13456 iteratorWithReturn[ITERATOR] = function () { 13457 return this; 13458 }; 13459 // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing 13460 Array.from(iteratorWithReturn, function () { throw 2; }); 13461} catch (error) { /* empty */ } 13462 13463module.exports = function (exec, SKIP_CLOSING) { 13464 try { 13465 if (!SKIP_CLOSING && !SAFE_CLOSING) return false; 13466 } catch (error) { return false; } // workaround of old WebKit + `eval` bug 13467 var ITERATION_SUPPORT = false; 13468 try { 13469 var object = {}; 13470 object[ITERATOR] = function () { 13471 return { 13472 next: function () { 13473 return { done: ITERATION_SUPPORT = true }; 13474 } 13475 }; 13476 }; 13477 exec(object); 13478 } catch (error) { /* empty */ } 13479 return ITERATION_SUPPORT; 13480}; 13481 13482 13483/***/ }), 13484
vendor: 641 bytes, lines 13485-13504
13485/***/ "./node_modules/core-js/internals/classof-raw.js": 13486/*!*******************************************************!*\ 13487 !*** ./node_modules/core-js/internals/classof-raw.js ***! 13488 \*******************************************************/ 13489/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13490 13491"use strict"; 13492 13493var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 13494 13495var toString = uncurryThis({}.toString); 13496var stringSlice = uncurryThis(''.slice); 13497 13498module.exports = function (it) { 13499 return stringSlice(toString(it), 8, -1); 13500}; 13501 13502 13503/***/ }), 13504
vendor: 1,684 bytes, lines 13505-13545
13505/***/ "./node_modules/core-js/internals/classof.js": 13506/*!***************************************************!*\ 13507 !*** ./node_modules/core-js/internals/classof.js ***! 13508 \***************************************************/ 13509/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13510 13511"use strict"; 13512 13513var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); 13514var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 13515var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 13516var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 13517 13518var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 13519var $Object = Object; 13520 13521// ES3 wrong here 13522var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; 13523 13524// fallback for IE11 Script Access Denied error 13525var tryGet = function (it, key) { 13526 try { 13527 return it[key]; 13528 } catch (error) { /* empty */ } 13529}; 13530 13531// getting tag from ES6+ `Object.prototype.toString` 13532module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { 13533 var O, tag, result; 13534 return it === undefined ? 'Undefined' : it === null ? 'Null' 13535 // @@toStringTag case 13536 : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag 13537 // builtinTag case 13538 : CORRECT_ARGUMENTS ? classofRaw(O) 13539 // ES3 arguments fallback 13540 : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; 13541}; 13542 13543 13544/***/ }), 13545
vendor: 1,409 bytes, lines 13546-13573
13546/***/ "./node_modules/core-js/internals/copy-constructor-properties.js": 13547/*!***********************************************************************!*\ 13548 !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! 13549 \***********************************************************************/ 13550/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13551 13552"use strict"; 13553 13554var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 13555var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "./node_modules/core-js/internals/own-keys.js"); 13556var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); 13557var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 13558 13559module.exports = function (target, source, exceptions) { 13560 var keys = ownKeys(source); 13561 var defineProperty = definePropertyModule.f; 13562 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 13563 for (var i = 0; i < keys.length; i++) { 13564 var key = keys[i]; 13565 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { 13566 defineProperty(target, key, getOwnPropertyDescriptor(source, key)); 13567 } 13568 } 13569}; 13570 13571 13572/***/ }), 13573
vendor: 739 bytes, lines 13574-13593
13574/***/ "./node_modules/core-js/internals/correct-prototype-getter.js": 13575/*!********************************************************************!*\ 13576 !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! 13577 \********************************************************************/ 13578/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13579 13580"use strict"; 13581 13582var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 13583 13584module.exports = !fails(function () { 13585 function F() { /* empty */ } 13586 F.prototype.constructor = null; 13587 // eslint-disable-next-line es/no-object-getprototypeof -- required for testing 13588 return Object.getPrototypeOf(new F()) !== F.prototype; 13589}); 13590 13591 13592/***/ }), 13593
vendor: 531 bytes, lines 13594-13610
13594/***/ "./node_modules/core-js/internals/create-iter-result-object.js": 13595/*!*********************************************************************!*\ 13596 !*** ./node_modules/core-js/internals/create-iter-result-object.js ***! 13597 \*********************************************************************/ 13598/***/ ((module) => { 13599 13600"use strict"; 13601 13602// `CreateIterResultObject` abstract operation 13603// https://tc39.es/ecma262/#sec-createiterresultobject 13604module.exports = function (value, done) { 13605 return { value: value, done: done }; 13606}; 13607 13608 13609/***/ }), 13610
vendor: 1,077 bytes, lines 13611-13632
13611/***/ "./node_modules/core-js/internals/create-non-enumerable-property.js": 13612/*!**************************************************************************!*\ 13613 !*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***! 13614 \**************************************************************************/ 13615/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13616 13617"use strict"; 13618 13619var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 13620var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 13621var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); 13622 13623module.exports = DESCRIPTORS ? function (object, key, value) { 13624 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); 13625} : function (object, key, value) { 13626 object[key] = value; 13627 return object; 13628}; 13629 13630 13631/***/ }), 13632
vendor: 522 bytes, lines 13633-13652
13633/***/ "./node_modules/core-js/internals/create-property-descriptor.js": 13634/*!**********************************************************************!*\ 13635 !*** ./node_modules/core-js/internals/create-property-descriptor.js ***! 13636 \**********************************************************************/ 13637/***/ ((module) => { 13638 13639"use strict"; 13640 13641module.exports = function (bitmap, value) { 13642 return { 13643 enumerable: !(bitmap & 1), 13644 configurable: !(bitmap & 2), 13645 writable: !(bitmap & 4), 13646 value: value 13647 }; 13648}; 13649 13650 13651/***/ }), 13652
vendor: 1,041 bytes, lines 13653-13673
13653/***/ "./node_modules/core-js/internals/create-property.js": 13654/*!***********************************************************!*\ 13655 !*** ./node_modules/core-js/internals/create-property.js ***! 13656 \***********************************************************/ 13657/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13658 13659"use strict"; 13660 13661var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); 13662var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 13663var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); 13664 13665module.exports = function (object, key, value) { 13666 var propertyKey = toPropertyKey(key); 13667 if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); 13668 else object[propertyKey] = value; 13669}; 13670 13671 13672/***/ }), 13673
vendor: 923 bytes, lines 13674-13693
13674/***/ "./node_modules/core-js/internals/define-built-in-accessor.js": 13675/*!********************************************************************!*\ 13676 !*** ./node_modules/core-js/internals/define-built-in-accessor.js ***! 13677 \********************************************************************/ 13678/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13679 13680"use strict"; 13681 13682var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/core-js/internals/make-built-in.js"); 13683var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 13684 13685module.exports = function (target, name, descriptor) { 13686 if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); 13687 if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); 13688 return defineProperty.f(target, name, descriptor); 13689}; 13690 13691 13692/***/ }), 13693
vendor: 1,609 bytes, lines 13694-13732
13694/***/ "./node_modules/core-js/internals/define-built-in.js": 13695/*!***********************************************************!*\ 13696 !*** ./node_modules/core-js/internals/define-built-in.js ***! 13697 \***********************************************************/ 13698/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13699 13700"use strict"; 13701 13702var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 13703var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 13704var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/core-js/internals/make-built-in.js"); 13705var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); 13706 13707module.exports = function (O, key, value, options) { 13708 if (!options) options = {}; 13709 var simple = options.enumerable; 13710 var name = options.name !== undefined ? options.name : key; 13711 if (isCallable(value)) makeBuiltIn(value, name, options); 13712 if (options.global) { 13713 if (simple) O[key] = value; 13714 else defineGlobalProperty(key, value); 13715 } else { 13716 try { 13717 if (!options.unsafe) delete O[key]; 13718 else if (O[key]) simple = true; 13719 } catch (error) { /* empty */ } 13720 if (simple) O[key] = value; 13721 else definePropertyModule.f(O, key, { 13722 value: value, 13723 enumerable: false, 13724 configurable: !options.nonConfigurable, 13725 writable: !options.nonWritable 13726 }); 13727 } return O; 13728}; 13729 13730 13731/***/ }), 13732
vendor: 799 bytes, lines 13733-13756
13733/***/ "./node_modules/core-js/internals/define-global-property.js": 13734/*!******************************************************************!*\ 13735 !*** ./node_modules/core-js/internals/define-global-property.js ***! 13736 \******************************************************************/ 13737/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13738 13739"use strict"; 13740 13741var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 13742 13743// eslint-disable-next-line es/no-object-defineproperty -- safe 13744var defineProperty = Object.defineProperty; 13745 13746module.exports = function (key, value) { 13747 try { 13748 defineProperty(global, key, { value: value, configurable: true, writable: true }); 13749 } catch (error) { 13750 global[key] = value; 13751 } return value; 13752}; 13753 13754 13755/***/ }), 13756
vendor: 694 bytes, lines 13757-13775
13757/***/ "./node_modules/core-js/internals/delete-property-or-throw.js": 13758/*!********************************************************************!*\ 13759 !*** ./node_modules/core-js/internals/delete-property-or-throw.js ***! 13760 \********************************************************************/ 13761/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13762 13763"use strict"; 13764 13765var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 13766 13767var $TypeError = TypeError; 13768 13769module.exports = function (O, P) { 13770 if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); 13771}; 13772 13773 13774/***/ }), 13775
vendor: 706 bytes, lines 13776-13794
13776/***/ "./node_modules/core-js/internals/descriptors.js": 13777/*!*******************************************************!*\ 13778 !*** ./node_modules/core-js/internals/descriptors.js ***! 13779 \*******************************************************/ 13780/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13781 13782"use strict"; 13783 13784var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 13785 13786// Detect IE8's incomplete defineProperty implementation 13787module.exports = !fails(function () { 13788 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 13789 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; 13790}); 13791 13792 13793/***/ }), 13794
vendor: 642 bytes, lines 13795-13816
13795/***/ "./node_modules/core-js/internals/document-all.js": 13796/*!********************************************************!*\ 13797 !*** ./node_modules/core-js/internals/document-all.js ***! 13798 \********************************************************/ 13799/***/ ((module) => { 13800 13801"use strict"; 13802 13803var documentAll = typeof document == 'object' && document.all; 13804 13805// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot 13806// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing 13807var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; 13808 13809module.exports = { 13810 all: documentAll, 13811 IS_HTMLDDA: IS_HTMLDDA 13812}; 13813 13814 13815/***/ }), 13816
vendor: 851 bytes, lines 13817-13838
13817/***/ "./node_modules/core-js/internals/document-create-element.js": 13818/*!*******************************************************************!*\ 13819 !*** ./node_modules/core-js/internals/document-create-element.js ***! 13820 \*******************************************************************/ 13821/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13822 13823"use strict"; 13824 13825var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 13826var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 13827 13828var document = global.document; 13829// typeof document.createElement is 'object' in old IE 13830var EXISTS = isObject(document) && isObject(document.createElement); 13831 13832module.exports = function (it) { 13833 return EXISTS ? document.createElement(it) : {}; 13834}; 13835 13836 13837/***/ }), 13838
vendor: 592 bytes, lines 13839-13857
13839/***/ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js": 13840/*!************************************************************************!*\ 13841 !*** ./node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! 13842 \************************************************************************/ 13843/***/ ((module) => { 13844 13845"use strict"; 13846 13847var $TypeError = TypeError; 13848var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 13849 13850module.exports = function (it) { 13851 if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); 13852 return it; 13853}; 13854 13855 13856/***/ }), 13857
vendor: 1,050 bytes, lines 13858-13904
13858/***/ "./node_modules/core-js/internals/dom-iterables.js": 13859/*!*********************************************************!*\ 13860 !*** ./node_modules/core-js/internals/dom-iterables.js ***! 13861 \*********************************************************/ 13862/***/ ((module) => { 13863 13864"use strict"; 13865 13866// iterable DOM collections 13867// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods 13868module.exports = { 13869 CSSRuleList: 0, 13870 CSSStyleDeclaration: 0, 13871 CSSValueList: 0, 13872 ClientRectList: 0, 13873 DOMRectList: 0, 13874 DOMStringList: 0, 13875 DOMTokenList: 1, 13876 DataTransferItemList: 0, 13877 FileList: 0, 13878 HTMLAllCollection: 0, 13879 HTMLCollection: 0, 13880 HTMLFormElement: 0, 13881 HTMLSelectElement: 0, 13882 MediaList: 0, 13883 MimeTypeArray: 0, 13884 NamedNodeMap: 0, 13885 NodeList: 1, 13886 PaintRequestList: 0, 13887 Plugin: 0, 13888 PluginArray: 0, 13889 SVGLengthList: 0, 13890 SVGNumberList: 0, 13891 SVGPathSegList: 0, 13892 SVGPointList: 0, 13893 SVGStringList: 0, 13894 SVGTransformList: 0, 13895 SourceBufferList: 0, 13896 StyleSheetList: 0, 13897 TextTrackCueList: 0, 13898 TextTrackList: 0, 13899 TouchList: 0 13900}; 13901 13902 13903/***/ }), 13904
vendor: 890 bytes, lines 13905-13923
13905/***/ "./node_modules/core-js/internals/dom-token-list-prototype.js": 13906/*!********************************************************************!*\ 13907 !*** ./node_modules/core-js/internals/dom-token-list-prototype.js ***! 13908 \********************************************************************/ 13909/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13910 13911"use strict"; 13912 13913// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` 13914var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); 13915 13916var classList = documentCreateElement('span').classList; 13917var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; 13918 13919module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; 13920 13921 13922/***/ }), 13923
vendor: 712 bytes, lines 13924-13941
13924/***/ "./node_modules/core-js/internals/engine-is-browser.js": 13925/*!*************************************************************!*\ 13926 !*** ./node_modules/core-js/internals/engine-is-browser.js ***! 13927 \*************************************************************/ 13928/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13929 13930"use strict"; 13931 13932var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ "./node_modules/core-js/internals/engine-is-deno.js"); 13933var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); 13934 13935module.exports = !IS_DENO && !IS_NODE 13936 && typeof window == 'object' 13937 && typeof document == 'object'; 13938 13939 13940/***/ }), 13941
vendor: 411 bytes, lines 13942-13955
13942/***/ "./node_modules/core-js/internals/engine-is-bun.js": 13943/*!*********************************************************!*\ 13944 !*** ./node_modules/core-js/internals/engine-is-bun.js ***! 13945 \*********************************************************/ 13946/***/ ((module) => { 13947 13948"use strict"; 13949 13950/* global Bun -- Deno case */ 13951module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; 13952 13953 13954/***/ }), 13955
vendor: 417 bytes, lines 13956-13969
13956/***/ "./node_modules/core-js/internals/engine-is-deno.js": 13957/*!**********************************************************!*\ 13958 !*** ./node_modules/core-js/internals/engine-is-deno.js ***! 13959 \**********************************************************/ 13960/***/ ((module) => { 13961 13962"use strict"; 13963 13964/* global Deno -- Deno case */ 13965module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; 13966 13967 13968/***/ }), 13969
vendor: 591 bytes, lines 13970-13984
13970/***/ "./node_modules/core-js/internals/engine-is-ios-pebble.js": 13971/*!****************************************************************!*\ 13972 !*** ./node_modules/core-js/internals/engine-is-ios-pebble.js ***! 13973 \****************************************************************/ 13974/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13975 13976"use strict"; 13977 13978var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); 13979 13980module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined'; 13981 13982 13983/***/ }), 13984
vendor: 604 bytes, lines 13985-14000
13985/***/ "./node_modules/core-js/internals/engine-is-ios.js": 13986/*!*********************************************************!*\ 13987 !*** ./node_modules/core-js/internals/engine-is-ios.js ***! 13988 \*********************************************************/ 13989/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 13990 13991"use strict"; 13992 13993var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); 13994 13995// eslint-disable-next-line redos/no-vulnerable -- safe 13996module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); 13997 13998 13999/***/ }), 14000
vendor: 630 bytes, lines 14001-14016
14001/***/ "./node_modules/core-js/internals/engine-is-node.js": 14002/*!**********************************************************!*\ 14003 !*** ./node_modules/core-js/internals/engine-is-node.js ***! 14004 \**********************************************************/ 14005/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14006 14007"use strict"; 14008 14009var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 14010var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 14011 14012module.exports = classof(global.process) === 'process'; 14013 14014 14015/***/ }), 14016
vendor: 568 bytes, lines 14017-14031
14017/***/ "./node_modules/core-js/internals/engine-is-webos-webkit.js": 14018/*!******************************************************************!*\ 14019 !*** ./node_modules/core-js/internals/engine-is-webos-webkit.js ***! 14020 \******************************************************************/ 14021/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14022 14023"use strict"; 14024 14025var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); 14026 14027module.exports = /web0s(?!.*chrome)/i.test(userAgent); 14028 14029 14030/***/ }), 14031
vendor: 400 bytes, lines 14032-14044
14032/***/ "./node_modules/core-js/internals/engine-user-agent.js": 14033/*!*************************************************************!*\ 14034 !*** ./node_modules/core-js/internals/engine-user-agent.js ***! 14035 \*************************************************************/ 14036/***/ ((module) => { 14037 14038"use strict"; 14039 14040module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; 14041 14042 14043/***/ }), 14044
vendor: 1,345 bytes, lines 14045-14083
14045/***/ "./node_modules/core-js/internals/engine-v8-version.js": 14046/*!*************************************************************!*\ 14047 !*** ./node_modules/core-js/internals/engine-v8-version.js ***! 14048 \*************************************************************/ 14049/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14050 14051"use strict"; 14052 14053var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 14054var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); 14055 14056var process = global.process; 14057var Deno = global.Deno; 14058var versions = process && process.versions || Deno && Deno.version; 14059var v8 = versions && versions.v8; 14060var match, version; 14061 14062if (v8) { 14063 match = v8.split('.'); 14064 // in old Chrome, versions of V8 isn't V8 = Chrome / 10 14065 // but their correct versions are not interesting for us 14066 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); 14067} 14068 14069// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` 14070// so check `userAgent` even if `.v8` exists, but 0 14071if (!version && userAgent) { 14072 match = userAgent.match(/Edge\/(\d+)/); 14073 if (!match || match[1] >= 74) { 14074 match = userAgent.match(/Chrome\/(\d+)/); 14075 if (match) version = +match[1]; 14076 } 14077} 14078 14079module.exports = version; 14080 14081 14082/***/ }), 14083
vendor: 475 bytes, lines 14084-14105
14084/***/ "./node_modules/core-js/internals/enum-bug-keys.js": 14085/*!*********************************************************!*\ 14086 !*** ./node_modules/core-js/internals/enum-bug-keys.js ***! 14087 \*********************************************************/ 14088/***/ ((module) => { 14089 14090"use strict"; 14091 14092// IE8- don't enum bug keys 14093module.exports = [ 14094 'constructor', 14095 'hasOwnProperty', 14096 'isPrototypeOf', 14097 'propertyIsEnumerable', 14098 'toLocaleString', 14099 'toString', 14100 'valueOf' 14101]; 14102 14103 14104/***/ }), 14105
vendor: 3,522 bytes, lines 14106-14171
14106/***/ "./node_modules/core-js/internals/export.js": 14107/*!**************************************************!*\ 14108 !*** ./node_modules/core-js/internals/export.js ***! 14109 \**************************************************/ 14110/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14111 14112"use strict"; 14113 14114var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 14115var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); 14116var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 14117var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 14118var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); 14119var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); 14120var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); 14121 14122/* 14123 options.target - name of the target object 14124 options.global - target is the global object 14125 options.stat - export as static methods of target 14126 options.proto - export as prototype methods of target 14127 options.real - real prototype method for the `pure` version 14128 options.forced - export even if the native feature is available 14129 options.bind - bind methods to the target, required for the `pure` version 14130 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version 14131 options.unsafe - use the simple assignment of property instead of delete + defineProperty 14132 options.sham - add a flag to not completely full polyfills 14133 options.enumerable - export as enumerable property 14134 options.dontCallGetSet - prevent calling a getter on target 14135 options.name - the .name of the function if it does not match the key 14136*/ 14137module.exports = function (options, source) { 14138 var TARGET = options.target; 14139 var GLOBAL = options.global; 14140 var STATIC = options.stat; 14141 var FORCED, target, key, targetProperty, sourceProperty, descriptor; 14142 if (GLOBAL) { 14143 target = global; 14144 } else if (STATIC) { 14145 target = global[TARGET] || defineGlobalProperty(TARGET, {}); 14146 } else { 14147 target = (global[TARGET] || {}).prototype; 14148 } 14149 if (target) for (key in source) { 14150 sourceProperty = source[key]; 14151 if (options.dontCallGetSet) { 14152 descriptor = getOwnPropertyDescriptor(target, key); 14153 targetProperty = descriptor && descriptor.value; 14154 } else targetProperty = target[key]; 14155 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); 14156 // contained in target 14157 if (!FORCED && targetProperty !== undefined) { 14158 if (typeof sourceProperty == typeof targetProperty) continue; 14159 copyConstructorProperties(sourceProperty, targetProperty); 14160 } 14161 // add a flag to not completely full polyfills 14162 if (options.sham || (targetProperty && targetProperty.sham)) { 14163 createNonEnumerableProperty(sourceProperty, 'sham', true); 14164 } 14165 defineBuiltIn(target, key, sourceProperty, options); 14166 } 14167}; 14168 14169 14170/***/ }), 14171
vendor: 373 bytes, lines 14172-14190
14172/***/ "./node_modules/core-js/internals/fails.js": 14173/*!*************************************************!*\ 14174 !*** ./node_modules/core-js/internals/fails.js ***! 14175 \*************************************************/ 14176/***/ ((module) => { 14177 14178"use strict"; 14179 14180module.exports = function (exec) { 14181 try { 14182 return !!exec(); 14183 } catch (error) { 14184 return true; 14185 } 14186}; 14187 14188 14189/***/ }), 14190
vendor: 3,723 bytes, lines 14191-14278
14191/***/ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js": 14192/*!******************************************************************************!*\ 14193 !*** ./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***! 14194 \******************************************************************************/ 14195/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14196 14197"use strict"; 14198 14199// TODO: Remove from `core-js@4` since it's moved to entry points 14200__webpack_require__(/*! ../modules/es.regexp.exec */ "./node_modules/core-js/modules/es.regexp.exec.js"); 14201var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); 14202var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 14203var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); 14204var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 14205var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 14206var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 14207 14208var SPECIES = wellKnownSymbol('species'); 14209var RegExpPrototype = RegExp.prototype; 14210 14211module.exports = function (KEY, exec, FORCED, SHAM) { 14212 var SYMBOL = wellKnownSymbol(KEY); 14213 14214 var DELEGATES_TO_SYMBOL = !fails(function () { 14215 // String methods call symbol-named RegEp methods 14216 var O = {}; 14217 O[SYMBOL] = function () { return 7; }; 14218 return ''[KEY](O) !== 7; 14219 }); 14220 14221 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { 14222 // Symbol-named RegExp methods call .exec 14223 var execCalled = false; 14224 var re = /a/; 14225 14226 if (KEY === 'split') { 14227 // We can't use real regex here since it causes deoptimization 14228 // and serious performance degradation in V8 14229 // https://github.com/zloirock/core-js/issues/306 14230 re = {}; 14231 // RegExp[@@split] doesn't call the regex's exec method, but first creates 14232 // a new one. We need to return the patched regex when creating the new one. 14233 re.constructor = {}; 14234 re.constructor[SPECIES] = function () { return re; }; 14235 re.flags = ''; 14236 re[SYMBOL] = /./[SYMBOL]; 14237 } 14238 14239 re.exec = function () { 14240 execCalled = true; 14241 return null; 14242 }; 14243 14244 re[SYMBOL](''); 14245 return !execCalled; 14246 }); 14247 14248 if ( 14249 !DELEGATES_TO_SYMBOL || 14250 !DELEGATES_TO_EXEC || 14251 FORCED 14252 ) { 14253 var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); 14254 var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { 14255 var uncurriedNativeMethod = uncurryThis(nativeMethod); 14256 var $exec = regexp.exec; 14257 if ($exec === regexpExec || $exec === RegExpPrototype.exec) { 14258 if (DELEGATES_TO_SYMBOL && !forceStringMethod) { 14259 // The native String method already delegates to @@method (this 14260 // polyfilled function), leasing to infinite recursion. 14261 // We avoid it by directly calling the native @@method method. 14262 return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; 14263 } 14264 return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; 14265 } 14266 return { done: false }; 14267 }); 14268 14269 defineBuiltIn(String.prototype, KEY, methods[0]); 14270 defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); 14271 } 14272 14273 if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); 14274}; 14275 14276 14277/***/ }), 14278
vendor: 811 bytes, lines 14279-14300
14279/***/ "./node_modules/core-js/internals/function-apply.js": 14280/*!**********************************************************!*\ 14281 !*** ./node_modules/core-js/internals/function-apply.js ***! 14282 \**********************************************************/ 14283/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14284 14285"use strict"; 14286 14287var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); 14288 14289var FunctionPrototype = Function.prototype; 14290var apply = FunctionPrototype.apply; 14291var call = FunctionPrototype.call; 14292 14293// eslint-disable-next-line es/no-reflect -- safe 14294module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { 14295 return call.apply(apply, arguments); 14296}); 14297 14298 14299/***/ }), 14300
vendor: 1,066 bytes, lines 14301-14325
14301/***/ "./node_modules/core-js/internals/function-bind-context.js": 14302/*!*****************************************************************!*\ 14303 !*** ./node_modules/core-js/internals/function-bind-context.js ***! 14304 \*****************************************************************/ 14305/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14306 14307"use strict"; 14308 14309var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); 14310var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 14311var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); 14312 14313var bind = uncurryThis(uncurryThis.bind); 14314 14315// optional / simple context binding 14316module.exports = function (fn, that) { 14317 aCallable(fn); 14318 return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { 14319 return fn.apply(that, arguments); 14320 }; 14321}; 14322 14323 14324/***/ }), 14325
vendor: 770 bytes, lines 14326-14345
14326/***/ "./node_modules/core-js/internals/function-bind-native.js": 14327/*!****************************************************************!*\ 14328 !*** ./node_modules/core-js/internals/function-bind-native.js ***! 14329 \****************************************************************/ 14330/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14331 14332"use strict"; 14333 14334var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 14335 14336module.exports = !fails(function () { 14337 // eslint-disable-next-line es/no-function-prototype-bind -- safe 14338 var test = (function () { /* empty */ }).bind(); 14339 // eslint-disable-next-line no-prototype-builtins -- safe 14340 return typeof test != 'function' || test.hasOwnProperty('prototype'); 14341}); 14342 14343 14344/***/ }), 14345
vendor: 626 bytes, lines 14346-14364
14346/***/ "./node_modules/core-js/internals/function-call.js": 14347/*!*********************************************************!*\ 14348 !*** ./node_modules/core-js/internals/function-call.js ***! 14349 \*********************************************************/ 14350/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14351 14352"use strict"; 14353 14354var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); 14355 14356var call = Function.prototype.call; 14357 14358module.exports = NATIVE_BIND ? call.bind(call) : function () { 14359 return call.apply(call, arguments); 14360}; 14361 14362 14363/***/ }), 14364
vendor: 1,194 bytes, lines 14365-14393
14365/***/ "./node_modules/core-js/internals/function-name.js": 14366/*!*********************************************************!*\ 14367 !*** ./node_modules/core-js/internals/function-name.js ***! 14368 \*********************************************************/ 14369/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14370 14371"use strict"; 14372 14373var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 14374var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 14375 14376var FunctionPrototype = Function.prototype; 14377// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 14378var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; 14379 14380var EXISTS = hasOwn(FunctionPrototype, 'name'); 14381// additional protection from minified / mangled / dropped function names 14382var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; 14383var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); 14384 14385module.exports = { 14386 EXISTS: EXISTS, 14387 PROPER: PROPER, 14388 CONFIGURABLE: CONFIGURABLE 14389}; 14390 14391 14392/***/ }), 14393
vendor: 935 bytes, lines 14394-14414
14394/***/ "./node_modules/core-js/internals/function-uncurry-this-accessor.js": 14395/*!**************************************************************************!*\ 14396 !*** ./node_modules/core-js/internals/function-uncurry-this-accessor.js ***! 14397 \**************************************************************************/ 14398/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14399 14400"use strict"; 14401 14402var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14403var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 14404 14405module.exports = function (object, key, method) { 14406 try { 14407 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 14408 return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); 14409 } catch (error) { /* empty */ } 14410}; 14411 14412 14413/***/ }), 14414
vendor: 893 bytes, lines 14415-14435
14415/***/ "./node_modules/core-js/internals/function-uncurry-this-clause.js": 14416/*!************************************************************************!*\ 14417 !*** ./node_modules/core-js/internals/function-uncurry-this-clause.js ***! 14418 \************************************************************************/ 14419/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14420 14421"use strict"; 14422 14423var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 14424var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14425 14426module.exports = function (fn) { 14427 // Nashorn bug: 14428 // https://github.com/zloirock/core-js/issues/1128 14429 // https://github.com/zloirock/core-js/issues/1130 14430 if (classofRaw(fn) === 'Function') return uncurryThis(fn); 14431}; 14432 14433 14434/***/ }), 14435
vendor: 817 bytes, lines 14436-14458
14436/***/ "./node_modules/core-js/internals/function-uncurry-this.js": 14437/*!*****************************************************************!*\ 14438 !*** ./node_modules/core-js/internals/function-uncurry-this.js ***! 14439 \*****************************************************************/ 14440/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14441 14442"use strict"; 14443 14444var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); 14445 14446var FunctionPrototype = Function.prototype; 14447var call = FunctionPrototype.call; 14448var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); 14449 14450module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { 14451 return function () { 14452 return call.apply(fn, arguments); 14453 }; 14454}; 14455 14456 14457/***/ }), 14458
vendor: 827 bytes, lines 14459-14480
14459/***/ "./node_modules/core-js/internals/get-built-in.js": 14460/*!********************************************************!*\ 14461 !*** ./node_modules/core-js/internals/get-built-in.js ***! 14462 \********************************************************/ 14463/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14464 14465"use strict"; 14466 14467var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 14468var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 14469 14470var aFunction = function (argument) { 14471 return isCallable(argument) ? argument : undefined; 14472}; 14473 14474module.exports = function (namespace, method) { 14475 return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; 14476}; 14477 14478 14479/***/ }), 14480
vendor: 1,205 bytes, lines 14481-14505
14481/***/ "./node_modules/core-js/internals/get-iterator-method.js": 14482/*!***************************************************************!*\ 14483 !*** ./node_modules/core-js/internals/get-iterator-method.js ***! 14484 \***************************************************************/ 14485/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14486 14487"use strict"; 14488 14489var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); 14490var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); 14491var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 14492var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); 14493var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 14494 14495var ITERATOR = wellKnownSymbol('iterator'); 14496 14497module.exports = function (it) { 14498 if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) 14499 || getMethod(it, '@@iterator') 14500 || Iterators[classof(it)]; 14501}; 14502 14503 14504/***/ }), 14505
vendor: 1,290 bytes, lines 14506-14530
14506/***/ "./node_modules/core-js/internals/get-iterator.js": 14507/*!********************************************************!*\ 14508 !*** ./node_modules/core-js/internals/get-iterator.js ***! 14509 \********************************************************/ 14510/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14511 14512"use strict"; 14513 14514var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 14515var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 14516var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 14517var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 14518var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); 14519 14520var $TypeError = TypeError; 14521 14522module.exports = function (argument, usingIterator) { 14523 var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; 14524 if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); 14525 throw new $TypeError(tryToString(argument) + ' is not iterable'); 14526}; 14527 14528 14529/***/ }), 14530
vendor: 1,746 bytes, lines 14531-14571
14531/***/ "./node_modules/core-js/internals/get-json-replacer-function.js": 14532/*!**********************************************************************!*\ 14533 !*** ./node_modules/core-js/internals/get-json-replacer-function.js ***! 14534 \**********************************************************************/ 14535/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14536 14537"use strict"; 14538 14539var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14540var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); 14541var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 14542var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 14543var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 14544 14545var push = uncurryThis([].push); 14546 14547module.exports = function (replacer) { 14548 if (isCallable(replacer)) return replacer; 14549 if (!isArray(replacer)) return; 14550 var rawLength = replacer.length; 14551 var keys = []; 14552 for (var i = 0; i < rawLength; i++) { 14553 var element = replacer[i]; 14554 if (typeof element == 'string') push(keys, element); 14555 else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); 14556 } 14557 var keysLength = keys.length; 14558 var root = true; 14559 return function (key, value) { 14560 if (root) { 14561 root = false; 14562 return value; 14563 } 14564 if (isArray(this)) return value; 14565 for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; 14566 }; 14567}; 14568 14569 14570/***/ }), 14571
vendor: 794 bytes, lines 14572-14592
14572/***/ "./node_modules/core-js/internals/get-method.js": 14573/*!******************************************************!*\ 14574 !*** ./node_modules/core-js/internals/get-method.js ***! 14575 \******************************************************/ 14576/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14577 14578"use strict"; 14579 14580var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 14581var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 14582 14583// `GetMethod` abstract operation 14584// https://tc39.es/ecma262/#sec-getmethod 14585module.exports = function (V, P) { 14586 var func = V[P]; 14587 return isNullOrUndefined(func) ? undefined : aCallable(func); 14588}; 14589 14590 14591/***/ }), 14592
vendor: 2,121 bytes, lines 14593-14649
14593/***/ "./node_modules/core-js/internals/get-substitution.js": 14594/*!************************************************************!*\ 14595 !*** ./node_modules/core-js/internals/get-substitution.js ***! 14596 \************************************************************/ 14597/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14598 14599"use strict"; 14600 14601var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14602var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 14603 14604var floor = Math.floor; 14605var charAt = uncurryThis(''.charAt); 14606var replace = uncurryThis(''.replace); 14607var stringSlice = uncurryThis(''.slice); 14608// eslint-disable-next-line redos/no-vulnerable -- safe 14609var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; 14610var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; 14611 14612// `GetSubstitution` abstract operation 14613// https://tc39.es/ecma262/#sec-getsubstitution 14614module.exports = function (matched, str, position, captures, namedCaptures, replacement) { 14615 var tailPos = position + matched.length; 14616 var m = captures.length; 14617 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 14618 if (namedCaptures !== undefined) { 14619 namedCaptures = toObject(namedCaptures); 14620 symbols = SUBSTITUTION_SYMBOLS; 14621 } 14622 return replace(replacement, symbols, function (match, ch) { 14623 var capture; 14624 switch (charAt(ch, 0)) { 14625 case '$': return '$'; 14626 case '&': return matched; 14627 case '`': return stringSlice(str, 0, position); 14628 case "'": return stringSlice(str, tailPos); 14629 case '<': 14630 capture = namedCaptures[stringSlice(ch, 1, -1)]; 14631 break; 14632 default: // \d\d? 14633 var n = +ch; 14634 if (n === 0) return match; 14635 if (n > m) { 14636 var f = floor(n / 10); 14637 if (f === 0) return match; 14638 if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); 14639 return match; 14640 } 14641 capture = captures[n - 1]; 14642 } 14643 return capture === undefined ? '' : capture; 14644 }); 14645}; 14646 14647 14648/***/ }), 14649
vendor: 950 bytes, lines 14650-14675
14650/***/ "./node_modules/core-js/internals/global.js": 14651/*!**************************************************!*\ 14652 !*** ./node_modules/core-js/internals/global.js ***! 14653 \**************************************************/ 14654/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 14655 14656"use strict"; 14657 14658var check = function (it) { 14659 return it && it.Math === Math && it; 14660}; 14661 14662// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 14663module.exports = 14664 // eslint-disable-next-line es/no-global-this -- safe 14665 check(typeof globalThis == 'object' && globalThis) || 14666 check(typeof window == 'object' && window) || 14667 // eslint-disable-next-line no-restricted-globals -- safe 14668 check(typeof self == 'object' && self) || 14669 check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || 14670 // eslint-disable-next-line no-new-func -- fallback 14671 (function () { return this; })() || this || Function('return this')(); 14672 14673 14674/***/ }), 14675
vendor: 918 bytes, lines 14676-14698
14676/***/ "./node_modules/core-js/internals/has-own-property.js": 14677/*!************************************************************!*\ 14678 !*** ./node_modules/core-js/internals/has-own-property.js ***! 14679 \************************************************************/ 14680/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14681 14682"use strict"; 14683 14684var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14685var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 14686 14687var hasOwnProperty = uncurryThis({}.hasOwnProperty); 14688 14689// `HasOwnProperty` abstract operation 14690// https://tc39.es/ecma262/#sec-hasownproperty 14691// eslint-disable-next-line es/no-object-hasown -- safe 14692module.exports = Object.hasOwn || function hasOwn(it, key) { 14693 return hasOwnProperty(toObject(it), key); 14694}; 14695 14696 14697/***/ }), 14698
vendor: 310 bytes, lines 14699-14711
14699/***/ "./node_modules/core-js/internals/hidden-keys.js": 14700/*!*******************************************************!*\ 14701 !*** ./node_modules/core-js/internals/hidden-keys.js ***! 14702 \*******************************************************/ 14703/***/ ((module) => { 14704 14705"use strict"; 14706 14707module.exports = {}; 14708 14709 14710/***/ }), 14711
vendor: 517 bytes, lines 14712-14729
14712/***/ "./node_modules/core-js/internals/host-report-errors.js": 14713/*!**************************************************************!*\ 14714 !*** ./node_modules/core-js/internals/host-report-errors.js ***! 14715 \**************************************************************/ 14716/***/ ((module) => { 14717 14718"use strict"; 14719 14720module.exports = function (a, b) { 14721 try { 14722 // eslint-disable-next-line no-console -- safe 14723 arguments.length === 1 ? console.error(a) : console.error(a, b); 14724 } catch (error) { /* empty */ } 14725}; 14726 14727 14728/***/ }), 14729
vendor: 492 bytes, lines 14730-14744
14730/***/ "./node_modules/core-js/internals/html.js": 14731/*!************************************************!*\ 14732 !*** ./node_modules/core-js/internals/html.js ***! 14733 \************************************************/ 14734/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14735 14736"use strict"; 14737 14738var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 14739 14740module.exports = getBuiltIn('document', 'documentElement'); 14741 14742 14743/***/ }), 14744
vendor: 1,018 bytes, lines 14745-14767
14745/***/ "./node_modules/core-js/internals/ie8-dom-define.js": 14746/*!**********************************************************!*\ 14747 !*** ./node_modules/core-js/internals/ie8-dom-define.js ***! 14748 \**********************************************************/ 14749/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14750 14751"use strict"; 14752 14753var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 14754var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 14755var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); 14756 14757// Thanks to IE8 for its funny defineProperty 14758module.exports = !DESCRIPTORS && !fails(function () { 14759 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 14760 return Object.defineProperty(createElement('div'), 'a', { 14761 get: function () { return 7; } 14762 }).a !== 7; 14763}); 14764 14765 14766/***/ }), 14767
vendor: 1,163 bytes, lines 14768-14794
14768/***/ "./node_modules/core-js/internals/indexed-object.js": 14769/*!**********************************************************!*\ 14770 !*** ./node_modules/core-js/internals/indexed-object.js ***! 14771 \**********************************************************/ 14772/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14773 14774"use strict"; 14775 14776var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14777var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 14778var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 14779 14780var $Object = Object; 14781var split = uncurryThis(''.split); 14782 14783// fallback for non-array-like ES3 and non-enumerable old V8 strings 14784module.exports = fails(function () { 14785 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 14786 // eslint-disable-next-line no-prototype-builtins -- safe 14787 return !$Object('z').propertyIsEnumerable(0); 14788}) ? function (it) { 14789 return classof(it) === 'String' ? split(it, '') : $Object(it); 14790} : $Object; 14791 14792 14793/***/ }), 14794
vendor: 1,315 bytes, lines 14795-14824
14795/***/ "./node_modules/core-js/internals/inherit-if-required.js": 14796/*!***************************************************************!*\ 14797 !*** ./node_modules/core-js/internals/inherit-if-required.js ***! 14798 \***************************************************************/ 14799/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14800 14801"use strict"; 14802 14803var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 14804var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 14805var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); 14806 14807// makes subclassing work correct for wrapped built-ins 14808module.exports = function ($this, dummy, Wrapper) { 14809 var NewTarget, NewTargetPrototype; 14810 if ( 14811 // it can work only with native `setPrototypeOf` 14812 setPrototypeOf && 14813 // we haven't completely correct pre-ES6 way for getting `new.target`, so use this 14814 isCallable(NewTarget = dummy.constructor) && 14815 NewTarget !== Wrapper && 14816 isObject(NewTargetPrototype = NewTarget.prototype) && 14817 NewTargetPrototype !== Wrapper.prototype 14818 ) setPrototypeOf($this, NewTargetPrototype); 14819 return $this; 14820}; 14821 14822 14823/***/ }), 14824
vendor: 1,025 bytes, lines 14825-14850
14825/***/ "./node_modules/core-js/internals/inspect-source.js": 14826/*!**********************************************************!*\ 14827 !*** ./node_modules/core-js/internals/inspect-source.js ***! 14828 \**********************************************************/ 14829/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14830 14831"use strict"; 14832 14833var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 14834var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 14835var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); 14836 14837var functionToString = uncurryThis(Function.toString); 14838 14839// this helper broken in `[email protected]`, so we can't use `shared` helper 14840if (!isCallable(store.inspectSource)) { 14841 store.inspectSource = function (it) { 14842 return functionToString(it); 14843 }; 14844} 14845 14846module.exports = store.inspectSource; 14847 14848 14849/***/ }), 14850
vendor: 2,989 bytes, lines 14851-14932
14851/***/ "./node_modules/core-js/internals/internal-state.js": 14852/*!**********************************************************!*\ 14853 !*** ./node_modules/core-js/internals/internal-state.js ***! 14854 \**********************************************************/ 14855/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14856 14857"use strict"; 14858 14859var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "./node_modules/core-js/internals/weak-map-basic-detection.js"); 14860var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 14861var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 14862var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 14863var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 14864var shared = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); 14865var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); 14866var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); 14867 14868var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; 14869var TypeError = global.TypeError; 14870var WeakMap = global.WeakMap; 14871var set, get, has; 14872 14873var enforce = function (it) { 14874 return has(it) ? get(it) : set(it, {}); 14875}; 14876 14877var getterFor = function (TYPE) { 14878 return function (it) { 14879 var state; 14880 if (!isObject(it) || (state = get(it)).type !== TYPE) { 14881 throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); 14882 } return state; 14883 }; 14884}; 14885 14886if (NATIVE_WEAK_MAP || shared.state) { 14887 var store = shared.state || (shared.state = new WeakMap()); 14888 /* eslint-disable no-self-assign -- prototype methods protection */ 14889 store.get = store.get; 14890 store.has = store.has; 14891 store.set = store.set; 14892 /* eslint-enable no-self-assign -- prototype methods protection */ 14893 set = function (it, metadata) { 14894 if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 14895 metadata.facade = it; 14896 store.set(it, metadata); 14897 return metadata; 14898 }; 14899 get = function (it) { 14900 return store.get(it) || {}; 14901 }; 14902 has = function (it) { 14903 return store.has(it); 14904 }; 14905} else { 14906 var STATE = sharedKey('state'); 14907 hiddenKeys[STATE] = true; 14908 set = function (it, metadata) { 14909 if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 14910 metadata.facade = it; 14911 createNonEnumerableProperty(it, STATE, metadata); 14912 return metadata; 14913 }; 14914 get = function (it) { 14915 return hasOwn(it, STATE) ? it[STATE] : {}; 14916 }; 14917 has = function (it) { 14918 return hasOwn(it, STATE); 14919 }; 14920} 14921 14922module.exports = { 14923 set: set, 14924 get: get, 14925 has: has, 14926 enforce: enforce, 14927 getterFor: getterFor 14928}; 14929 14930 14931/***/ }), 14932
vendor: 887 bytes, lines 14933-14954
14933/***/ "./node_modules/core-js/internals/is-array-iterator-method.js": 14934/*!********************************************************************!*\ 14935 !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***! 14936 \********************************************************************/ 14937/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14938 14939"use strict"; 14940 14941var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 14942var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); 14943 14944var ITERATOR = wellKnownSymbol('iterator'); 14945var ArrayPrototype = Array.prototype; 14946 14947// check on default Array iterator 14948module.exports = function (it) { 14949 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); 14950}; 14951 14952 14953/***/ }), 14954
vendor: 677 bytes, lines 14955-14974
14955/***/ "./node_modules/core-js/internals/is-array.js": 14956/*!****************************************************!*\ 14957 !*** ./node_modules/core-js/internals/is-array.js ***! 14958 \****************************************************/ 14959/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14960 14961"use strict"; 14962 14963var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 14964 14965// `IsArray` abstract operation 14966// https://tc39.es/ecma262/#sec-isarray 14967// eslint-disable-next-line es/no-array-isarray -- safe 14968module.exports = Array.isArray || function isArray(argument) { 14969 return classof(argument) === 'Array'; 14970}; 14971 14972 14973/***/ }), 14974
vendor: 779 bytes, lines 14975-14997
14975/***/ "./node_modules/core-js/internals/is-callable.js": 14976/*!*******************************************************!*\ 14977 !*** ./node_modules/core-js/internals/is-callable.js ***! 14978 \*******************************************************/ 14979/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 14980 14981"use strict"; 14982 14983var $documentAll = __webpack_require__(/*! ../internals/document-all */ "./node_modules/core-js/internals/document-all.js"); 14984 14985var documentAll = $documentAll.all; 14986 14987// `IsCallable` abstract operation 14988// https://tc39.es/ecma262/#sec-iscallable 14989module.exports = $documentAll.IS_HTMLDDA ? function (argument) { 14990 return typeof argument == 'function' || argument === documentAll; 14991} : function (argument) { 14992 return typeof argument == 'function'; 14993}; 14994 14995 14996/***/ }), 14997
vendor: 2,555 bytes, lines 14998-15061
14998/***/ "./node_modules/core-js/internals/is-constructor.js": 14999/*!**********************************************************!*\ 15000 !*** ./node_modules/core-js/internals/is-constructor.js ***! 15001 \**********************************************************/ 15002/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15003 15004"use strict"; 15005 15006var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 15007var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 15008var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15009var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); 15010var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 15011var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); 15012 15013var noop = function () { /* empty */ }; 15014var empty = []; 15015var construct = getBuiltIn('Reflect', 'construct'); 15016var constructorRegExp = /^\s*(?:class|function)\b/; 15017var exec = uncurryThis(constructorRegExp.exec); 15018var INCORRECT_TO_STRING = !constructorRegExp.test(noop); 15019 15020var isConstructorModern = function isConstructor(argument) { 15021 if (!isCallable(argument)) return false; 15022 try { 15023 construct(noop, empty, argument); 15024 return true; 15025 } catch (error) { 15026 return false; 15027 } 15028}; 15029 15030var isConstructorLegacy = function isConstructor(argument) { 15031 if (!isCallable(argument)) return false; 15032 switch (classof(argument)) { 15033 case 'AsyncFunction': 15034 case 'GeneratorFunction': 15035 case 'AsyncGeneratorFunction': return false; 15036 } 15037 try { 15038 // we can't check .prototype since constructors produced by .bind haven't it 15039 // `Function#toString` throws on some built-it function in some legacy engines 15040 // (for example, `DOMQuad` and similar in FF41-) 15041 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); 15042 } catch (error) { 15043 return true; 15044 } 15045}; 15046 15047isConstructorLegacy.sham = true; 15048 15049// `IsConstructor` abstract operation 15050// https://tc39.es/ecma262/#sec-isconstructor 15051module.exports = !construct || fails(function () { 15052 var called; 15053 return isConstructorModern(isConstructorModern.call) 15054 || !isConstructorModern(Object) 15055 || !isConstructorModern(function () { called = true; }) 15056 || called; 15057}) ? isConstructorLegacy : isConstructorModern; 15058 15059 15060/***/ }), 15061
vendor: 1,076 bytes, lines 15062-15095
15062/***/ "./node_modules/core-js/internals/is-forced.js": 15063/*!*****************************************************!*\ 15064 !*** ./node_modules/core-js/internals/is-forced.js ***! 15065 \*****************************************************/ 15066/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15067 15068"use strict"; 15069 15070var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 15071var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15072 15073var replacement = /#|\.prototype\./; 15074 15075var isForced = function (feature, detection) { 15076 var value = data[normalize(feature)]; 15077 return value === POLYFILL ? true 15078 : value === NATIVE ? false 15079 : isCallable(detection) ? fails(detection) 15080 : !!detection; 15081}; 15082 15083var normalize = isForced.normalize = function (string) { 15084 return String(string).replace(replacement, '.').toLowerCase(); 15085}; 15086 15087var data = isForced.data = {}; 15088var NATIVE = isForced.NATIVE = 'N'; 15089var POLYFILL = isForced.POLYFILL = 'P'; 15090 15091module.exports = isForced; 15092 15093 15094/***/ }), 15095
vendor: 534 bytes, lines 15096-15112
15096/***/ "./node_modules/core-js/internals/is-null-or-undefined.js": 15097/*!****************************************************************!*\ 15098 !*** ./node_modules/core-js/internals/is-null-or-undefined.js ***! 15099 \****************************************************************/ 15100/***/ ((module) => { 15101 15102"use strict"; 15103 15104// we can't use just `it == null` since of `document.all` special case 15105// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec 15106module.exports = function (it) { 15107 return it === null || it === undefined; 15108}; 15109 15110 15111/***/ }), 15112
vendor: 842 bytes, lines 15113-15134
15113/***/ "./node_modules/core-js/internals/is-object.js": 15114/*!*****************************************************!*\ 15115 !*** ./node_modules/core-js/internals/is-object.js ***! 15116 \*****************************************************/ 15117/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15118 15119"use strict"; 15120 15121var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15122var $documentAll = __webpack_require__(/*! ../internals/document-all */ "./node_modules/core-js/internals/document-all.js"); 15123 15124var documentAll = $documentAll.all; 15125 15126module.exports = $documentAll.IS_HTMLDDA ? function (it) { 15127 return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; 15128} : function (it) { 15129 return typeof it == 'object' ? it !== null : isCallable(it); 15130}; 15131 15132 15133/***/ }), 15134
vendor: 297 bytes, lines 15135-15147
15135/***/ "./node_modules/core-js/internals/is-pure.js": 15136/*!***************************************************!*\ 15137 !*** ./node_modules/core-js/internals/is-pure.js ***! 15138 \***************************************************/ 15139/***/ ((module) => { 15140 15141"use strict"; 15142 15143module.exports = false; 15144 15145 15146/***/ }), 15147
vendor: 970 bytes, lines 15148-15171
15148/***/ "./node_modules/core-js/internals/is-regexp.js": 15149/*!*****************************************************!*\ 15150 !*** ./node_modules/core-js/internals/is-regexp.js ***! 15151 \*****************************************************/ 15152/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15153 15154"use strict"; 15155 15156var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 15157var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 15158var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 15159 15160var MATCH = wellKnownSymbol('match'); 15161 15162// `IsRegExp` abstract operation 15163// https://tc39.es/ecma262/#sec-isregexp 15164module.exports = function (it) { 15165 var isRegExp; 15166 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); 15167}; 15168 15169 15170/***/ }), 15171
vendor: 1,107 bytes, lines 15172-15196
15172/***/ "./node_modules/core-js/internals/is-symbol.js": 15173/*!*****************************************************!*\ 15174 !*** ./node_modules/core-js/internals/is-symbol.js ***! 15175 \*****************************************************/ 15176/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15177 15178"use strict"; 15179 15180var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 15181var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15182var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 15183var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js/internals/use-symbol-as-uid.js"); 15184 15185var $Object = Object; 15186 15187module.exports = USE_SYMBOL_AS_UID ? function (it) { 15188 return typeof it == 'symbol'; 15189} : function (it) { 15190 var $Symbol = getBuiltIn('Symbol'); 15191 return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); 15192}; 15193 15194 15195/***/ }), 15196
vendor: 3,595 bytes, lines 15197-15276
15197/***/ "./node_modules/core-js/internals/iterate.js": 15198/*!***************************************************!*\ 15199 !*** ./node_modules/core-js/internals/iterate.js ***! 15200 \***************************************************/ 15201/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15202 15203"use strict"; 15204 15205var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); 15206var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 15207var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 15208var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 15209var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/core-js/internals/is-array-iterator-method.js"); 15210var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 15211var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 15212var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/core-js/internals/get-iterator.js"); 15213var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); 15214var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/core-js/internals/iterator-close.js"); 15215 15216var $TypeError = TypeError; 15217 15218var Result = function (stopped, result) { 15219 this.stopped = stopped; 15220 this.result = result; 15221}; 15222 15223var ResultPrototype = Result.prototype; 15224 15225module.exports = function (iterable, unboundFunction, options) { 15226 var that = options && options.that; 15227 var AS_ENTRIES = !!(options && options.AS_ENTRIES); 15228 var IS_RECORD = !!(options && options.IS_RECORD); 15229 var IS_ITERATOR = !!(options && options.IS_ITERATOR); 15230 var INTERRUPTED = !!(options && options.INTERRUPTED); 15231 var fn = bind(unboundFunction, that); 15232 var iterator, iterFn, index, length, result, next, step; 15233 15234 var stop = function (condition) { 15235 if (iterator) iteratorClose(iterator, 'normal', condition); 15236 return new Result(true, condition); 15237 }; 15238 15239 var callFn = function (value) { 15240 if (AS_ENTRIES) { 15241 anObject(value); 15242 return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); 15243 } return INTERRUPTED ? fn(value, stop) : fn(value); 15244 }; 15245 15246 if (IS_RECORD) { 15247 iterator = iterable.iterator; 15248 } else if (IS_ITERATOR) { 15249 iterator = iterable; 15250 } else { 15251 iterFn = getIteratorMethod(iterable); 15252 if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); 15253 // optimisation for array iterators 15254 if (isArrayIteratorMethod(iterFn)) { 15255 for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { 15256 result = callFn(iterable[index]); 15257 if (result && isPrototypeOf(ResultPrototype, result)) return result; 15258 } return new Result(false); 15259 } 15260 iterator = getIterator(iterable, iterFn); 15261 } 15262 15263 next = IS_RECORD ? iterable.next : iterator.next; 15264 while (!(step = call(next, iterator)).done) { 15265 try { 15266 result = callFn(step.value); 15267 } catch (error) { 15268 iteratorClose(iterator, 'throw', error); 15269 } 15270 if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; 15271 } return new Result(false); 15272}; 15273 15274 15275/***/ }), 15276
vendor: 1,191 bytes, lines 15277-15311
15277/***/ "./node_modules/core-js/internals/iterator-close.js": 15278/*!**********************************************************!*\ 15279 !*** ./node_modules/core-js/internals/iterator-close.js ***! 15280 \**********************************************************/ 15281/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15282 15283"use strict"; 15284 15285var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 15286var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 15287var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); 15288 15289module.exports = function (iterator, kind, value) { 15290 var innerResult, innerError; 15291 anObject(iterator); 15292 try { 15293 innerResult = getMethod(iterator, 'return'); 15294 if (!innerResult) { 15295 if (kind === 'throw') throw value; 15296 return value; 15297 } 15298 innerResult = call(innerResult, iterator); 15299 } catch (error) { 15300 innerError = true; 15301 innerResult = error; 15302 } 15303 if (kind === 'throw') throw value; 15304 if (innerError) throw innerResult; 15305 anObject(innerResult); 15306 return value; 15307}; 15308 15309 15310/***/ }), 15311
vendor: 1,526 bytes, lines 15312-15338
15312/***/ "./node_modules/core-js/internals/iterator-create-constructor.js": 15313/*!***********************************************************************!*\ 15314 !*** ./node_modules/core-js/internals/iterator-create-constructor.js ***! 15315 \***********************************************************************/ 15316/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15317 15318"use strict"; 15319 15320var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js").IteratorPrototype); 15321var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); 15322var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); 15323var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); 15324var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); 15325 15326var returnThis = function () { return this; }; 15327 15328module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { 15329 var TO_STRING_TAG = NAME + ' Iterator'; 15330 IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); 15331 setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); 15332 Iterators[TO_STRING_TAG] = returnThis; 15333 return IteratorConstructor; 15334}; 15335 15336 15337/***/ }), 15338
vendor: 5,862 bytes, lines 15339-15451
15339/***/ "./node_modules/core-js/internals/iterator-define.js": 15340/*!***********************************************************!*\ 15341 !*** ./node_modules/core-js/internals/iterator-define.js ***! 15342 \***********************************************************/ 15343/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15344 15345"use strict"; 15346 15347var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 15348var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 15349var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 15350var FunctionName = __webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js"); 15351var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15352var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/core-js/internals/iterator-create-constructor.js"); 15353var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); 15354var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); 15355var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); 15356var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 15357var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 15358var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 15359var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); 15360var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js"); 15361 15362var PROPER_FUNCTION_NAME = FunctionName.PROPER; 15363var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; 15364var IteratorPrototype = IteratorsCore.IteratorPrototype; 15365var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; 15366var ITERATOR = wellKnownSymbol('iterator'); 15367var KEYS = 'keys'; 15368var VALUES = 'values'; 15369var ENTRIES = 'entries'; 15370 15371var returnThis = function () { return this; }; 15372 15373module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { 15374 createIteratorConstructor(IteratorConstructor, NAME, next); 15375 15376 var getIterationMethod = function (KIND) { 15377 if (KIND === DEFAULT && defaultIterator) return defaultIterator; 15378 if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; 15379 15380 switch (KIND) { 15381 case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; 15382 case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; 15383 case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; 15384 } 15385 15386 return function () { return new IteratorConstructor(this); }; 15387 }; 15388 15389 var TO_STRING_TAG = NAME + ' Iterator'; 15390 var INCORRECT_VALUES_NAME = false; 15391 var IterablePrototype = Iterable.prototype; 15392 var nativeIterator = IterablePrototype[ITERATOR] 15393 || IterablePrototype['@@iterator'] 15394 || DEFAULT && IterablePrototype[DEFAULT]; 15395 var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); 15396 var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; 15397 var CurrentIteratorPrototype, methods, KEY; 15398 15399 // fix native 15400 if (anyNativeIterator) { 15401 CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); 15402 if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { 15403 if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { 15404 if (setPrototypeOf) { 15405 setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); 15406 } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { 15407 defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); 15408 } 15409 } 15410 // Set @@toStringTag to native iterators 15411 setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); 15412 if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; 15413 } 15414 } 15415 15416 // fix Array.prototype.{ values, @@iterator }.name in V8 / FF 15417 if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { 15418 if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { 15419 createNonEnumerableProperty(IterablePrototype, 'name', VALUES); 15420 } else { 15421 INCORRECT_VALUES_NAME = true; 15422 defaultIterator = function values() { return call(nativeIterator, this); }; 15423 } 15424 } 15425 15426 // export additional methods 15427 if (DEFAULT) { 15428 methods = { 15429 values: getIterationMethod(VALUES), 15430 keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), 15431 entries: getIterationMethod(ENTRIES) 15432 }; 15433 if (FORCED) for (KEY in methods) { 15434 if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { 15435 defineBuiltIn(IterablePrototype, KEY, methods[KEY]); 15436 } 15437 } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); 15438 } 15439 15440 // define iterator 15441 if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { 15442 defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); 15443 } 15444 Iterators[NAME] = defaultIterator; 15445 15446 return methods; 15447}; 15448 15449 15450/***/ }), 15451
vendor: 2,682 bytes, lines 15452-15511
15452/***/ "./node_modules/core-js/internals/iterators-core.js": 15453/*!**********************************************************!*\ 15454 !*** ./node_modules/core-js/internals/iterators-core.js ***! 15455 \**********************************************************/ 15456/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15457 15458"use strict"; 15459 15460var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 15461var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15462var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 15463var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); 15464var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); 15465var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 15466var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 15467var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 15468 15469var ITERATOR = wellKnownSymbol('iterator'); 15470var BUGGY_SAFARI_ITERATORS = false; 15471 15472// `%IteratorPrototype%` object 15473// https://tc39.es/ecma262/#sec-%iteratorprototype%-object 15474var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; 15475 15476/* eslint-disable es/no-array-prototype-keys -- safe */ 15477if ([].keys) { 15478 arrayIterator = [].keys(); 15479 // Safari 8 has buggy iterators w/o `next` 15480 if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; 15481 else { 15482 PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); 15483 if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; 15484 } 15485} 15486 15487var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { 15488 var test = {}; 15489 // FF44- legacy iterators case 15490 return IteratorPrototype[ITERATOR].call(test) !== test; 15491}); 15492 15493if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; 15494else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); 15495 15496// `%IteratorPrototype%[@@iterator]()` method 15497// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator 15498if (!isCallable(IteratorPrototype[ITERATOR])) { 15499 defineBuiltIn(IteratorPrototype, ITERATOR, function () { 15500 return this; 15501 }); 15502} 15503 15504module.exports = { 15505 IteratorPrototype: IteratorPrototype, 15506 BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS 15507}; 15508 15509 15510/***/ }), 15511
vendor: 302 bytes, lines 15512-15524
15512/***/ "./node_modules/core-js/internals/iterators.js": 15513/*!*****************************************************!*\ 15514 !*** ./node_modules/core-js/internals/iterators.js ***! 15515 \*****************************************************/ 15516/***/ ((module) => { 15517 15518"use strict"; 15519 15520module.exports = {}; 15521 15522 15523/***/ }), 15524
vendor: 648 bytes, lines 15525-15543
15525/***/ "./node_modules/core-js/internals/length-of-array-like.js": 15526/*!****************************************************************!*\ 15527 !*** ./node_modules/core-js/internals/length-of-array-like.js ***! 15528 \****************************************************************/ 15529/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15530 15531"use strict"; 15532 15533var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); 15534 15535// `LengthOfArrayLike` abstract operation 15536// https://tc39.es/ecma262/#sec-lengthofarraylike 15537module.exports = function (obj) { 15538 return toLength(obj.length); 15539}; 15540 15541 15542/***/ }), 15543
vendor: 3,492 bytes, lines 15544-15609
15544/***/ "./node_modules/core-js/internals/make-built-in.js": 15545/*!*********************************************************!*\ 15546 !*** ./node_modules/core-js/internals/make-built-in.js ***! 15547 \*********************************************************/ 15548/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15549 15550"use strict"; 15551 15552var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 15553var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 15554var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 15555var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 15556var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 15557var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").CONFIGURABLE); 15558var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); 15559var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); 15560 15561var enforceInternalState = InternalStateModule.enforce; 15562var getInternalState = InternalStateModule.get; 15563var $String = String; 15564// eslint-disable-next-line es/no-object-defineproperty -- safe 15565var defineProperty = Object.defineProperty; 15566var stringSlice = uncurryThis(''.slice); 15567var replace = uncurryThis(''.replace); 15568var join = uncurryThis([].join); 15569 15570var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { 15571 return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; 15572}); 15573 15574var TEMPLATE = String(String).split('String'); 15575 15576var makeBuiltIn = module.exports = function (value, name, options) { 15577 if (stringSlice($String(name), 0, 7) === 'Symbol(') { 15578 name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; 15579 } 15580 if (options && options.getter) name = 'get ' + name; 15581 if (options && options.setter) name = 'set ' + name; 15582 if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { 15583 if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); 15584 else value.name = name; 15585 } 15586 if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { 15587 defineProperty(value, 'length', { value: options.arity }); 15588 } 15589 try { 15590 if (options && hasOwn(options, 'constructor') && options.constructor) { 15591 if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); 15592 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable 15593 } else if (value.prototype) value.prototype = undefined; 15594 } catch (error) { /* empty */ } 15595 var state = enforceInternalState(value); 15596 if (!hasOwn(state, 'source')) { 15597 state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); 15598 } return value; 15599}; 15600 15601// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 15602// eslint-disable-next-line no-extend-native -- required 15603Function.prototype.toString = makeBuiltIn(function toString() { 15604 return isCallable(this) && getInternalState(this).source || inspectSource(this); 15605}, 'toString'); 15606 15607 15608/***/ }), 15609
vendor: 555 bytes, lines 15610-15631
15610/***/ "./node_modules/core-js/internals/math-trunc.js": 15611/*!******************************************************!*\ 15612 !*** ./node_modules/core-js/internals/math-trunc.js ***! 15613 \******************************************************/ 15614/***/ ((module) => { 15615 15616"use strict"; 15617 15618var ceil = Math.ceil; 15619var floor = Math.floor; 15620 15621// `Math.trunc` method 15622// https://tc39.es/ecma262/#sec-math.trunc 15623// eslint-disable-next-line es/no-math-trunc -- safe 15624module.exports = Math.trunc || function trunc(x) { 15625 var n = +x; 15626 return (n > 0 ? floor : ceil)(n); 15627}; 15628 15629 15630/***/ }), 15631
vendor: 3,785 bytes, lines 15632-15723
15632/***/ "./node_modules/core-js/internals/microtask.js": 15633/*!*****************************************************!*\ 15634 !*** ./node_modules/core-js/internals/microtask.js ***! 15635 \*****************************************************/ 15636/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15637 15638"use strict"; 15639 15640var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 15641var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); 15642var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); 15643var macrotask = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").set); 15644var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/core-js/internals/queue.js"); 15645var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "./node_modules/core-js/internals/engine-is-ios.js"); 15646var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "./node_modules/core-js/internals/engine-is-ios-pebble.js"); 15647var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "./node_modules/core-js/internals/engine-is-webos-webkit.js"); 15648var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); 15649 15650var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; 15651var document = global.document; 15652var process = global.process; 15653var Promise = global.Promise; 15654// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` 15655var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); 15656var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; 15657var notify, toggle, node, promise, then; 15658 15659// modern engines have queueMicrotask method 15660if (!microtask) { 15661 var queue = new Queue(); 15662 15663 var flush = function () { 15664 var parent, fn; 15665 if (IS_NODE && (parent = process.domain)) parent.exit(); 15666 while (fn = queue.get()) try { 15667 fn(); 15668 } catch (error) { 15669 if (queue.head) notify(); 15670 throw error; 15671 } 15672 if (parent) parent.enter(); 15673 }; 15674 15675 // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 15676 // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 15677 if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { 15678 toggle = true; 15679 node = document.createTextNode(''); 15680 new MutationObserver(flush).observe(node, { characterData: true }); 15681 notify = function () { 15682 node.data = toggle = !toggle; 15683 }; 15684 // environments with maybe non-completely correct, but existent Promise 15685 } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { 15686 // Promise.resolve without an argument throws an error in LG WebOS 2 15687 promise = Promise.resolve(undefined); 15688 // workaround of WebKit ~ iOS Safari 10.1 bug 15689 promise.constructor = Promise; 15690 then = bind(promise.then, promise); 15691 notify = function () { 15692 then(flush); 15693 }; 15694 // Node.js without promises 15695 } else if (IS_NODE) { 15696 notify = function () { 15697 process.nextTick(flush); 15698 }; 15699 // for other environments - macrotask based on: 15700 // - setImmediate 15701 // - MessageChannel 15702 // - window.postMessage 15703 // - onreadystatechange 15704 // - setTimeout 15705 } else { 15706 // `webpack` dev server bug on IE global methods - use bind(fn, global) 15707 macrotask = bind(macrotask, global); 15708 notify = function () { 15709 macrotask(flush); 15710 }; 15711 } 15712 15713 microtask = function (fn) { 15714 if (!queue.head) notify(); 15715 queue.add(fn); 15716 }; 15717} 15718 15719module.exports = microtask; 15720 15721 15722/***/ }), 15723
vendor: 1,050 bytes, lines 15724-15755
15724/***/ "./node_modules/core-js/internals/new-promise-capability.js": 15725/*!******************************************************************!*\ 15726 !*** ./node_modules/core-js/internals/new-promise-capability.js ***! 15727 \******************************************************************/ 15728/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15729 15730"use strict"; 15731 15732var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 15733 15734var $TypeError = TypeError; 15735 15736var PromiseCapability = function (C) { 15737 var resolve, reject; 15738 this.promise = new C(function ($$resolve, $$reject) { 15739 if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); 15740 resolve = $$resolve; 15741 reject = $$reject; 15742 }); 15743 this.resolve = aCallable(resolve); 15744 this.reject = aCallable(reject); 15745}; 15746 15747// `NewPromiseCapability` abstract operation 15748// https://tc39.es/ecma262/#sec-newpromisecapability 15749module.exports.f = function (C) { 15750 return new PromiseCapability(C); 15751}; 15752 15753 15754/***/ }), 15755
vendor: 1,711 bytes, lines 15756-15789
15756/***/ "./node_modules/core-js/internals/number-parse-float.js": 15757/*!**************************************************************!*\ 15758 !*** ./node_modules/core-js/internals/number-parse-float.js ***! 15759 \**************************************************************/ 15760/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15761 15762"use strict"; 15763 15764var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 15765var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 15766var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 15767var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 15768var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); 15769var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); 15770 15771var charAt = uncurryThis(''.charAt); 15772var $parseFloat = global.parseFloat; 15773var Symbol = global.Symbol; 15774var ITERATOR = Symbol && Symbol.iterator; 15775var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity 15776 // MS Edge 18- broken with boxed symbols 15777 || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); })); 15778 15779// `parseFloat` method 15780// https://tc39.es/ecma262/#sec-parsefloat-string 15781module.exports = FORCED ? function parseFloat(string) { 15782 var trimmedString = trim(toString(string)); 15783 var result = $parseFloat(trimmedString); 15784 return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result; 15785} : $parseFloat; 15786 15787 15788/***/ }), 15789
vendor: 3,901 bytes, lines 15790-15884
15790/***/ "./node_modules/core-js/internals/object-create.js": 15791/*!*********************************************************!*\ 15792 !*** ./node_modules/core-js/internals/object-create.js ***! 15793 \*********************************************************/ 15794/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 15795 15796"use strict"; 15797 15798/* global ActiveXObject -- old IE, WSH */ 15799var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 15800var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js"); 15801var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); 15802var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); 15803var html = __webpack_require__(/*! ../internals/html */ "./node_modules/core-js/internals/html.js"); 15804var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); 15805var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); 15806 15807var GT = '>'; 15808var LT = '<'; 15809var PROTOTYPE = 'prototype'; 15810var SCRIPT = 'script'; 15811var IE_PROTO = sharedKey('IE_PROTO'); 15812 15813var EmptyConstructor = function () { /* empty */ }; 15814 15815var scriptTag = function (content) { 15816 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; 15817}; 15818 15819// Create object with fake `null` prototype: use ActiveX Object with cleared prototype 15820var NullProtoObjectViaActiveX = function (activeXDocument) { 15821 activeXDocument.write(scriptTag('')); 15822 activeXDocument.close(); 15823 var temp = activeXDocument.parentWindow.Object; 15824 activeXDocument = null; // avoid memory leak 15825 return temp; 15826}; 15827 15828// Create object with fake `null` prototype: use iframe Object with cleared prototype 15829var NullProtoObjectViaIFrame = function () { 15830 // Thrash, waste and sodomy: IE GC bug 15831 var iframe = documentCreateElement('iframe'); 15832 var JS = 'java' + SCRIPT + ':'; 15833 var iframeDocument; 15834 iframe.style.display = 'none'; 15835 html.appendChild(iframe); 15836 // https://github.com/zloirock/core-js/issues/475 15837 iframe.src = String(JS); 15838 iframeDocument = iframe.contentWindow.document; 15839 iframeDocument.open(); 15840 iframeDocument.write(scriptTag('document.F=Object')); 15841 iframeDocument.close(); 15842 return iframeDocument.F; 15843}; 15844 15845// Check for document.domain and active x support 15846// No need to use active x approach when document.domain is not set 15847// see https://github.com/es-shims/es5-shim/issues/150 15848// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 15849// avoid IE GC bug 15850var activeXDocument; 15851var NullProtoObject = function () { 15852 try { 15853 activeXDocument = new ActiveXObject('htmlfile'); 15854 } catch (error) { /* ignore */ } 15855 NullProtoObject = typeof document != 'undefined' 15856 ? document.domain && activeXDocument 15857 ? NullProtoObjectViaActiveX(activeXDocument) // old IE 15858 : NullProtoObjectViaIFrame() 15859 : NullProtoObjectViaActiveX(activeXDocument); // WSH 15860 var length = enumBugKeys.length; 15861 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; 15862 return NullProtoObject(); 15863}; 15864 15865hiddenKeys[IE_PROTO] = true; 15866 15867// `Object.create` method 15868// https://tc39.es/ecma262/#sec-object.create 15869// eslint-disable-next-line es/no-object-create -- safe 15870module.exports = Object.create || function create(O, Properties) { 15871 var result; 15872 if (O !== null) { 15873 EmptyConstructor[PROTOTYPE] = anObject(O); 15874 result = new EmptyConstructor(); 15875 EmptyConstructor[PROTOTYPE] = null; 15876 // add "__proto__" for Object.getPrototypeOf polyfill 15877 result[IE_PROTO] = O; 15878 } else result = NullProtoObject(); 15879 return Properties === undefined ? result : definePropertiesModule.f(result, Properties); 15880}; 15881 15882 15883/***/ }), 15884
vendor: 1,728 bytes, lines 15885-15916
15885/***/ "./node_modules/core-js/internals/object-define-properties.js": 15886/*!********************************************************************!*\ 15887 !*** ./node_modules/core-js/internals/object-define-properties.js ***! 15888 \********************************************************************/ 15889/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 15890 15891"use strict"; 15892 15893var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 15894var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js/internals/v8-prototype-define-bug.js"); 15895var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 15896var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 15897var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 15898var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); 15899 15900// `Object.defineProperties` method 15901// https://tc39.es/ecma262/#sec-object.defineproperties 15902// eslint-disable-next-line es/no-object-defineproperties -- safe 15903exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { 15904 anObject(O); 15905 var props = toIndexedObject(Properties); 15906 var keys = objectKeys(Properties); 15907 var length = keys.length; 15908 var index = 0; 15909 var key; 15910 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); 15911 return O; 15912}; 15913 15914 15915/***/ }), 15916
vendor: 2,613 bytes, lines 15917-15971
15917/***/ "./node_modules/core-js/internals/object-define-property.js": 15918/*!******************************************************************!*\ 15919 !*** ./node_modules/core-js/internals/object-define-property.js ***! 15920 \******************************************************************/ 15921/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 15922 15923"use strict"; 15924 15925var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 15926var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); 15927var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js/internals/v8-prototype-define-bug.js"); 15928var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 15929var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); 15930 15931var $TypeError = TypeError; 15932// eslint-disable-next-line es/no-object-defineproperty -- safe 15933var $defineProperty = Object.defineProperty; 15934// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 15935var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 15936var ENUMERABLE = 'enumerable'; 15937var CONFIGURABLE = 'configurable'; 15938var WRITABLE = 'writable'; 15939 15940// `Object.defineProperty` method 15941// https://tc39.es/ecma262/#sec-object.defineproperty 15942exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { 15943 anObject(O); 15944 P = toPropertyKey(P); 15945 anObject(Attributes); 15946 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { 15947 var current = $getOwnPropertyDescriptor(O, P); 15948 if (current && current[WRITABLE]) { 15949 O[P] = Attributes.value; 15950 Attributes = { 15951 configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], 15952 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], 15953 writable: false 15954 }; 15955 } 15956 } return $defineProperty(O, P, Attributes); 15957} : $defineProperty : function defineProperty(O, P, Attributes) { 15958 anObject(O); 15959 P = toPropertyKey(P); 15960 anObject(Attributes); 15961 if (IE8_DOM_DEFINE) try { 15962 return $defineProperty(O, P, Attributes); 15963 } catch (error) { /* empty */ } 15964 if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); 15965 if ('value' in Attributes) O[P] = Attributes.value; 15966 return O; 15967}; 15968 15969 15970/***/ }), 15971
vendor: 2,141 bytes, lines 15972-16005
15972/***/ "./node_modules/core-js/internals/object-get-own-property-descriptor.js": 15973/*!******************************************************************************!*\ 15974 !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! 15975 \******************************************************************************/ 15976/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 15977 15978"use strict"; 15979 15980var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 15981var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 15982var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); 15983var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); 15984var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 15985var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); 15986var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 15987var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); 15988 15989// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 15990var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 15991 15992// `Object.getOwnPropertyDescriptor` method 15993// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor 15994exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { 15995 O = toIndexedObject(O); 15996 P = toPropertyKey(P); 15997 if (IE8_DOM_DEFINE) try { 15998 return $getOwnPropertyDescriptor(O, P); 15999 } catch (error) { /* empty */ } 16000 if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); 16001}; 16002 16003 16004/***/ }), 16005
vendor: 1,602 bytes, lines 16006-16040
16006/***/ "./node_modules/core-js/internals/object-get-own-property-names-external.js": 16007/*!**********************************************************************************!*\ 16008 !*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***! 16009 \**********************************************************************************/ 16010/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16011 16012"use strict"; 16013 16014/* eslint-disable es/no-object-getownpropertynames -- safe */ 16015var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 16016var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 16017var $getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); 16018var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); 16019 16020var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 16021 ? Object.getOwnPropertyNames(window) : []; 16022 16023var getWindowNames = function (it) { 16024 try { 16025 return $getOwnPropertyNames(it); 16026 } catch (error) { 16027 return arraySlice(windowNames); 16028 } 16029}; 16030 16031// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 16032module.exports.f = function getOwnPropertyNames(it) { 16033 return windowNames && classof(it) === 'Window' 16034 ? getWindowNames(it) 16035 : $getOwnPropertyNames(toIndexedObject(it)); 16036}; 16037 16038 16039/***/ }), 16040
vendor: 1,033 bytes, lines 16041-16063
16041/***/ "./node_modules/core-js/internals/object-get-own-property-names.js": 16042/*!*************************************************************************!*\ 16043 !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! 16044 \*************************************************************************/ 16045/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 16046 16047"use strict"; 16048 16049var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); 16050var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); 16051 16052var hiddenKeys = enumBugKeys.concat('length', 'prototype'); 16053 16054// `Object.getOwnPropertyNames` method 16055// https://tc39.es/ecma262/#sec-object.getownpropertynames 16056// eslint-disable-next-line es/no-object-getownpropertynames -- safe 16057exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 16058 return internalObjectKeys(O, hiddenKeys); 16059}; 16060 16061 16062/***/ }), 16063
vendor: 508 bytes, lines 16064-16077
16064/***/ "./node_modules/core-js/internals/object-get-own-property-symbols.js": 16065/*!***************************************************************************!*\ 16066 !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! 16067 \***************************************************************************/ 16068/***/ ((__unused_webpack_module, exports) => { 16069 16070"use strict"; 16071 16072// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe 16073exports.f = Object.getOwnPropertySymbols; 16074 16075 16076/***/ }), 16077
vendor: 1,656 bytes, lines 16078-16110
16078/***/ "./node_modules/core-js/internals/object-get-prototype-of.js": 16079/*!*******************************************************************!*\ 16080 !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! 16081 \*******************************************************************/ 16082/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16083 16084"use strict"; 16085 16086var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 16087var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 16088var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 16089var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); 16090var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "./node_modules/core-js/internals/correct-prototype-getter.js"); 16091 16092var IE_PROTO = sharedKey('IE_PROTO'); 16093var $Object = Object; 16094var ObjectPrototype = $Object.prototype; 16095 16096// `Object.getPrototypeOf` method 16097// https://tc39.es/ecma262/#sec-object.getprototypeof 16098// eslint-disable-next-line es/no-object-getprototypeof -- safe 16099module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { 16100 var object = toObject(O); 16101 if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; 16102 var constructor = object.constructor; 16103 if (isCallable(constructor) && object instanceof constructor) { 16104 return constructor.prototype; 16105 } return object instanceof $Object ? ObjectPrototype : null; 16106}; 16107 16108 16109/***/ }), 16110
vendor: 571 bytes, lines 16111-16125
16111/***/ "./node_modules/core-js/internals/object-is-prototype-of.js": 16112/*!******************************************************************!*\ 16113 !*** ./node_modules/core-js/internals/object-is-prototype-of.js ***! 16114 \******************************************************************/ 16115/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16116 16117"use strict"; 16118 16119var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 16120 16121module.exports = uncurryThis({}.isPrototypeOf); 16122 16123 16124/***/ }), 16125
vendor: 1,441 bytes, lines 16126-16157
16126/***/ "./node_modules/core-js/internals/object-keys-internal.js": 16127/*!****************************************************************!*\ 16128 !*** ./node_modules/core-js/internals/object-keys-internal.js ***! 16129 \****************************************************************/ 16130/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16131 16132"use strict"; 16133 16134var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 16135var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 16136var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 16137var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").indexOf); 16138var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); 16139 16140var push = uncurryThis([].push); 16141 16142module.exports = function (object, names) { 16143 var O = toIndexedObject(object); 16144 var i = 0; 16145 var result = []; 16146 var key; 16147 for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); 16148 // Don't enum bug & hidden keys 16149 while (names.length > i) if (hasOwn(O, key = names[i++])) { 16150 ~indexOf(result, key) || push(result, key); 16151 } 16152 return result; 16153}; 16154 16155 16156/***/ }), 16157
vendor: 831 bytes, lines 16158-16178
16158/***/ "./node_modules/core-js/internals/object-keys.js": 16159/*!*******************************************************!*\ 16160 !*** ./node_modules/core-js/internals/object-keys.js ***! 16161 \*******************************************************/ 16162/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16163 16164"use strict"; 16165 16166var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); 16167var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); 16168 16169// `Object.keys` method 16170// https://tc39.es/ecma262/#sec-object.keys 16171// eslint-disable-next-line es/no-object-keys -- safe 16172module.exports = Object.keys || function keys(O) { 16173 return internalObjectKeys(O, enumBugKeys); 16174}; 16175 16176 16177/***/ }), 16178
vendor: 1,015 bytes, lines 16179-16203
16179/***/ "./node_modules/core-js/internals/object-property-is-enumerable.js": 16180/*!*************************************************************************!*\ 16181 !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! 16182 \*************************************************************************/ 16183/***/ ((__unused_webpack_module, exports) => { 16184 16185"use strict"; 16186 16187var $propertyIsEnumerable = {}.propertyIsEnumerable; 16188// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 16189var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 16190 16191// Nashorn ~ JDK8 bug 16192var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); 16193 16194// `Object.prototype.propertyIsEnumerable` method implementation 16195// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable 16196exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { 16197 var descriptor = getOwnPropertyDescriptor(this, V); 16198 return !!descriptor && descriptor.enumerable; 16199} : $propertyIsEnumerable; 16200 16201 16202/***/ }), 16203
vendor: 1,598 bytes, lines 16204-16241
16204/***/ "./node_modules/core-js/internals/object-set-prototype-of.js": 16205/*!*******************************************************************!*\ 16206 !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! 16207 \*******************************************************************/ 16208/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16209 16210"use strict"; 16211 16212/* eslint-disable no-proto -- safe */ 16213var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "./node_modules/core-js/internals/function-uncurry-this-accessor.js"); 16214var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 16215var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "./node_modules/core-js/internals/a-possible-prototype.js"); 16216 16217// `Object.setPrototypeOf` method 16218// https://tc39.es/ecma262/#sec-object.setprototypeof 16219// Works with __proto__ only. Old v8 can't work with null proto objects. 16220// eslint-disable-next-line es/no-object-setprototypeof -- safe 16221module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { 16222 var CORRECT_SETTER = false; 16223 var test = {}; 16224 var setter; 16225 try { 16226 setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); 16227 setter(test, []); 16228 CORRECT_SETTER = test instanceof Array; 16229 } catch (error) { /* empty */ } 16230 return function setPrototypeOf(O, proto) { 16231 anObject(O); 16232 aPossiblePrototype(proto); 16233 if (CORRECT_SETTER) setter(O, proto); 16234 else O.__proto__ = proto; 16235 return O; 16236 }; 16237}() : undefined); 16238 16239 16240/***/ }), 16241
vendor: 853 bytes, lines 16242-16261
16242/***/ "./node_modules/core-js/internals/object-to-string.js": 16243/*!************************************************************!*\ 16244 !*** ./node_modules/core-js/internals/object-to-string.js ***! 16245 \************************************************************/ 16246/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16247 16248"use strict"; 16249 16250var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); 16251var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); 16252 16253// `Object.prototype.toString` method implementation 16254// https://tc39.es/ecma262/#sec-object.prototype.tostring 16255module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { 16256 return '[object ' + classof(this) + ']'; 16257}; 16258 16259 16260/***/ }), 16261
vendor: 1,286 bytes, lines 16262-16288
16262/***/ "./node_modules/core-js/internals/ordinary-to-primitive.js": 16263/*!*****************************************************************!*\ 16264 !*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***! 16265 \*****************************************************************/ 16266/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16267 16268"use strict"; 16269 16270var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 16271var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 16272var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 16273 16274var $TypeError = TypeError; 16275 16276// `OrdinaryToPrimitive` abstract operation 16277// https://tc39.es/ecma262/#sec-ordinarytoprimitive 16278module.exports = function (input, pref) { 16279 var fn, val; 16280 if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 16281 if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; 16282 if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 16283 throw new $TypeError("Can't convert object to primitive value"); 16284}; 16285 16286 16287/***/ }), 16288
vendor: 1,426 bytes, lines 16289-16314
16289/***/ "./node_modules/core-js/internals/own-keys.js": 16290/*!****************************************************!*\ 16291 !*** ./node_modules/core-js/internals/own-keys.js ***! 16292 \****************************************************/ 16293/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16294 16295"use strict"; 16296 16297var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 16298var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 16299var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); 16300var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); 16301var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 16302 16303var concat = uncurryThis([].concat); 16304 16305// all object keys, includes non-enumerable and symbols 16306module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { 16307 var keys = getOwnPropertyNamesModule.f(anObject(it)); 16308 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 16309 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; 16310}; 16311 16312 16313/***/ }), 16314
vendor: 441 bytes, lines 16315-16329
16315/***/ "./node_modules/core-js/internals/path.js": 16316/*!************************************************!*\ 16317 !*** ./node_modules/core-js/internals/path.js ***! 16318 \************************************************/ 16319/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16320 16321"use strict"; 16322 16323var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16324 16325module.exports = global; 16326 16327 16328/***/ }), 16329
vendor: 429 bytes, lines 16330-16348
16330/***/ "./node_modules/core-js/internals/perform.js": 16331/*!***************************************************!*\ 16332 !*** ./node_modules/core-js/internals/perform.js ***! 16333 \***************************************************/ 16334/***/ ((module) => { 16335 16336"use strict"; 16337 16338module.exports = function (exec) { 16339 try { 16340 return { error: false, value: exec() }; 16341 } catch (error) { 16342 return { error: true, value: error }; 16343 } 16344}; 16345 16346 16347/***/ }), 16348
vendor: 3,702 bytes, lines 16349-16407
16349/***/ "./node_modules/core-js/internals/promise-constructor-detection.js": 16350/*!*************************************************************************!*\ 16351 !*** ./node_modules/core-js/internals/promise-constructor-detection.js ***! 16352 \*************************************************************************/ 16353/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16354 16355"use strict"; 16356 16357var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16358var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); 16359var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 16360var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); 16361var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); 16362var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 16363var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "./node_modules/core-js/internals/engine-is-browser.js"); 16364var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ "./node_modules/core-js/internals/engine-is-deno.js"); 16365var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 16366var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); 16367 16368var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; 16369var SPECIES = wellKnownSymbol('species'); 16370var SUBCLASSING = false; 16371var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); 16372 16373var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () { 16374 var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); 16375 var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); 16376 // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables 16377 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 16378 // We can't detect it synchronously, so just check versions 16379 if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; 16380 // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution 16381 if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true; 16382 // We can't use @@species feature detection in V8 since it causes 16383 // deoptimization and performance degradation 16384 // https://github.com/zloirock/core-js/issues/679 16385 if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { 16386 // Detect correctness of subclassing with @@species support 16387 var promise = new NativePromiseConstructor(function (resolve) { resolve(1); }); 16388 var FakePromise = function (exec) { 16389 exec(function () { /* empty */ }, function () { /* empty */ }); 16390 }; 16391 var constructor = promise.constructor = {}; 16392 constructor[SPECIES] = FakePromise; 16393 SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; 16394 if (!SUBCLASSING) return true; 16395 // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test 16396 } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; 16397}); 16398 16399module.exports = { 16400 CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, 16401 REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, 16402 SUBCLASSING: SUBCLASSING 16403}; 16404 16405 16406/***/ }), 16407
vendor: 537 bytes, lines 16408-16422
16408/***/ "./node_modules/core-js/internals/promise-native-constructor.js": 16409/*!**********************************************************************!*\ 16410 !*** ./node_modules/core-js/internals/promise-native-constructor.js ***! 16411 \**********************************************************************/ 16412/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16413 16414"use strict"; 16415 16416var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16417 16418module.exports = global.Promise; 16419 16420 16421/***/ }), 16422
vendor: 987 bytes, lines 16423-16446
16423/***/ "./node_modules/core-js/internals/promise-resolve.js": 16424/*!***********************************************************!*\ 16425 !*** ./node_modules/core-js/internals/promise-resolve.js ***! 16426 \***********************************************************/ 16427/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16428 16429"use strict"; 16430 16431var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 16432var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 16433var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); 16434 16435module.exports = function (C, x) { 16436 anObject(C); 16437 if (isObject(x) && x.constructor === C) return x; 16438 var promiseCapability = newPromiseCapability.f(C); 16439 var resolve = promiseCapability.resolve; 16440 resolve(x); 16441 return promiseCapability.promise; 16442}; 16443 16444 16445/***/ }), 16446
vendor: 1,150 bytes, lines 16447-16465
16447/***/ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js": 16448/*!*******************************************************************************!*\ 16449 !*** ./node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***! 16450 \*******************************************************************************/ 16451/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16452 16453"use strict"; 16454 16455var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); 16456var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); 16457var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); 16458 16459module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { 16460 NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); 16461}); 16462 16463 16464/***/ }), 16465
vendor: 723 bytes, lines 16466-16486
16466/***/ "./node_modules/core-js/internals/proxy-accessor.js": 16467/*!**********************************************************!*\ 16468 !*** ./node_modules/core-js/internals/proxy-accessor.js ***! 16469 \**********************************************************/ 16470/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16471 16472"use strict"; 16473 16474var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 16475 16476module.exports = function (Target, Source, key) { 16477 key in Target || defineProperty(Target, key, { 16478 configurable: true, 16479 get: function () { return Source[key]; }, 16480 set: function (it) { Source[key] = it; } 16481 }); 16482}; 16483 16484 16485/***/ }), 16486
vendor: 751 bytes, lines 16487-16522
16487/***/ "./node_modules/core-js/internals/queue.js": 16488/*!*************************************************!*\ 16489 !*** ./node_modules/core-js/internals/queue.js ***! 16490 \*************************************************/ 16491/***/ ((module) => { 16492 16493"use strict"; 16494 16495var Queue = function () { 16496 this.head = null; 16497 this.tail = null; 16498}; 16499 16500Queue.prototype = { 16501 add: function (item) { 16502 var entry = { item: item, next: null }; 16503 var tail = this.tail; 16504 if (tail) tail.next = entry; 16505 else this.head = entry; 16506 this.tail = entry; 16507 }, 16508 get: function () { 16509 var entry = this.head; 16510 if (entry) { 16511 var next = this.head = entry.next; 16512 if (next === null) this.tail = null; 16513 return entry.item; 16514 } 16515 } 16516}; 16517 16518module.exports = Queue; 16519 16520 16521/***/ }), 16522
vendor: 1,393 bytes, lines 16523-16554
16523/***/ "./node_modules/core-js/internals/regexp-exec-abstract.js": 16524/*!****************************************************************!*\ 16525 !*** ./node_modules/core-js/internals/regexp-exec-abstract.js ***! 16526 \****************************************************************/ 16527/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16528 16529"use strict"; 16530 16531var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 16532var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 16533var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 16534var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); 16535var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); 16536 16537var $TypeError = TypeError; 16538 16539// `RegExpExec` abstract operation 16540// https://tc39.es/ecma262/#sec-regexpexec 16541module.exports = function (R, S) { 16542 var exec = R.exec; 16543 if (isCallable(exec)) { 16544 var result = call(exec, R, S); 16545 if (result !== null) anObject(result); 16546 return result; 16547 } 16548 if (classof(R) === 'RegExp') return call(regexpExec, R, S); 16549 throw new $TypeError('RegExp#exec called on incompatible receiver'); 16550}; 16551 16552 16553/***/ }), 16554
vendor: 5,076 bytes, lines 16555-16682
16555/***/ "./node_modules/core-js/internals/regexp-exec.js": 16556/*!*******************************************************!*\ 16557 !*** ./node_modules/core-js/internals/regexp-exec.js ***! 16558 \*******************************************************/ 16559/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16560 16561"use strict"; 16562 16563/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ 16564/* eslint-disable regexp/no-useless-quantifier -- testing */ 16565var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 16566var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 16567var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 16568var regexpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/core-js/internals/regexp-flags.js"); 16569var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js"); 16570var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 16571var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); 16572var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").get); 16573var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js"); 16574var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/core-js/internals/regexp-unsupported-ncg.js"); 16575 16576var nativeReplace = shared('native-string-replace', String.prototype.replace); 16577var nativeExec = RegExp.prototype.exec; 16578var patchedExec = nativeExec; 16579var charAt = uncurryThis(''.charAt); 16580var indexOf = uncurryThis(''.indexOf); 16581var replace = uncurryThis(''.replace); 16582var stringSlice = uncurryThis(''.slice); 16583 16584var UPDATES_LAST_INDEX_WRONG = (function () { 16585 var re1 = /a/; 16586 var re2 = /b*/g; 16587 call(nativeExec, re1, 'a'); 16588 call(nativeExec, re2, 'a'); 16589 return re1.lastIndex !== 0 || re2.lastIndex !== 0; 16590})(); 16591 16592var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; 16593 16594// nonparticipating capturing group, copied from es5-shim's String#split patch. 16595var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 16596 16597var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; 16598 16599if (PATCH) { 16600 patchedExec = function exec(string) { 16601 var re = this; 16602 var state = getInternalState(re); 16603 var str = toString(string); 16604 var raw = state.raw; 16605 var result, reCopy, lastIndex, match, i, object, group; 16606 16607 if (raw) { 16608 raw.lastIndex = re.lastIndex; 16609 result = call(patchedExec, raw, str); 16610 re.lastIndex = raw.lastIndex; 16611 return result; 16612 } 16613 16614 var groups = state.groups; 16615 var sticky = UNSUPPORTED_Y && re.sticky; 16616 var flags = call(regexpFlags, re); 16617 var source = re.source; 16618 var charsAdded = 0; 16619 var strCopy = str; 16620 16621 if (sticky) { 16622 flags = replace(flags, 'y', ''); 16623 if (indexOf(flags, 'g') === -1) { 16624 flags += 'g'; 16625 } 16626 16627 strCopy = stringSlice(str, re.lastIndex); 16628 // Support anchored sticky behavior. 16629 if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { 16630 source = '(?: ' + source + ')'; 16631 strCopy = ' ' + strCopy; 16632 charsAdded++; 16633 } 16634 // ^(? + rx + ) is needed, in combination with some str slicing, to 16635 // simulate the 'y' flag. 16636 reCopy = new RegExp('^(?:' + source + ')', flags); 16637 } 16638 16639 if (NPCG_INCLUDED) { 16640 reCopy = new RegExp('^' + source + '$(?!\\s)', flags); 16641 } 16642 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; 16643 16644 match = call(nativeExec, sticky ? reCopy : re, strCopy); 16645 16646 if (sticky) { 16647 if (match) { 16648 match.input = stringSlice(match.input, charsAdded); 16649 match[0] = stringSlice(match[0], charsAdded); 16650 match.index = re.lastIndex; 16651 re.lastIndex += match[0].length; 16652 } else re.lastIndex = 0; 16653 } else if (UPDATES_LAST_INDEX_WRONG && match) { 16654 re.lastIndex = re.global ? match.index + match[0].length : lastIndex; 16655 } 16656 if (NPCG_INCLUDED && match && match.length > 1) { 16657 // Fix browsers whose `exec` methods don't consistently return `undefined` 16658 // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ 16659 call(nativeReplace, match[0], reCopy, function () { 16660 for (i = 1; i < arguments.length - 2; i++) { 16661 if (arguments[i] === undefined) match[i] = undefined; 16662 } 16663 }); 16664 } 16665 16666 if (match && groups) { 16667 match.groups = object = create(null); 16668 for (i = 0; i < groups.length; i++) { 16669 group = groups[i]; 16670 object[group[0]] = match[group[1]]; 16671 } 16672 } 16673 16674 return match; 16675 }; 16676} 16677 16678module.exports = patchedExec; 16679 16680 16681/***/ }), 16682
vendor: 953 bytes, lines 16683-16711
16683/***/ "./node_modules/core-js/internals/regexp-flags.js": 16684/*!********************************************************!*\ 16685 !*** ./node_modules/core-js/internals/regexp-flags.js ***! 16686 \********************************************************/ 16687/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16688 16689"use strict"; 16690 16691var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 16692 16693// `RegExp.prototype.flags` getter implementation 16694// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags 16695module.exports = function () { 16696 var that = anObject(this); 16697 var result = ''; 16698 if (that.hasIndices) result += 'd'; 16699 if (that.global) result += 'g'; 16700 if (that.ignoreCase) result += 'i'; 16701 if (that.multiline) result += 'm'; 16702 if (that.dotAll) result += 's'; 16703 if (that.unicode) result += 'u'; 16704 if (that.unicodeSets) result += 'v'; 16705 if (that.sticky) result += 'y'; 16706 return result; 16707}; 16708 16709 16710/***/ }), 16711
vendor: 1,130 bytes, lines 16712-16735
16712/***/ "./node_modules/core-js/internals/regexp-get-flags.js": 16713/*!************************************************************!*\ 16714 !*** ./node_modules/core-js/internals/regexp-get-flags.js ***! 16715 \************************************************************/ 16716/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16717 16718"use strict"; 16719 16720var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 16721var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 16722var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 16723var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/core-js/internals/regexp-flags.js"); 16724 16725var RegExpPrototype = RegExp.prototype; 16726 16727module.exports = function (R) { 16728 var flags = R.flags; 16729 return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) 16730 ? call(regExpFlags, R) : flags; 16731}; 16732 16733 16734/***/ }), 16735
vendor: 1,333 bytes, lines 16736-16777
16736/***/ "./node_modules/core-js/internals/regexp-sticky-helpers.js": 16737/*!*****************************************************************!*\ 16738 !*** ./node_modules/core-js/internals/regexp-sticky-helpers.js ***! 16739 \*****************************************************************/ 16740/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16741 16742"use strict"; 16743 16744var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 16745var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16746 16747// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError 16748var $RegExp = global.RegExp; 16749 16750var UNSUPPORTED_Y = fails(function () { 16751 var re = $RegExp('a', 'y'); 16752 re.lastIndex = 2; 16753 return re.exec('abcd') !== null; 16754}); 16755 16756// UC Browser bug 16757// https://github.com/zloirock/core-js/issues/1008 16758var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { 16759 return !$RegExp('a', 'y').sticky; 16760}); 16761 16762var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { 16763 // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 16764 var re = $RegExp('^r', 'gy'); 16765 re.lastIndex = 2; 16766 return re.exec('str') !== null; 16767}); 16768 16769module.exports = { 16770 BROKEN_CARET: BROKEN_CARET, 16771 MISSED_STICKY: MISSED_STICKY, 16772 UNSUPPORTED_Y: UNSUPPORTED_Y 16773}; 16774 16775 16776/***/ }), 16777
vendor: 868 bytes, lines 16778-16799
16778/***/ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js": 16779/*!**********************************************************************!*\ 16780 !*** ./node_modules/core-js/internals/regexp-unsupported-dot-all.js ***! 16781 \**********************************************************************/ 16782/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16783 16784"use strict"; 16785 16786var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 16787var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16788 16789// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError 16790var $RegExp = global.RegExp; 16791 16792module.exports = fails(function () { 16793 var re = $RegExp('.', 's'); 16794 return !(re.dotAll && re.test('\n') && re.flags === 's'); 16795}); 16796 16797 16798/***/ }), 16799
vendor: 891 bytes, lines 16800-16822
16800/***/ "./node_modules/core-js/internals/regexp-unsupported-ncg.js": 16801/*!******************************************************************!*\ 16802 !*** ./node_modules/core-js/internals/regexp-unsupported-ncg.js ***! 16803 \******************************************************************/ 16804/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16805 16806"use strict"; 16807 16808var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 16809var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16810 16811// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError 16812var $RegExp = global.RegExp; 16813 16814module.exports = fails(function () { 16815 var re = $RegExp('(?<a>b)', 'g'); 16816 return re.exec('b').groups.a !== 'b' || 16817 'b'.replace(re, '$<a>c') !== 'bc'; 16818}); 16819 16820 16821/***/ }), 16822
vendor: 796 bytes, lines 16823-16844
16823/***/ "./node_modules/core-js/internals/require-object-coercible.js": 16824/*!********************************************************************!*\ 16825 !*** ./node_modules/core-js/internals/require-object-coercible.js ***! 16826 \********************************************************************/ 16827/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16828 16829"use strict"; 16830 16831var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 16832 16833var $TypeError = TypeError; 16834 16835// `RequireObjectCoercible` abstract operation 16836// https://tc39.es/ecma262/#sec-requireobjectcoercible 16837module.exports = function (it) { 16838 if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); 16839 return it; 16840}; 16841 16842 16843/***/ }), 16844
vendor: 2,334 bytes, lines 16845-16886
16845/***/ "./node_modules/core-js/internals/schedulers-fix.js": 16846/*!**********************************************************!*\ 16847 !*** ./node_modules/core-js/internals/schedulers-fix.js ***! 16848 \**********************************************************/ 16849/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16850 16851"use strict"; 16852 16853var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16854var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); 16855var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 16856var ENGINE_IS_BUN = __webpack_require__(/*! ../internals/engine-is-bun */ "./node_modules/core-js/internals/engine-is-bun.js"); 16857var USER_AGENT = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); 16858var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); 16859var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); 16860 16861var Function = global.Function; 16862// dirty IE9- and Bun 0.3.0- checks 16863var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () { 16864 var version = global.Bun.version.split('.'); 16865 return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0'); 16866})(); 16867 16868// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix 16869// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers 16870// https://github.com/oven-sh/bun/issues/1633 16871module.exports = function (scheduler, hasTimeArg) { 16872 var firstParamIndex = hasTimeArg ? 2 : 1; 16873 return WRAP ? function (handler, timeout /* , ...arguments */) { 16874 var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; 16875 var fn = isCallable(handler) ? handler : Function(handler); 16876 var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; 16877 var callback = boundArgs ? function () { 16878 apply(fn, this, params); 16879 } : fn; 16880 return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); 16881 } : scheduler; 16882}; 16883 16884 16885/***/ }), 16886
vendor: 1,211 bytes, lines 16887-16915
16887/***/ "./node_modules/core-js/internals/set-species.js": 16888/*!*******************************************************!*\ 16889 !*** ./node_modules/core-js/internals/set-species.js ***! 16890 \*******************************************************/ 16891/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16892 16893"use strict"; 16894 16895var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 16896var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); 16897var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 16898var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 16899 16900var SPECIES = wellKnownSymbol('species'); 16901 16902module.exports = function (CONSTRUCTOR_NAME) { 16903 var Constructor = getBuiltIn(CONSTRUCTOR_NAME); 16904 16905 if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { 16906 defineBuiltInAccessor(Constructor, SPECIES, { 16907 configurable: true, 16908 get: function () { return this; } 16909 }); 16910 } 16911}; 16912 16913 16914/***/ }), 16915
vendor: 1,068 bytes, lines 16916-16939
16916/***/ "./node_modules/core-js/internals/set-to-string-tag.js": 16917/*!*************************************************************!*\ 16918 !*** ./node_modules/core-js/internals/set-to-string-tag.js ***! 16919 \*************************************************************/ 16920/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16921 16922"use strict"; 16923 16924var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 16925var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 16926var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 16927 16928var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 16929 16930module.exports = function (target, TAG, STATIC) { 16931 if (target && !STATIC) target = target.prototype; 16932 if (target && !hasOwn(target, TO_STRING_TAG)) { 16933 defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); 16934 } 16935}; 16936 16937 16938/***/ }), 16939
vendor: 649 bytes, lines 16940-16959
16940/***/ "./node_modules/core-js/internals/shared-key.js": 16941/*!******************************************************!*\ 16942 !*** ./node_modules/core-js/internals/shared-key.js ***! 16943 \******************************************************/ 16944/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16945 16946"use strict"; 16947 16948var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 16949var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); 16950 16951var keys = shared('keys'); 16952 16953module.exports = function (key) { 16954 return keys[key] || (keys[key] = uid(key)); 16955}; 16956 16957 16958/***/ }), 16959
vendor: 725 bytes, lines 16960-16978
16960/***/ "./node_modules/core-js/internals/shared-store.js": 16961/*!********************************************************!*\ 16962 !*** ./node_modules/core-js/internals/shared-store.js ***! 16963 \********************************************************/ 16964/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16965 16966"use strict"; 16967 16968var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 16969var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); 16970 16971var SHARED = '__core-js_shared__'; 16972var store = global[SHARED] || defineGlobalProperty(SHARED, {}); 16973 16974module.exports = store; 16975 16976 16977/***/ }), 16978
vendor: 925 bytes, lines 16979-17002
16979/***/ "./node_modules/core-js/internals/shared.js": 16980/*!**************************************************!*\ 16981 !*** ./node_modules/core-js/internals/shared.js ***! 16982 \**************************************************/ 16983/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 16984 16985"use strict"; 16986 16987var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 16988var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); 16989 16990(module.exports = function (key, value) { 16991 return store[key] || (store[key] = value !== undefined ? value : {}); 16992})('versions', []).push({ 16993 version: '3.33.2', 16994 mode: IS_PURE ? 'pure' : 'global', 16995 copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', 16996 license: 'https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE', 16997 source: 'https://github.com/zloirock/core-js' 16998}); 16999 17000 17001/***/ }), 17002
vendor: 1,243 bytes, lines 17003-17028
17003/***/ "./node_modules/core-js/internals/species-constructor.js": 17004/*!***************************************************************!*\ 17005 !*** ./node_modules/core-js/internals/species-constructor.js ***! 17006 \***************************************************************/ 17007/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17008 17009"use strict"; 17010 17011var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 17012var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ "./node_modules/core-js/internals/a-constructor.js"); 17013var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 17014var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17015 17016var SPECIES = wellKnownSymbol('species'); 17017 17018// `SpeciesConstructor` abstract operation 17019// https://tc39.es/ecma262/#sec-speciesconstructor 17020module.exports = function (O, defaultConstructor) { 17021 var C = anObject(O).constructor; 17022 var S; 17023 return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); 17024}; 17025 17026 17027/***/ }), 17028
vendor: 2,057 bytes, lines 17029-17076
17029/***/ "./node_modules/core-js/internals/string-multibyte.js": 17030/*!************************************************************!*\ 17031 !*** ./node_modules/core-js/internals/string-multibyte.js ***! 17032 \************************************************************/ 17033/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17034 17035"use strict"; 17036 17037var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 17038var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 17039var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 17040var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 17041 17042var charAt = uncurryThis(''.charAt); 17043var charCodeAt = uncurryThis(''.charCodeAt); 17044var stringSlice = uncurryThis(''.slice); 17045 17046var createMethod = function (CONVERT_TO_STRING) { 17047 return function ($this, pos) { 17048 var S = toString(requireObjectCoercible($this)); 17049 var position = toIntegerOrInfinity(pos); 17050 var size = S.length; 17051 var first, second; 17052 if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; 17053 first = charCodeAt(S, position); 17054 return first < 0xD800 || first > 0xDBFF || position + 1 === size 17055 || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF 17056 ? CONVERT_TO_STRING 17057 ? charAt(S, position) 17058 : first 17059 : CONVERT_TO_STRING 17060 ? stringSlice(S, position, position + 2) 17061 : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; 17062 }; 17063}; 17064 17065module.exports = { 17066 // `String.prototype.codePointAt` method 17067 // https://tc39.es/ecma262/#sec-string.prototype.codepointat 17068 codeAt: createMethod(false), 17069 // `String.prototype.at` method 17070 // https://github.com/mathiasbynens/String.prototype.at 17071 charAt: createMethod(true) 17072}; 17073 17074 17075/***/ }), 17076
vendor: 1,234 bytes, lines 17077-17104
17077/***/ "./node_modules/core-js/internals/string-repeat.js": 17078/*!*********************************************************!*\ 17079 !*** ./node_modules/core-js/internals/string-repeat.js ***! 17080 \*********************************************************/ 17081/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17082 17083"use strict"; 17084 17085var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 17086var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 17087var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 17088 17089var $RangeError = RangeError; 17090 17091// `String.prototype.repeat` method implementation 17092// https://tc39.es/ecma262/#sec-string.prototype.repeat 17093module.exports = function repeat(count) { 17094 var str = toString(requireObjectCoercible(this)); 17095 var result = ''; 17096 var n = toIntegerOrInfinity(count); 17097 if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions'); 17098 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; 17099 return result; 17100}; 17101 17102 17103/***/ }), 17104
vendor: 1,812 bytes, lines 17105-17146
17105/***/ "./node_modules/core-js/internals/string-trim.js": 17106/*!*******************************************************!*\ 17107 !*** ./node_modules/core-js/internals/string-trim.js ***! 17108 \*******************************************************/ 17109/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17110 17111"use strict"; 17112 17113var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 17114var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 17115var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 17116var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); 17117 17118var replace = uncurryThis(''.replace); 17119var ltrim = RegExp('^[' + whitespaces + ']+'); 17120var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); 17121 17122// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation 17123var createMethod = function (TYPE) { 17124 return function ($this) { 17125 var string = toString(requireObjectCoercible($this)); 17126 if (TYPE & 1) string = replace(string, ltrim, ''); 17127 if (TYPE & 2) string = replace(string, rtrim, '$1'); 17128 return string; 17129 }; 17130}; 17131 17132module.exports = { 17133 // `String.prototype.{ trimLeft, trimStart }` methods 17134 // https://tc39.es/ecma262/#sec-string.prototype.trimstart 17135 start: createMethod(1), 17136 // `String.prototype.{ trimRight, trimEnd }` methods 17137 // https://tc39.es/ecma262/#sec-string.prototype.trimend 17138 end: createMethod(2), 17139 // `String.prototype.trim` method 17140 // https://tc39.es/ecma262/#sec-string.prototype.trim 17141 trim: createMethod(3) 17142}; 17143 17144 17145/***/ }), 17146
vendor: 1,525 bytes, lines 17147-17176
17147/***/ "./node_modules/core-js/internals/symbol-constructor-detection.js": 17148/*!************************************************************************!*\ 17149 !*** ./node_modules/core-js/internals/symbol-constructor-detection.js ***! 17150 \************************************************************************/ 17151/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17152 17153"use strict"; 17154 17155/* eslint-disable es/no-symbol -- required for testing */ 17156var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); 17157var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 17158var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 17159 17160var $String = global.String; 17161 17162// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing 17163module.exports = !!Object.getOwnPropertySymbols && !fails(function () { 17164 var symbol = Symbol('symbol detection'); 17165 // Chrome 38 Symbol has incorrect toString conversion 17166 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances 17167 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, 17168 // of course, fail. 17169 return !$String(symbol) || !(Object(symbol) instanceof Symbol) || 17170 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances 17171 !Symbol.sham && V8_VERSION && V8_VERSION < 41; 17172}); 17173 17174 17175/***/ }), 17176
vendor: 1,518 bytes, lines 17177-17208
17177/***/ "./node_modules/core-js/internals/symbol-define-to-primitive.js": 17178/*!**********************************************************************!*\ 17179 !*** ./node_modules/core-js/internals/symbol-define-to-primitive.js ***! 17180 \**********************************************************************/ 17181/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17182 17183"use strict"; 17184 17185var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 17186var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 17187var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17188var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 17189 17190module.exports = function () { 17191 var Symbol = getBuiltIn('Symbol'); 17192 var SymbolPrototype = Symbol && Symbol.prototype; 17193 var valueOf = SymbolPrototype && SymbolPrototype.valueOf; 17194 var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 17195 17196 if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { 17197 // `Symbol.prototype[@@toPrimitive]` method 17198 // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive 17199 // eslint-disable-next-line no-unused-vars -- required for .length 17200 defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) { 17201 return call(valueOf, this); 17202 }, { arity: 1 }); 17203 } 17204}; 17205 17206 17207/***/ }), 17208
vendor: 663 bytes, lines 17209-17224
17209/***/ "./node_modules/core-js/internals/symbol-registry-detection.js": 17210/*!*********************************************************************!*\ 17211 !*** ./node_modules/core-js/internals/symbol-registry-detection.js ***! 17212 \*********************************************************************/ 17213/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17214 17215"use strict"; 17216 17217var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 17218 17219/* eslint-disable es/no-symbol -- safe */ 17220module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor; 17221 17222 17223/***/ }), 17224
vendor: 4,573 bytes, lines 17225-17352
17225/***/ "./node_modules/core-js/internals/task.js": 17226/*!************************************************!*\ 17227 !*** ./node_modules/core-js/internals/task.js ***! 17228 \************************************************/ 17229/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17230 17231"use strict"; 17232 17233var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 17234var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); 17235var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); 17236var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 17237var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 17238var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 17239var html = __webpack_require__(/*! ../internals/html */ "./node_modules/core-js/internals/html.js"); 17240var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); 17241var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); 17242var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); 17243var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "./node_modules/core-js/internals/engine-is-ios.js"); 17244var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); 17245 17246var set = global.setImmediate; 17247var clear = global.clearImmediate; 17248var process = global.process; 17249var Dispatch = global.Dispatch; 17250var Function = global.Function; 17251var MessageChannel = global.MessageChannel; 17252var String = global.String; 17253var counter = 0; 17254var queue = {}; 17255var ONREADYSTATECHANGE = 'onreadystatechange'; 17256var $location, defer, channel, port; 17257 17258fails(function () { 17259 // Deno throws a ReferenceError on `location` access without `--location` flag 17260 $location = global.location; 17261}); 17262 17263var run = function (id) { 17264 if (hasOwn(queue, id)) { 17265 var fn = queue[id]; 17266 delete queue[id]; 17267 fn(); 17268 } 17269}; 17270 17271var runner = function (id) { 17272 return function () { 17273 run(id); 17274 }; 17275}; 17276 17277var eventListener = function (event) { 17278 run(event.data); 17279}; 17280 17281var globalPostMessageDefer = function (id) { 17282 // old engines have not location.origin 17283 global.postMessage(String(id), $location.protocol + '//' + $location.host); 17284}; 17285 17286// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 17287if (!set || !clear) { 17288 set = function setImmediate(handler) { 17289 validateArgumentsLength(arguments.length, 1); 17290 var fn = isCallable(handler) ? handler : Function(handler); 17291 var args = arraySlice(arguments, 1); 17292 queue[++counter] = function () { 17293 apply(fn, undefined, args); 17294 }; 17295 defer(counter); 17296 return counter; 17297 }; 17298 clear = function clearImmediate(id) { 17299 delete queue[id]; 17300 }; 17301 // Node.js 0.8- 17302 if (IS_NODE) { 17303 defer = function (id) { 17304 process.nextTick(runner(id)); 17305 }; 17306 // Sphere (JS game engine) Dispatch API 17307 } else if (Dispatch && Dispatch.now) { 17308 defer = function (id) { 17309 Dispatch.now(runner(id)); 17310 }; 17311 // Browsers with MessageChannel, includes WebWorkers 17312 // except iOS - https://github.com/zloirock/core-js/issues/624 17313 } else if (MessageChannel && !IS_IOS) { 17314 channel = new MessageChannel(); 17315 port = channel.port2; 17316 channel.port1.onmessage = eventListener; 17317 defer = bind(port.postMessage, port); 17318 // Browsers with postMessage, skip WebWorkers 17319 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 17320 } else if ( 17321 global.addEventListener && 17322 isCallable(global.postMessage) && 17323 !global.importScripts && 17324 $location && $location.protocol !== 'file:' && 17325 !fails(globalPostMessageDefer) 17326 ) { 17327 defer = globalPostMessageDefer; 17328 global.addEventListener('message', eventListener, false); 17329 // IE8- 17330 } else if (ONREADYSTATECHANGE in createElement('script')) { 17331 defer = function (id) { 17332 html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { 17333 html.removeChild(this); 17334 run(id); 17335 }; 17336 }; 17337 // Rest old browsers 17338 } else { 17339 defer = function (id) { 17340 setTimeout(runner(id), 0); 17341 }; 17342 } 17343} 17344 17345module.exports = { 17346 set: set, 17347 clear: clear 17348}; 17349 17350 17351/***/ }), 17352
vendor: 634 bytes, lines 17353-17369
17353/***/ "./node_modules/core-js/internals/this-number-value.js": 17354/*!*************************************************************!*\ 17355 !*** ./node_modules/core-js/internals/this-number-value.js ***! 17356 \*************************************************************/ 17357/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17358 17359"use strict"; 17360 17361var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 17362 17363// `thisNumberValue` abstract operation 17364// https://tc39.es/ecma262/#sec-thisnumbervalue 17365module.exports = uncurryThis(1.0.valueOf); 17366 17367 17368/***/ }), 17369
vendor: 909 bytes, lines 17370-17393
17370/***/ "./node_modules/core-js/internals/to-absolute-index.js": 17371/*!*************************************************************!*\ 17372 !*** ./node_modules/core-js/internals/to-absolute-index.js ***! 17373 \*************************************************************/ 17374/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17375 17376"use strict"; 17377 17378var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 17379 17380var max = Math.max; 17381var min = Math.min; 17382 17383// Helper for a popular repeating case of the spec: 17384// Let integer be ? ToInteger(index). 17385// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). 17386module.exports = function (index, length) { 17387 var integer = toIntegerOrInfinity(index); 17388 return integer < 0 ? max(integer + length, 0) : min(integer, length); 17389}; 17390 17391 17392/***/ }), 17393
vendor: 795 bytes, lines 17394-17412
17394/***/ "./node_modules/core-js/internals/to-indexed-object.js": 17395/*!*************************************************************!*\ 17396 !*** ./node_modules/core-js/internals/to-indexed-object.js ***! 17397 \*************************************************************/ 17398/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17399 17400"use strict"; 17401 17402// toObject with fallback for non-array-like ES3 strings 17403var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); 17404var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 17405 17406module.exports = function (it) { 17407 return IndexedObject(requireObjectCoercible(it)); 17408}; 17409 17410 17411/***/ }), 17412
vendor: 782 bytes, lines 17413-17433
17413/***/ "./node_modules/core-js/internals/to-integer-or-infinity.js": 17414/*!******************************************************************!*\ 17415 !*** ./node_modules/core-js/internals/to-integer-or-infinity.js ***! 17416 \******************************************************************/ 17417/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17418 17419"use strict"; 17420 17421var trunc = __webpack_require__(/*! ../internals/math-trunc */ "./node_modules/core-js/internals/math-trunc.js"); 17422 17423// `ToIntegerOrInfinity` abstract operation 17424// https://tc39.es/ecma262/#sec-tointegerorinfinity 17425module.exports = function (argument) { 17426 var number = +argument; 17427 // eslint-disable-next-line no-self-compare -- NaN check 17428 return number !== number || number === 0 ? 0 : trunc(number); 17429}; 17430 17431 17432/***/ }), 17433
vendor: 735 bytes, lines 17434-17454
17434/***/ "./node_modules/core-js/internals/to-length.js": 17435/*!*****************************************************!*\ 17436 !*** ./node_modules/core-js/internals/to-length.js ***! 17437 \*****************************************************/ 17438/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17439 17440"use strict"; 17441 17442var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 17443 17444var min = Math.min; 17445 17446// `ToLength` abstract operation 17447// https://tc39.es/ecma262/#sec-tolength 17448module.exports = function (argument) { 17449 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 17450}; 17451 17452 17453/***/ }), 17454
vendor: 679 bytes, lines 17455-17475
17455/***/ "./node_modules/core-js/internals/to-object.js": 17456/*!*****************************************************!*\ 17457 !*** ./node_modules/core-js/internals/to-object.js ***! 17458 \*****************************************************/ 17459/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17460 17461"use strict"; 17462 17463var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 17464 17465var $Object = Object; 17466 17467// `ToObject` abstract operation 17468// https://tc39.es/ecma262/#sec-toobject 17469module.exports = function (argument) { 17470 return $Object(requireObjectCoercible(argument)); 17471}; 17472 17473 17474/***/ }), 17475
vendor: 1,760 bytes, lines 17476-17512
17476/***/ "./node_modules/core-js/internals/to-primitive.js": 17477/*!********************************************************!*\ 17478 !*** ./node_modules/core-js/internals/to-primitive.js ***! 17479 \********************************************************/ 17480/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17481 17482"use strict"; 17483 17484var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 17485var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 17486var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); 17487var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); 17488var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/core-js/internals/ordinary-to-primitive.js"); 17489var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17490 17491var $TypeError = TypeError; 17492var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 17493 17494// `ToPrimitive` abstract operation 17495// https://tc39.es/ecma262/#sec-toprimitive 17496module.exports = function (input, pref) { 17497 if (!isObject(input) || isSymbol(input)) return input; 17498 var exoticToPrim = getMethod(input, TO_PRIMITIVE); 17499 var result; 17500 if (exoticToPrim) { 17501 if (pref === undefined) pref = 'default'; 17502 result = call(exoticToPrim, input, pref); 17503 if (!isObject(result) || isSymbol(result)) return result; 17504 throw new $TypeError("Can't convert object to primitive value"); 17505 } 17506 if (pref === undefined) pref = 'number'; 17507 return ordinaryToPrimitive(input, pref); 17508}; 17509 17510 17511/***/ }), 17512
vendor: 804 bytes, lines 17513-17533
17513/***/ "./node_modules/core-js/internals/to-property-key.js": 17514/*!***********************************************************!*\ 17515 !*** ./node_modules/core-js/internals/to-property-key.js ***! 17516 \***********************************************************/ 17517/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17518 17519"use strict"; 17520 17521var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); 17522var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); 17523 17524// `ToPropertyKey` abstract operation 17525// https://tc39.es/ecma262/#sec-topropertykey 17526module.exports = function (argument) { 17527 var key = toPrimitive(argument, 'string'); 17528 return isSymbol(key) ? key : key + ''; 17529}; 17530 17531 17532/***/ }), 17533
vendor: 659 bytes, lines 17534-17553
17534/***/ "./node_modules/core-js/internals/to-string-tag-support.js": 17535/*!*****************************************************************!*\ 17536 !*** ./node_modules/core-js/internals/to-string-tag-support.js ***! 17537 \*****************************************************************/ 17538/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17539 17540"use strict"; 17541 17542var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17543 17544var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 17545var test = {}; 17546 17547test[TO_STRING_TAG] = 'z'; 17548 17549module.exports = String(test) === '[object z]'; 17550 17551 17552/***/ }), 17553
vendor: 636 bytes, lines 17554-17573
17554/***/ "./node_modules/core-js/internals/to-string.js": 17555/*!*****************************************************!*\ 17556 !*** ./node_modules/core-js/internals/to-string.js ***! 17557 \*****************************************************/ 17558/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17559 17560"use strict"; 17561 17562var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); 17563 17564var $String = String; 17565 17566module.exports = function (argument) { 17567 if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); 17568 return $String(argument); 17569}; 17570 17571 17572/***/ }), 17573
vendor: 445 bytes, lines 17574-17594
17574/***/ "./node_modules/core-js/internals/try-to-string.js": 17575/*!*********************************************************!*\ 17576 !*** ./node_modules/core-js/internals/try-to-string.js ***! 17577 \*********************************************************/ 17578/***/ ((module) => { 17579 17580"use strict"; 17581 17582var $String = String; 17583 17584module.exports = function (argument) { 17585 try { 17586 return $String(argument); 17587 } catch (error) { 17588 return 'Object'; 17589 } 17590}; 17591 17592 17593/***/ }), 17594
vendor: 659 bytes, lines 17595-17615
17595/***/ "./node_modules/core-js/internals/uid.js": 17596/*!***********************************************!*\ 17597 !*** ./node_modules/core-js/internals/uid.js ***! 17598 \***********************************************/ 17599/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17600 17601"use strict"; 17602 17603var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 17604 17605var id = 0; 17606var postfix = Math.random(); 17607var toString = uncurryThis(1.0.toString); 17608 17609module.exports = function (key) { 17610 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); 17611}; 17612 17613 17614/***/ }), 17615
vendor: 667 bytes, lines 17616-17633
17616/***/ "./node_modules/core-js/internals/use-symbol-as-uid.js": 17617/*!*************************************************************!*\ 17618 !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***! 17619 \*************************************************************/ 17620/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17621 17622"use strict"; 17623 17624/* eslint-disable es/no-symbol -- required for testing */ 17625var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 17626 17627module.exports = NATIVE_SYMBOL 17628 && !Symbol.sham 17629 && typeof Symbol.iterator == 'symbol'; 17630 17631 17632/***/ }), 17633
vendor: 957 bytes, lines 17634-17657
17634/***/ "./node_modules/core-js/internals/v8-prototype-define-bug.js": 17635/*!*******************************************************************!*\ 17636 !*** ./node_modules/core-js/internals/v8-prototype-define-bug.js ***! 17637 \*******************************************************************/ 17638/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17639 17640"use strict"; 17641 17642var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 17643var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 17644 17645// V8 ~ Chrome 36- 17646// https://bugs.chromium.org/p/v8/issues/detail?id=3334 17647module.exports = DESCRIPTORS && fails(function () { 17648 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 17649 return Object.defineProperty(function () { /* empty */ }, 'prototype', { 17650 value: 42, 17651 writable: false 17652 }).prototype !== 42; 17653}); 17654 17655 17656/***/ }), 17657
vendor: 512 bytes, lines 17658-17675
17658/***/ "./node_modules/core-js/internals/validate-arguments-length.js": 17659/*!*********************************************************************!*\ 17660 !*** ./node_modules/core-js/internals/validate-arguments-length.js ***! 17661 \*********************************************************************/ 17662/***/ ((module) => { 17663 17664"use strict"; 17665 17666var $TypeError = TypeError; 17667 17668module.exports = function (passed, required) { 17669 if (passed < required) throw new $TypeError('Not enough arguments'); 17670 return passed; 17671}; 17672 17673 17674/***/ }), 17675
vendor: 725 bytes, lines 17676-17693
17676/***/ "./node_modules/core-js/internals/weak-map-basic-detection.js": 17677/*!********************************************************************!*\ 17678 !*** ./node_modules/core-js/internals/weak-map-basic-detection.js ***! 17679 \********************************************************************/ 17680/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17681 17682"use strict"; 17683 17684var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 17685var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 17686 17687var WeakMap = global.WeakMap; 17688 17689module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); 17690 17691 17692/***/ }), 17693
vendor: 1,137 bytes, lines 17694-17716
17694/***/ "./node_modules/core-js/internals/well-known-symbol-define.js": 17695/*!********************************************************************!*\ 17696 !*** ./node_modules/core-js/internals/well-known-symbol-define.js ***! 17697 \********************************************************************/ 17698/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17699 17700"use strict"; 17701 17702var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js/internals/path.js"); 17703var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 17704var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "./node_modules/core-js/internals/well-known-symbol-wrapped.js"); 17705var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 17706 17707module.exports = function (NAME) { 17708 var Symbol = path.Symbol || (path.Symbol = {}); 17709 if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { 17710 value: wrappedWellKnownSymbolModule.f(NAME) 17711 }); 17712}; 17713 17714 17715/***/ }), 17716
vendor: 560 bytes, lines 17717-17731
17717/***/ "./node_modules/core-js/internals/well-known-symbol-wrapped.js": 17718/*!*********************************************************************!*\ 17719 !*** ./node_modules/core-js/internals/well-known-symbol-wrapped.js ***! 17720 \*********************************************************************/ 17721/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 17722 17723"use strict"; 17724 17725var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17726 17727exports.f = wellKnownSymbol; 17728 17729 17730/***/ }), 17731
vendor: 1,549 bytes, lines 17732-17761
17732/***/ "./node_modules/core-js/internals/well-known-symbol.js": 17733/*!*************************************************************!*\ 17734 !*** ./node_modules/core-js/internals/well-known-symbol.js ***! 17735 \*************************************************************/ 17736/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17737 17738"use strict"; 17739 17740var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 17741var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 17742var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 17743var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); 17744var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 17745var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js/internals/use-symbol-as-uid.js"); 17746 17747var Symbol = global.Symbol; 17748var WellKnownSymbolsStore = shared('wks'); 17749var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; 17750 17751module.exports = function (name) { 17752 if (!hasOwn(WellKnownSymbolsStore, name)) { 17753 WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) 17754 ? Symbol[name] 17755 : createWellKnownSymbol('Symbol.' + name); 17756 } return WellKnownSymbolsStore[name]; 17757}; 17758 17759 17760/***/ }), 17761
vendor: 512 bytes, lines 17762-17776
17762/***/ "./node_modules/core-js/internals/whitespaces.js": 17763/*!*******************************************************!*\ 17764 !*** ./node_modules/core-js/internals/whitespaces.js ***! 17765 \*******************************************************/ 17766/***/ ((module) => { 17767 17768"use strict"; 17769 17770// a string of all valid unicode whitespaces 17771module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + 17772 '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; 17773 17774 17775/***/ }), 17776
vendor: 3,508 bytes, lines 17777-17845
17777/***/ "./node_modules/core-js/modules/es.array.concat.js": 17778/*!*********************************************************!*\ 17779 !*** ./node_modules/core-js/modules/es.array.concat.js ***! 17780 \*********************************************************/ 17781/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 17782 17783"use strict"; 17784 17785var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 17786var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 17787var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); 17788var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 17789var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 17790var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 17791var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); 17792var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); 17793var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); 17794var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); 17795var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 17796var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); 17797 17798var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); 17799 17800// We can't use this feature detection in V8 since it causes 17801// deoptimization and serious performance degradation 17802// https://github.com/zloirock/core-js/issues/679 17803var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { 17804 var array = []; 17805 array[IS_CONCAT_SPREADABLE] = false; 17806 return array.concat()[0] !== array; 17807}); 17808 17809var isConcatSpreadable = function (O) { 17810 if (!isObject(O)) return false; 17811 var spreadable = O[IS_CONCAT_SPREADABLE]; 17812 return spreadable !== undefined ? !!spreadable : isArray(O); 17813}; 17814 17815var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); 17816 17817// `Array.prototype.concat` method 17818// https://tc39.es/ecma262/#sec-array.prototype.concat 17819// with adding support of @@isConcatSpreadable and @@species 17820$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { 17821 // eslint-disable-next-line no-unused-vars -- required for `.length` 17822 concat: function concat(arg) { 17823 var O = toObject(this); 17824 var A = arraySpeciesCreate(O, 0); 17825 var n = 0; 17826 var i, k, length, len, E; 17827 for (i = -1, length = arguments.length; i < length; i++) { 17828 E = i === -1 ? O : arguments[i]; 17829 if (isConcatSpreadable(E)) { 17830 len = lengthOfArrayLike(E); 17831 doesNotExceedSafeInteger(n + len); 17832 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); 17833 } else { 17834 doesNotExceedSafeInteger(n + 1); 17835 createProperty(A, n++, E); 17836 } 17837 } 17838 A.length = n; 17839 return A; 17840 } 17841}); 17842 17843 17844/***/ }), 17845
vendor: 1,192 bytes, lines 17846-17871
17846/***/ "./node_modules/core-js/modules/es.array.filter.js": 17847/*!*********************************************************!*\ 17848 !*** ./node_modules/core-js/modules/es.array.filter.js ***! 17849 \*********************************************************/ 17850/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 17851 17852"use strict"; 17853 17854var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 17855var $filter = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").filter); 17856var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); 17857 17858var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); 17859 17860// `Array.prototype.filter` method 17861// https://tc39.es/ecma262/#sec-array.prototype.filter 17862// with adding support of @@species 17863$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 17864 filter: function filter(callbackfn /* , thisArg */) { 17865 return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 17866 } 17867}); 17868 17869 17870/***/ }), 17871
vendor: 1,319 bytes, lines 17872-17904
17872/***/ "./node_modules/core-js/modules/es.array.find.js": 17873/*!*******************************************************!*\ 17874 !*** ./node_modules/core-js/modules/es.array.find.js ***! 17875 \*******************************************************/ 17876/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 17877 17878"use strict"; 17879 17880var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 17881var $find = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").find); 17882var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); 17883 17884var FIND = 'find'; 17885var SKIPS_HOLES = true; 17886 17887// Shouldn't skip holes 17888// eslint-disable-next-line es/no-array-prototype-find -- testing 17889if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); 17890 17891// `Array.prototype.find` method 17892// https://tc39.es/ecma262/#sec-array.prototype.find 17893$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { 17894 find: function find(callbackfn /* , that = undefined */) { 17895 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 17896 } 17897}); 17898 17899// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 17900addToUnscopables(FIND); 17901 17902 17903/***/ }), 17904
vendor: 1,624 bytes, lines 17905-17938
17905/***/ "./node_modules/core-js/modules/es.array.index-of.js": 17906/*!***********************************************************!*\ 17907 !*** ./node_modules/core-js/modules/es.array.index-of.js ***! 17908 \***********************************************************/ 17909/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 17910 17911"use strict"; 17912 17913/* eslint-disable es/no-array-prototype-indexof -- required for testing */ 17914var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 17915var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); 17916var $indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").indexOf); 17917var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); 17918 17919var nativeIndexOf = uncurryThis([].indexOf); 17920 17921var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; 17922var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); 17923 17924// `Array.prototype.indexOf` method 17925// https://tc39.es/ecma262/#sec-array.prototype.indexof 17926$({ target: 'Array', proto: true, forced: FORCED }, { 17927 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { 17928 var fromIndex = arguments.length > 1 ? arguments[1] : undefined; 17929 return NEGATIVE_ZERO 17930 // convert -0 to +0 17931 ? nativeIndexOf(this, searchElement, fromIndex) || 0 17932 : $indexOf(this, searchElement, fromIndex); 17933 } 17934}); 17935 17936 17937/***/ }), 17938
vendor: 3,594 bytes, lines 17939-18011
17939/***/ "./node_modules/core-js/modules/es.array.iterator.js": 17940/*!***********************************************************!*\ 17941 !*** ./node_modules/core-js/modules/es.array.iterator.js ***! 17942 \***********************************************************/ 17943/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 17944 17945"use strict"; 17946 17947var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 17948var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); 17949var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); 17950var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); 17951var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 17952var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/core-js/internals/iterator-define.js"); 17953var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); 17954var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 17955var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 17956 17957var ARRAY_ITERATOR = 'Array Iterator'; 17958var setInternalState = InternalStateModule.set; 17959var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); 17960 17961// `Array.prototype.entries` method 17962// https://tc39.es/ecma262/#sec-array.prototype.entries 17963// `Array.prototype.keys` method 17964// https://tc39.es/ecma262/#sec-array.prototype.keys 17965// `Array.prototype.values` method 17966// https://tc39.es/ecma262/#sec-array.prototype.values 17967// `Array.prototype[@@iterator]` method 17968// https://tc39.es/ecma262/#sec-array.prototype-@@iterator 17969// `CreateArrayIterator` internal method 17970// https://tc39.es/ecma262/#sec-createarrayiterator 17971module.exports = defineIterator(Array, 'Array', function (iterated, kind) { 17972 setInternalState(this, { 17973 type: ARRAY_ITERATOR, 17974 target: toIndexedObject(iterated), // target 17975 index: 0, // next index 17976 kind: kind // kind 17977 }); 17978// `%ArrayIteratorPrototype%.next` method 17979// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next 17980}, function () { 17981 var state = getInternalState(this); 17982 var target = state.target; 17983 var index = state.index++; 17984 if (!target || index >= target.length) { 17985 state.target = undefined; 17986 return createIterResultObject(undefined, true); 17987 } 17988 switch (state.kind) { 17989 case 'keys': return createIterResultObject(index, false); 17990 case 'values': return createIterResultObject(target[index], false); 17991 } return createIterResultObject([index, target[index]], false); 17992}, 'values'); 17993 17994// argumentsList[@@iterator] is %ArrayProto_values% 17995// https://tc39.es/ecma262/#sec-createunmappedargumentsobject 17996// https://tc39.es/ecma262/#sec-createmappedargumentsobject 17997var values = Iterators.Arguments = Iterators.Array; 17998 17999// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 18000addToUnscopables('keys'); 18001addToUnscopables('values'); 18002addToUnscopables('entries'); 18003 18004// V8 ~ Chrome 45- bug 18005if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { 18006 defineProperty(values, 'name', { value: 'values' }); 18007} catch (error) { /* empty */ } 18008 18009 18010/***/ }), 18011
vendor: 1,438 bytes, lines 18012-18041
18012/***/ "./node_modules/core-js/modules/es.array.join.js": 18013/*!*******************************************************!*\ 18014 !*** ./node_modules/core-js/modules/es.array.join.js ***! 18015 \*******************************************************/ 18016/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18017 18018"use strict"; 18019 18020var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18021var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18022var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); 18023var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 18024var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); 18025 18026var nativeJoin = uncurryThis([].join); 18027 18028var ES3_STRINGS = IndexedObject !== Object; 18029var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); 18030 18031// `Array.prototype.join` method 18032// https://tc39.es/ecma262/#sec-array.prototype.join 18033$({ target: 'Array', proto: true, forced: FORCED }, { 18034 join: function join(separator) { 18035 return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); 18036 } 18037}); 18038 18039 18040/***/ }), 18041
vendor: 1,156 bytes, lines 18042-18067
18042/***/ "./node_modules/core-js/modules/es.array.map.js": 18043/*!******************************************************!*\ 18044 !*** ./node_modules/core-js/modules/es.array.map.js ***! 18045 \******************************************************/ 18046/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18047 18048"use strict"; 18049 18050var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18051var $map = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").map); 18052var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); 18053 18054var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); 18055 18056// `Array.prototype.map` method 18057// https://tc39.es/ecma262/#sec-array.prototype.map 18058// with adding support of @@species 18059$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 18060 map: function map(callbackfn /* , thisArg */) { 18061 return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 18062 } 18063}); 18064 18065 18066/***/ }), 18067
vendor: 3,233 bytes, lines 18068-18127
18068/***/ "./node_modules/core-js/modules/es.array.slice.js": 18069/*!********************************************************!*\ 18070 !*** ./node_modules/core-js/modules/es.array.slice.js ***! 18071 \********************************************************/ 18072/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18073 18074"use strict"; 18075 18076var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18077var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); 18078var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); 18079var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 18080var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); 18081var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 18082var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 18083var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); 18084var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 18085var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); 18086var nativeSlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); 18087 18088var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); 18089 18090var SPECIES = wellKnownSymbol('species'); 18091var $Array = Array; 18092var max = Math.max; 18093 18094// `Array.prototype.slice` method 18095// https://tc39.es/ecma262/#sec-array.prototype.slice 18096// fallback for not array-like ES3 strings and DOM objects 18097$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 18098 slice: function slice(start, end) { 18099 var O = toIndexedObject(this); 18100 var length = lengthOfArrayLike(O); 18101 var k = toAbsoluteIndex(start, length); 18102 var fin = toAbsoluteIndex(end === undefined ? length : end, length); 18103 // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible 18104 var Constructor, result, n; 18105 if (isArray(O)) { 18106 Constructor = O.constructor; 18107 // cross-realm fallback 18108 if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { 18109 Constructor = undefined; 18110 } else if (isObject(Constructor)) { 18111 Constructor = Constructor[SPECIES]; 18112 if (Constructor === null) Constructor = undefined; 18113 } 18114 if (Constructor === $Array || Constructor === undefined) { 18115 return nativeSlice(O, k, fin); 18116 } 18117 } 18118 result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); 18119 for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); 18120 result.length = n; 18121 return result; 18122 } 18123}); 18124 18125 18126/***/ }), 18127
vendor: 3,972 bytes, lines 18128-18205
18128/***/ "./node_modules/core-js/modules/es.array.splice.js": 18129/*!*********************************************************!*\ 18130 !*** ./node_modules/core-js/modules/es.array.splice.js ***! 18131 \*********************************************************/ 18132/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18133 18134"use strict"; 18135 18136var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18137var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 18138var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); 18139var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 18140var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); 18141var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "./node_modules/core-js/internals/array-set-length.js"); 18142var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); 18143var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); 18144var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); 18145var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/core-js/internals/delete-property-or-throw.js"); 18146var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); 18147 18148var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); 18149 18150var max = Math.max; 18151var min = Math.min; 18152 18153// `Array.prototype.splice` method 18154// https://tc39.es/ecma262/#sec-array.prototype.splice 18155// with adding support of @@species 18156$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 18157 splice: function splice(start, deleteCount /* , ...items */) { 18158 var O = toObject(this); 18159 var len = lengthOfArrayLike(O); 18160 var actualStart = toAbsoluteIndex(start, len); 18161 var argumentsLength = arguments.length; 18162 var insertCount, actualDeleteCount, A, k, from, to; 18163 if (argumentsLength === 0) { 18164 insertCount = actualDeleteCount = 0; 18165 } else if (argumentsLength === 1) { 18166 insertCount = 0; 18167 actualDeleteCount = len - actualStart; 18168 } else { 18169 insertCount = argumentsLength - 2; 18170 actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); 18171 } 18172 doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); 18173 A = arraySpeciesCreate(O, actualDeleteCount); 18174 for (k = 0; k < actualDeleteCount; k++) { 18175 from = actualStart + k; 18176 if (from in O) createProperty(A, k, O[from]); 18177 } 18178 A.length = actualDeleteCount; 18179 if (insertCount < actualDeleteCount) { 18180 for (k = actualStart; k < len - actualDeleteCount; k++) { 18181 from = k + actualDeleteCount; 18182 to = k + insertCount; 18183 if (from in O) O[to] = O[from]; 18184 else deletePropertyOrThrow(O, to); 18185 } 18186 for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); 18187 } else if (insertCount > actualDeleteCount) { 18188 for (k = len - actualDeleteCount; k > actualStart; k--) { 18189 from = k + actualDeleteCount - 1; 18190 to = k + insertCount - 1; 18191 if (from in O) O[to] = O[from]; 18192 else deletePropertyOrThrow(O, to); 18193 } 18194 } 18195 for (k = 0; k < insertCount; k++) { 18196 O[k + actualStart] = arguments[k + 2]; 18197 } 18198 setArrayLength(O, len - actualDeleteCount + insertCount); 18199 return A; 18200 } 18201}); 18202 18203 18204/***/ }), 18205
vendor: 1,275 bytes, lines 18206-18236
18206/***/ "./node_modules/core-js/modules/es.date.to-string.js": 18207/*!***********************************************************!*\ 18208 !*** ./node_modules/core-js/modules/es.date.to-string.js ***! 18209 \***********************************************************/ 18210/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18211 18212"use strict"; 18213 18214// TODO: Remove from `core-js@4` 18215var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18216var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 18217 18218var DatePrototype = Date.prototype; 18219var INVALID_DATE = 'Invalid Date'; 18220var TO_STRING = 'toString'; 18221var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]); 18222var thisTimeValue = uncurryThis(DatePrototype.getTime); 18223 18224// `Date.prototype.toString` method 18225// https://tc39.es/ecma262/#sec-date.prototype.tostring 18226if (String(new Date(NaN)) !== INVALID_DATE) { 18227 defineBuiltIn(DatePrototype, TO_STRING, function toString() { 18228 var value = thisTimeValue(this); 18229 // eslint-disable-next-line no-self-compare -- NaN check 18230 return value === value ? nativeDateToString(this) : INVALID_DATE; 18231 }); 18232} 18233 18234 18235/***/ }), 18236
vendor: 1,560 bytes, lines 18237-18273
18237/***/ "./node_modules/core-js/modules/es.function.name.js": 18238/*!**********************************************************!*\ 18239 !*** ./node_modules/core-js/modules/es.function.name.js ***! 18240 \**********************************************************/ 18241/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18242 18243"use strict"; 18244 18245var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 18246var FUNCTION_NAME_EXISTS = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").EXISTS); 18247var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18248var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); 18249 18250var FunctionPrototype = Function.prototype; 18251var functionToString = uncurryThis(FunctionPrototype.toString); 18252var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; 18253var regExpExec = uncurryThis(nameRE.exec); 18254var NAME = 'name'; 18255 18256// Function instances `.name` property 18257// https://tc39.es/ecma262/#sec-function-instances-name 18258if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { 18259 defineBuiltInAccessor(FunctionPrototype, NAME, { 18260 configurable: true, 18261 get: function () { 18262 try { 18263 return regExpExec(nameRE, functionToString(this))[1]; 18264 } catch (error) { 18265 return ''; 18266 } 18267 } 18268 }); 18269} 18270 18271 18272/***/ }), 18273
vendor: 4,178 bytes, lines 18274-18357
18274/***/ "./node_modules/core-js/modules/es.json.stringify.js": 18275/*!***********************************************************!*\ 18276 !*** ./node_modules/core-js/modules/es.json.stringify.js ***! 18277 \***********************************************************/ 18278/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18279 18280"use strict"; 18281 18282var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18283var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 18284var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); 18285var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 18286var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18287var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 18288var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 18289var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); 18290var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); 18291var getReplacerFunction = __webpack_require__(/*! ../internals/get-json-replacer-function */ "./node_modules/core-js/internals/get-json-replacer-function.js"); 18292var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 18293 18294var $String = String; 18295var $stringify = getBuiltIn('JSON', 'stringify'); 18296var exec = uncurryThis(/./.exec); 18297var charAt = uncurryThis(''.charAt); 18298var charCodeAt = uncurryThis(''.charCodeAt); 18299var replace = uncurryThis(''.replace); 18300var numberToString = uncurryThis(1.0.toString); 18301 18302var tester = /[\uD800-\uDFFF]/g; 18303var low = /^[\uD800-\uDBFF]$/; 18304var hi = /^[\uDC00-\uDFFF]$/; 18305 18306var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { 18307 var symbol = getBuiltIn('Symbol')('stringify detection'); 18308 // MS Edge converts symbol values to JSON as {} 18309 return $stringify([symbol]) !== '[null]' 18310 // WebKit converts symbol values to JSON as null 18311 || $stringify({ a: symbol }) !== '{}' 18312 // V8 throws on boxed symbols 18313 || $stringify(Object(symbol)) !== '{}'; 18314}); 18315 18316// https://github.com/tc39/proposal-well-formed-stringify 18317var ILL_FORMED_UNICODE = fails(function () { 18318 return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' 18319 || $stringify('\uDEAD') !== '"\\udead"'; 18320}); 18321 18322var stringifyWithSymbolsFix = function (it, replacer) { 18323 var args = arraySlice(arguments); 18324 var $replacer = getReplacerFunction(replacer); 18325 if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined 18326 args[1] = function (key, value) { 18327 // some old implementations (like WebKit) could pass numbers as keys 18328 if (isCallable($replacer)) value = call($replacer, this, $String(key), value); 18329 if (!isSymbol(value)) return value; 18330 }; 18331 return apply($stringify, null, args); 18332}; 18333 18334var fixIllFormed = function (match, offset, string) { 18335 var prev = charAt(string, offset - 1); 18336 var next = charAt(string, offset + 1); 18337 if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { 18338 return '\\u' + numberToString(charCodeAt(match, 0), 16); 18339 } return match; 18340}; 18341 18342if ($stringify) { 18343 // `JSON.stringify` method 18344 // https://tc39.es/ecma262/#sec-json.stringify 18345 $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { 18346 // eslint-disable-next-line no-unused-vars -- required for `.length` 18347 stringify: function stringify(it, replacer, space) { 18348 var args = arraySlice(arguments); 18349 var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); 18350 return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; 18351 } 18352 }); 18353} 18354 18355 18356/***/ }), 18357
vendor: 6,256 bytes, lines 18358-18483
18358/***/ "./node_modules/core-js/modules/es.number.constructor.js": 18359/*!***************************************************************!*\ 18360 !*** ./node_modules/core-js/modules/es.number.constructor.js ***! 18361 \***************************************************************/ 18362/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18363 18364"use strict"; 18365 18366var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18367var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 18368var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 18369var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 18370var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js/internals/path.js"); 18371var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18372var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); 18373var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 18374var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); 18375var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 18376var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); 18377var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); 18378var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 18379var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); 18380var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); 18381var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); 18382var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); 18383var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); 18384 18385var NUMBER = 'Number'; 18386var NativeNumber = global[NUMBER]; 18387var PureNumberNamespace = path[NUMBER]; 18388var NumberPrototype = NativeNumber.prototype; 18389var TypeError = global.TypeError; 18390var stringSlice = uncurryThis(''.slice); 18391var charCodeAt = uncurryThis(''.charCodeAt); 18392 18393// `ToNumeric` abstract operation 18394// https://tc39.es/ecma262/#sec-tonumeric 18395var toNumeric = function (value) { 18396 var primValue = toPrimitive(value, 'number'); 18397 return typeof primValue == 'bigint' ? primValue : toNumber(primValue); 18398}; 18399 18400// `ToNumber` abstract operation 18401// https://tc39.es/ecma262/#sec-tonumber 18402var toNumber = function (argument) { 18403 var it = toPrimitive(argument, 'number'); 18404 var first, third, radix, maxCode, digits, length, index, code; 18405 if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number'); 18406 if (typeof it == 'string' && it.length > 2) { 18407 it = trim(it); 18408 first = charCodeAt(it, 0); 18409 if (first === 43 || first === 45) { 18410 third = charCodeAt(it, 2); 18411 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix 18412 } else if (first === 48) { 18413 switch (charCodeAt(it, 1)) { 18414 // fast equal of /^0b[01]+$/i 18415 case 66: 18416 case 98: 18417 radix = 2; 18418 maxCode = 49; 18419 break; 18420 // fast equal of /^0o[0-7]+$/i 18421 case 79: 18422 case 111: 18423 radix = 8; 18424 maxCode = 55; 18425 break; 18426 default: 18427 return +it; 18428 } 18429 digits = stringSlice(it, 2); 18430 length = digits.length; 18431 for (index = 0; index < length; index++) { 18432 code = charCodeAt(digits, index); 18433 // parseInt parses a string to a first unavailable symbol 18434 // but ToNumber should return NaN if a string contains unavailable symbols 18435 if (code < 48 || code > maxCode) return NaN; 18436 } return parseInt(digits, radix); 18437 } 18438 } return +it; 18439}; 18440 18441var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); 18442 18443var calledWithNew = function (dummy) { 18444 // includes check on 1..constructor(foo) case 18445 return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); 18446}; 18447 18448// `Number` constructor 18449// https://tc39.es/ecma262/#sec-number-constructor 18450var NumberWrapper = function Number(value) { 18451 var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); 18452 return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; 18453}; 18454 18455NumberWrapper.prototype = NumberPrototype; 18456if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; 18457 18458$({ global: true, constructor: true, wrap: true, forced: FORCED }, { 18459 Number: NumberWrapper 18460}); 18461 18462// Use `internal/copy-constructor-properties` helper in `core-js@4` 18463var copyConstructorProperties = function (target, source) { 18464 for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( 18465 // ES3: 18466 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 18467 // ES2015 (in case, if modules with ES2015 Number statics required before): 18468 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + 18469 // ESNext 18470 'fromString,range' 18471 ).split(','), j = 0, key; keys.length > j; j++) { 18472 if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { 18473 defineProperty(target, key, getOwnPropertyDescriptor(source, key)); 18474 } 18475 } 18476}; 18477 18478if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); 18479if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); 18480 18481 18482/***/ }), 18483
vendor: 4,493 bytes, lines 18484-18625
18484/***/ "./node_modules/core-js/modules/es.number.to-fixed.js": 18485/*!************************************************************!*\ 18486 !*** ./node_modules/core-js/modules/es.number.to-fixed.js ***! 18487 \************************************************************/ 18488/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18489 18490"use strict"; 18491 18492var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18493var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 18494var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 18495var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); 18496var $repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/core-js/internals/string-repeat.js"); 18497var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 18498 18499var $RangeError = RangeError; 18500var $String = String; 18501var floor = Math.floor; 18502var repeat = uncurryThis($repeat); 18503var stringSlice = uncurryThis(''.slice); 18504var nativeToFixed = uncurryThis(1.0.toFixed); 18505 18506var pow = function (x, n, acc) { 18507 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); 18508}; 18509 18510var log = function (x) { 18511 var n = 0; 18512 var x2 = x; 18513 while (x2 >= 4096) { 18514 n += 12; 18515 x2 /= 4096; 18516 } 18517 while (x2 >= 2) { 18518 n += 1; 18519 x2 /= 2; 18520 } return n; 18521}; 18522 18523var multiply = function (data, n, c) { 18524 var index = -1; 18525 var c2 = c; 18526 while (++index < 6) { 18527 c2 += n * data[index]; 18528 data[index] = c2 % 1e7; 18529 c2 = floor(c2 / 1e7); 18530 } 18531}; 18532 18533var divide = function (data, n) { 18534 var index = 6; 18535 var c = 0; 18536 while (--index >= 0) { 18537 c += data[index]; 18538 data[index] = floor(c / n); 18539 c = (c % n) * 1e7; 18540 } 18541}; 18542 18543var dataToString = function (data) { 18544 var index = 6; 18545 var s = ''; 18546 while (--index >= 0) { 18547 if (s !== '' || index === 0 || data[index] !== 0) { 18548 var t = $String(data[index]); 18549 s = s === '' ? t : s + repeat('0', 7 - t.length) + t; 18550 } 18551 } return s; 18552}; 18553 18554var FORCED = fails(function () { 18555 return nativeToFixed(0.00008, 3) !== '0.000' || 18556 nativeToFixed(0.9, 0) !== '1' || 18557 nativeToFixed(1.255, 2) !== '1.25' || 18558 nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; 18559}) || !fails(function () { 18560 // V8 ~ Android 4.3- 18561 nativeToFixed({}); 18562}); 18563 18564// `Number.prototype.toFixed` method 18565// https://tc39.es/ecma262/#sec-number.prototype.tofixed 18566$({ target: 'Number', proto: true, forced: FORCED }, { 18567 toFixed: function toFixed(fractionDigits) { 18568 var number = thisNumberValue(this); 18569 var fractDigits = toIntegerOrInfinity(fractionDigits); 18570 var data = [0, 0, 0, 0, 0, 0]; 18571 var sign = ''; 18572 var result = '0'; 18573 var e, z, j, k; 18574 18575 // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation 18576 if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits'); 18577 // eslint-disable-next-line no-self-compare -- NaN check 18578 if (number !== number) return 'NaN'; 18579 if (number <= -1e21 || number >= 1e21) return $String(number); 18580 if (number < 0) { 18581 sign = '-'; 18582 number = -number; 18583 } 18584 if (number > 1e-21) { 18585 e = log(number * pow(2, 69, 1)) - 69; 18586 z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); 18587 z *= 0x10000000000000; 18588 e = 52 - e; 18589 if (e > 0) { 18590 multiply(data, 0, z); 18591 j = fractDigits; 18592 while (j >= 7) { 18593 multiply(data, 1e7, 0); 18594 j -= 7; 18595 } 18596 multiply(data, pow(10, j, 1), 0); 18597 j = e - 1; 18598 while (j >= 23) { 18599 divide(data, 1 << 23); 18600 j -= 23; 18601 } 18602 divide(data, 1 << j); 18603 multiply(data, 1, 1); 18604 divide(data, 2); 18605 result = dataToString(data); 18606 } else { 18607 multiply(data, 0, z); 18608 multiply(data, 1 << -e, 0); 18609 result = dataToString(data) + repeat('0', fractDigits); 18610 } 18611 } 18612 if (fractDigits > 0) { 18613 k = result.length; 18614 result = sign + (k <= fractDigits 18615 ? '0.' + repeat('0', fractDigits - k) + result 18616 : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits)); 18617 } else { 18618 result = sign + result; 18619 } return result; 18620 } 18621}); 18622 18623 18624/***/ }), 18625
vendor: 1,211 bytes, lines 18626-18649
18626/***/ "./node_modules/core-js/modules/es.object.get-own-property-names.js": 18627/*!**************************************************************************!*\ 18628 !*** ./node_modules/core-js/modules/es.object.get-own-property-names.js ***! 18629 \**************************************************************************/ 18630/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18631 18632"use strict"; 18633 18634var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18635var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 18636var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names-external */ "./node_modules/core-js/internals/object-get-own-property-names-external.js").f); 18637 18638// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing 18639var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); }); 18640 18641// `Object.getOwnPropertyNames` method 18642// https://tc39.es/ecma262/#sec-object.getownpropertynames 18643$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { 18644 getOwnPropertyNames: getOwnPropertyNames 18645}); 18646 18647 18648/***/ }), 18649
vendor: 1,686 bytes, lines 18650-18679
18650/***/ "./node_modules/core-js/modules/es.object.get-own-property-symbols.js": 18651/*!****************************************************************************!*\ 18652 !*** ./node_modules/core-js/modules/es.object.get-own-property-symbols.js ***! 18653 \****************************************************************************/ 18654/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18655 18656"use strict"; 18657 18658var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18659var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 18660var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 18661var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); 18662var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); 18663 18664// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 18665// https://bugs.chromium.org/p/v8/issues/detail?id=3443 18666var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); }); 18667 18668// `Object.getOwnPropertySymbols` method 18669// https://tc39.es/ecma262/#sec-object.getownpropertysymbols 18670$({ target: 'Object', stat: true, forced: FORCED }, { 18671 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 18672 var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 18673 return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; 18674 } 18675}); 18676 18677 18678/***/ }), 18679
vendor: 994 bytes, lines 18680-18700
18680/***/ "./node_modules/core-js/modules/es.object.to-string.js": 18681/*!*************************************************************!*\ 18682 !*** ./node_modules/core-js/modules/es.object.to-string.js ***! 18683 \*************************************************************/ 18684/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18685 18686"use strict"; 18687 18688var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); 18689var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 18690var toString = __webpack_require__(/*! ../internals/object-to-string */ "./node_modules/core-js/internals/object-to-string.js"); 18691 18692// `Object.prototype.toString` method 18693// https://tc39.es/ecma262/#sec-object.prototype.tostring 18694if (!TO_STRING_TAG_SUPPORT) { 18695 defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); 18696} 18697 18698 18699/***/ }), 18700
vendor: 757 bytes, lines 18701-18720
18701/***/ "./node_modules/core-js/modules/es.parse-float.js": 18702/*!********************************************************!*\ 18703 !*** ./node_modules/core-js/modules/es.parse-float.js ***! 18704 \********************************************************/ 18705/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18706 18707"use strict"; 18708 18709var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18710var $parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ "./node_modules/core-js/internals/number-parse-float.js"); 18711 18712// `parseFloat` method 18713// https://tc39.es/ecma262/#sec-parsefloat-string 18714$({ global: true, forced: parseFloat !== $parseFloat }, { 18715 parseFloat: $parseFloat 18716}); 18717 18718 18719/***/ }), 18720
vendor: 2,261 bytes, lines 18721-18770
18721/***/ "./node_modules/core-js/modules/es.promise.all.js": 18722/*!********************************************************!*\ 18723 !*** ./node_modules/core-js/modules/es.promise.all.js ***! 18724 \********************************************************/ 18725/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18726 18727"use strict"; 18728 18729var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18730var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 18731var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 18732var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); 18733var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); 18734var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); 18735var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); 18736 18737// `Promise.all` method 18738// https://tc39.es/ecma262/#sec-promise.all 18739$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { 18740 all: function all(iterable) { 18741 var C = this; 18742 var capability = newPromiseCapabilityModule.f(C); 18743 var resolve = capability.resolve; 18744 var reject = capability.reject; 18745 var result = perform(function () { 18746 var $promiseResolve = aCallable(C.resolve); 18747 var values = []; 18748 var counter = 0; 18749 var remaining = 1; 18750 iterate(iterable, function (promise) { 18751 var index = counter++; 18752 var alreadyCalled = false; 18753 remaining++; 18754 call($promiseResolve, C, promise).then(function (value) { 18755 if (alreadyCalled) return; 18756 alreadyCalled = true; 18757 values[index] = value; 18758 --remaining || resolve(values); 18759 }, reject); 18760 }); 18761 --remaining || resolve(values); 18762 }); 18763 if (result.error) reject(result.value); 18764 return capability.promise; 18765 } 18766}); 18767 18768 18769/***/ }), 18770
vendor: 2,022 bytes, lines 18771-18807
18771/***/ "./node_modules/core-js/modules/es.promise.catch.js": 18772/*!**********************************************************!*\ 18773 !*** ./node_modules/core-js/modules/es.promise.catch.js ***! 18774 \**********************************************************/ 18775/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18776 18777"use strict"; 18778 18779var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18780var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 18781var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); 18782var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); 18783var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 18784var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 18785var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 18786 18787var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; 18788 18789// `Promise.prototype.catch` method 18790// https://tc39.es/ecma262/#sec-promise.prototype.catch 18791$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { 18792 'catch': function (onRejected) { 18793 return this.then(undefined, onRejected); 18794 } 18795}); 18796 18797// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` 18798if (!IS_PURE && isCallable(NativePromiseConstructor)) { 18799 var method = getBuiltIn('Promise').prototype['catch']; 18800 if (NativePromisePrototype['catch'] !== method) { 18801 defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true }); 18802 } 18803} 18804 18805 18806/***/ }), 18807
vendor: 11,746 bytes, lines 18808-19106
18808/***/ "./node_modules/core-js/modules/es.promise.constructor.js": 18809/*!****************************************************************!*\ 18810 !*** ./node_modules/core-js/modules/es.promise.constructor.js ***! 18811 \****************************************************************/ 18812/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 18813 18814"use strict"; 18815 18816var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 18817var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 18818var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); 18819var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 18820var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 18821var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 18822var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); 18823var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); 18824var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); 18825var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 18826var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 18827var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); 18828var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); 18829var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); 18830var task = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").set); 18831var microtask = __webpack_require__(/*! ../internals/microtask */ "./node_modules/core-js/internals/microtask.js"); 18832var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "./node_modules/core-js/internals/host-report-errors.js"); 18833var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); 18834var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/core-js/internals/queue.js"); 18835var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); 18836var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); 18837var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js"); 18838var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); 18839 18840var PROMISE = 'Promise'; 18841var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; 18842var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; 18843var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; 18844var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); 18845var setInternalState = InternalStateModule.set; 18846var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; 18847var PromiseConstructor = NativePromiseConstructor; 18848var PromisePrototype = NativePromisePrototype; 18849var TypeError = global.TypeError; 18850var document = global.document; 18851var process = global.process; 18852var newPromiseCapability = newPromiseCapabilityModule.f; 18853var newGenericPromiseCapability = newPromiseCapability; 18854 18855var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); 18856var UNHANDLED_REJECTION = 'unhandledrejection'; 18857var REJECTION_HANDLED = 'rejectionhandled'; 18858var PENDING = 0; 18859var FULFILLED = 1; 18860var REJECTED = 2; 18861var HANDLED = 1; 18862var UNHANDLED = 2; 18863 18864var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; 18865 18866// helpers 18867var isThenable = function (it) { 18868 var then; 18869 return isObject(it) && isCallable(then = it.then) ? then : false; 18870}; 18871 18872var callReaction = function (reaction, state) { 18873 var value = state.value; 18874 var ok = state.state === FULFILLED; 18875 var handler = ok ? reaction.ok : reaction.fail; 18876 var resolve = reaction.resolve; 18877 var reject = reaction.reject; 18878 var domain = reaction.domain; 18879 var result, then, exited; 18880 try { 18881 if (handler) { 18882 if (!ok) { 18883 if (state.rejection === UNHANDLED) onHandleUnhandled(state); 18884 state.rejection = HANDLED; 18885 } 18886 if (handler === true) result = value; 18887 else { 18888 if (domain) domain.enter(); 18889 result = handler(value); // can throw 18890 if (domain) { 18891 domain.exit(); 18892 exited = true; 18893 } 18894 } 18895 if (result === reaction.promise) { 18896 reject(new TypeError('Promise-chain cycle')); 18897 } else if (then = isThenable(result)) { 18898 call(then, result, resolve, reject); 18899 } else resolve(result); 18900 } else reject(value); 18901 } catch (error) { 18902 if (domain && !exited) domain.exit(); 18903 reject(error); 18904 } 18905}; 18906 18907var notify = function (state, isReject) { 18908 if (state.notified) return; 18909 state.notified = true; 18910 microtask(function () { 18911 var reactions = state.reactions; 18912 var reaction; 18913 while (reaction = reactions.get()) { 18914 callReaction(reaction, state); 18915 } 18916 state.notified = false; 18917 if (isReject && !state.rejection) onUnhandled(state); 18918 }); 18919}; 18920 18921var dispatchEvent = function (name, promise, reason) { 18922 var event, handler; 18923 if (DISPATCH_EVENT) { 18924 event = document.createEvent('Event'); 18925 event.promise = promise; 18926 event.reason = reason; 18927 event.initEvent(name, false, true); 18928 global.dispatchEvent(event); 18929 } else event = { promise: promise, reason: reason }; 18930 if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); 18931 else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); 18932}; 18933 18934var onUnhandled = function (state) { 18935 call(task, global, function () { 18936 var promise = state.facade; 18937 var value = state.value; 18938 var IS_UNHANDLED = isUnhandled(state); 18939 var result; 18940 if (IS_UNHANDLED) { 18941 result = perform(function () { 18942 if (IS_NODE) { 18943 process.emit('unhandledRejection', value, promise); 18944 } else dispatchEvent(UNHANDLED_REJECTION, promise, value); 18945 }); 18946 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should 18947 state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; 18948 if (result.error) throw result.value; 18949 } 18950 }); 18951}; 18952 18953var isUnhandled = function (state) { 18954 return state.rejection !== HANDLED && !state.parent; 18955}; 18956 18957var onHandleUnhandled = function (state) { 18958 call(task, global, function () { 18959 var promise = state.facade; 18960 if (IS_NODE) { 18961 process.emit('rejectionHandled', promise); 18962 } else dispatchEvent(REJECTION_HANDLED, promise, state.value); 18963 }); 18964}; 18965 18966var bind = function (fn, state, unwrap) { 18967 return function (value) { 18968 fn(state, value, unwrap); 18969 }; 18970}; 18971 18972var internalReject = function (state, value, unwrap) { 18973 if (state.done) return; 18974 state.done = true; 18975 if (unwrap) state = unwrap; 18976 state.value = value; 18977 state.state = REJECTED; 18978 notify(state, true); 18979}; 18980 18981var internalResolve = function (state, value, unwrap) { 18982 if (state.done) return; 18983 state.done = true; 18984 if (unwrap) state = unwrap; 18985 try { 18986 if (state.facade === value) throw new TypeError("Promise can't be resolved itself"); 18987 var then = isThenable(value); 18988 if (then) { 18989 microtask(function () { 18990 var wrapper = { done: false }; 18991 try { 18992 call(then, value, 18993 bind(internalResolve, wrapper, state), 18994 bind(internalReject, wrapper, state) 18995 ); 18996 } catch (error) { 18997 internalReject(wrapper, error, state); 18998 } 18999 }); 19000 } else { 19001 state.value = value; 19002 state.state = FULFILLED; 19003 notify(state, false); 19004 } 19005 } catch (error) { 19006 internalReject({ done: false }, error, state); 19007 } 19008}; 19009 19010// constructor polyfill 19011if (FORCED_PROMISE_CONSTRUCTOR) { 19012 // 25.4.3.1 Promise(executor) 19013 PromiseConstructor = function Promise(executor) { 19014 anInstance(this, PromisePrototype); 19015 aCallable(executor); 19016 call(Internal, this); 19017 var state = getInternalPromiseState(this); 19018 try { 19019 executor(bind(internalResolve, state), bind(internalReject, state)); 19020 } catch (error) { 19021 internalReject(state, error); 19022 } 19023 }; 19024 19025 PromisePrototype = PromiseConstructor.prototype; 19026 19027 // eslint-disable-next-line no-unused-vars -- required for `.length` 19028 Internal = function Promise(executor) { 19029 setInternalState(this, { 19030 type: PROMISE, 19031 done: false, 19032 notified: false, 19033 parent: false, 19034 reactions: new Queue(), 19035 rejection: false, 19036 state: PENDING, 19037 value: undefined 19038 }); 19039 }; 19040 19041 // `Promise.prototype.then` method 19042 // https://tc39.es/ecma262/#sec-promise.prototype.then 19043 Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) { 19044 var state = getInternalPromiseState(this); 19045 var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); 19046 state.parent = true; 19047 reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; 19048 reaction.fail = isCallable(onRejected) && onRejected; 19049 reaction.domain = IS_NODE ? process.domain : undefined; 19050 if (state.state === PENDING) state.reactions.add(reaction); 19051 else microtask(function () { 19052 callReaction(reaction, state); 19053 }); 19054 return reaction.promise; 19055 }); 19056 19057 OwnPromiseCapability = function () { 19058 var promise = new Internal(); 19059 var state = getInternalPromiseState(promise); 19060 this.promise = promise; 19061 this.resolve = bind(internalResolve, state); 19062 this.reject = bind(internalReject, state); 19063 }; 19064 19065 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 19066 return C === PromiseConstructor || C === PromiseWrapper 19067 ? new OwnPromiseCapability(C) 19068 : newGenericPromiseCapability(C); 19069 }; 19070 19071 if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { 19072 nativeThen = NativePromisePrototype.then; 19073 19074 if (!NATIVE_PROMISE_SUBCLASSING) { 19075 // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs 19076 defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { 19077 var that = this; 19078 return new PromiseConstructor(function (resolve, reject) { 19079 call(nativeThen, that, resolve, reject); 19080 }).then(onFulfilled, onRejected); 19081 // https://github.com/zloirock/core-js/issues/640 19082 }, { unsafe: true }); 19083 } 19084 19085 // make `.constructor === Promise` work for native promise-based APIs 19086 try { 19087 delete NativePromisePrototype.constructor; 19088 } catch (error) { /* empty */ } 19089 19090 // make `instanceof Promise` work for native promise-based APIs 19091 if (setPrototypeOf) { 19092 setPrototypeOf(NativePromisePrototype, PromisePrototype); 19093 } 19094 } 19095} 19096 19097$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { 19098 Promise: PromiseConstructor 19099}); 19100 19101setToStringTag(PromiseConstructor, PROMISE, false, true); 19102setSpecies(PROMISE); 19103 19104 19105/***/ }), 19106
vendor: 1,099 bytes, lines 19107-19125
19107/***/ "./node_modules/core-js/modules/es.promise.js": 19108/*!****************************************************!*\ 19109 !*** ./node_modules/core-js/modules/es.promise.js ***! 19110 \****************************************************/ 19111/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19112 19113"use strict"; 19114 19115// TODO: Remove this module from `core-js@4` since it's split to modules listed below 19116__webpack_require__(/*! ../modules/es.promise.constructor */ "./node_modules/core-js/modules/es.promise.constructor.js"); 19117__webpack_require__(/*! ../modules/es.promise.all */ "./node_modules/core-js/modules/es.promise.all.js"); 19118__webpack_require__(/*! ../modules/es.promise.catch */ "./node_modules/core-js/modules/es.promise.catch.js"); 19119__webpack_require__(/*! ../modules/es.promise.race */ "./node_modules/core-js/modules/es.promise.race.js"); 19120__webpack_require__(/*! ../modules/es.promise.reject */ "./node_modules/core-js/modules/es.promise.reject.js"); 19121__webpack_require__(/*! ../modules/es.promise.resolve */ "./node_modules/core-js/modules/es.promise.resolve.js"); 19122 19123 19124/***/ }), 19125
vendor: 1,881 bytes, lines 19126-19162
19126/***/ "./node_modules/core-js/modules/es.promise.race.js": 19127/*!*********************************************************!*\ 19128 !*** ./node_modules/core-js/modules/es.promise.race.js ***! 19129 \*********************************************************/ 19130/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19131 19132"use strict"; 19133 19134var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 19135var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 19136var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); 19137var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); 19138var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); 19139var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); 19140var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); 19141 19142// `Promise.race` method 19143// https://tc39.es/ecma262/#sec-promise.race 19144$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { 19145 race: function race(iterable) { 19146 var C = this; 19147 var capability = newPromiseCapabilityModule.f(C); 19148 var reject = capability.reject; 19149 var result = perform(function () { 19150 var $promiseResolve = aCallable(C.resolve); 19151 iterate(iterable, function (promise) { 19152 call($promiseResolve, C, promise).then(capability.resolve, reject); 19153 }); 19154 }); 19155 if (result.error) reject(result.value); 19156 return capability.promise; 19157 } 19158}); 19159 19160 19161/***/ }), 19162
vendor: 1,256 bytes, lines 19163-19188
19163/***/ "./node_modules/core-js/modules/es.promise.reject.js": 19164/*!***********************************************************!*\ 19165 !*** ./node_modules/core-js/modules/es.promise.reject.js ***! 19166 \***********************************************************/ 19167/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19168 19169"use strict"; 19170 19171var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 19172var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 19173var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); 19174var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); 19175 19176// `Promise.reject` method 19177// https://tc39.es/ecma262/#sec-promise.reject 19178$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { 19179 reject: function reject(r) { 19180 var capability = newPromiseCapabilityModule.f(this); 19181 call(capability.reject, undefined, r); 19182 return capability.promise; 19183 } 19184}); 19185 19186 19187/***/ }), 19188
vendor: 1,630 bytes, lines 19189-19217
19189/***/ "./node_modules/core-js/modules/es.promise.resolve.js": 19190/*!************************************************************!*\ 19191 !*** ./node_modules/core-js/modules/es.promise.resolve.js ***! 19192 \************************************************************/ 19193/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19194 19195"use strict"; 19196 19197var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 19198var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 19199var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 19200var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); 19201var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); 19202var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "./node_modules/core-js/internals/promise-resolve.js"); 19203 19204var PromiseConstructorWrapper = getBuiltIn('Promise'); 19205var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; 19206 19207// `Promise.resolve` method 19208// https://tc39.es/ecma262/#sec-promise.resolve 19209$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { 19210 resolve: function resolve(x) { 19211 return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x); 19212 } 19213}); 19214 19215 19216/***/ }), 19217
vendor: 8,438 bytes, lines 19218-19419
19218/***/ "./node_modules/core-js/modules/es.regexp.constructor.js": 19219/*!***************************************************************!*\ 19220 !*** ./node_modules/core-js/modules/es.regexp.constructor.js ***! 19221 \***************************************************************/ 19222/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19223 19224"use strict"; 19225 19226var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 19227var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 19228var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 19229var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); 19230var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); 19231var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 19232var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); 19233var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 19234var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); 19235var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19236var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); 19237var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js"); 19238var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "./node_modules/core-js/internals/proxy-accessor.js"); 19239var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 19240var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 19241var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 19242var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").enforce); 19243var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); 19244var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 19245var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js"); 19246var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/core-js/internals/regexp-unsupported-ncg.js"); 19247 19248var MATCH = wellKnownSymbol('match'); 19249var NativeRegExp = global.RegExp; 19250var RegExpPrototype = NativeRegExp.prototype; 19251var SyntaxError = global.SyntaxError; 19252var exec = uncurryThis(RegExpPrototype.exec); 19253var charAt = uncurryThis(''.charAt); 19254var replace = uncurryThis(''.replace); 19255var stringIndexOf = uncurryThis(''.indexOf); 19256var stringSlice = uncurryThis(''.slice); 19257// TODO: Use only proper RegExpIdentifierName 19258var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; 19259var re1 = /a/g; 19260var re2 = /a/g; 19261 19262// "new" should create a new object, old webkit bug 19263var CORRECT_NEW = new NativeRegExp(re1) !== re1; 19264 19265var MISSED_STICKY = stickyHelpers.MISSED_STICKY; 19266var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; 19267 19268var BASE_FORCED = DESCRIPTORS && 19269 (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () { 19270 re2[MATCH] = false; 19271 // RegExp constructor can alter flags and IsRegExp works correct with @@match 19272 return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i'; 19273 })); 19274 19275var handleDotAll = function (string) { 19276 var length = string.length; 19277 var index = 0; 19278 var result = ''; 19279 var brackets = false; 19280 var chr; 19281 for (; index <= length; index++) { 19282 chr = charAt(string, index); 19283 if (chr === '\\') { 19284 result += chr + charAt(string, ++index); 19285 continue; 19286 } 19287 if (!brackets && chr === '.') { 19288 result += '[\\s\\S]'; 19289 } else { 19290 if (chr === '[') { 19291 brackets = true; 19292 } else if (chr === ']') { 19293 brackets = false; 19294 } result += chr; 19295 } 19296 } return result; 19297}; 19298 19299var handleNCG = function (string) { 19300 var length = string.length; 19301 var index = 0; 19302 var result = ''; 19303 var named = []; 19304 var names = {}; 19305 var brackets = false; 19306 var ncg = false; 19307 var groupid = 0; 19308 var groupname = ''; 19309 var chr; 19310 for (; index <= length; index++) { 19311 chr = charAt(string, index); 19312 if (chr === '\\') { 19313 chr += charAt(string, ++index); 19314 } else if (chr === ']') { 19315 brackets = false; 19316 } else if (!brackets) switch (true) { 19317 case chr === '[': 19318 brackets = true; 19319 break; 19320 case chr === '(': 19321 if (exec(IS_NCG, stringSlice(string, index + 1))) { 19322 index += 2; 19323 ncg = true; 19324 } 19325 result += chr; 19326 groupid++; 19327 continue; 19328 case chr === '>' && ncg: 19329 if (groupname === '' || hasOwn(names, groupname)) { 19330 throw new SyntaxError('Invalid capture group name'); 19331 } 19332 names[groupname] = true; 19333 named[named.length] = [groupname, groupid]; 19334 ncg = false; 19335 groupname = ''; 19336 continue; 19337 } 19338 if (ncg) groupname += chr; 19339 else result += chr; 19340 } return [result, named]; 19341}; 19342 19343// `RegExp` constructor 19344// https://tc39.es/ecma262/#sec-regexp-constructor 19345if (isForced('RegExp', BASE_FORCED)) { 19346 var RegExpWrapper = function RegExp(pattern, flags) { 19347 var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); 19348 var patternIsRegExp = isRegExp(pattern); 19349 var flagsAreUndefined = flags === undefined; 19350 var groups = []; 19351 var rawPattern = pattern; 19352 var rawFlags, dotAll, sticky, handled, result, state; 19353 19354 if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { 19355 return pattern; 19356 } 19357 19358 if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { 19359 pattern = pattern.source; 19360 if (flagsAreUndefined) flags = getRegExpFlags(rawPattern); 19361 } 19362 19363 pattern = pattern === undefined ? '' : toString(pattern); 19364 flags = flags === undefined ? '' : toString(flags); 19365 rawPattern = pattern; 19366 19367 if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { 19368 dotAll = !!flags && stringIndexOf(flags, 's') > -1; 19369 if (dotAll) flags = replace(flags, /s/g, ''); 19370 } 19371 19372 rawFlags = flags; 19373 19374 if (MISSED_STICKY && 'sticky' in re1) { 19375 sticky = !!flags && stringIndexOf(flags, 'y') > -1; 19376 if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, ''); 19377 } 19378 19379 if (UNSUPPORTED_NCG) { 19380 handled = handleNCG(pattern); 19381 pattern = handled[0]; 19382 groups = handled[1]; 19383 } 19384 19385 result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); 19386 19387 if (dotAll || sticky || groups.length) { 19388 state = enforceInternalState(result); 19389 if (dotAll) { 19390 state.dotAll = true; 19391 state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); 19392 } 19393 if (sticky) state.sticky = true; 19394 if (groups.length) state.groups = groups; 19395 } 19396 19397 if (pattern !== rawPattern) try { 19398 // fails in old engines, but we have no alternatives for unsupported regex syntax 19399 createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); 19400 } catch (error) { /* empty */ } 19401 19402 return result; 19403 }; 19404 19405 for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { 19406 proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); 19407 } 19408 19409 RegExpPrototype.constructor = RegExpWrapper; 19410 RegExpWrapper.prototype = RegExpPrototype; 19411 defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true }); 19412} 19413 19414// https://tc39.es/ecma262/#sec-get-regexp-@@species 19415setSpecies('RegExp'); 19416 19417 19418/***/ }), 19419
vendor: 746 bytes, lines 19420-19439
19420/***/ "./node_modules/core-js/modules/es.regexp.exec.js": 19421/*!********************************************************!*\ 19422 !*** ./node_modules/core-js/modules/es.regexp.exec.js ***! 19423 \********************************************************/ 19424/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19425 19426"use strict"; 19427 19428var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 19429var exec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); 19430 19431// `RegExp.prototype.exec` method 19432// https://tc39.es/ecma262/#sec-regexp.prototype.exec 19433$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { 19434 exec: exec 19435}); 19436 19437 19438/***/ }), 19439
vendor: 1,854 bytes, lines 19440-19476
19440/***/ "./node_modules/core-js/modules/es.regexp.to-string.js": 19441/*!*************************************************************!*\ 19442 !*** ./node_modules/core-js/modules/es.regexp.to-string.js ***! 19443 \*************************************************************/ 19444/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19445 19446"use strict"; 19447 19448var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").PROPER); 19449var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 19450var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 19451var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19452var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 19453var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); 19454 19455var TO_STRING = 'toString'; 19456var RegExpPrototype = RegExp.prototype; 19457var nativeToString = RegExpPrototype[TO_STRING]; 19458 19459var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); 19460// FF44- RegExp#toString has a wrong name 19461var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; 19462 19463// `RegExp.prototype.toString` method 19464// https://tc39.es/ecma262/#sec-regexp.prototype.tostring 19465if (NOT_GENERIC || INCORRECT_NAME) { 19466 defineBuiltIn(RegExp.prototype, TO_STRING, function toString() { 19467 var R = anObject(this); 19468 var pattern = $toString(R.source); 19469 var flags = $toString(getRegExpFlags(R)); 19470 return '/' + pattern + '/' + flags; 19471 }, { unsafe: true }); 19472} 19473 19474 19475/***/ }), 19476
vendor: 1,904 bytes, lines 19477-19518
19477/***/ "./node_modules/core-js/modules/es.string.iterator.js": 19478/*!************************************************************!*\ 19479 !*** ./node_modules/core-js/modules/es.string.iterator.js ***! 19480 \************************************************************/ 19481/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19482 19483"use strict"; 19484 19485var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").charAt); 19486var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19487var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); 19488var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/core-js/internals/iterator-define.js"); 19489var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); 19490 19491var STRING_ITERATOR = 'String Iterator'; 19492var setInternalState = InternalStateModule.set; 19493var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); 19494 19495// `String.prototype[@@iterator]` method 19496// https://tc39.es/ecma262/#sec-string.prototype-@@iterator 19497defineIterator(String, 'String', function (iterated) { 19498 setInternalState(this, { 19499 type: STRING_ITERATOR, 19500 string: toString(iterated), 19501 index: 0 19502 }); 19503// `%StringIteratorPrototype%.next` method 19504// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next 19505}, function next() { 19506 var state = getInternalState(this); 19507 var string = state.string; 19508 var index = state.index; 19509 var point; 19510 if (index >= string.length) return createIterResultObject(undefined, true); 19511 point = charAt(string, index); 19512 state.index += point.length; 19513 return createIterResultObject(point, false); 19514}); 19515 19516 19517/***/ }), 19518
vendor: 2,932 bytes, lines 19519-19577
19519/***/ "./node_modules/core-js/modules/es.string.match.js": 19520/*!*********************************************************!*\ 19521 !*** ./node_modules/core-js/modules/es.string.match.js ***! 19522 \*********************************************************/ 19523/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19524 19525"use strict"; 19526 19527var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 19528var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); 19529var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 19530var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 19531var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); 19532var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19533var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 19534var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); 19535var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); 19536var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); 19537 19538// @@match logic 19539fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { 19540 return [ 19541 // `String.prototype.match` method 19542 // https://tc39.es/ecma262/#sec-string.prototype.match 19543 function match(regexp) { 19544 var O = requireObjectCoercible(this); 19545 var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH); 19546 return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O)); 19547 }, 19548 // `RegExp.prototype[@@match]` method 19549 // https://tc39.es/ecma262/#sec-regexp.prototype-@@match 19550 function (string) { 19551 var rx = anObject(this); 19552 var S = toString(string); 19553 var res = maybeCallNative(nativeMatch, rx, S); 19554 19555 if (res.done) return res.value; 19556 19557 if (!rx.global) return regExpExec(rx, S); 19558 19559 var fullUnicode = rx.unicode; 19560 rx.lastIndex = 0; 19561 var A = []; 19562 var n = 0; 19563 var result; 19564 while ((result = regExpExec(rx, S)) !== null) { 19565 var matchStr = toString(result[0]); 19566 A[n] = matchStr; 19567 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 19568 n++; 19569 } 19570 return n === 0 ? null : A; 19571 } 19572 ]; 19573}); 19574 19575 19576/***/ }), 19577
vendor: 7,248 bytes, lines 19578-19730
19578/***/ "./node_modules/core-js/modules/es.string.replace.js": 19579/*!***********************************************************!*\ 19580 !*** ./node_modules/core-js/modules/es.string.replace.js ***! 19581 \***********************************************************/ 19582/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19583 19584"use strict"; 19585 19586var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); 19587var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 19588var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 19589var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); 19590var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 19591var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 19592var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 19593var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); 19594var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); 19595var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); 19596var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19597var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); 19598var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); 19599var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); 19600var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ "./node_modules/core-js/internals/get-substitution.js"); 19601var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); 19602var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 19603 19604var REPLACE = wellKnownSymbol('replace'); 19605var max = Math.max; 19606var min = Math.min; 19607var concat = uncurryThis([].concat); 19608var push = uncurryThis([].push); 19609var stringIndexOf = uncurryThis(''.indexOf); 19610var stringSlice = uncurryThis(''.slice); 19611 19612var maybeToString = function (it) { 19613 return it === undefined ? it : String(it); 19614}; 19615 19616// IE <= 11 replaces $0 with the whole match, as if it was $& 19617// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 19618var REPLACE_KEEPS_$0 = (function () { 19619 // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing 19620 return 'a'.replace(/./, '$0') === '$0'; 19621})(); 19622 19623// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string 19624var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { 19625 if (/./[REPLACE]) { 19626 return /./[REPLACE]('a', '$0') === ''; 19627 } 19628 return false; 19629})(); 19630 19631var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { 19632 var re = /./; 19633 re.exec = function () { 19634 var result = []; 19635 result.groups = { a: '7' }; 19636 return result; 19637 }; 19638 // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive 19639 return ''.replace(re, '$<a>') !== '7'; 19640}); 19641 19642// @@replace logic 19643fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { 19644 var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; 19645 19646 return [ 19647 // `String.prototype.replace` method 19648 // https://tc39.es/ecma262/#sec-string.prototype.replace 19649 function replace(searchValue, replaceValue) { 19650 var O = requireObjectCoercible(this); 19651 var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); 19652 return replacer 19653 ? call(replacer, searchValue, O, replaceValue) 19654 : call(nativeReplace, toString(O), searchValue, replaceValue); 19655 }, 19656 // `RegExp.prototype[@@replace]` method 19657 // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace 19658 function (string, replaceValue) { 19659 var rx = anObject(this); 19660 var S = toString(string); 19661 19662 if ( 19663 typeof replaceValue == 'string' && 19664 stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && 19665 stringIndexOf(replaceValue, '$<') === -1 19666 ) { 19667 var res = maybeCallNative(nativeReplace, rx, S, replaceValue); 19668 if (res.done) return res.value; 19669 } 19670 19671 var functionalReplace = isCallable(replaceValue); 19672 if (!functionalReplace) replaceValue = toString(replaceValue); 19673 19674 var global = rx.global; 19675 var fullUnicode; 19676 if (global) { 19677 fullUnicode = rx.unicode; 19678 rx.lastIndex = 0; 19679 } 19680 19681 var results = []; 19682 var result; 19683 while (true) { 19684 result = regExpExec(rx, S); 19685 if (result === null) break; 19686 19687 push(results, result); 19688 if (!global) break; 19689 19690 var matchStr = toString(result[0]); 19691 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 19692 } 19693 19694 var accumulatedResult = ''; 19695 var nextSourcePosition = 0; 19696 for (var i = 0; i < results.length; i++) { 19697 result = results[i]; 19698 19699 var matched = toString(result[0]); 19700 var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); 19701 var captures = []; 19702 var replacement; 19703 // NOTE: This is equivalent to 19704 // captures = result.slice(1).map(maybeToString) 19705 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in 19706 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and 19707 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. 19708 for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); 19709 var namedCaptures = result.groups; 19710 if (functionalReplace) { 19711 var replacerArgs = concat([matched], captures, position, S); 19712 if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); 19713 replacement = toString(apply(replaceValue, undefined, replacerArgs)); 19714 } else { 19715 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 19716 } 19717 if (position >= nextSourcePosition) { 19718 accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; 19719 nextSourcePosition = position + matched.length; 19720 } 19721 } 19722 19723 return accumulatedResult + stringSlice(S, nextSourcePosition); 19724 } 19725 ]; 19726}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); 19727 19728 19729/***/ }), 19730
vendor: 14,076 bytes, lines 19731-20004
19731/***/ "./node_modules/core-js/modules/es.symbol.constructor.js": 19732/*!***************************************************************!*\ 19733 !*** ./node_modules/core-js/modules/es.symbol.constructor.js ***! 19734 \***************************************************************/ 19735/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 19736 19737"use strict"; 19738 19739var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 19740var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 19741var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); 19742var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 19743var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); 19744var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 19745var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); 19746var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); 19747var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 19748var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 19749var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); 19750var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); 19751var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); 19752var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 19753var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); 19754var nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); 19755var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); 19756var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); 19757var getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ "./node_modules/core-js/internals/object-get-own-property-names-external.js"); 19758var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); 19759var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); 19760var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); 19761var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js"); 19762var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); 19763var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); 19764var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); 19765var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 19766var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); 19767var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); 19768var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); 19769var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 19770var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "./node_modules/core-js/internals/well-known-symbol-wrapped.js"); 19771var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); 19772var defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ "./node_modules/core-js/internals/symbol-define-to-primitive.js"); 19773var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); 19774var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); 19775var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").forEach); 19776 19777var HIDDEN = sharedKey('hidden'); 19778var SYMBOL = 'Symbol'; 19779var PROTOTYPE = 'prototype'; 19780 19781var setInternalState = InternalStateModule.set; 19782var getInternalState = InternalStateModule.getterFor(SYMBOL); 19783 19784var ObjectPrototype = Object[PROTOTYPE]; 19785var $Symbol = global.Symbol; 19786var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; 19787var RangeError = global.RangeError; 19788var TypeError = global.TypeError; 19789var QObject = global.QObject; 19790var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 19791var nativeDefineProperty = definePropertyModule.f; 19792var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; 19793var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; 19794var push = uncurryThis([].push); 19795 19796var AllSymbols = shared('symbols'); 19797var ObjectPrototypeSymbols = shared('op-symbols'); 19798var WellKnownSymbolsStore = shared('wks'); 19799 19800// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 19801var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 19802 19803// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 19804var fallbackDefineProperty = function (O, P, Attributes) { 19805 var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); 19806 if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; 19807 nativeDefineProperty(O, P, Attributes); 19808 if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { 19809 nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); 19810 } 19811}; 19812 19813var setSymbolDescriptor = DESCRIPTORS && fails(function () { 19814 return nativeObjectCreate(nativeDefineProperty({}, 'a', { 19815 get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } 19816 })).a !== 7; 19817}) ? fallbackDefineProperty : nativeDefineProperty; 19818 19819var wrap = function (tag, description) { 19820 var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); 19821 setInternalState(symbol, { 19822 type: SYMBOL, 19823 tag: tag, 19824 description: description 19825 }); 19826 if (!DESCRIPTORS) symbol.description = description; 19827 return symbol; 19828}; 19829 19830var $defineProperty = function defineProperty(O, P, Attributes) { 19831 if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); 19832 anObject(O); 19833 var key = toPropertyKey(P); 19834 anObject(Attributes); 19835 if (hasOwn(AllSymbols, key)) { 19836 if (!Attributes.enumerable) { 19837 if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); 19838 O[HIDDEN][key] = true; 19839 } else { 19840 if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; 19841 Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); 19842 } return setSymbolDescriptor(O, key, Attributes); 19843 } return nativeDefineProperty(O, key, Attributes); 19844}; 19845 19846var $defineProperties = function defineProperties(O, Properties) { 19847 anObject(O); 19848 var properties = toIndexedObject(Properties); 19849 var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); 19850 $forEach(keys, function (key) { 19851 if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); 19852 }); 19853 return O; 19854}; 19855 19856var $create = function create(O, Properties) { 19857 return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); 19858}; 19859 19860var $propertyIsEnumerable = function propertyIsEnumerable(V) { 19861 var P = toPropertyKey(V); 19862 var enumerable = call(nativePropertyIsEnumerable, this, P); 19863 if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false; 19864 return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] 19865 ? enumerable : true; 19866}; 19867 19868var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { 19869 var it = toIndexedObject(O); 19870 var key = toPropertyKey(P); 19871 if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return; 19872 var descriptor = nativeGetOwnPropertyDescriptor(it, key); 19873 if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { 19874 descriptor.enumerable = true; 19875 } 19876 return descriptor; 19877}; 19878 19879var $getOwnPropertyNames = function getOwnPropertyNames(O) { 19880 var names = nativeGetOwnPropertyNames(toIndexedObject(O)); 19881 var result = []; 19882 $forEach(names, function (key) { 19883 if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key); 19884 }); 19885 return result; 19886}; 19887 19888var $getOwnPropertySymbols = function (O) { 19889 var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; 19890 var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); 19891 var result = []; 19892 $forEach(names, function (key) { 19893 if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { 19894 push(result, AllSymbols[key]); 19895 } 19896 }); 19897 return result; 19898}; 19899 19900// `Symbol` constructor 19901// https://tc39.es/ecma262/#sec-symbol-constructor 19902if (!NATIVE_SYMBOL) { 19903 $Symbol = function Symbol() { 19904 if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor'); 19905 var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); 19906 var tag = uid(description); 19907 var setter = function (value) { 19908 var $this = this === undefined ? global : this; 19909 if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value); 19910 if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false; 19911 var descriptor = createPropertyDescriptor(1, value); 19912 try { 19913 setSymbolDescriptor($this, tag, descriptor); 19914 } catch (error) { 19915 if (!(error instanceof RangeError)) throw error; 19916 fallbackDefineProperty($this, tag, descriptor); 19917 } 19918 }; 19919 if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); 19920 return wrap(tag, description); 19921 }; 19922 19923 SymbolPrototype = $Symbol[PROTOTYPE]; 19924 19925 defineBuiltIn(SymbolPrototype, 'toString', function toString() { 19926 return getInternalState(this).tag; 19927 }); 19928 19929 defineBuiltIn($Symbol, 'withoutSetter', function (description) { 19930 return wrap(uid(description), description); 19931 }); 19932 19933 propertyIsEnumerableModule.f = $propertyIsEnumerable; 19934 definePropertyModule.f = $defineProperty; 19935 definePropertiesModule.f = $defineProperties; 19936 getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; 19937 getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; 19938 getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; 19939 19940 wrappedWellKnownSymbolModule.f = function (name) { 19941 return wrap(wellKnownSymbol(name), name); 19942 }; 19943 19944 if (DESCRIPTORS) { 19945 // https://github.com/tc39/proposal-Symbol-description 19946 defineBuiltInAccessor(SymbolPrototype, 'description', { 19947 configurable: true, 19948 get: function description() { 19949 return getInternalState(this).description; 19950 } 19951 }); 19952 if (!IS_PURE) { 19953 defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); 19954 } 19955 } 19956} 19957 19958$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { 19959 Symbol: $Symbol 19960}); 19961 19962$forEach(objectKeys(WellKnownSymbolsStore), function (name) { 19963 defineWellKnownSymbol(name); 19964}); 19965 19966$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { 19967 useSetter: function () { USE_SETTER = true; }, 19968 useSimple: function () { USE_SETTER = false; } 19969}); 19970 19971$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { 19972 // `Object.create` method 19973 // https://tc39.es/ecma262/#sec-object.create 19974 create: $create, 19975 // `Object.defineProperty` method 19976 // https://tc39.es/ecma262/#sec-object.defineproperty 19977 defineProperty: $defineProperty, 19978 // `Object.defineProperties` method 19979 // https://tc39.es/ecma262/#sec-object.defineproperties 19980 defineProperties: $defineProperties, 19981 // `Object.getOwnPropertyDescriptor` method 19982 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors 19983 getOwnPropertyDescriptor: $getOwnPropertyDescriptor 19984}); 19985 19986$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { 19987 // `Object.getOwnPropertyNames` method 19988 // https://tc39.es/ecma262/#sec-object.getownpropertynames 19989 getOwnPropertyNames: $getOwnPropertyNames 19990}); 19991 19992// `Symbol.prototype[@@toPrimitive]` method 19993// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive 19994defineSymbolToPrimitive(); 19995 19996// `Symbol.prototype[@@toStringTag]` property 19997// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag 19998setToStringTag($Symbol, SYMBOL); 19999 20000hiddenKeys[HIDDEN] = true; 20001 20002 20003/***/ }), 20004
vendor: 3,685 bytes, lines 20005-20074
20005/***/ "./node_modules/core-js/modules/es.symbol.description.js": 20006/*!***************************************************************!*\ 20007 !*** ./node_modules/core-js/modules/es.symbol.description.js ***! 20008 \***************************************************************/ 20009/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20010 20011"use strict"; 20012// `Symbol.prototype.description` getter 20013// https://tc39.es/ecma262/#sec-symbol.prototype.description 20014 20015var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 20016var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); 20017var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 20018var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); 20019var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 20020var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); 20021var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); 20022var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 20023var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); 20024var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); 20025 20026var NativeSymbol = global.Symbol; 20027var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; 20028 20029if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) || 20030 // Safari 12 bug 20031 NativeSymbol().description !== undefined 20032)) { 20033 var EmptyStringDescriptionStore = {}; 20034 // wrap Symbol constructor for correct work with undefined description 20035 var SymbolWrapper = function Symbol() { 20036 var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]); 20037 var result = isPrototypeOf(SymbolPrototype, this) 20038 ? new NativeSymbol(description) 20039 // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' 20040 : description === undefined ? NativeSymbol() : NativeSymbol(description); 20041 if (description === '') EmptyStringDescriptionStore[result] = true; 20042 return result; 20043 }; 20044 20045 copyConstructorProperties(SymbolWrapper, NativeSymbol); 20046 SymbolWrapper.prototype = SymbolPrototype; 20047 SymbolPrototype.constructor = SymbolWrapper; 20048 20049 var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)'; 20050 var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); 20051 var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); 20052 var regexp = /^Symbol\((.*)\)[^)]+$/; 20053 var replace = uncurryThis(''.replace); 20054 var stringSlice = uncurryThis(''.slice); 20055 20056 defineBuiltInAccessor(SymbolPrototype, 'description', { 20057 configurable: true, 20058 get: function description() { 20059 var symbol = thisSymbolValue(this); 20060 if (hasOwn(EmptyStringDescriptionStore, symbol)) return ''; 20061 var string = symbolDescriptiveString(symbol); 20062 var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1'); 20063 return desc === '' ? undefined : desc; 20064 } 20065 }); 20066 20067 $({ global: true, constructor: true, forced: true }, { 20068 Symbol: SymbolWrapper 20069 }); 20070} 20071 20072 20073/***/ }), 20074
vendor: 1,668 bytes, lines 20075-20108
20075/***/ "./node_modules/core-js/modules/es.symbol.for.js": 20076/*!*******************************************************!*\ 20077 !*** ./node_modules/core-js/modules/es.symbol.for.js ***! 20078 \*******************************************************/ 20079/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20080 20081"use strict"; 20082 20083var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 20084var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); 20085var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 20086var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); 20087var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 20088var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ "./node_modules/core-js/internals/symbol-registry-detection.js"); 20089 20090var StringToSymbolRegistry = shared('string-to-symbol-registry'); 20091var SymbolToStringRegistry = shared('symbol-to-string-registry'); 20092 20093// `Symbol.for` method 20094// https://tc39.es/ecma262/#sec-symbol.for 20095$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { 20096 'for': function (key) { 20097 var string = toString(key); 20098 if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; 20099 var symbol = getBuiltIn('Symbol')(string); 20100 StringToSymbolRegistry[string] = symbol; 20101 SymbolToStringRegistry[symbol] = string; 20102 return symbol; 20103 } 20104}); 20105 20106 20107/***/ }), 20108
vendor: 654 bytes, lines 20109-20125
20109/***/ "./node_modules/core-js/modules/es.symbol.iterator.js": 20110/*!************************************************************!*\ 20111 !*** ./node_modules/core-js/modules/es.symbol.iterator.js ***! 20112 \************************************************************/ 20113/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20114 20115"use strict"; 20116 20117var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); 20118 20119// `Symbol.iterator` well-known symbol 20120// https://tc39.es/ecma262/#sec-symbol.iterator 20121defineWellKnownSymbol('iterator'); 20122 20123 20124/***/ }), 20125
vendor: 1,017 bytes, lines 20126-20143
20126/***/ "./node_modules/core-js/modules/es.symbol.js": 20127/*!***************************************************!*\ 20128 !*** ./node_modules/core-js/modules/es.symbol.js ***! 20129 \***************************************************/ 20130/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20131 20132"use strict"; 20133 20134// TODO: Remove this module from `core-js@4` since it's split to modules listed below 20135__webpack_require__(/*! ../modules/es.symbol.constructor */ "./node_modules/core-js/modules/es.symbol.constructor.js"); 20136__webpack_require__(/*! ../modules/es.symbol.for */ "./node_modules/core-js/modules/es.symbol.for.js"); 20137__webpack_require__(/*! ../modules/es.symbol.key-for */ "./node_modules/core-js/modules/es.symbol.key-for.js"); 20138__webpack_require__(/*! ../modules/es.json.stringify */ "./node_modules/core-js/modules/es.json.stringify.js"); 20139__webpack_require__(/*! ../modules/es.object.get-own-property-symbols */ "./node_modules/core-js/modules/es.object.get-own-property-symbols.js"); 20140 20141 20142/***/ }), 20143
vendor: 1,524 bytes, lines 20144-20172
20144/***/ "./node_modules/core-js/modules/es.symbol.key-for.js": 20145/*!***********************************************************!*\ 20146 !*** ./node_modules/core-js/modules/es.symbol.key-for.js ***! 20147 \***********************************************************/ 20148/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20149 20150"use strict"; 20151 20152var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 20153var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); 20154var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); 20155var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); 20156var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); 20157var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ "./node_modules/core-js/internals/symbol-registry-detection.js"); 20158 20159var SymbolToStringRegistry = shared('symbol-to-string-registry'); 20160 20161// `Symbol.keyFor` method 20162// https://tc39.es/ecma262/#sec-symbol.keyfor 20163$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { 20164 keyFor: function keyFor(sym) { 20165 if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol'); 20166 if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; 20167 } 20168}); 20169 20170 20171/***/ }), 20172
vendor: 2,620 bytes, lines 20173-20222
20173/***/ "./node_modules/core-js/modules/web.dom-collections.iterator.js": 20174/*!**********************************************************************!*\ 20175 !*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***! 20176 \**********************************************************************/ 20177/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20178 20179"use strict"; 20180 20181var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 20182var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "./node_modules/core-js/internals/dom-iterables.js"); 20183var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ "./node_modules/core-js/internals/dom-token-list-prototype.js"); 20184var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/core-js/modules/es.array.iterator.js"); 20185var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); 20186var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); 20187 20188var ITERATOR = wellKnownSymbol('iterator'); 20189var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 20190var ArrayValues = ArrayIteratorMethods.values; 20191 20192var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { 20193 if (CollectionPrototype) { 20194 // some Chrome versions have non-configurable methods on DOMTokenList 20195 if (CollectionPrototype[ITERATOR] !== ArrayValues) try { 20196 createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); 20197 } catch (error) { 20198 CollectionPrototype[ITERATOR] = ArrayValues; 20199 } 20200 if (!CollectionPrototype[TO_STRING_TAG]) { 20201 createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); 20202 } 20203 if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { 20204 // some Chrome versions have non-configurable methods on DOMTokenList 20205 if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { 20206 createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); 20207 } catch (error) { 20208 CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; 20209 } 20210 } 20211 } 20212}; 20213 20214for (var COLLECTION_NAME in DOMIterables) { 20215 handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME); 20216} 20217 20218handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); 20219 20220 20221/***/ }), 20222
vendor: 1,013 bytes, lines 20223-20245
20223/***/ "./node_modules/core-js/modules/web.set-interval.js": 20224/*!**********************************************************!*\ 20225 !*** ./node_modules/core-js/modules/web.set-interval.js ***! 20226 \**********************************************************/ 20227/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20228 20229"use strict"; 20230 20231var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 20232var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 20233var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ "./node_modules/core-js/internals/schedulers-fix.js"); 20234 20235var setInterval = schedulersFix(global.setInterval, true); 20236 20237// Bun / IE9- setInterval additional parameters fix 20238// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval 20239$({ global: true, bind: true, forced: global.setInterval !== setInterval }, { 20240 setInterval: setInterval 20241}); 20242 20243 20244/***/ }), 20245
vendor: 1,001 bytes, lines 20246-20268
20246/***/ "./node_modules/core-js/modules/web.set-timeout.js": 20247/*!*********************************************************!*\ 20248 !*** ./node_modules/core-js/modules/web.set-timeout.js ***! 20249 \*********************************************************/ 20250/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20251 20252"use strict"; 20253 20254var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); 20255var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); 20256var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ "./node_modules/core-js/internals/schedulers-fix.js"); 20257 20258var setTimeout = schedulersFix(global.setTimeout, true); 20259 20260// Bun / IE9- setTimeout additional parameters fix 20261// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout 20262$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, { 20263 setTimeout: setTimeout 20264}); 20265 20266 20267/***/ }), 20268
vendor: 642 bytes, lines 20269-20282
20269/***/ "./node_modules/core-js/modules/web.timers.js": 20270/*!****************************************************!*\ 20271 !*** ./node_modules/core-js/modules/web.timers.js ***! 20272 \****************************************************/ 20273/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { 20274 20275"use strict"; 20276 20277// TODO: Remove this module from `core-js@4` since it's split to modules listed below 20278__webpack_require__(/*! ../modules/web.set-interval */ "./node_modules/core-js/modules/web.set-interval.js"); 20279__webpack_require__(/*! ../modules/web.set-timeout */ "./node_modules/core-js/modules/web.set-timeout.js"); 20280 20281 20282/***/ })
20282 20283 20284}, 20285/******/ __webpack_require__ => { // webpackRuntimeModules 20286/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) 20287/******/ var __webpack_exports__ = (__webpack_exec__("./assets/sitevitrine/js/newindex.js")); 20288/******/ } 20289]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.