// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3.0 /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var runtime = (function (exports) { "use strict"; var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var undefined; // More compressible than void 0. var $Symbol = typeof Symbol === "function" ? Symbol : {}; var iteratorSymbol = $Symbol.iterator || "@@iterator"; var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); return obj[key]; } try { // IE 8 has a broken Object.defineProperty that only works on DOM objects. define({}, ""); } catch (err) { define = function(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; var generator = Object.create(protoGenerator.prototype); var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, // .throw, and .return methods. generator._invoke = makeInvokeMethod(innerFn, self, context); return generator; } exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion // record like context.tryEntries[i].completion. This interface could // have been (and was previously) designed to take a closure to be // invoked without arguments, but in all the cases we care about we // already have an existing method we want to call, so there's no need // to create a new function object. We can even get away with assuming // the method takes exactly one argument, since that happens to be true // in every case, so we don't have to touch the arguments object. The // only additional allocation required is the completion record, which // has a stable shape and so hopefully should be cheap to allocate. function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } var GenStateSuspendedStart = "suspendedStart"; var GenStateSuspendedYield = "suspendedYield"; var GenStateExecuting = "executing"; var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and // .constructor.prototype properties for functions that return Generator // objects. For full spec compliance, you may wish to configure your // minifier not to mangle the names of these two functions. function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that // don't natively support it. var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf; var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { // This environment has a native %IteratorPrototype%; use it instead // of the polyfill. IteratorPrototype = NativeIteratorPrototype; } var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); GeneratorFunction.prototype = GeneratorFunctionPrototype; define(Gp, "constructor", GeneratorFunctionPrototype); define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); GeneratorFunction.displayName = define( GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction" ); // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function(method) { define(prototype, method, function(arg) { return this._invoke(method, arg); }); }); } exports.isGeneratorFunction = function(genFun) { var ctor = typeof genFun === "function" && genFun.constructor; return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. (ctor.displayName || ctor.name) === "GeneratorFunction" : false; }; exports.mark = function(genFun) { if (Object.setPrototypeOf) { Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); } else { genFun.__proto__ = GeneratorFunctionPrototype; define(genFun, toStringTagSymbol, "GeneratorFunction"); } genFun.prototype = Object.create(Gp); return genFun; }; // Within the body of any async function, `await x` is transformed to // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test // `hasOwn.call(value, "__await")` to determine if the yielded value is // meant to be awaited. exports.awrap = function(arg) { return { __await: arg }; }; function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (record.type === "throw") { reject(record.arg); } else { var result = record.arg; var value = result.value; if (value && typeof value === "object" && hasOwn.call(value, "__await")) { return PromiseImpl.resolve(value.__await).then(function(value) { invoke("next", value, resolve, reject); }, function(err) { invoke("throw", err, resolve, reject); }); } return PromiseImpl.resolve(value).then(function(unwrapped) { // When a yielded Promise is resolved, its final value becomes // the .value of the Promise<{value,done}> result for the // current iteration. result.value = unwrapped; resolve(result); }, function(error) { // If a rejected Promise was yielded, throw the rejection back // into the async generator function so it can be handled there. return invoke("throw", error, resolve, reject); }); } } var previousPromise; function enqueue(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function(resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = // If enqueue has been called before, then we want to wait until // all previous Promises have been resolved before calling invoke, // so that results are always delivered in the correct order. If // enqueue has not been called before, then it is important to // call invoke immediately, without waiting on a callback to fire, // so that the async generator function has the opportunity to do // any necessary setup in a predictable way. This predictability // is why the Promise constructor synchronously invokes its // executor callback, and why async functions synchronously // execute code before the first await. Since we implement simple // async functions in terms of async generators, it is especially // important to get this right, even though it requires care. previousPromise ? previousPromise.then( callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later // invocations of the iterator. callInvokeWithMethodAndArg ) : callInvokeWithMethodAndArg(); } // Define the unified helper method that is used to implement .next, // .throw, and .return (see defineIteratorMethods). this._invoke = enqueue; } defineIteratorMethods(AsyncIterator.prototype); define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }); exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of // AsyncIterator objects; they just return a Promise for the value of // the final result produced by the iterator. exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { if (PromiseImpl === void 0) PromiseImpl = Promise; var iter = new AsyncIterator( wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl ); return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. : iter.next().then(function(result) { return result.done ? result.value : iter.next(); }); }; function makeInvokeMethod(innerFn, self, context) { var state = GenStateSuspendedStart; return function invoke(method, arg) { if (state === GenStateExecuting) { throw new Error("Generator is already running"); } if (state === GenStateCompleted) { if (method === "throw") { throw arg; } // Be forgiving, per 25.3.3.3.3 of the spec: // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume return doneResult(); } context.method = method; context.arg = arg; while (true) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (context.method === "next") { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg; } else if (context.method === "throw") { if (state === GenStateSuspendedStart) { state = GenStateCompleted; throw context.arg; } context.dispatchException(context.arg); } else if (context.method === "return") { context.abrupt("return", context.arg); } state = GenStateExecuting; var record = tryCatch(innerFn, self, context); if (record.type === "normal") { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done ? GenStateCompleted : GenStateSuspendedYield; if (record.arg === ContinueSentinel) { continue; } return { value: record.arg, done: context.done }; } else if (record.type === "throw") { state = GenStateCompleted; // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. context.method = "throw"; context.arg = record.arg; } } }; } // Call delegate.iterator[context.method](context.arg) and handle the // result, either by returning a { value, done } result from the // delegate iterator, or by modifying context.method and context.arg, // setting context.delegate to null, and returning the ContinueSentinel. function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (method === undefined) { // A .throw or .return when the delegate iterator has no .throw // method always terminates the yield* loop. context.delegate = null; if (context.method === "throw") { // Note: ["return"] must be used for ES3 parsing compatibility. if (delegate.iterator["return"]) { // If the delegate iterator has a return method, give it a // chance to clean up. context.method = "return"; context.arg = undefined; maybeInvokeDelegate(delegate, context); if (context.method === "throw") { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel; } } context.method = "throw"; context.arg = new TypeError( "The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if (record.type === "throw") { context.method = "throw"; context.arg = record.arg; context.delegate = null; return ContinueSentinel; } var info = record.arg; if (! info) { context.method = "throw"; context.arg = new TypeError("iterator result is not an object"); context.delegate = null; return ContinueSentinel; } if (info.done) { // Assign the result of the finished delegate to the temporary // variable specified by delegate.resultName (see delegateYield). context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the // exception, let the outer generator proceed normally. If // context.method was "next", forget context.arg since it has been // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. if (context.method !== "return") { context.method = "next"; context.arg = undefined; } } else { // Re-yield the result returned by the delegate method. return info; } // The delegate iterator is finished, so forget it and continue with // the outer generator. context.delegate = null; return ContinueSentinel; } // Define Generator.prototype.{next,throw,return} in terms of the // unified ._invoke helper method. defineIteratorMethods(Gp); define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the // iterator prototype chain incorrectly implement this, causing the Generator // object to not be returned from this call. This ensures that doesn't happen. // See https://github.com/facebook/regenerator/issues/274 for more details. define(Gp, iteratorSymbol, function() { return this; }); define(Gp, "toString", function() { return "[object Generator]"; }); function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; if (1 in locs) { entry.catchLoc = locs[1]; } if (2 in locs) { entry.finallyLoc = locs[2]; entry.afterLoc = locs[3]; } this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal"; delete record.arg; entry.completion = record; } function Context(tryLocsList) { // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. this.tryEntries = [{ tryLoc: "root" }]; tryLocsList.forEach(pushTryEntry, this); this.reset(true); } exports.keys = function(object) { var keys = []; for (var key in object) { keys.push(key); } keys.reverse(); // Rather than returning an object with a next method, we keep // things simple and return the next function itself. return function next() { while (keys.length) { var key = keys.pop(); if (key in object) { next.value = key; next.done = false; return next; } } // To avoid creating an additional object, we just hang the .value // and .done properties off the next function object itself. This // also ensures that the minifier will not anonymize the function. next.done = true; return next; }; }; function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) { return iteratorMethod.call(iterable); } if (typeof iterable.next === "function") { return iterable; } if (!isNaN(iterable.length)) { var i = -1, next = function next() { while (++i < iterable.length) { if (hasOwn.call(iterable, i)) { next.value = iterable[i]; next.done = false; return next; } } next.value = undefined; next.done = true; return next; }; return next.next = next; } } // Return an iterator with no values. return { next: doneResult }; } exports.values = values; function doneResult() { return { value: undefined, done: true }; } Context.prototype = { constructor: Context, reset: function(skipTempReset) { this.prev = 0; this.next = 0; // Resetting context._sent for legacy support of Babel's // function.sent implementation. this.sent = this._sent = undefined; this.done = false; this.delegate = null; this.method = "next"; this.arg = undefined; this.tryEntries.forEach(resetTryEntry); if (!skipTempReset) { for (var name in this) { // Not sure about the optimal order of these conditions: if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { this[name] = undefined; } } } }, stop: function() { this.done = true; var rootEntry = this.tryEntries[0]; var rootRecord = rootEntry.completion; if (rootRecord.type === "throw") { throw rootRecord.arg; } return this.rval; }, dispatchException: function(exception) { if (this.done) { throw exception; } var context = this; function handle(loc, caught) { record.type = "throw"; record.arg = exception; context.next = loc; if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. context.method = "next"; context.arg = undefined; } return !! caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; var record = entry.completion; if (entry.tryLoc === "root") { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. return handle("end"); } if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"); var hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } else if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else if (hasCatch) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } } else if (hasFinally) { if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else { throw new Error("try statement without catch or finally"); } } } }, abrupt: function(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { // Ignore the finally entry if control is not jumping to a // location outside the try/catch block. finallyEntry = null; } var record = finallyEntry ? finallyEntry.completion : {}; record.type = type; record.arg = arg; if (finallyEntry) { this.method = "next"; this.next = finallyEntry.finallyLoc; return ContinueSentinel; } return this.complete(record); }, complete: function(record, afterLoc) { if (record.type === "throw") { throw record.arg; } if (record.type === "break" || record.type === "continue") { this.next = record.arg; } else if (record.type === "return") { this.rval = this.arg = record.arg; this.method = "return"; this.next = "end"; } else if (record.type === "normal" && afterLoc) { this.next = afterLoc; } return ContinueSentinel; }, finish: function(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) { this.complete(entry.completion, entry.afterLoc); resetTryEntry(entry); return ContinueSentinel; } } }, "catch": function(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (record.type === "throw") { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } // The context.catch method must only be called with a location // argument that corresponds to a known catch block. throw new Error("illegal catch attempt"); }, delegateYield: function(iterable, resultName, nextLoc) { this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }; if (this.method === "next") { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined; } return ContinueSentinel; } }; // Regardless of whether this script is executing as a CommonJS module // or not, return the runtime object so that we can declare the variable // regeneratorRuntime in the outer scope, which allows this module to be // injected easily by `bin/regenerator --include-runtime script.js`. return exports; }( // If this script is executing as a CommonJS module, use module.exports // as the regeneratorRuntime namespace. Otherwise create a new empty // object. Either way, the resulting object will be used to initialize // the regeneratorRuntime variable at the top of this file. typeof module === "object" ? module.exports : {} )); try { regeneratorRuntime = runtime; } catch (accidentalStrictMode) { // This module should not be running in strict mode, so the above // assignment should always work unless something is misconfigured. Just // in case runtime.js accidentally runs in strict mode, in modern engines // we can explicitly access globalThis. In older engines we can escape // strict mode using a global Function call. This could conceivably fail // if a Content Security Policy forbids using Function, but in that case // the proper solution is to fix the accidental strict mode problem. If // you've misconfigured your bundler to force strict mode and applied a // CSP to forbid Function, and you're not willing to fix either of those // problems, please detail your unique predicament in a GitHub issue. if (typeof globalThis === "object") { globalThis.regeneratorRuntime = runtime; } else { Function("r", "regeneratorRuntime = r")(runtime); } } "use strict";var _regeneratorRuntime=_interopRequireDefault(regeneratorRuntime);function _arrayLikeToArray(g,j){(j==null||j>g.length)&&(j=g.length);for(var Q=0,ee=new Array(j);Q'," "]);return _templateObject=function(){return g},g}function _templateObject1(){var g=_taggedTemplateLiteral(['\n
\n
\n
','
\n
\n
\n ','\n
\n \n
\n
\n
\n ']);return _templateObject1=function(){return g},g}function _templateObject2(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeTransition, 0.25s ease-out)"]);return _templateObject2=function(){return g},g}function _templateObject3(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeMargin, 1rem)"]);return _templateObject3=function(){return g},g}function _templateObject4(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeBackgroundColor, #333)"]);return _templateObject4=function(){return g},g}function _templateObject5(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeRadius, 1.2rem)"]);return _templateObject5=function(){return g},g}function _templateObject6(){var g=_taggedTemplateLiteral(["calc("," * 2)"]);return _templateObject6=function(){return g},g}function _templateObject7(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeFontSize, 1.8rem)"]);return _templateObject7=function(){return g},g}function _templateObject8(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeFontWeight, bold)"]);return _templateObject8=function(){return g},g}function _templateObject9(){var g=_taggedTemplateLiteral(["var(--formSectionBadgeFontColor, #fff)"]);return _templateObject9=function(){return g},g}function _templateObject10(){var g=_taggedTemplateLiteral(["var(--formSectionTitleFontSize, 1.8rem)"]);return _templateObject10=function(){return g},g}function _templateObject11(){var g=_taggedTemplateLiteral(["var(--formSectionTitleFontWeight, bold)"]);return _templateObject11=function(){return g},g}function _templateObject12(){var g=_taggedTemplateLiteral(["var(--formSectionContentBackgroundColor, transparent)"]);return _templateObject12=function(){return g},g}function _templateObject13(){var g=_taggedTemplateLiteral(["var(--formSectionTextColor, #333)"]);return _templateObject13=function(){return g},g}function _templateObject14(){var g=_taggedTemplateLiteral(["calc("," * 2)"]);return _templateObject14=function(){return g},g}function _templateObject15(){var g=_taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: ",";\n color: ",";\n }\n .container {\n position: relative;\n padding: 0.5rem;\n }\n\n .content-container {\n position: relative;\n left: calc("," + ",");\n width: calc(100% - ("," + ","));\n transition: ",";\n z-index: 1;\n }\n\n .hidebadge .content-container {\n left: 0;\n width: 100%;\n }\n\n .hidebadge .badge-container {\n display: none;\n }\n\n .hidebadgeleavespacing .badge {\n display: none;\n }\n\n .badge-container {\n position: absolute;\n width: ",";\n }\n\n .badge {\n background-color: ",";\n color: ",";\n width: ",";\n height: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: ",";\n font-size: ",";\n }\n\n .title {\n line-height: ",";\n margin-bottom: 0.5rem;\n font-size: ",";\n font-weight: ",";\n }\n "]);return _templateObject15=function(){return g},g}function _templateObject16(){var g=_taggedTemplateLiteral(['']);return _templateObject16=function(){return g},g}function _templateObject17(){var g=_taggedTemplateLiteral(['
  • ',"
  • "]);return _templateObject17=function(){return g},g}function _templateObject18(){var g=_taggedTemplateLiteral(['\n
    \n ',"\n ","\n
    "]);return _templateObject18=function(){return g},g}function _templateObject19(){var g=_taggedTemplateLiteral(["\n ",'\n\n \n ',"\n ",'\n \n\n
    ',"
    \n\n ","\n \n "]);return _templateObject19=function(){return g},g}function _templateObject20(){var g=_taggedTemplateLiteral(['\n \n
      \n ',"\n
    \n \n "]);return _templateObject20=function(){return g},g}function _templateObject21(){var g=_taggedTemplateLiteral(['\n
    \n \n \n
    \n ']);return _templateObject21=function(){return g},g}function _templateObject22(){var g=_taggedTemplateLiteral(['\n
    \n \n \n
    \n "]);return _templateObject22=function(){return g},g}function _templateObject23(){var g=_taggedTemplateLiteral([" I'll generously add "," to cover fees. "]);return _templateObject23=function(){return g},g}function _templateObject24(){var g=_taggedTemplateLiteral(["\n
  • \n ","\n
  • \n\n
  • \n ","\n
  • \n "]);return _templateObject24=function(){return g},g}function _templateObject25(){var g=_taggedTemplateLiteral(["\n
  • \n ","\n
  • \n "]);return _templateObject25=function(){return g},g}function _templateObject26(){var g=_taggedTemplateLiteral(["\n ","\n "]);return _templateObject26=function(){return g},g}function _templateObject27(){var g=_taggedTemplateLiteral(['\n
    \n \n \n\n
    \n ","\n \n \n "]);return _templateObject49=function(){return g},g}function _templateObject50(){var g=_taggedTemplateLiteral(["",""]);return _templateObject50=function(){return g},g}function _templateObject51(){var g=_taggedTemplateLiteral(['\n
    ',"
    \n "]);return _templateObject51=function(){return g},g}function _templateObject52(){var g=_taggedTemplateLiteral(["var(--bannerThermometerHeight, 20px)"]);return _templateObject52=function(){return g},g}function _templateObject53(){var g=_taggedTemplateLiteral(["var(--bannerThermometerCurrentValueLeftColor, #fff)"]);return _templateObject53=function(){return g},g}function _templateObject54(){var g=_taggedTemplateLiteral(["var(--bannerThermometerProgressColor, #23765D)"]);return _templateObject54=function(){return g},g}function _templateObject55(){var g=_taggedTemplateLiteral(["var(--bannerThermometerCurrentValueRightColor, ",")"]);return _templateObject55=function(){return g},g}function _templateObject56(){var g=_taggedTemplateLiteral(["var(--bannerThermometerBackgroundColor, #B8F5E2)"]);return _templateObject56=function(){return g},g}function _templateObject57(){var g=_taggedTemplateLiteral(["var(--bannerThermometerBorder, 1px solid ",")"]);return _templateObject57=function(){return g},g}function _templateObject58(){var g=_taggedTemplateLiteral(["var(--bannerThermometerBorderRadius, calc("," / 2))"]);return _templateObject58=function(){return g},g}function _templateObject59(){var g=_taggedTemplateLiteral(["var(--bannerThermometerGoalMessagePadding, 0 10px)"]);return _templateObject59=function(){return g},g}function _templateObject60(){var g=_taggedTemplateLiteral(["var(--bannerThermometerGoalValueColor, #2c2c2c)"]);return _templateObject60=function(){return g},g}function _templateObject61(){var g=_taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .container {\n height: 100%;\n }\n\n .thermometer-message-container {\n height: 100%;\n display: flex;\n align-items: center;\n }\n\n .thermometer-container {\n height: 100%;\n flex: 1;\n }\n\n .thermometer-background {\n background-color: ",";\n padding: 0;\n height: 100%;\n border-radius: ",";\n border: ",";\n overflow: hidden;\n display: flex;\n align-items: center;\n }\n\n .thermometer-fill {\n background-color: ",";\n text-align: right;\n height: 100%;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n }\n\n .thermometer-value {\n font-weight: bold;\n }\n\n .value-left .thermometer-value {\n color: ",";\n padding: 0 0.5rem 0 1rem;\n }\n\n .value-right .thermometer-value {\n color: ",";\n padding: 0 1rem 0 0.5rem;\n }\n\n .donate-goal {\n text-align: left;\n padding: ",";\n text-transform: uppercase;\n font-weight: bold;\n color: ",";\n }\n "]);return _templateObject61=function(){return g},g}(function(){var g=function(u){for(var r=1;r-1&&(l=ar+o[0].toUpperCase()+o.substr(1)),u.style[l]=r[o]})},Q=function(u){j(u,{display:"block"})},ee=function(u){j(u,{display:"none"})},xe=function(){var u=document.body,r=document.documentElement,o;return window.innerHeight?o=window.innerHeight:r&&r.clientHeight?o=r.clientHeight:u&&(o=u.clientHeight),o||0},We=function(){var u=document.body,r=document.documentElement,o;return window.innerWidth?o=window.innerWidth:r&&r.clientWidth?o=r.clientWidth:u&&(o=u.clientWidth),o||0},st=function(u,r){return r||(r=document.createElement("style"),document.body.appendChild(r)),r.textContent=u,r},Ne=function(u){u&&u.parentNode&&u.parentNode.removeChild(u)},ut=function(u){return u===document.body},Te=function(u,r){u.classList.add(r)},Jr=function(u,r){u.classList.remove(r)},Qr=function(u,r){return u+Math.floor(Math.random()*(r-u))},rr=function(u,r,o,l,h){return l+(h-l)*(u-r)/(o-r)},Zr=function(u,r,o){return Math.floor(rr(u,0,sr,r,o))},se=function(u,r,o,l){var h=arguments.length,v=h<3?r:l===null?l=Object.getOwnPropertyDescriptor(r,o):l,b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(u,r,o,l);else for(var _=u.length-1;_>=0;_--)(b=u[_])&&(v=(h<3?b(v):h>3?b(r,o,v):b(r,o))||v);return h>3&&v&&Object.defineProperty(r,o,v),v},eo=function(u,r){if(!Array.isArray(u)||!u.hasOwnProperty("raw"))throw Error("invalid template strings array");return mo!==void 0?mo.createHTML(r):r},we=function(u){return function(r,o){return o!==void 0?ha(u,r,o):da(u,r)}},to=function(u){return we(or(En({},u),{state:!0}))},An=function(u,r){return fa({descriptor:function(o){var l={get:function(){var b,_;return(_=(b=this.renderRoot)===null||b===void 0?void 0:b.querySelector(u))!==null&&_!==void 0?_:null},enumerable:!0,configurable:!0};if(r){var h=(typeof o=="undefined"?"undefined":_typeof(o))=="symbol"?Symbol():"__"+o;l.get=function(){var v,b;return this[h]===void 0&&(this[h]=(b=(v=this.renderRoot)===null||v===void 0?void 0:v.querySelector(u))!==null&&b!==void 0?b:null),this[h]}}return l}})},Tn=function(u,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=0,h=r.decimal,v=r.errorOnInvalid,b=r.precision,_=r.fromCents,T=kr(b),R=typeof u=="number",B=_instanceof(u,Ye);if(B&&_)return u.intValue;if(R||B)l=B?u.value:u;else if(typeof u=="string"){var F=new RegExp("[^-\\d"+h+"]","g"),ue=new RegExp("\\"+h,"g");l=u.replace(/\((.*)\)/,"-$1").replace(F,"").replace(ue,"."),l=l||0}else{if(v)throw Error("Invalid Input");l=0}return _||(l*=T,l=l.toFixed(4)),o?Io(l):l},Ki=function(u,r){var o=r.pattern,l=r.negativePattern,h=r.symbol,v=r.separator,b=r.decimal,_=r.groups,T=(""+u).replace(/^-/,"").split("."),R=T[0],B=T[1];return(u.value>=0?o:l).replace("!",h).replace("#",R.replace(_,"$1"+v)+(B?b+B:""))},no=Object.defineProperty,Ji=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,io=function(p,u,r){return u in p?no(p,u,{enumerable:!0,configurable:!0,writable:!0,value:r}):p[u]=r},En=function(p,u){for(var r in u||(u={}))ro.call(u,r)&&io(p,r,u[r]);var o=!0,l=!1,h=void 0;if(On)try{for(var v=On(u)[Symbol.iterator](),b;!(o=(b=v.next()).done);o=!0){var r=b.value;oo.call(u,r)&&io(p,r,u[r])}}catch(_){l=!0,h=_}finally{try{!o&&v.return!=null&&v.return()}finally{if(l)throw h}}return p},or=function(p,u){return Ji(p,Qi(u))},Zi=function(p,u){var r={};for(var o in p)ro.call(p,o)&&u.indexOf(o)<0&&(r[o]=p[o]);var l=!0,h=!1,v=void 0;if(p!=null&&On)try{for(var b=On(p)[Symbol.iterator](),_;!(l=(_=b.next()).done);l=!0){var o=_.value;u.indexOf(o)<0&&oo.call(p,o)&&(r[o]=p[o])}}catch(T){h=!0,v=T}finally{try{!l&&b.return!=null&&b.return()}finally{if(h)throw v}}return r},ao=function(p,u){for(var r in u)no(p,r,{get:u[r],enumerable:!0})},ea=function(p,u,r){return new Promise(function(o,l){var h=function(_){try{b(r.next(_))}catch(T){l(T)}},v=function(_){try{b(r.throw(_))}catch(T){l(T)}},b=function(_){return _.done?o(_.value):Promise.resolve(_.value).then(h,v)};b((r=r.apply(p,u)).next())})},ta={read:function(u){return u[0]==='"'&&(u=u.slice(1,-1)),u.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(u){return encodeURIComponent(u).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ir(p,u){function r(l,h,v){if(!((typeof document=="undefined"?"undefined":_typeof(document))>"u")){v=g({},u,v),typeof v.expires=="number"&&(v.expires=new Date(Date.now()+v.expires*864e5)),v.expires&&(v.expires=v.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var b="";for(var _ in v)v[_]&&(b+="; "+_,v[_]!==!0&&(b+="="+v[_].split(";")[0]));return document.cookie=l+"="+p.write(h,l)+b}}function o(l){if(!((typeof document=="undefined"?"undefined":_typeof(document))>"u"||arguments.length&&!l)){for(var h=document.cookie?document.cookie.split("; "):[],v={},b=0;b-1?"":"webkit");var na=(typeof document=="undefined"?"undefined":_typeof(document))<"u"&&"onanimationend"in document,sr=20,ra=function(){"use strict";function p(u){var r=this;_classCallCheck(this,p),this.size=0,this.sizeInner=0;var o=this.elem=document.createElement("div"),l=this.elemInner=document.createElement("div");this.update(u),Te(o,"snowflake"),Te(l,"snowflake__inner"),Te(o,"snowflake_animation"),na?(Te(o,"snowflake_animation-end"),o.onanimationend=function(h){h.target===o&&(r.update(u),r.reflow())}):Te(o,"snowflake_animation-infinity"),u.types&&Te(l,"snowflake__inner_type_"+Qr(0,u.types)),u.wind&&Te(l,"snowflake__inner_wind"),u.rotation&&Te(l,"snowflake__inner_rotation"+(Math.random()>.5?"":"_reverse")),o.appendChild(l)}return _createClass(p,[{key:"update",value:function(r){if(!(!this.elem||!this.elemInner)){var o=r.minSize===r.maxSize;this.sizeInner=o?0:Qr(0,sr),this.size=Zr(this.sizeInner,r.minSize,r.maxSize);var l=this.getAnimationProps(r),h={animationName:"snowflake_gid_".concat(r.gid,"_y"),animationDelay:l.animationDelay,animationDuration:l.animationDuration,left:Math.random()*99+"%",top:-Math.sqrt(2)*this.size+"px",width:this.size+"px",height:this.size+"px"};o||(h.opacity=String(rr(this.size,r.minSize,r.maxSize,r.minOpacity,r.maxOpacity))),j(this.elem,h);var v="snowflake_gid_".concat(r.gid,"_x_").concat(this.sizeInner);j(this.elemInner,{animationName:v,animationDelay:Math.random()*4+"s"})}}},{key:"reflow",value:function(){this.elem&&(ee(this.elem),this.elem.offsetHeight,Q(this.elem))}},{key:"resize",value:function(r){var o=this.getAnimationProps(r);this.elem&&j(this.elem,o)}},{key:"appendTo",value:function(r){this.elem&&r.appendChild(this.elem)}},{key:"destroy",value:function(){this.elem&&(this.elem.onanimationend=null),delete this.elem,delete this.elemInner}},{key:"getAnimationProps",value:function(r){var o=r.containerHeight/50/r.speed,l=o/3;return{animationDelay:Math.random()*o+"s",animationDuration:String(rr(this.size,r.minSize,r.maxSize,o,l)+"s")}}}]),p}(),oa='.snowflake{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:transform}.snowflake_animation{-webkit-animation:snowflake_unknown 10s linear;animation:snowflake_unknown 10s linear}.snowflake_animation-infinity{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.snowflake__inner,.snowflake__inner:before{bottom:0;left:0;position:absolute;right:0;top:0}.snowflake__inner:before{background-size:100% 100%;content:""}.snowflake__inner_wind{-webkit-animation:snowflake_unknown 2s ease-in-out infinite alternate;animation:snowflake_unknown 2s ease-in-out infinite alternate}.snowflake__inner_rotation:before{-webkit-animation:snowflake_rotation 10s linear infinite;animation:snowflake_rotation 10s linear infinite}.snowflake__inner_rotation_reverse:before{-webkit-animation:snowflake_rotation_reverse 10s linear infinite;animation:snowflake_rotation_reverse 10s linear infinite}@-webkit-keyframes snowflake_rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes snowflake_rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes snowflake_rotation_reverse{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes snowflake_rotation_reverse{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.snowflakes{pointer-events:none}.snowflakes_paused .snowflake,.snowflakes_paused .snowflake__inner,.snowflakes_paused .snowflake__inner:before{-webkit-animation-play-state:paused;animation-play-state:paused}.snowflakes_hidden{visibility:hidden}.snowflakes_body{height:1px;left:0;position:fixed;top:0;width:100%}',ia=".snowflakes_gid_value .snowflake__inner_type_0:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36.283' height='36.283'%3E%3Cpath d='M35.531 17.391h-3.09l.845-1.464a.748.748 0 1 0-1.297-.75l-1.276 2.214H28.61l2.515-4.354a.751.751 0 0 0-.272-1.024.75.75 0 0 0-1.024.274l-2.948 5.104h-2.023a6.751 6.751 0 0 0-2.713-4.684l1.019-1.76 5.896-.002a.75.75 0 0 0 0-1.5l-5.029.002 1.051-1.82 2.557.002a.75.75 0 0 0 0-1.5l-1.689-.002 1.545-2.676a.75.75 0 1 0-1.302-.75l-1.547 2.676-.844-1.463a.749.749 0 1 0-1.297.75l1.278 2.213-1.051 1.818-2.514-4.354a.75.75 0 0 0-1.298.75l2.946 5.104-1.016 1.758a6.692 6.692 0 0 0-2.706-.57 6.74 6.74 0 0 0-2.707.568l-1.013-1.754 2.946-5.105a.75.75 0 0 0-1.298-.75L13.56 8.697l-1.05-1.818 1.278-2.217a.749.749 0 0 0-1.298-.75l-.845 1.465-1.551-2.678a.75.75 0 0 0-1.024-.273.748.748 0 0 0-.274 1.023l1.545 2.678H8.652a.75.75 0 0 0 0 1.5h2.556l1.05 1.818H7.231a.75.75 0 0 0 0 1.5h5.894l1.017 1.762a6.755 6.755 0 0 0-2.712 4.684H9.406l-2.95-5.104a.75.75 0 1 0-1.299.75l2.516 4.354H5.569l-1.277-2.213a.75.75 0 0 0-1.298.75l.845 1.463H.75a.75.75 0 0 0 0 1.5h3.09l-.845 1.465a.747.747 0 0 0 .275 1.022.75.75 0 0 0 .374.103.75.75 0 0 0 .65-.375l1.277-2.215h2.103l-2.516 4.354a.75.75 0 0 0 1.299.75l2.949-5.104h2.024a6.761 6.761 0 0 0 2.712 4.685l-1.017 1.762H7.232a.75.75 0 0 0 0 1.5h5.026l-1.05 1.818H8.651a.75.75 0 0 0 0 1.5h1.69l-1.545 2.676a.75.75 0 0 0 1.299.75l1.546-2.676.846 1.465a.755.755 0 0 0 .65.375.737.737 0 0 0 .375-.103.747.747 0 0 0 .274-1.022l-1.279-2.215 1.05-1.82 2.515 4.354a.75.75 0 0 0 1.299-.75l-2.947-5.104 1.013-1.756a6.72 6.72 0 0 0 5.415 0l1.014 1.756-2.947 5.104a.75.75 0 0 0 1.298.75l2.515-4.354 1.053 1.82-1.277 2.213a.75.75 0 0 0 1.298.75l.844-1.463 1.545 2.678c.141.24.393.375.65.375a.75.75 0 0 0 .649-1.125l-1.548-2.678h1.689a.75.75 0 0 0 0-1.5h-2.557l-1.051-1.82 5.029.002a.75.75 0 0 0 0-1.5l-5.896-.002-1.019-1.76a6.75 6.75 0 0 0 2.711-4.685h2.023l2.947 5.104a.753.753 0 0 0 1.025.273.749.749 0 0 0 .272-1.023l-2.515-4.354h2.104l1.279 2.215a.75.75 0 0 0 .649.375c.127 0 .256-.03.375-.103a.748.748 0 0 0 .273-1.022l-.848-1.465h3.092a.75.75 0 0 0 .003-1.5zm-12.136.75c0 .257-.041.502-.076.75a5.223 5.223 0 0 1-1.943 3.358 5.242 5.242 0 0 1-1.291.766 5.224 5.224 0 0 1-1.949.384 5.157 5.157 0 0 1-3.239-1.15 5.22 5.22 0 0 1-1.943-3.358c-.036-.247-.076-.493-.076-.75s.04-.503.076-.75a5.22 5.22 0 0 1 1.944-3.359c.393-.312.82-.576 1.291-.765a5.219 5.219 0 0 1 1.948-.384c.69 0 1.344.142 1.948.384.471.188.898.454 1.291.765a5.222 5.222 0 0 1 1.943 3.359c.035.247.076.493.076.75z' fill=':color:'/%3E%3C/svg%3E\")}.snowflakes_gid_value .snowflake__inner_type_1:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32.813' height='32.813'%3E%3Cpath d='M29.106 24.424a.781.781 0 0 1-.781.781h-3.119v3.119a.782.782 0 0 1-1.562 0v-4.682h4.682c.43.001.78.351.78.782zM4.673 9.352h4.682V4.671a.781.781 0 0 0-1.563 0V7.79H4.673a.781.781 0 0 0 0 1.562zM3.708 24.24c0 .431.35.781.781.781H7.61v3.12a.78.78 0 1 0 1.562 0v-4.683H4.489a.782.782 0 0 0-.781.782zM28.923 8.39a.78.78 0 0 0-.781-.781h-3.121V4.488a.781.781 0 0 0-1.562 0v4.684h4.684a.783.783 0 0 0 .78-.782zm3.889 8.017c0 .431-.35.781-.781.781h-3.426l1.876 1.873a.784.784 0 0 1 0 1.107.791.791 0 0 1-.554.228.773.773 0 0 1-.55-.228l-2.979-2.98h-2.995a6.995 6.995 0 0 1-1.728 3.875h5.609a.781.781 0 0 1 0 1.562h-4.666v4.667a.782.782 0 0 1-1.562 0v-5.61a7 7 0 0 1-3.866 1.719v2.995l2.978 2.98c.306.305.306.8 0 1.104a.78.78 0 0 1-1.104 0l-1.874-1.876v3.427a.781.781 0 0 1-1.562 0v-3.427l-1.875 1.876a.78.78 0 1 1-1.105-1.104l2.979-2.98v-2.995a7.016 7.016 0 0 1-3.865-1.717v5.608a.781.781 0 0 1-1.562 0v-4.667H5.535a.781.781 0 0 1 0-1.562h5.607a7.022 7.022 0 0 1-1.728-3.875H6.417l-2.979 2.979a.784.784 0 0 1-1.104 0 .781.781 0 0 1 0-1.106l1.874-1.873H.782a.78.78 0 1 1-.001-1.563h3.426L2.333 13.75a.783.783 0 0 1 1.105-1.106l2.979 2.979h2.995a6.996 6.996 0 0 1 1.72-3.866H5.533a.781.781 0 0 1 0-1.562h4.666V5.528a.781.781 0 0 1 1.562 0v5.599a6.995 6.995 0 0 1 3.865-1.717V6.415l-2.978-2.979a.782.782 0 0 1 1.105-1.105l1.874 1.875V.781a.78.78 0 1 1 1.562 0v3.426l1.875-1.875a.777.777 0 0 1 1.104 0 .78.78 0 0 1 0 1.105l-2.978 2.98v2.996a7.021 7.021 0 0 1 3.866 1.718V5.532a.78.78 0 1 1 1.562 0v4.666h4.666a.78.78 0 1 1 0 1.562h-5.599a7 7 0 0 1 1.718 3.866h2.995l2.979-2.979a.783.783 0 0 1 1.106 1.106l-1.876 1.874h3.427a.777.777 0 0 1 .778.78zm-11.006-.782a5.457 5.457 0 0 0-4.618-4.617c-.257-.037-.514-.079-.781-.079-.268 0-.524.042-.781.079a5.458 5.458 0 0 0-4.618 4.617c-.038.257-.079.514-.079.781s.041.522.079.781a5.455 5.455 0 0 0 4.618 4.616c.257.036.514.079.781.079s.524-.043.781-.079a5.457 5.457 0 0 0 4.618-4.616c.037-.259.079-.515.079-.781s-.043-.524-.079-.781z' fill=':color:'/%3E%3C/svg%3E\")}.snowflakes_gid_value .snowflake__inner_type_2:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35.79' height='35.79'%3E%3Cpath d='M7.161 22.223l.026-.047.865.5-.026.047a.503.503 0 0 1-.434.25c-.019 0-.034-.013-.053-.016l-.355-.205a.493.493 0 0 1-.023-.529zM9.969 8.988l2.785.001 1.393-2.414a.502.502 0 0 0-.869-.499l-1.103 1.913-2.208-.001a.5.5 0 1 0 .002 1zm15.854 17.813h-2.785l-1.393 2.411a.499.499 0 0 0 .436.75c.172 0 .34-.09.434-.25l1.104-1.911h2.207c.274 0 .5-.224.5-.5a.505.505 0 0 0-.503-.5zM23.038 8.99h2.785a.5.5 0 0 0 0-1h-2.207l-1.105-1.913a.5.5 0 0 0-.868.5l1.395 2.413zM12.754 26.801H9.967a.5.5 0 0 0 0 1h2.209l1.105 1.912a.496.496 0 0 0 .682.184.5.5 0 0 0 .184-.684l-1.393-2.412zm-7.218-6.309a.502.502 0 0 0 .685-.184l1.391-2.413-1.394-2.413a.5.5 0 0 0-.867.5l1.104 1.913-1.104 1.913a.5.5 0 0 0 .185.684zM30.254 15.3a.505.505 0 0 0-.685.183l-1.392 2.412 1.395 2.414a.501.501 0 0 0 .867-.5l-1.104-1.914 1.104-1.912a.5.5 0 0 0-.185-.683zm3.138 11.542a.501.501 0 0 1-.683.184l-.98-.565-2.137 1.231a.516.516 0 0 1-.5 0l-2.385-1.377a.502.502 0 0 1-.25-.433v-.854h-4.441l-2.225 3.852.736.428c.154.088.25.254.25.432l.001 2.755a.5.5 0 0 1-.25.433l-2.133 1.229v1.136c0 .274-.225.5-.5.5s-.5-.226-.5-.5v-1.136l-2.136-1.23a.5.5 0 0 1-.25-.433l.001-2.755c0-.178.096-.344.25-.432l.738-.427-2.224-3.849H9.332l.002.851a.505.505 0 0 1-.25.435l-2.387 1.377a.5.5 0 0 1-.5 0L4.06 26.46l-.982.567a.5.5 0 0 1-.5-.867l.982-.567.001-2.465c0-.179.097-.344.25-.434l2.388-1.377a.497.497 0 0 1 .5 0l.736.426 2.221-3.848-2.222-3.849-.737.426a.51.51 0 0 1-.5 0l-2.386-1.377a.5.5 0 0 1-.25-.434l.002-2.464-.983-.567a.501.501 0 0 1-.184-.683.502.502 0 0 1 .684-.183l.983.568 2.134-1.233a.5.5 0 0 1 .5 0l2.385 1.379c.156.089.25.255.25.433v.85h4.443l2.223-3.846-.74-.427a.501.501 0 0 1-.25-.434l.002-2.755c0-.178.096-.343.25-.433l2.135-1.233V.5a.5.5 0 0 1 1 0v1.135l2.134 1.231c.154.089.25.254.25.434l-.002 2.755a.503.503 0 0 1-.25.433l-.733.425 2.224 3.849h4.44l-.002-.851c0-.179.096-.344.25-.434l2.388-1.378a.502.502 0 0 1 .5 0l2.136 1.233.982-.568a.5.5 0 1 1 .5.866l-.983.568v2.464a.503.503 0 0 1-.25.433l-2.388 1.378a.5.5 0 0 1-.5 0l-.735-.426-2.222 3.849 2.223 3.849.734-.425a.506.506 0 0 1 .5 0l2.389 1.375c.154.09.25.255.25.435l-.002 2.462.982.568c.24.137.321.444.182.682zm-2.165-1.828l.001-1.597-1.888-1.087-.734.424-.348.201-.301.173-.5.289v2.179l1.885 1.088 1.386-.802.498-.286.001-.582zm-3.736-11.467l-.531-.307-2.283 1.318-2.443 3.337 2.442 3.337 2.283 1.316.531-.306-2.514-4.348 2.515-4.347zm-7.712 16.478l-.762-.438-.339-.194-.283-.166-.5-.289-.5.289-.279.162-.349.2-.757.437-.001 2.177 1.386.797.501.289.499-.287 1.386-.798-.002-2.179zM16.008 5.767l.736.425.371.214.279.16.5.288.5-.289.281-.163.367-.212.732-.424.002-2.178-1.381-.797-.502-.289-.498.287-1.385.8-.002 2.178zm6.52 14.227l-1.535-2.099 1.535-2.098.732-1-1.232.134-2.585.281-1.048-2.379-.5-1.133-.5 1.134-1.049 2.379-2.585-.281-1.232-.134.732 1 1.536 2.097-1.536 2.098-.732 1 1.232-.134 2.585-.281 1.049 2.379.5 1.134.5-1.134 1.048-2.379 2.585.281 1.232.134-.732-.999zm8.2-10.084l-1.386-.8-1.887 1.089v1.279l.002.32v.577l.5.289.28.163.367.213.732.424 1.888-1.089v-2.178l-.496-.287zM18.927 7.413l-.532.307v2.637l1.667 3.784 4.111-.447 2.283-1.317-.002-.613h-5.02l-2.507-4.351zm-9.594 4.348v.614l2.283 1.318 4.111.447 1.668-3.785V7.719l-.531-.306-2.509 4.347-5.022.001zm-2.15 1.279l.37-.213.279-.162.5-.289V10.2L6.446 9.11l-1.384.8-.499.289v.578l-.002 1.599 1.885 1.088.737-.424zm1.119 9.205l.53.306 2.281-1.316 2.443-3.339-2.442-3.337-2.281-1.317-.531.307 2.511 4.348-2.511 4.348zm-1.115-.069l-.026.047a.493.493 0 0 0 .023.529l-.734-.424-1.887 1.089-.001 1.599v.578l.5.288 1.386.8 1.887-1.088v-1.278l-.002-.321v-.577l-.5-.289-.293-.169c.02.002.035.017.055.017a.5.5 0 0 0 .433-.25l.026-.047-.867-.504zm9.679 6.202l.529-.306v-2.637l-1.668-3.785-4.111.447-2.283 1.316.002.611 5.021.002 2.51 4.352zm9.591-4.349v-.612L24.174 22.1l-4.111-.447-1.667 3.783v2.639l.531.307 2.512-4.352h5.018v-.001z' fill=':color:'/%3E%3C/svg%3E\")}.snowflakes_gid_value .snowflake__inner_type_3:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32.815' height='32.815'%3E%3Cpath d='M4.581 23.55h4.681v4.681a.78.78 0 1 1-1.562 0v-3.118H4.581a.781.781 0 0 1 0-1.563zM29.016 8.481a.781.781 0 0 0-.781-.781h-3.119V4.582a.781.781 0 0 0-1.562 0v4.681h4.682c.429 0 .78-.35.78-.782zm-24.252.598l4.683-.001V4.395a.781.781 0 0 0-1.562 0v3.121l-3.121.001a.781.781 0 0 0 0 1.562zm23.655 14.287h-4.685l.002 4.684a.78.78 0 1 0 1.562 0l-.002-3.121h3.122a.781.781 0 0 0 .001-1.563zm4.394-6.96a.78.78 0 0 1-.781.781h-3.426l1.876 1.875a.782.782 0 0 1-1.104 1.105l-2.979-2.979h-1.986L17.19 24.41v1.987l2.977 2.979a.781.781 0 0 1-1.103 1.106l-1.874-1.875v3.426a.78.78 0 1 1-1.562 0v-3.426l-1.875 1.875a.782.782 0 0 1-1.105-1.105l2.978-2.979V24.41l-7.219-7.22H6.418l-2.98 2.98a.777.777 0 0 1-1.103 0 .781.781 0 0 1 0-1.106L4.21 17.19H.783a.78.78 0 1 1 0-1.562h3.426l-1.876-1.875a.782.782 0 1 1 1.106-1.105l2.979 2.979h1.989l7.219-7.218v-1.99L12.648 3.44a.782.782 0 1 1 1.106-1.105l1.874 1.874V.781a.782.782 0 0 1 1.563 0v3.426l1.875-1.875a.783.783 0 0 1 1.106 1.105l-2.979 2.979v1.99l7.216 7.218h1.992l2.979-2.979a.782.782 0 0 1 1.105 1.105l-1.876 1.874h3.427a.781.781 0 0 1 .777.782zm-10.613.782l.778-.78-.781-.782-5.009-5.008-.781-.781-.781.781-5.01 5.008-.781.781.781.781 5.01 5.011.782.781.78-.779 5.012-5.013zm5.863 4.646a.782.782 0 0 0-.781-.781h-6.229v6.228a.78.78 0 1 0 1.562 0v-4.665h4.666a.782.782 0 0 0 .782-.782zm-.001-10.855a.782.782 0 0 0-.781-.781h-4.664V5.532a.782.782 0 0 0-1.562 0v6.228h6.227a.78.78 0 0 0 .78-.781zm-23.318 0c0 .432.35.781.781.781h6.228V5.532a.781.781 0 0 0-1.562 0v4.666H5.525a.781.781 0 0 0-.781.781zm.002 10.855c0 .432.35.781.781.781h4.664v4.665a.78.78 0 1 0 1.562 0v-6.228H5.527a.783.783 0 0 0-.781.782z' fill=':color:'/%3E%3C/svg%3E\")}.snowflakes_gid_value .snowflake__inner_type_4:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37.794' height='37.794'%3E%3Cpath d='M30.638 17.313l-.914 1.584.915 1.585a.78.78 0 1 1-1.352.78l-1.366-2.366 1.366-2.365a.782.782 0 0 1 1.067-.286c.372.215.5.692.284 1.068zM11.65 11.08l2.733.002 1.367-2.367a.78.78 0 0 0-1.352-.781l-.915 1.585-1.831-.002h-.001a.78.78 0 0 0-.001 1.563zm14.491 15.633h-2.733l-1.365 2.365a.78.78 0 1 0 1.352.78l.914-1.584h1.831a.781.781 0 0 0 .001-1.561zm-4.1-17.998l1.367 2.367h2.733a.78.78 0 1 0 0-1.562h-1.833l-.915-1.585a.78.78 0 0 0-1.352.78zM15.75 29.08l-1.368-2.366h-2.733a.781.781 0 0 0 0 1.562h1.832l.917 1.585c.146.25.409.391.677.391a.779.779 0 0 0 .675-1.172zm-8.313-7.531a.78.78 0 0 0 1.067-.284L9.87 18.9l-1.367-2.368a.781.781 0 0 0-1.351.781l.916 1.587-.914 1.584a.776.776 0 0 0 .283 1.065zm27.827 6.798a.784.784 0 0 1-1.067.285l-.89-.515-2.096 1.209a.793.793 0 0 1-.391.105.762.762 0 0 1-.391-.105l-2.484-1.435a.78.78 0 0 1-.391-.676l-.002-2.417-2.408-1.392a7.714 7.714 0 0 1-5.467 3.168v2.773l2.093 1.208a.78.78 0 0 1 .391.676l.001 2.868c0 .28-.149.537-.392.676l-2.093 1.205v1.032a.781.781 0 0 1-1.562 0V35.98l-2.095-1.207a.78.78 0 0 1-.391-.676l.001-2.868c0-.28.15-.537.391-.676l2.094-1.206v-2.773a7.718 7.718 0 0 1-5.468-3.168l-2.408 1.392.002 2.415c0 .281-.15.539-.391.676l-2.487 1.437a.785.785 0 0 1-.782 0l-2.095-1.209-.893.518a.782.782 0 0 1-.782-1.354l.893-.517.001-2.414a.78.78 0 0 1 .391-.677l2.487-1.434a.774.774 0 0 1 .781 0l2.093 1.208 2.407-1.39a7.655 7.655 0 0 1 0-6.317l-2.406-1.39-2.096 1.209a.772.772 0 0 1-.782 0l-2.485-1.434a.786.786 0 0 1-.391-.676l.002-2.416-.894-.517a.78.78 0 0 1-.285-1.066.788.788 0 0 1 1.07-.283l.893.514 2.093-1.208a.774.774 0 0 1 .781 0L9.851 9.91c.24.14.391.398.391.675L10.24 13l2.408 1.392a7.712 7.712 0 0 1 5.468-3.167V8.45L16.02 7.242a.78.78 0 0 1-.391-.676l.002-2.87c0-.279.15-.538.391-.675l2.094-1.208V.781a.781.781 0 0 1 1.562 0v1.032l2.093 1.206a.785.785 0 0 1 .391.677l-.002 2.87c0 .28-.149.536-.391.674l-2.091 1.208v2.772a7.708 7.708 0 0 1 5.467 3.167l2.409-1.392-.002-2.416c0-.28.149-.539.391-.676l2.487-1.436c.24-.14.539-.14.781 0l2.095 1.208.894-.514a.78.78 0 1 1 .781 1.352l-.894.516v2.417c0 .279-.15.538-.391.675l-2.487 1.436a.785.785 0 0 1-.782 0l-2.092-1.209-2.408 1.39c.436.967.684 2.032.684 3.158a7.65 7.65 0 0 1-.684 3.158l2.408 1.391 2.091-1.206a.782.782 0 0 1 .78 0l2.488 1.432c.24.141.392.398.392.677l-.002 2.414.893.517a.783.783 0 0 1 .287 1.068zm-6.147-16.251l.001.9.78.453.921.531 1.706-.982v-1.965l-.78-.451-.923-.533-1.707.983.002 1.064zm-20.443-.002l.002-1.063-1.706-.985-.922.535-.778.451-.001.902-.001 1.063 1.703.982.924-.533.779-.451v-.901zm0 13.604l-.001-.899-.781-.451-.919-.533-1.706.982-.001 1.064v.901l.781.451.923.533 1.707-.982-.003-1.066zm15.109-3.076c.315-.413.586-.864.789-1.351a6.121 6.121 0 0 0 0-4.748 6.175 6.175 0 0 0-.789-1.35 6.158 6.158 0 0 0-4.106-2.375 6.48 6.48 0 0 0-.781-.056c-.266 0-.525.022-.781.056a6.149 6.149 0 0 0-4.106 2.375 6.128 6.128 0 0 0-.789 1.35 6.104 6.104 0 0 0-.479 2.374 6.1 6.1 0 0 0 1.268 3.725 6.15 6.15 0 0 0 4.106 2.374c.256.031.516.056.781.056s.525-.022.781-.056a6.142 6.142 0 0 0 4.106-2.374zM17.19 6.113l.924.531.781.452.781-.452.919-.531.002-1.968-.921-.531-.784-.452-.779.451-.922.532-.001 1.968zm3.408 25.57l-.921-.532-.781-.452-.781.452-.922.532-.001 1.966.923.531.782.451.78-.449.922-.533-.001-1.966zm11.925-5.819l.001-1.063-1.707-.981-.919.529-.782.451v.901l.001 1.065 1.702.981.924-.533.778-.449.002-.901z' fill=':color:'/%3E%3C/svg%3E\")}.snowflakes_gid_value .snowflake__inner_type_5:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.25' height='31.25'%3E%3Cpath d='M20.581 1.176l-3.914 3.915V0h1.041v2.576L19.845.439l.736.737zm-1.615 9.069l.351.217 6.623-6.625-.736-.737-6.048 6.051a7.141 7.141 0 0 0-1.449-.6v-.082l5.082-5.082-.737-.737-5.387 5.388v1.33l.402.093a6.213 6.213 0 0 1 1.899.784zm2.041 2.043c.368.585.63 1.224.786 1.893l.094.403h1.028l5.171-5.173-.736-.737-4.699 4.701a7.523 7.523 0 0 0-.549-1.28l6.048-6.05-.737-.735-6.622 6.625.216.353zm7.368 1.254l1.921-1.923-.736-.735-3.699 3.7h5.39v-1.042h-2.876zm1.185 6.826l.736-.736-1.923-1.923h2.877v-1.042h-5.389l3.699 3.701zm-6.915-2.498l4.705 4.707.736-.736-5.171-5.174h-1.03l-.096.4a6.24 6.24 0 0 1-.795 1.883l-.22.353 6.639 6.641.736-.736-6.061-6.062c.227-.414.414-.84.557-1.276zm-3.7 3.125a6.241 6.241 0 0 1-1.88.794l-.399.096v1.33l5.387 5.387.736-.736-5.082-5.082v-.089a7.322 7.322 0 0 0 1.434-.605l6.061 6.062.736-.736-6.641-6.641-.352.22zM16.667 31.25h1.041v-2.576l2.137 2.137.736-.737-3.914-3.914v5.09zm-5.26-.439l2.134-2.137v2.576h1.042v-5.093l-3.913 3.916.737.738zm.897-9.816l-.352-.222-6.642 6.641.736.736 6.062-6.062c.456.254.937.456 1.433.605v.089l-5.08 5.082.736.736 5.387-5.387v-1.33l-.4-.096a6.175 6.175 0 0 1-1.88-.792zm-2.046-2.047a6.315 6.315 0 0 1-.798-1.883l-.096-.4H8.335l-5.172 5.174.737.736 4.706-4.71c.145.441.329.865.556 1.276L3.1 25.202l.736.736 6.643-6.643-.221-.347zM0 16.667v1.042h2.876L.954 19.632l.736.736 3.698-3.701H0zm1.69-5.783l-.736.735 1.921 1.923H0v1.042h5.39l-3.7-3.7zm6.916 2.498L3.9 8.674l-.736.737 5.172 5.173h1.029l.096-.4a6.15 6.15 0 0 1 .798-1.881l.222-.352L3.837 5.31l-.736.736 6.062 6.06a7.268 7.268 0 0 0-.557 1.276zm-.145-9.996l5.08 5.082v.088c-.497.15-.977.352-1.433.606L6.047 3.101l-.736.737 6.643 6.643.352-.222a6.223 6.223 0 0 1 1.88-.797l.4-.095v-1.33L9.2 2.649l-.739.737zm5.081-.81L11.408.439l-.736.737 3.913 3.917V0h-1.042v2.576zm-1.757 14.831a4.2 4.2 0 0 0 2.06 2.058l.739.338v-3.136h-3.138l.339.74zm0-3.562l-.337.738h3.135v-3.136l-.739.338a4.223 4.223 0 0 0-2.059 2.06zm7.679 3.561l.338-.739h-3.135v3.136l.738-.338a4.204 4.204 0 0 0 2.059-2.059zm0-3.561a4.198 4.198 0 0 0-2.059-2.06l-.738-.34v3.138h3.135l-.338-.738z' fill=':color:'/%3E%3C/svg%3E\")}",Ge=function(){"use strict";function p(u){var r=this;_classCallCheck(this,p),this.destroyed=!1,this.flakes=[],this.isBody=!1,this.handleResize=function(){r.params.autoResize&&r.resize()},this.handleOrientationChange=function(){r.resize()},this.params=this.setParams(u),this.isBody=ut(this.params.container),Ge.gid++,this.gid=Ge.gid,this.container=this.appendContainer(),this.params.stop&&this.stop(),this.appendStyles(),this.appendFlakes(),this.containerSize={width:this.width(),height:this.height()},window.addEventListener("resize",this.handleResize,!1),screen.orientation&&screen.orientation.addEventListener&&screen.orientation.addEventListener("change",this.handleOrientationChange)}return _createClass(p,[{key:"start",value:function(){Jr(this.container,"snowflakes_paused")}},{key:"stop",value:function(){Te(this.container,"snowflakes_paused")}},{key:"show",value:function(){Jr(this.container,"snowflakes_hidden")}},{key:"hide",value:function(){Te(this.container,"snowflakes_hidden")}},{key:"resize",value:function(){var r=this.width(),o=this.height();if(!(this.containerSize.width===r&&this.containerSize.height===o)){this.containerSize.width=r,this.containerSize.height=o;var l=this.getFlakeParams();ee(this.container),this.flakes.forEach(function(h){return h.resize(l)}),this.updateAnimationStyle(),Q(this.container)}}},{key:"destroy",value:function(){this.destroyed||(this.destroyed=!0,Ge.instanceCounter&&Ge.instanceCounter--,this.removeStyles(),Ne(this.container),this.flakes.forEach(function(r){return r.destroy()}),this.flakes=[],window.removeEventListener("resize",this.handleResize,!1),screen.orientation&&screen.orientation.removeEventListener&&screen.orientation.removeEventListener("change",this.handleOrientationChange,!1))}},{key:"appendContainer",value:function(){var r=document.createElement("div");return Te(r,"snowflakes"),Te(r,"snowflakes_gid_".concat(this.gid)),this.isBody&&Te(r,"snowflakes_body"),j(r,{zIndex:String(this.params.zIndex)}),this.params.container.appendChild(r),r}},{key:"appendStyles",value:function(){Ge.instanceCounter||(this.mainStyleNode=this.injectStyle(oa)),Ge.instanceCounter++,this.imagesStyleNode=this.injectStyle(ia.replace(/:color:/g,encodeURIComponent(this.params.color))),this.animationStyleNode=this.injectStyle(this.getAnimationStyle())}},{key:"injectStyle",value:function(r,o){return st(r.replace(/_gid_value/g,"_gid_".concat(this.gid)),o)}},{key:"getFlakeParams",value:function(){var r=this.height(),o=this.params;return{containerHeight:r,gid:this.gid,count:o.count,speed:o.speed,rotation:o.rotation,minOpacity:o.minOpacity,maxOpacity:o.maxOpacity,minSize:o.minSize,maxSize:o.maxSize,types:o.types,wind:o.wind}}},{key:"appendFlakes",value:function(){var r=this,o=this.getFlakeParams();this.flakes=[];for(var l=0;l"u"?h[v]:o[v]}),l}},{key:"getAnimationStyle",value:function(){for(var r="0px",o=this.height()+this.params.maxSize*Math.sqrt(2)+"px",l=this.gid,h="@-webkit-keyframes snowflake_gid_".concat(l,"_y{from{-webkit-transform:translateY(").concat(r,")}to{-webkit-transform:translateY(").concat(o,");}}\n@keyframes snowflake_gid_").concat(l,"_y{from{transform:translateY(").concat(r,")}to{transform:translateY(").concat(o,")}}"),v=0;v<=sr;v++){var b=Zr(v,this.params.minSize,this.params.maxSize)+"px";h+="@-webkit-keyframes snowflake_gid_".concat(l,"_x_").concat(v,"{from{-webkit-transform:translateX(0px)}to{-webkit-transform:translateX(").concat(b,");}}\n@keyframes snowflake_gid_").concat(l,"_x_").concat(v,"{from{transform:translateX(0px)}to{transform:translateX(").concat(b,")}}")}return h}},{key:"updateAnimationStyle",value:function(){this.injectStyle(this.getAnimationStyle(),this.animationStyleNode)}},{key:"removeStyles",value:function(){Ge.instanceCounter||(Ne(this.mainStyleNode),delete this.mainStyleNode),Ne(this.imagesStyleNode),delete this.imagesStyleNode,Ne(this.animationStyleNode),delete this.animationStyleNode}},{key:"width",value:function(){return this.params.width||(this.isBody?We():this.params.container.offsetWidth)}},{key:"height",value:function(){return this.params.height||(this.isBody?xe():this.params.container.offsetHeight+this.params.maxSize)}}]),p}();Ge.instanceCounter=0,Ge.gid=0;var uo={};ao(uo,{CSSResult:function(){return lr},ReactiveElement:function(){return bt},adoptStyles:function(){return fo},css:function(){return K},defaultConverter:function(){return zn},getCompatibleStyle:function(){return cr},notEqual:function(){return dr},supportsAdoptingStyleSheets:function(){return Dn},unsafeCSS:function(){return co}});var jn=window,Dn=jn.ShadowRoot&&(jn.ShadyCSS===void 0||jn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ur=Symbol(),lo=new WeakMap,lr=function(){"use strict";function p(u,r,o){if(_classCallCheck(this,p),this._$cssResult$=!0,o!==ur)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=u,this.t=r}return _createClass(p,[{key:"styleSheet",get:function(){var r=this.o,o=this.t;if(Dn&&r===void 0){var l=o!==void 0&&o.length===1;l&&(r=lo.get(o)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),l&&lo.set(o,r))}return r}},{key:"toString",value:function(){return this.cssText}}]),p}(),co=function(p){return new lr(typeof p=="string"?p:p+"",void 0,ur)},K=function(p){for(var u=arguments.length,r=new Array(u>1?u-1:0),o=1;o>>0,1)}},{key:"_$Eg",value:function(){var l=this;this.constructor.elementProperties.forEach(function(h,v){l.hasOwnProperty(v)&&(l._$Ei.set(v,l[v]),delete l[v])})}},{key:"createRenderRoot",value:function(){var l,h=(l=this.shadowRoot)!==null&&l!==void 0?l:this.attachShadow(this.constructor.shadowRootOptions);return fo(h,this.constructor.elementStyles),h}},{key:"connectedCallback",value:function(){var l;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(l=this._$ES)===null||l===void 0||l.forEach(function(h){var v;return(v=h.hostConnected)===null||v===void 0?void 0:v.call(h)})}},{key:"enableUpdating",value:function(l){}},{key:"disconnectedCallback",value:function(){var l;(l=this._$ES)===null||l===void 0||l.forEach(function(h){var v;return(v=h.hostDisconnected)===null||v===void 0?void 0:v.call(h)})}},{key:"attributeChangedCallback",value:function(l,h,v){this._$AK(l,v)}},{key:"_$EO",value:function(l,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hr,b,_=this.constructor._$Ep(l,v);if(_!==void 0&&v.reflect===!0){var T=(((b=v.converter)===null||b===void 0?void 0:b.toAttribute)!==void 0?v.converter:zn).toAttribute(h,v.type);this._$El=l,T==null?this.removeAttribute(_):this.setAttribute(_,T),this._$El=null}}},{key:"_$AK",value:function(l,h){var v,b=this.constructor,_=b._$Ev.get(l);if(_!==void 0&&this._$El!==_){var T=b.getPropertyOptions(_),R=typeof T.converter=="function"?{fromAttribute:T.converter}:((v=T.converter)===null||v===void 0?void 0:v.fromAttribute)!==void 0?T.converter:zn;this._$El=_,this[_]=R.fromAttribute(h,T.type),this._$El=null}}},{key:"requestUpdate",value:function(l,h,v){var b=!0;l!==void 0&&(((v=v||this.constructor.getPropertyOptions(l)).hasChanged||dr)(this[l],h)?(this._$AL.has(l)||this._$AL.set(l,h),v.reflect===!0&&this._$El!==l&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(l,v))):b=!1),!this.isUpdatePending&&b&&(this._$E_=this._$Ej())}},{key:"_$Ej",value:function(){return ea(this,null,_regeneratorRuntime.default.mark(function l(){var h;return _regeneratorRuntime.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return this.isUpdatePending=!0,b.prev=1,b.next=4,this._$E_;case 4:b.next=9;break;case 6:b.prev=6,b.t0=b.catch(1),Promise.reject(b.t0);case 9:if(h=this.scheduleUpdate(),b.t1=h!=null,!b.t1){b.next=14;break}return b.next=14,h;case 14:return b.abrupt("return",(b.t1&&b.sent,!this.isUpdatePending));case 15:case"end":return b.stop()}},l,this,[[1,6]])}))}},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var l=this,h;if(!!this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach(function(_,T){return l[T]=_}),this._$Ei=void 0);var v=!1,b=this._$AL;try{v=this.shouldUpdate(b),v?(this.willUpdate(b),(h=this._$ES)===null||h===void 0||h.forEach(function(_){var T;return(T=_.hostUpdate)===null||T===void 0?void 0:T.call(_)}),this.update(b)):this._$Ek()}catch(_){throw v=!1,this._$Ek(),_}v&&this._$AE(b)}}},{key:"willUpdate",value:function(l){}},{key:"_$AE",value:function(l){var h;(h=this._$ES)===null||h===void 0||h.forEach(function(v){var b;return(b=v.hostUpdated)===null||b===void 0?void 0:b.call(v)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(l)),this.updated(l)}},{key:"_$Ek",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$E_}},{key:"shouldUpdate",value:function(l){return!0}},{key:"update",value:function(l){var h=this;this._$EC!==void 0&&(this._$EC.forEach(function(v,b){return h._$EO(b,h[b],v)}),this._$EC=void 0),this._$Ek()}},{key:"updated",value:function(l){}},{key:"firstUpdated",value:function(l){}}],[{key:"addInitializer",value:function(l){var h;this.finalize(),((h=this.h)!==null&&h!==void 0?h:this.h=[]).push(l)}},{key:"observedAttributes",get:function(){var l=this;this.finalize();var h=[];return this.elementProperties.forEach(function(v,b){var _=l._$Ep(b,v);_!==void 0&&(l._$Ev.set(_,b),h.push(_))}),h}},{key:"createProperty",value:function(l){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hr;if(h.state&&(h.attribute=!1),this.finalize(),this.elementProperties.set(l,h),!h.noAccessor&&!this.prototype.hasOwnProperty(l)){var v=(typeof l=="undefined"?"undefined":_typeof(l))=="symbol"?Symbol():"__"+l,b=this.getPropertyDescriptor(l,v,h);b!==void 0&&Object.defineProperty(this.prototype,l,b)}}},{key:"getPropertyDescriptor",value:function(l,h,v){return{get:function(){return this[h]},set:function(_){var T=this[l];this[h]=_,this.requestUpdate(l,T,v)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(l){return this.elementProperties.get(l)||hr}},{key:"finalize",value:function(){if(this.hasOwnProperty(pr))return!1;this[pr]=!0;var l=Object.getPrototypeOf(this);if(l.finalize(),l.h!==void 0&&(this.h=_toConsumableArray(l.h)),this.elementProperties=new Map(l.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var h=this.properties,v=_toConsumableArray(Object.getOwnPropertyNames(h)).concat(_toConsumableArray(Object.getOwnPropertySymbols(h))),b=!0,_=!1,T=void 0;try{for(var R=v[Symbol.iterator](),B;!(b=(B=R.next()).done);b=!0){var F=B.value;this.createProperty(F,h[F])}}catch(ue){_=!0,T=ue}finally{try{!b&&R.return!=null&&R.return()}finally{if(_)throw T}}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(l){var h=[];if(Array.isArray(l)){var v=new Set(l.flat(1/0).reverse()),b=!0,_=!1,T=void 0;try{for(var R=v[Symbol.iterator](),B;!(b=(B=R.next()).done);b=!0){var F=B.value;h.unshift(cr(F))}}catch(ue){_=!0,T=ue}finally{try{!b&&R.return!=null&&R.return()}finally{if(_)throw T}}}else l!==void 0&&h.push(cr(l));return h}},{key:"_$Ep",value:function(l,h){var v=h.attribute;return v===!1?void 0:typeof v=="string"?v:typeof l=="string"?l.toLowerCase():void 0}}]),r}(_wrapNativeSuper(HTMLElement));bt[pr]=!0,bt.elementProperties=new Map,bt.elementStyles=[],bt.shadowRootOptions={mode:"open"},po==null||po({ReactiveElement:bt}),((fr=$n.reactiveElementVersions)!==null&&fr!==void 0?fr:$n.reactiveElementVersions=[]).push("1.6.3");var vo={};ao(vo,{_$LH:function(){return ca},html:function(){return ye},noChange:function(){return Et},nothing:function(){return he},render:function(){return zo},svg:function(){return ua}});var vr,Nn=window,Ut=Nn.trustedTypes,mo=Ut?Ut.createPolicy("lit-html",{createHTML:function(p){return p}}):void 0,Rn="$lit$",lt="lit$".concat((Math.random()+"").slice(9),"$"),mr="?"+lt,sa="<".concat(mr,">"),Tt=document,rn=function(){return Tt.createComment("")},on=function(p){return p===null||typeof p!="object"&&typeof p!="function"},go=Array.isArray,yo=function(p){return go(p)||typeof(p==null?void 0:p[Symbol.iterator])=="function"},gr="[ \n\f\r]",an=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bo=/-->/g,wo=/>/g,Ot=RegExp(">|".concat(gr,"(?:([^\\s\"'>=/]+)(").concat(gr,"*=").concat(gr,"*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),xo=/'/g,_o=/"/g,ko=/^(?:script|style|textarea|title)$/i,So=function(p){return function(u){for(var r=arguments.length,o=new Array(r>1?r-1:0),l=1;l":"",v=an,b=0;b"?(v=l!=null?l:an,B=-1):R[1]===void 0?B=-2:(B=v.lastIndex-R[2].length,T=R[1],v=R[3]===void 0?Ot:R[3]==='"'?_o:xo):v===_o||v===xo?v=Ot:v===bo||v===wo?v=an:(v=Ot,l=void 0);var ue=v===Ot&&p[b+1].startsWith("/>")?" ":"";h+=v===an?_+sa:B>=0?(o.push(T),_.slice(0,B)+Rn+_.slice(B)+lt+ue):_+lt+(B===-2?(o.push(void 0),b):ue)}return[eo(p,h+(p[r]||"")+(u===2?"":"")),o]},Pn=function(){"use strict";function p(u,r){var o=u.strings,l=u._$litType$;_classCallCheck(this,p);var h;this.parts=[];var v=0,b=0,_=o.length-1,T=this.parts,R=_slicedToArray(Ao(o,l),2),B=R[0],F=R[1];if(this.el=Pn.createElement(B,r),jt.currentNode=this.el.content,l===2){var ue,Le=this.el.content,Ce=Le.firstChild;Ce.remove(),(ue=Le).append.apply(ue,_toConsumableArray(Ce.childNodes))}for(;(h=jt.nextNode())!==null&&T.length<_;){if(h.nodeType===1){if(h.hasAttributes()){var Ze=[],Ue=!0,et=!1,_t=void 0;try{for(var Re=h.getAttributeNames()[Symbol.iterator](),ke;!(Ue=(ke=Re.next()).done);Ue=!0){var tt=ke.value;if(tt.endsWith(Rn)||tt.startsWith(lt)){var kt=F[b++];if(Ze.push(tt),kt!==void 0){var nt=h.getAttribute(kt.toLowerCase()+Rn).split(lt),Oe=/([.?@])?(.*)/.exec(kt);T.push({type:1,index:v,name:Oe[2],strings:nt,ctor:Oe[1]==="."?Oo:Oe[1]==="?"?Eo:Oe[1]==="@"?jo:un})}else T.push({type:6,index:v})}}}catch(Kt){et=!0,_t=Kt}finally{try{!Ue&&Re.return!=null&&Re.return()}finally{if(et)throw _t}}var rt=!0,Xt=!1,ct=void 0;try{for(var ft=Ze[Symbol.iterator](),Wn;!(rt=(Wn=ft.next()).done);rt=!0){var Er=Wn.value;h.removeAttribute(Er)}}catch(Kt){Xt=!0,ct=Kt}finally{try{!rt&&ft.return!=null&&ft.return()}finally{if(Xt)throw ct}}}if(ko.test(h.tagName)){var Gt=h.textContent.split(lt),vn=Gt.length-1;if(vn>0){h.textContent=Ut?Ut.emptyScript:"";for(var Yt=0;Yt2&&arguments[2]!==void 0?arguments[2]:p,o=arguments.length>3?arguments[3]:void 0,l,h,v,b;if(u===Et)return u;var _=o!==void 0?(l=r._$Co)===null||l===void 0?void 0:l[o]:r._$Cl,T=on(u)?void 0:u._$litDirective$;return(_==null?void 0:_.constructor)!==T&&((h=_==null?void 0:_._$AO)===null||h===void 0||h.call(_,!1),T===void 0?_=void 0:(_=new T(p),_._$AT(p,r,o)),o!==void 0?((v=(b=r)._$Co)!==null&&v!==void 0?v:b._$Co=[])[o]=_:r._$Cl=_),_!==void 0&&(u=Dt(p,_._$AS(p,u.values),_,o)),u}var To=function(){"use strict";function p(u,r){_classCallCheck(this,p),this._$AV=[],this._$AN=void 0,this._$AD=u,this._$AM=r}return _createClass(p,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(r){var o,l=this._$AD,h=l.el,v=h.content,b=l.parts,_=((o=r==null?void 0:r.creationScope)!==null&&o!==void 0?o:Tt).importNode(v,!0);jt.currentNode=_;for(var T=jt.nextNode(),R=0,B=0,F=b[0];F!==void 0;){if(R===F.index){var ue=void 0;F.type===2?ue=new sn(T,T.nextSibling,this,r):F.type===1?ue=new F.ctor(T,F.name,F.strings,this,r):F.type===6&&(ue=new Do(T,this,r)),this._$AV.push(ue),F=b[++B]}R!==(F==null?void 0:F.index)&&(T=jt.nextNode(),R++)}return jt.currentNode=Tt,_}},{key:"v",value:function(r){var o=0,l=!0,h=!1,v=void 0;try{for(var b=this._$AV[Symbol.iterator](),_;!(l=(_=b.next()).done);l=!0){var T=_.value;T!==void 0&&(T.strings!==void 0?(T._$AI(r,T,o),o+=T.strings.length-2):T._$AI(r[o])),o++}}catch(R){h=!0,v=R}finally{try{!l&&b.return!=null&&b.return()}finally{if(h)throw v}}}}]),p}(),sn=function(){"use strict";function p(u,r,o,l){_classCallCheck(this,p);var h;this.type=2,this._$AH=he,this._$AN=void 0,this._$AA=u,this._$AB=r,this._$AM=o,this.options=l,this._$Cp=(h=l==null?void 0:l.isConnected)===null||h===void 0||h}return _createClass(p,[{key:"_$AU",get:function(){var r,o;return(o=(r=this._$AM)===null||r===void 0?void 0:r._$AU)!==null&&o!==void 0?o:this._$Cp}},{key:"parentNode",get:function(){var r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&(r==null?void 0:r.nodeType)===11&&(r=o.parentNode),r}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;r=Dt(this,r,o),on(r)?r===he||r==null||r===""?(this._$AH!==he&&this._$AR(),this._$AH=he):r!==this._$AH&&r!==Et&&this._(r):r._$litType$!==void 0?this.g(r):r.nodeType!==void 0?this.$(r):yo(r)?this.T(r):this._(r)}},{key:"k",value:function(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}},{key:"$",value:function(r){this._$AH!==r&&(this._$AR(),this._$AH=this.k(r))}},{key:"_",value:function(r){this._$AH!==he&&on(this._$AH)?this._$AA.nextSibling.data=r:this.$(Tt.createTextNode(r)),this._$AH=r}},{key:"g",value:function(r){var o,l=r.values,h=r._$litType$,v=typeof h=="number"?this._$AC(r):(h.el===void 0&&(h.el=Pn.createElement(eo(h.h,h.h[0]),this.options)),h);if(((o=this._$AH)===null||o===void 0?void 0:o._$AD)===v)this._$AH.v(l);else{var b=new To(v,this),_=b.u(this.options);b.v(l),this.$(_),this._$AH=b}}},{key:"_$AC",value:function(r){var o=Co.get(r.strings);return o===void 0&&Co.set(r.strings,o=new Pn(r)),o}},{key:"T",value:function(r){go(this._$AH)||(this._$AH=[],this._$AR());var o=this._$AH,l,h=0,v=!0,b=!1,_=void 0;try{for(var T=r[Symbol.iterator](),R;!(v=(R=T.next()).done);v=!0){var B=R.value;h===o.length?o.push(l=new sn(this.k(rn()),this.k(rn()),this,this.options)):l=o[h],l._$AI(B),h++}}catch(F){b=!0,_=F}finally{try{!v&&T.return!=null&&T.return()}finally{if(b)throw _}}h0&&arguments[0]!==void 0?arguments[0]:this._$AA.nextSibling,o=arguments.length>1?arguments[1]:void 0,l;for((l=this._$AP)===null||l===void 0||l.call(this,!1,!0,o);r&&r!==this._$AB;){var h=r.nextSibling;r.remove(),r=h}}},{key:"setConnected",value:function(r){var o;this._$AM===void 0&&(this._$Cp=r,(o=this._$AP)===null||o===void 0||o.call(this,r))}}]),p}(),un=function(){"use strict";function p(u,r,o,l,h){_classCallCheck(this,p),this.type=1,this._$AH=he,this._$AN=void 0,this.element=u,this.name=r,this._$AM=l,this.options=h,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=he}return _createClass(p,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,l=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0,v=this.strings,b=!1;if(v===void 0)r=Dt(this,r,o,0),b=!on(r)||r!==this._$AH&&r!==Et,b&&(this._$AH=r);else{var _=r,T,R;for(r=v[0],T=0;T1&&arguments[1]!==void 0?arguments[1]:this,v;if((l=(v=Dt(this,l,h,0))!==null&&v!==void 0?v:he)!==Et){var b=this._$AH,_=l===he&&b!==he||l.capture!==b.capture||l.once!==b.once||l.passive!==b.passive,T=l!==he&&(b===he||_);_&&this.element.removeEventListener(this.name,this,b),T&&this.element.addEventListener(this.name,this,l),this._$AH=l}}},{key:"handleEvent",value:function(l){var h,v;typeof this._$AH=="function"?this._$AH.call((v=(h=this.options)===null||h===void 0?void 0:h.host)!==null&&v!==void 0?v:this.element,l):this._$AH.handleEvent(l)}}]),r}(un),Do=function(){"use strict";function p(u,r,o){_classCallCheck(this,p),this.element=u,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}return _createClass(p,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(r){Dt(this,r)}}]),p}(),ca={O:Rn,P:lt,A:mr,C:1,M:Ao,L:To,R:yo,D:Dt,I:sn,V:un,H:Eo,N:jo,U:Oo,F:Do},$o=Nn.litHtmlPolyfillSupport;$o==null||$o(Pn,sn),((vr=Nn.litHtmlVersions)!==null&&vr!==void 0?vr:Nn.litHtmlVersions=[]).push("2.8.0");var zo=function(p,u,r){var o,l,h=(o=r==null?void 0:r.renderBefore)!==null&&o!==void 0?o:u,v=h._$litPart$;if(v===void 0){var b=(l=r==null?void 0:r.renderBefore)!==null&&l!==void 0?l:null;h._$litPart$=v=new sn(u.insertBefore(rn(),b),b,void 0,r!=null?r:{})}return v._$AI(p),v},fa=function(p){var u=p.finisher,r=p.descriptor;return function(o,l){var h;if(l===void 0){var v=(h=o.originalKey)!==null&&h!==void 0?h:o.key,b=r!=null?{kind:"method",placement:"prototype",key:v,descriptor:r(o.key)}:or(En({},o),{key:v});return u!=null&&(b.finisher=function(T){u(T,v)}),b}{var _=o.constructor;r!==void 0&&Object.defineProperty(o,l,r(l)),u==null||u(_,l)}}},yr=function(p){return function(u){return typeof u=="function"?function(r,o){return customElements.define(r,o),o}(p,u):function(r,o){var l=o.kind,h=o.elements;return{kind:l,elements:h,finisher:function(b){customElements.define(r,b)}}}(p,u)}},da=function(p,u){return u.kind==="method"&&u.descriptor&&!("value"in u.descriptor)?or(En({},u),{finisher:function(o){o.createProperty(u.key,p)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:u.key,initializer:function(){typeof u.initializer=="function"&&(this[u.key]=u.initializer.call(this))},finisher:function(o){o.createProperty(u.key,p)}}},ha=function(p,u,r){u.constructor.createProperty(r,p)},br,du=((br=window.HTMLSlotElement)===null||br===void 0?void 0:br.prototype.assignedElements)!=null?function(p,u){return p.assignedElements(u)}:function(p,u){return p.assignedNodes(u).filter(function(r){return r.nodeType===Node.ELEMENT_NODE})},No=Object.defineProperty,pa=Object.getOwnPropertyDescriptor,va=Object.getOwnPropertyNames,ma=Object.prototype.hasOwnProperty,ga=function(p,u){for(var r in u)No(p,r,{get:u[r],enumerable:!0})},Ro=function(p,u,r,o){var l=!0,h=!1,v=void 0;if(u&&typeof u=="object"||typeof u=="function")try{for(var b=function(R,B){var F=B.value;!ma.call(p,F)&&F!==r&&No(p,F,{get:function(){return u[F]},enumerable:!(o=pa(u,F))||o.enumerable})},_=va(u)[Symbol.iterator](),T;!(l=(T=_.next()).done);l=!0)b(_,T)}catch(R){h=!0,v=R}finally{try{!l&&_.return!=null&&_.return()}finally{if(h)throw v}}return p},Po=function(p,u,r){return Ro(p,u,"default"),r&&Ro(r,u,"default")},wr={};ga(wr,{LitElement:function(){return wt},UpdatingElement:function(){return ya},_$LE:function(){return ba}}),Po(wr,uo),Po(wr,vo);var xr,_r,ya=bt,wt=function(p){"use strict";_inherits(r,p);var u=_createSuper(r);function r(){_classCallCheck(this,r);var o;return o=u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),o.renderOptions={host:_assertThisInitialized(o)},o._$Do=void 0,_possibleConstructorReturn(o)}return _createClass(r,[{key:"createRenderRoot",value:function(){var l,h,v=_get(_getPrototypeOf(r.prototype),"createRenderRoot",this).call(this);return(l=(h=this.renderOptions).renderBefore)!==null&&l!==void 0||(h.renderBefore=v.firstChild),v}},{key:"update",value:function(l){var h=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),_get(_getPrototypeOf(r.prototype),"update",this).call(this,l),this._$Do=zo(h,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var l;_get(_getPrototypeOf(r.prototype),"connectedCallback",this).call(this),(l=this._$Do)===null||l===void 0||l.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var l;_get(_getPrototypeOf(r.prototype),"disconnectedCallback",this).call(this),(l=this._$Do)===null||l===void 0||l.setConnected(!1)}},{key:"render",value:function(){return Et}}]),r}(bt);wt.finalized=!0,wt._$litElement$=!0,(xr=globalThis.litElementHydrateSupport)===null||xr===void 0||xr.call(globalThis,{LitElement:wt});var Mo=globalThis.litElementPolyfillSupport;Mo==null||Mo({LitElement:wt});var ba={_$AK:function(p,u,r){p._$AK(u,r)},_$AL:function(p){return p._$AL}};((_r=globalThis.litElementVersions)!==null&&_r!==void 0?_r:globalThis.litElementVersions=[]).push("3.3.3"),console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.");var wa={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:Ki,fromCents:!1},Io=function(u){return Math.round(u)},kr=function(u){return Math.pow(10,u)},xa=function(u,r){return Io(u/r)*r},_a=/(\d)(?=(\d{3})+\b)/g,ka=/(\d)(?=(\d\d)+\d\b)/g;function Ye(p,u){var r=this;if(!_instanceof(r,Ye))return new Ye(p,u);var o=Object.assign({},wa,u),l=kr(o.precision),h=Tn(p,o);r.intValue=h,r.value=h/l,o.increment=o.increment||1/l,o.useVedic?o.groups=ka:o.groups=_a,this.s=o,this.p=l}Ye.prototype={add:function(u){var r=this.intValue,o=this.s,l=this.p;return Ye((r+=Tn(u,o))/(o.fromCents?1:l),o)},subtract:function(u){var r=this.intValue,o=this.s,l=this.p;return Ye((r-=Tn(u,o))/(o.fromCents?1:l),o)},multiply:function(u){var r=this.intValue,o=this.s;return Ye((r*=u)/(o.fromCents?1:kr(o.precision)),o)},divide:function(u){var r=this.intValue,o=this.s;return Ye(r/=Tn(u,o,!1),o)},distribute:function(u){for(var r=this.intValue,o=this.p,l=this.s,h=[],v=Math[r>=0?"floor":"ceil"](r/u),b=Math.abs(r-v*u),_=l.fromCents?1:o;u!==0;u--){var T=Ye(v/_,l);b-- >0&&(T=T[r>=0?"add":"subtract"](1/_)),h.push(T)}return h},dollars:function(){return~~this.value},cents:function(){var u=this.intValue,r=this.p;return~~(u%r)},format:function(u){var r=this.s;return typeof u=="function"?u(this,r):r.format(this,Object.assign({},r,u))},toString:function(){var u=this.intValue,r=this.p,o=this.s;return xa(u/r,o.increment).toFixed(o.precision)},toJSON:function(){return this.value}};var Ho=Ye,Lo;(function(p){p.CreditCard="Credit Card",p.PayPal="PayPal",p.GooglePay="Google Pay",p.Venmo="Venmo",p.ApplePay="Apple Pay"})(Lo||(Lo={}));var ln=function(){"use strict";function p(u){_classCallCheck(this,p),this.donationType=u.donationType,this.amount=u.amount,this.coverFees=u.coverFees}return _createClass(p,[{key:"feeAmountCovered",get:function(){return this.coverFees?this.fee:0}},{key:"fee",get:function(){return ln.calculateFeeAmount(this.amount)}},{key:"total",get:function(){return ln.calculateTotal(this.amount,this.coverFees)}}],[{key:"calculateTotal",value:function(r,o){var l=o?this.calculateFeeAmount(r):0,h=r+l;return isNaN(h)?0:this.roundAmount(h)}},{key:"calculateFeeAmount",value:function(r){var o=r*.022+.3;return isNaN(o)?0:this.roundAmount(o)}},{key:"roundAmount",value:function(r){return Math.round(r*100)/100}}]),p}(),Ke;(function(p){p.OneTime="one-time",p.Monthly="monthly",p.Upsell="up_sell"})(Ke||(Ke={}));var Sa=[5,10,25,50,100,500,1e3],Ca=new ln({donationType:Ke.OneTime,amount:10,coverFees:!1}),Aa=function(){"use strict";function p(){_classCallCheck(this,p)}return _createClass(p,[{key:"keydown",value:function(r){var o,l,h=r.key;if(!r.metaKey){switch(h){case"Tab":case"Delete":case"Backspace":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":return}var v=r.target,b=v.value,_=b.slice(0,(o=v.selectionStart)!==null&&o!==void 0?o:0),T=b.slice((l=v.selectionEnd)!==null&&l!==void 0?l:0),R="".concat(_).concat(h).concat(T),B=/^[0-9]+(\.[0-9]{0,2})?$/g;R.match(B)||r.preventDefault()}}}]),p}(),cn;(function(p){p.HideBadge="hidebadge",p.ShowBadge="showbadge",p.HideBadgeLeaveSpacing="hidebadgeleavespacing"})(cn||(cn={}));var fn=function(p){"use strict";_inherits(r,p);var u=_createSuper(r);function r(){_classCallCheck(this,r);var o;return o=u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),o.sectionBadge="0",o.badgeMode=cn.ShowBadge,_possibleConstructorReturn(o)}return _createClass(r,[{key:"render",value:function(){return ye(_templateObject1(),this.badgeMode,this.sectionBadge,this.headline?ye(_templateObject(),this.headline):"")}}],[{key:"styles",get:function(){var l=K(_templateObject2()),h=K(_templateObject3()),v=K(_templateObject4()),b=K(_templateObject5()),_=K(_templateObject6(),b),T=K(_templateObject7()),R=K(_templateObject8()),B=K(_templateObject9()),F=K(_templateObject10()),ue=K(_templateObject11()),Le=K(_templateObject12()),Ce=K(_templateObject13()),Ze=K(_templateObject14(),b);return K(_templateObject15(),Le,Ce,_,h,_,h,l,_,v,B,_,_,b,R,T,Ze,F,ue)}}]),r}(wt);se([we({type:String})],fn.prototype,"sectionBadge",void 0),se([we({type:String})],fn.prototype,"headline",void 0),se([we({type:String})],fn.prototype,"badgeMode",void 0),fn=se([yr("donation-form-section")],fn);var dn;(function(p){p.HideNumbers="hidenumbers",p.ShowNumbers="shownumbers"})(dn||(dn={}));var Je;(function(p){p.DonationType="donationType",p.Amount="amount"})(Je||(Je={}));var He;(function(p){p.ValidDonationAmount="valid_donation_amount",p.InvalidDonationAmount="invalid_donation_amount",p.DonationTooHigh="donation_too_high",p.DonationTooLow="donation_too_low"})(He||(He={}));var $t;(function(p){p.Button="button",p.Checkbox="checkbox",p.Hide="hide"})($t||($t={}));var Mn;(function(p){p.SingleLine="single-line",p.MultiLine="multi-line"})(Mn||(Mn={}));var je=function(p){"use strict";_inherits(r,p);var u=_createSuper(r);function r(){_classCallCheck(this,r);var o;return o=u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),o.donationInfo=Ca,o.stepNumberMode=dn.ShowNumbers,o.amountOptions=Sa,o.amountSelectionLayout=Mn.MultiLine,o.frequencySelectionMode=$t.Button,o.customAmountMode="display",o.customFeesCheckboxMode="display",o.amountTitleDisplayMode="default",o.customAmountSelected=!1,o.currencyValidator=new Aa,_possibleConstructorReturn(o)}return _createClass(r,[{key:"render",value:function(){var l="Choose an amount (USD)",h=this.amountTitleDisplayMode==="default"?l:"";return ye(_templateObject19(),this.frequencySelectionMode===$t.Button?this.frequencyButtonsTemplate:he,this.amountSelectionSectionNumber,h,this.formSectionNumberMode,this.amountTitleDisplayMode==="slot"?ye(_templateObject16()):he,this.presetAmountsTemplate,this.customAmountMode==="display"?ye(_templateObject17(),this.customAmountTemplate):he,this.error,this.customFeesCheckboxMode==="display"?ye(_templateObject18(),this.customFeesCheckboxTemplate,this.frequencySelectionMode===$t.Checkbox?this.frequencyCheckboxTemplate:he):he)}},{key:"updated",value:function(l){l.has("customAmountSelected")&&this.customAmountButton&&(this.customAmountButton.checked=this.customAmountSelected),l.has("amountOptions")&&(this.customAmountSelected=!1,this.updateSelectedDonationInfo(),this.setupAmountColumnsLayoutConfig()),l.has("amountSelectionLayout")&&this.setupAmountColumnsLayoutConfig(),l.has("donationInfo")&&this.updateSelectedDonationInfo(),l.has("defaultSelectedAmount")&&this.defaultSelectedAmount!==void 0&&(this.customAmountSelected=!1,this.donationInfo=new ln({donationType:this.donationInfo.donationType,amount:this.defaultSelectedAmount,coverFees:this.donationInfo.coverFees}))}},{key:"frequencyButtonsTemplate",get:function(){return ye(_templateObject20(),this.formSectionNumberMode,this.frequencyTemplate)}},{key:"frequencyCheckboxTemplate",get:function(){return ye(_templateObject21(),this.monthlyCheckboxChecked,this.donationInfo.donationType===Ke.Monthly)}},{key:"customFeesCheckboxTemplate",get:function(){return ye(_templateObject22(),this.coverFeesChecked,this.donationInfo.coverFees,this.coverFeesTextTemplate)}},{key:"amountSelectionSectionNumber",get:function(){return this.frequencySelectionMode===$t.Button?2:1}},{key:"formSectionNumberMode",get:function(){switch(this.stepNumberMode){case dn.ShowNumbers:return cn.ShowBadge;case dn.HideNumbers:return cn.HideBadge}}},{key:"setupAmountColumnsLayoutConfig",value:function(){var l=this.customAmountMode==="hide"&&this.customFeesCheckboxMode==="hide"&&this.frequencySelectionMode===$t.Hide,h=this.amountOptions.length,v=5,b=3;switch(h){case 7:v=5,b=3;break;case 6:v=4,b=2;break;case 5:v=4,b=3;break;case 4:if(l){v=4,b=0;break}v=3,b=2;break;case 3:v=2,b=1;break}this.amountSelectionLayout===Mn.SingleLine&&(v=h+3,b=3),this.style.setProperty("--paymentSelectorAmountColumnCount","".concat(v)),this.style.setProperty("--paymentSelectorCustomAmountColSpan","".concat(b))}},{key:"updateSelectedDonationInfo",value:function(){var l,h;if(!this.customAmountSelected&&this.amountOptions.includes(this.donationInfo.amount)){var v=(l=this.shadowRoot)===null||l===void 0?void 0:l.querySelector('input[type="radio"][name="'.concat(Je.Amount,'"][value="').concat(this.donationInfo.amount,'"]'));v.checked=!0,this.customAmountSelected=!1,this.customAmountInput&&(this.customAmountInput.value="")}else if(this.customAmountSelected=!0,((h=this.shadowRoot)===null||h===void 0?void 0:h.activeElement)!==this.customAmountInput){this.customAmountInput.value="".concat(this.donationInfo.amount);var b=this.getDonationInfoStatus(this.donationInfo.amount);this.handleDonationInfoStatus(b)}}},{key:"coverFeesTextTemplate",get:function(){var l=Ho(this.donationInfo.fee,{symbol:"$"}).format();return ye(_templateObject23(),l)}},{key:"formatShortenedAmount",value:function(l){var h=l%1===0?0:2;return Ho(l,{symbol:"$",precision:h}).format()}},{key:"frequencyTemplate",get:function(){return ye(_templateObject24(),this.getRadioButton({group:Je.DonationType,value:Ke.OneTime,displayText:"One time",checked:this.donationInfo.donationType===Ke.OneTime}),this.getRadioButton({group:Je.DonationType,value:Ke.Monthly,displayText:"Monthly",checked:this.donationInfo.donationType===Ke.Monthly}))}},{key:"presetAmountsTemplate",get:function(){var l=this;return ye(_templateObject26(),this.amountOptions.map(function(h){var v=!l.customAmountSelected&&h===l.donationInfo.amount,b=l.formatShortenedAmount(h);return ye(_templateObject25(),l.getRadioButton({group:Je.Amount,value:"".concat(h),displayText:"".concat(b),checked:v}))}))}},{key:"getRadioButton",value:function(l){var h=this,v="".concat(l.group,"-").concat(l.value,"-option");return ye(_templateObject27(),l.group,l.value,v,l.checked,this.radioSelected,function(b){l.group===Je.Amount&&parseFloat(l.value)===h.donationInfo.amount&&(console.log("SAME VALUE"),h.radioSelected(b))},v,l.displayText)}},{key:"customAmountTemplate",get:function(){var l=this.amountOptions.includes(this.donationInfo.amount)?"":this.donationInfo.amount;return ye(_templateObject28(),Je.Amount,this.customRadioSelected,l,this.customAmountChanged,this.currencyValidator.keydown,this.customAmountFocused)}},{key:"customRadioSelected",value:function(){this.customAmountInput.focus()}},{key:"customAmountFocused",value:function(l){var h=l.target;this.customAmountSelected=!0,this.handleCustomAmountInput(h.value)}},{key:"coverFeesChecked",value:function(l){var h=l.target.checked;this.updateDonationInfo({coverFees:h})}},{key:"customAmountChanged",value:function(l){var h=l.target.value;this.customAmountSelected=!0,this.handleCustomAmountInput(h)}},{key:"handleCustomAmountInput",value:function(l){var h=parseFloat(l);isNaN(h)?this.dispatchEditDonationError(He.InvalidDonationAmount):this.amountChanged(h)}},{key:"handleDonationInfoStatus",value:function(l){switch(l){case He.ValidDonationAmount:this.error=void 0;break;case He.DonationTooHigh:this.error=ye(_templateObject29()),this.dispatchEditDonationError(l);break;case He.DonationTooLow:this.customAmountInput.value.length>0&&(this.error=ye(_templateObject30())),this.dispatchEditDonationError(l);break;case He.InvalidDonationAmount:this.error=ye(_templateObject31()),this.dispatchEditDonationError(l);break}}},{key:"amountChanged",value:function(l){var h=this.getDonationInfoStatus(l);this.handleDonationInfoStatus(h),h===He.ValidDonationAmount&&this.updateDonationInfo({amount:l})}},{key:"getDonationInfoStatus",value:function(l){return isNaN(l)?He.InvalidDonationAmount:l>=1e4?He.DonationTooHigh:l<1?He.DonationTooLow:He.ValidDonationAmount}},{key:"radioSelected",value:function(l){var h=l.target,v=h.name,b=h.value;switch(v){case Je.Amount:this.presetAmountChanged(parseFloat(b));break;case Je.DonationType:this.updateDonationInfo({donationType:b});break;default:break}}},{key:"monthlyCheckboxChecked",value:function(l){var h=l.target.checked?Ke.Monthly:Ke.OneTime;this.updateDonationInfo({donationType:h})}},{key:"dispatchEditDonationError",value:function(l){var h=new CustomEvent("editDonationError",{detail:{error:l}});this.dispatchEvent(h)}},{key:"presetAmountChanged",value:function(l){this.error=void 0,this.customAmountSelected=!1,this.customAmountInput&&(this.customAmountInput.value=""),this.updateDonationInfo({amount:l})}},{key:"updateDonationInfo",value:function(l){var h,v,b,_=new ln({donationType:(h=l.donationType)!==null&&h!==void 0?h:this.donationInfo.donationType,amount:(v=l.amount)!==null&&v!==void 0?v:this.donationInfo.amount,coverFees:(b=l.coverFees)!==null&&b!==void 0?b:this.donationInfo.coverFees});this.donationInfo=_;var T=new CustomEvent("donationInfoChanged",{detail:{donationInfo:_}});this.dispatchEvent(T)}}],[{key:"styles",get:function(){var l=K(_templateObject32()),h=K(_templateObject33()),v=K(_templateObject34()),b=K(_templateObject35()),_=K(_templateObject36()),T=K(_templateObject37()),R=K(_templateObject38()),B=K(_templateObject39()),F=K(_templateObject40()),ue=K(_templateObject41()),Le=K(_templateObject42()),Ce=K(_templateObject43()),Ze=K(_templateObject44()),Ue=K(_templateObject45()),et=K(_templateObject46());return K(_templateObject47(),h,Ue,et,v,l,b,B,_,T,R,F,ue,Le,Ce,Ze)}}]),r}(wt);se([we({type:Object})],je.prototype,"donationInfo",void 0),se([we({type:String})],je.prototype,"stepNumberMode",void 0),se([we({type:Number})],je.prototype,"defaultSelectedAmount",void 0),se([we({type:Array})],je.prototype,"amountOptions",void 0),se([we({type:String})],je.prototype,"amountSelectionLayout",void 0),se([we({type:String,reflect:!0})],je.prototype,"frequencySelectionMode",void 0),se([we({type:String,reflect:!0})],je.prototype,"customAmountMode",void 0),se([we({type:String,reflect:!0})],je.prototype,"customFeesCheckboxMode",void 0),se([we({type:String,reflect:!0})],je.prototype,"amountTitleDisplayMode",void 0),se([we({type:Object})],je.prototype,"error",void 0),se([we({type:Boolean})],je.prototype,"customAmountSelected",void 0),se([An("#custom-amount-button")],je.prototype,"customAmountButton",void 0),se([An("#custom-amount-input")],je.prototype,"customAmountInput",void 0),je=se([yr("donation-form-edit-donation")],je);var Ie=function(p){"use strict";_inherits(r,p);var u=_createSuper(r);function r(){_classCallCheck(this,r);var o;return o=u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),o.goalMessageMode="amount",o.goalNearMessage="We\u2019ve almost reached our goal!",o.goalReachedMessage="We've reached our goal!",o.goalAmount=75e5,o.currentAmountMode="on",o.currentAmount=0,o.thermometerValueWidth=0,o.thermometerFillWidth=0,_possibleConstructorReturn(o)}return _createClass(r,[{key:"render",value:function(){return ye(_templateObject49(),this.goalAmount,this.currentAmount,this.currentAmountDisplayValue,this.thermometerValuePosition,this.percentComplete,this.thermometerValuePosition==="value-left"?this.thermometerValueTemplate:he,this.thermometerValuePosition==="value-right"?this.thermometerValueTemplate:he,this.goalMessageMode!=="off"?ye(_templateObject48(),this.currentGoalMessage):he)}},{key:"thermometerValueTemplate",get:function(){return this.currentAmountMode==="off"?ye(_templateObject50(),he):ye(_templateObject51(),this.currentAmountDisplayValue)}},{key:"thermometerValuePosition",get:function(){return this.thermometerValueWidth+10=this.goalAmount?this.goalReachedMessage:this.goalNearMessage}},{key:"currentAmountDisplayValue",get:function(){return this.formatNumber(this.currentAmount)}},{key:"goalAmountDisplayValue",get:function(){return this.formatNumber(this.goalAmount)}},{key:"formatNumber",value:function(l){if(l===0)return"$0";var h="MM",v=l/1e6,b=v<10,_=0;return b?_=Math.round((v+Number.EPSILON)*10)/10:_=Math.round(v),"$".concat(_).concat(h)}},{key:"currentGoalMessage",get:function(){switch(this.goalMessageMode){case"amount":return"".concat(this.goalAmountDisplayValue," goal");case"message":return this.goalMessage;case"off":return""}}},{key:"percentComplete",get:function(){return Math.min(this.currentAmount/this.goalAmount*100,100)}}],[{key:"styles",get:function(){var l=K(_templateObject52()),h=K(_templateObject53()),v=K(_templateObject54()),b=K(_templateObject55(),v),_=K(_templateObject56()),T=K(_templateObject57(),v),R=K(_templateObject58(),l),B=K(_templateObject59()),F=K(_templateObject60());return K(_templateObject61(),_,R,T,v,h,b,B,F)}}]),r}(wt);se([we({type:String})],Ie.prototype,"goalMessageMode",void 0),se([we({type:String})],Ie.prototype,"goalNearMessage",void 0),se([we({type:String})],Ie.prototype,"goalReachedMessage",void 0),se([we({type:Number})],Ie.prototype,"goalAmount",void 0),se([we({type:String})],Ie.prototype,"currentAmountMode",void 0),se([we({type:Number})],Ie.prototype,"currentAmount",void 0),se([we({type:Object})],Ie.prototype,"resizeObserver",void 0),se([An(".thermometer-value")],Ie.prototype,"thermometerValue",void 0),se([An(".thermometer-fill")],Ie.prototype,"thermometerFill",void 0),se([to()],Ie.prototype,"thermometerValueWidth",void 0),se([to()],Ie.prototype,"thermometerFillWidth",void 0),Ie=se([yr("donation-banner-thermometer")],Ie);var zt=[],Ta=function(){return zt.some(function(u){return u.activeTargets.length>0})},Oa=function(){return zt.some(function(u){return u.skippedTargets.length>0})},Bo="ResizeObserver loop completed with undelivered notifications.",Ea=function(){var u;typeof ErrorEvent=="function"?u=new ErrorEvent("error",{message:Bo}):(u=document.createEvent("Event"),u.initEvent("error",!1,!1),u.message=Bo),window.dispatchEvent(u)},hn;(function(p){p.BORDER_BOX="border-box",p.CONTENT_BOX="content-box",p.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(hn||(hn={}));var Nt=function(u){return Object.freeze(u)},ja=function(){var p=function(r,o){this.inlineSize=r,this.blockSize=o,Nt(this)};return p}(),Fo=function(){var p=function(r,o,l,h){return this.x=r,this.y=o,this.width=l,this.height=h,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Nt(this)};return p.prototype.toJSON=function(){var u=this,r=u.x,o=u.y,l=u.top,h=u.right,v=u.bottom,b=u.left,_=u.width,T=u.height;return{x:r,y:o,top:l,right:h,bottom:v,left:b,width:_,height:T}},p.fromRect=function(u){return new p(u.x,u.y,u.width,u.height)},p}(),Sr=function(u){return _instanceof(u,SVGElement)&&"getBBox"in u},qo=function(u){if(Sr(u)){var r=u.getBBox(),o=r.width,l=r.height;return!o&&!l}var h=u,v=h.offsetWidth,b=h.offsetHeight;return!(v||b||u.getClientRects().length)},Wo=function(u){var r;if(_instanceof(u,Element))return!0;var o=(r=u==null?void 0:u.ownerDocument)===null||r===void 0?void 0:r.defaultView;return!!(o&&_instanceof(u,o.Element))},Da=function(u){switch(u.tagName){case"INPUT":if(u.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},pn=(typeof document=="undefined"?"undefined":_typeof(document))<"u"?window:{},In=new WeakMap,Uo=/auto|scroll/,$a=/^tb|vertical/,za=/msie|trident/i.test(pn.navigator&&pn.navigator.userAgent),Qe=function(u){return parseFloat(u||"0")},Vt=function(u,r,o){return u===void 0&&(u=0),r===void 0&&(r=0),o===void 0&&(o=!1),new ja((o?r:u)||0,(o?u:r)||0)},Vo=Nt({devicePixelContentBoxSize:Vt(),borderBoxSize:Vt(),contentBoxSize:Vt(),contentRect:new Fo(0,0,0,0)}),Xo=function(u,r){if(r===void 0&&(r=!1),In.has(u)&&!r)return In.get(u);if(qo(u))return In.set(u,Vo),Vo;var o=getComputedStyle(u),l=Sr(u)&&u.ownerSVGElement&&u.getBBox(),h=!za&&o.boxSizing==="border-box",v=$a.test(o.writingMode||""),b=!l&&Uo.test(o.overflowY||""),_=!l&&Uo.test(o.overflowX||""),T=l?0:Qe(o.paddingTop),R=l?0:Qe(o.paddingRight),B=l?0:Qe(o.paddingBottom),F=l?0:Qe(o.paddingLeft),ue=l?0:Qe(o.borderTopWidth),Le=l?0:Qe(o.borderRightWidth),Ce=l?0:Qe(o.borderBottomWidth),Ze=l?0:Qe(o.borderLeftWidth),Ue=F+R,et=T+B,_t=Ze+Le,Re=ue+Ce,ke=_?u.offsetHeight-Re-u.clientHeight:0,tt=b?u.offsetWidth-_t-u.clientWidth:0,kt=h?Ue+_t:0,nt=h?et+Re:0,Oe=l?l.width:Qe(o.width)-kt-tt,rt=l?l.height:Qe(o.height)-nt-ke,Xt=Oe+Ue+tt+_t,ct=rt+et+ke+Re,ft=Nt({devicePixelContentBoxSize:Vt(Math.round(Oe*devicePixelRatio),Math.round(rt*devicePixelRatio),v),borderBoxSize:Vt(Xt,ct,v),contentBoxSize:Vt(Oe,rt,v),contentRect:new Fo(F,T,Oe,rt)});return In.set(u,ft),ft},Go=function(u,r,o){var l=Xo(u,o),h=l.borderBoxSize,v=l.contentBoxSize,b=l.devicePixelContentBoxSize;switch(r){case hn.DEVICE_PIXEL_CONTENT_BOX:return b;case hn.BORDER_BOX:return h;default:return v}},Na=function(){var p=function(r){var o=Xo(r);this.target=r,this.contentRect=o.contentRect,this.borderBoxSize=Nt([o.borderBoxSize]),this.contentBoxSize=Nt([o.contentBoxSize]),this.devicePixelContentBoxSize=Nt([o.devicePixelContentBoxSize])};return p}(),Yo=function(u){if(qo(u))return 1/0;for(var r=0,o=u.parentNode;o;)r+=1,o=o.parentNode;return r},Ra=function(){var u=1/0,r=[];zt.forEach(function(v){if(v.activeTargets.length!==0){var b=[];v.activeTargets.forEach(function(_){var T=new Na(_.target),R=Yo(_.target);b.push(T),_.lastReportedSize=Go(_.target,_.observedBox),Ru?r.activeTargets.push(o):r.skippedTargets.push(o))})})},Pa=function(){var u=0;for(Ko(u);Ta();)u=Ra(),Ko(u);return Oa()&&Ea(),u>0},Cr,Jo=[],Ma=function(){return Jo.splice(0).forEach(function(u){return u()})},Ia=function(u){if(!Cr){var r=0,o=document.createTextNode(""),l={characterData:!0};new MutationObserver(function(){return Ma()}).observe(o,l),Cr=function(){o.textContent="".concat(r?r--:r++)}}Jo.push(u),Cr()},Ha=function(u){Ia(function(){requestAnimationFrame(u)})},Hn=0,La=function(){return!!Hn},Ba=250,Fa={attributes:!0,characterData:!0,childList:!0,subtree:!0},Qo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Zo=function(u){return u===void 0&&(u=0),Date.now()+u},Ar=!1,qa=function(){var p=function(){var r=this;this.stopped=!0,this.listener=function(){return r.schedule()}};return p.prototype.run=function(u){var r=this;if(u===void 0&&(u=Ba),!Ar){Ar=!0;var o=Zo(u);Ha(function(){var l=!1;try{l=Pa()}finally{if(Ar=!1,u=o-Zo(),!La())return;l?r.run(1e3):u>0?r.run(u):r.start()}})}},p.prototype.schedule=function(){this.stop(),this.run()},p.prototype.observe=function(){var u=this,r=function(){return u.observer&&u.observer.observe(document.body,Fa)};document.body?r():pn.addEventListener("DOMContentLoaded",r)},p.prototype.start=function(){var u=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Qo.forEach(function(r){return pn.addEventListener(r,u.listener,!0)}))},p.prototype.stop=function(){var u=this;this.stopped||(this.observer&&this.observer.disconnect(),Qo.forEach(function(r){return pn.removeEventListener(r,u.listener,!0)}),this.stopped=!0)},p}(),Tr=new qa,ei=function(u){!Hn&&u>0&&Tr.start(),Hn+=u,!Hn&&Tr.stop()},Wa=function(u){return!Sr(u)&&!Da(u)&&getComputedStyle(u).display==="inline"},Ua=function(){var p=function(r,o){this.target=r,this.observedBox=o||hn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}};return p.prototype.isActive=function(){var u=Go(this.target,this.observedBox,!0);return Wa(this.target)&&(this.lastReportedSize=u),this.lastReportedSize.inlineSize!==u.inlineSize||this.lastReportedSize.blockSize!==u.blockSize},p}(),Va=function(){var p=function(r,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=r,this.callback=o};return p}(),Ln=new WeakMap,ti=function(u,r){for(var o=0;o=0&&(h&&zt.splice(zt.indexOf(o),1),o.observationTargets.splice(l,1),ei(-1))},p.disconnect=function(u){var r=this,o=Ln.get(u);o.observationTargets.slice().forEach(function(l){return r.unobserve(u,l.target)}),o.activeTargets.splice(0,o.activeTargets.length)},p}(),Xa=function(){var p=function(r){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof r!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Bn.connect(this,r)};return p.prototype.observe=function(u,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Wo(u))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Bn.observe(this,u,r)},p.prototype.unobserve=function(u){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Wo(u))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Bn.unobserve(this,u)},p.prototype.disconnect=function(){Bn.disconnect(this)},p.toString=function(){return"function ResizeObserver () { [polyfill code] }"},p}(),Ga=window.ResizeObserver||Xa;window.ResizeObserver=Ga;var ni=function(){"use strict";function p(){var u=this;_classCallCheck(this,p),this.resizeObserver=new ResizeObserver(function(r){var o=u;window.requestAnimationFrame(function(){var l=!0,h=!1,v=void 0;try{for(var b=function(R,B){var F=B.value,ue=o.resizeHandlers.get(F.target);ue==null||ue.forEach(function(Le){Le.handleResize(F)})},_=r[Symbol.iterator](),T;!(l=(T=_.next()).done);l=!0)b(_,T)}catch(R){h=!0,v=R}finally{try{!l&&_.return!=null&&_.return()}finally{if(h)throw v}}})}),this.resizeHandlers=new Map}return _createClass(p,[{key:"shutdown",value:function(){var r=this;this.resizeHandlers.forEach(function(o,l){r.resizeObserver.unobserve(l)}),this.resizeHandlers.clear()}},{key:"addObserver",value:function(r){var o,l=(o=this.resizeHandlers.get(r.target))!==null&&o!==void 0?o:new Set;l.add(r.handler),this.resizeHandlers.set(r.target,l),this.resizeObserver.observe(r.target,r.options)}},{key:"removeObserver",value:function(r){var o=this.resizeHandlers.get(r.target);o&&(o.delete(r.handler),o.size===0&&(this.resizeObserver.unobserve(r.target),this.resizeHandlers.delete(r.target)))}}]),p}();window.SharedResizeObserver=ni;var Ya=Object.create,ri=Object.defineProperty,Ka=Object.getOwnPropertyDescriptor,Ja=Object.getOwnPropertyNames,Qa=Object.getPrototypeOf,Za=Object.prototype.hasOwnProperty,es=function(p,u){return function(){return u||p((u={exports:{}}).exports,u),u.exports}},ts=function(p,u,r,o){var l=!0,h=!1,v=void 0;if(u&&typeof u=="object"||typeof u=="function")try{for(var b=function(R,B){var F=B.value;!Za.call(p,F)&&F!==r&&ri(p,F,{get:function(){return u[F]},enumerable:!(o=Ka(u,F))||o.enumerable})},_=Ja(u)[Symbol.iterator](),T;!(l=(T=_.next()).done);l=!0)b(_,T)}catch(R){h=!0,v=R}finally{try{!l&&_.return!=null&&_.return()}finally{if(h)throw v}}return p},ns=function(p,u,r){return r=p!=null?Ya(Qa(p)):{},ts(u||!p||!p.__esModule?ri(r,"default",{value:p,enumerable:!0}):r,p)},rs=es(function(p,u){(function(r,o){"use strict";typeof u=="object"&&typeof u.exports=="object"?u.exports=r.document?o(r,!0):function(l){if(!l.document)throw new Error("jQuery requires a window with a document");return o(l)}:o(r)})((typeof document=="undefined"?"undefined":_typeof(document))<"u"?window:p,function(r,o){"use strict";var l=function(e,t,n){n=n||te;var i,c,f=n.createElement("script");if(f.text=e,t)for(i in ps)c=t[i]||t.getAttribute&&t.getAttribute(i),c&&f.setAttribute(i,c);n.head.appendChild(f).parentNode.removeChild(f)},h=function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Xn[vi.call(e)]||"object":typeof e=="undefined"?"undefined":_typeof(e)},v=function(e){var t=!!e&&"length"in e&&e.length,n=h(e);return J(e)||Jt(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e},b=function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},_=function(e,t,n){return J(t)?a.grep(e,function(i,c){return!!t.call(i,c,i)!==n}):t.nodeType?a.grep(e,function(i){return i===t!==n}):typeof t!="string"?a.grep(e,function(i){return Vn.call(t,i)>-1!==n}):a.filter(t,e,n)},T=function(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e},R=function(e){var t={};return a.each(e.match(ot)||[],function(n,i){t[i]=!0}),t},B=function(e){return e},F=function(e){throw e},ue=function(e,t,n,i){var c;try{e&&J(c=e.promise)?c.call(e).done(t).fail(n):e&&J(c=e.then)?c.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(f){n.apply(void 0,[f])}},Le=function(e,t){return t.toUpperCase()},Ce=function(e){return e.replace(ws,"ms-").replace(xs,Le)},Ze=function(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:_s.test(e)?JSON.parse(e):e},Ue=function(e,t,n){var i;if(n===void 0&&e.nodeType===1)if(i="data-"+t.replace(ks,"-$&").toLowerCase(),n=e.getAttribute(i),typeof n=="string"){try{n=Ze(n)}catch(c){}Pe.set(e,t,n)}else n=void 0;return n},et=function(e,t,n,i){var c,f,d=20,x=i?function(){return i.cur()}:function(){return a.css(e,t,"")},y=x(),A=n&&n[3]||(a.cssNumber[t]?"":"px"),O=e.nodeType&&(a.cssNumber[t]||A!=="px"&&+y)&&yn.exec(a.css(e,t));if(O&&O[3]!==A){for(y=y/2,A=A||O[3],O=+y||1;d--;)a.style(e,t,O+A),(1-f)*(1-(f=x()/y||.5))<=0&&(d=0),O=O/f;O=O*2,a.style(e,t,O+A),n=n||[]}return n&&(O=+O||+y||0,c=n[1]?O+(n[1]+1)*n[2]:+n[2],i&&(i.unit=A,i.start=O,i.end=c)),c},_t=function(e){var t,n=e.ownerDocument,i=e.nodeName,c=ki[i];return c||(t=n.body.appendChild(n.createElement(i)),c=a.css(t,"display"),t.parentNode.removeChild(t),c==="none"&&(c="block"),ki[i]=c,c)},Re=function(e,t){for(var n,i,c=[],f=0,d=e.length;f-1){c&&c.push(f);continue}if(A=Zt(f),d=ke(P.appendChild(f),"script"),A&&tt(d),n)for(O=0;f=d[O++];)Ci.test(f.type||"")&&n.push(f)}return P},nt=function(){return!0},Oe=function(){return!1},rt=function(e,t){return e===Xt()==(t==="focus")},Xt=function(){try{return te.activeElement}catch(e){}},ct=function(e,t,n){if(!n){W.get(e,t)===void 0&&a.event.add(e,t,nt);return}W.set(e,t,!1),a.event.add(e,t,{namespace:!1,handler:function(c){var f,d,x=W.get(this,t);if(c.isTrigger&1&&this[t]){if(x.length)(a.event.special[t]||{}).delegateType&&c.stopPropagation();else if(x=St.call(arguments),W.set(this,t,x),f=n(this,t),this[t](),d=W.get(this,t),x!==d||f?W.set(this,t,!1):d={},x!==d)return c.stopImmediatePropagation(),c.preventDefault(),d&&d.value}else x.length&&(W.set(this,t,{value:a.event.trigger(a.extend(x[0],a.Event.prototype),x.slice(1),this)}),c.stopImmediatePropagation())}})},ft=function(e,t){return b(e,"table")&&b(t.nodeType!==11?t:t.firstChild,"tr")&&a(e).children("tbody")[0]||e},Wn=function(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e},Er=function(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e},Gt=function(e,t){var n,i,c,f,d,x,y;if(t.nodeType===1){if(W.hasData(e)&&(f=W.get(e),y=f.events,y)){W.remove(t,"handle events");for(c in y)for(n=0,i=y[c].length;n=0&&(y+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-f-y-x-.5))||0),y},ui=function(e,t,n){var i=Jn(e),c=!le.boxSizingReliable()||n,f=c&&a.css(e,"boxSizing",!1,i)==="border-box",d=f,x=dt(e,t,i),y="offset"+t[0].toUpperCase()+t.slice(1);if(Mr.test(x)){if(!n)return x;x="auto"}return(!le.boxSizingReliable()&&f||!le.reliableTrDimensions()&&b(e,"tr")||x==="auto"||!parseFloat(x)&&a.css(e,"display",!1,i)==="inline")&&e.getClientRects().length&&(f=a.css(e,"boxSizing",!1,i)==="border-box",d=y in e,d&&(x=e[y])),x=parseFloat(x)||0,x+Dr(e,t,n||(f?"border":"content"),d,i,x)+"px"},li=function(){return r.setTimeout(function(){tn=void 0}),tn=Date.now()},Un=function(e,t){var n,i=0,c={height:e};for(t=t?1:0;i<4;i+=2-t)n=vt[i],c["margin"+n]=c["padding"+n]=e;return t&&(c.opacity=c.width=e),c},ci=function(e,t,n){for(var i,c=(Ve.tweeners[t]||[]).concat(Ve.tweeners["*"]),f=0,d=c.length;f=0&&nV.cacheLength&&delete w[m.shift()],w[k+" "]=N}return w},n=function(m){return m[me]=!0,m},i=function(m){var w=Z.createElement("fieldset");try{return!!m(w)}catch(k){return!1}finally{w.parentNode&&w.parentNode.removeChild(w),w=null}},c=function(m,w){for(var k=m.split("|"),N=k.length;N--;)V.attrHandle[k[N]]=w},f=function(m,w){var k=w&&m,N=k&&m.nodeType===1&&w.nodeType===1&&m.sourceIndex-w.sourceIndex;if(N)return N;if(k){for(;k=k.nextSibling;)if(k===w)return-1}return m?1:-1},d=function(m){return function(w){var k=w.nodeName.toLowerCase();return k==="input"&&w.type===m}},x=function(m){return function(w){var k=w.nodeName.toLowerCase();return(k==="input"||k==="button")&&w.type===m}},y=function(m){return function(w){return"form"in w?w.parentNode&&w.disabled===!1?"label"in w?"label"in w.parentNode?w.parentNode.disabled===m:w.disabled===m:w.isDisabled===m||w.isDisabled!==!m&&fu(w)===m:w.disabled===m:"label"in w?w.disabled===m:!1}},A=function(m){return n(function(w){return w=+w,n(function(k,N){for(var E,D=m([],k.length,w),z=D.length;z--;)k[E=D[z]]&&(k[E]=!(N[E]=k[E]))})})},O=function(m){return m&&_typeof(m.getElementsByTagName)<"u"&&m},P=function(){},M=function(m){for(var w=0,k=m.length,N="";w1?function(w,k,N){for(var E=m.length;E--;)if(!m[E](w,k,N))return!1;return!0}:m[0]},re=function(m,w,k){for(var N=0,E=w.length;N0,N=m.length>0,E=function(z,H,I,L,U){var X,ae,ve,G=0,ge="0",$e=z&&[],de=[],At=Lt,Cn=z||N&&V.find.TAG("*",U),nn=mt+=At==null?1:Math.random()||.1,ze=Cn.length;for(U&&(Lt=H==Z||H||U);ge!==ze&&(X=Cn[ge])!=null;ge++){if(N&&X){for(ae=0,!H&&X.ownerDocument!=Z&&(qe(X),I=!Ae);ve=m[ae++];)if(ve(X,H||Z,I)){L.push(X);break}U&&(mt=nn)}k&&((X=!ve&&X)&&G--,z&&$e.push(X))}if(G+=ge,k&&ge!==G){for(ae=0;ve=w[ae++];)ve($e,de,H,I);if(z){if(G>0)for(;ge--;)$e[ge]||de[ge]||(de[ge]=eu.call(L));de=Y(de)}Ct.apply(L,de),U&&!z&&de.length>0&&G+w.length>1&&e.uniqueSort(L)}return U&&(mt=nn,Lt=At),$e};return k?n(E):E},pe,oe,V,Fe,ne,Ee,ie,be,Lt,at,De,qe,Z,Se,Ae,ce,Bt,Zn,kn,me="sizzle"+1*new Date,Xe=s.document,mt=0,Qs=0,Bi=t(),Fi=t(),qi=t(),er=t(),Ur=function(m,w){return m===w&&(De=!0),0},Zs={}.hasOwnProperty,Ft=[],eu=Ft.pop,tu=Ft.push,Ct=Ft.push,Wi=Ft.slice,qt=function(m,w){for(var k=0,N=m.length;k+~]|"+fe+")"+fe+"*"),ou=new RegExp(fe+"|>"),iu=new RegExp(Xr),au=new RegExp("^"+Wt+"$"),nr={ID:new RegExp("^#("+Wt+")"),CLASS:new RegExp("^\\.("+Wt+")"),TAG:new RegExp("^("+Wt+"|[*])"),ATTR:new RegExp("^"+Ui),PSEUDO:new RegExp("^"+Xr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+fe+"*(even|odd|(([+-]|)(\\d*)n|)"+fe+"*(?:([+-]|)"+fe+"*(\\d+)|))"+fe+"*\\)|)","i"),bool:new RegExp("^(?:"+Vr+")$","i"),needsContext:new RegExp("^"+fe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+fe+"*((?:-\\d)?\\d*)"+fe+"*\\)|)(?=[^-]|$)","i")},su=/HTML$/i,uu=/^(?:input|select|textarea|button)$/i,lu=/^h\d$/i,Sn=/^[^{]+\{\s*\[native \w/,cu=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Gr=/[+~]/,gt=new RegExp("\\\\[\\da-fA-F]{1,6}"+fe+"?|\\\\([^\\r\\n\\f])","g"),yt=function(m,w){var k="0x"+m.slice(1)-65536;return w||(k<0?String.fromCharCode(k+65536):String.fromCharCode(k>>10|55296,k&1023|56320))},Xi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Gi=function(m,w){return w?m==="\0"?"\uFFFD":m.slice(0,-1)+"\\"+m.charCodeAt(m.length-1).toString(16)+" ":"\\"+m},Yi=function(){qe()},fu=S(function(C){return C.disabled===!0&&C.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ct.apply(Ft=Wi.call(Xe.childNodes),Xe.childNodes),Ft[Xe.childNodes.length].nodeType}catch(C){Ct={apply:Ft.length?function(m,w){tu.apply(m,Wi.call(w))}:function(m,w){for(var k=m.length,N=0;m[k++]=w[N++];);m.length=k-1}}}oe=e.support={},ne=e.isXML=function(m){var w=m&&m.namespaceURI,k=m&&(m.ownerDocument||m).documentElement;return!su.test(w||k&&k.nodeName||"HTML")},qe=e.setDocument=function(m){var w,k,N=m?m.ownerDocument||m:Xe;return N==Z||N.nodeType!==9||!N.documentElement||(Z=N,Se=Z.documentElement,Ae=!ne(Z),Xe!=Z&&(k=Z.defaultView)&&k.top!==k&&(k.addEventListener?k.addEventListener("unload",Yi,!1):k.attachEvent&&k.attachEvent("onunload",Yi)),oe.scope=i(function(E){return Se.appendChild(E).appendChild(Z.createElement("div")),_typeof(E.querySelectorAll)<"u"&&!E.querySelectorAll(":scope fieldset div").length}),oe.attributes=i(function(E){return E.className="i",!E.getAttribute("className")}),oe.getElementsByTagName=i(function(E){return E.appendChild(Z.createComment("")),!E.getElementsByTagName("*").length}),oe.getElementsByClassName=Sn.test(Z.getElementsByClassName),oe.getById=i(function(E){return Se.appendChild(E).id=me,!Z.getElementsByName||!Z.getElementsByName(me).length}),oe.getById?(V.filter.ID=function(E){var D=E.replace(gt,yt);return function(z){return z.getAttribute("id")===D}},V.find.ID=function(E,D){if(_typeof(D.getElementById)<"u"&&Ae){var z=D.getElementById(E);return z?[z]:[]}}):(V.filter.ID=function(E){var D=E.replace(gt,yt);return function(z){var H=_typeof(z.getAttributeNode)<"u"&&z.getAttributeNode("id");return H&&H.value===D}},V.find.ID=function(E,D){if(_typeof(D.getElementById)<"u"&&Ae){var z,H,I,L=D.getElementById(E);if(L){if(z=L.getAttributeNode("id"),z&&z.value===E)return[L];for(I=D.getElementsByName(E),H=0;L=I[H++];)if(z=L.getAttributeNode("id"),z&&z.value===E)return[L]}return[]}}),V.find.TAG=oe.getElementsByTagName?function(E,D){if(_typeof(D.getElementsByTagName)<"u")return D.getElementsByTagName(E);if(oe.qsa)return D.querySelectorAll(E)}:function(E,D){var z,H=[],I=0,L=D.getElementsByTagName(E);if(E==="*"){for(;z=L[I++];)z.nodeType===1&&H.push(z);return H}return L},V.find.CLASS=oe.getElementsByClassName&&function(E,D){if(_typeof(D.getElementsByClassName)<"u"&&Ae)return D.getElementsByClassName(E)},Bt=[],ce=[],(oe.qsa=Sn.test(Z.querySelectorAll))&&(i(function(E){var D;Se.appendChild(E).innerHTML="",E.querySelectorAll("[msallowcapture^='']").length&&ce.push("[*^$]="+fe+"*(?:''|\"\")"),E.querySelectorAll("[selected]").length||ce.push("\\["+fe+"*(?:value|"+Vr+")"),E.querySelectorAll("[id~="+me+"-]").length||ce.push("~="),D=Z.createElement("input"),D.setAttribute("name",""),E.appendChild(D),E.querySelectorAll("[name='']").length||ce.push("\\["+fe+"*name"+fe+"*="+fe+"*(?:''|\"\")"),E.querySelectorAll(":checked").length||ce.push(":checked"),E.querySelectorAll("a#"+me+"+*").length||ce.push(".#.+[+~]"),E.querySelectorAll("\\\f"),ce.push("[\\r\\n\\f]")}),i(function(E){E.innerHTML="";var D=Z.createElement("input");D.setAttribute("type","hidden"),E.appendChild(D).setAttribute("name","D"),E.querySelectorAll("[name=d]").length&&ce.push("name"+fe+"*[*^$|!~]?="),E.querySelectorAll(":enabled").length!==2&&ce.push(":enabled",":disabled"),Se.appendChild(E).disabled=!0,E.querySelectorAll(":disabled").length!==2&&ce.push(":enabled",":disabled"),E.querySelectorAll("*,:x"),ce.push(",.*:")})),(oe.matchesSelector=Sn.test(Zn=Se.matches||Se.webkitMatchesSelector||Se.mozMatchesSelector||Se.oMatchesSelector||Se.msMatchesSelector))&&i(function(E){oe.disconnectedMatch=Zn.call(E,"*"),Zn.call(E,"[s!='']:x"),Bt.push("!=",Xr)}),ce=ce.length&&new RegExp(ce.join("|")),Bt=Bt.length&&new RegExp(Bt.join("|")),w=Sn.test(Se.compareDocumentPosition),kn=w||Sn.test(Se.contains)?function(D,z){var H=D.nodeType===9?D.documentElement:D,I=z&&z.parentNode;return D===I||!!(I&&I.nodeType===1&&(H.contains?H.contains(I):D.compareDocumentPosition&&D.compareDocumentPosition(I)&16))}:function(E,D){if(D){for(;D=D.parentNode;)if(D===E)return!0}return!1},Ur=w?function(D,z){if(D===z)return De=!0,0;var H=!D.compareDocumentPosition-!z.compareDocumentPosition;return H||(H=(D.ownerDocument||D)==(z.ownerDocument||z)?D.compareDocumentPosition(z):1,H&1||!oe.sortDetached&&z.compareDocumentPosition(D)===H?D==Z||D.ownerDocument==Xe&&kn(Xe,D)?-1:z==Z||z.ownerDocument==Xe&&kn(Xe,z)?1:at?qt(at,D)-qt(at,z):0:H&4?-1:1)}:function(E,D){if(E===D)return De=!0,0;var z,H=0,I=E.parentNode,L=D.parentNode,U=[E],X=[D];if(!I||!L)return E==Z?-1:D==Z?1:I?-1:L?1:at?qt(at,E)-qt(at,D):0;if(I===L)return f(E,D);for(z=E;z=z.parentNode;)U.unshift(z);for(z=D;z=z.parentNode;)X.unshift(z);for(;U[H]===X[H];)H++;return H?f(U[H],X[H]):U[H]==Xe?-1:X[H]==Xe?1:0}),Z},e.matches=function(C,m){return e(C,null,null,m)},e.matchesSelector=function(C,m){if(qe(C),oe.matchesSelector&&Ae&&!er[m+" "]&&(!Bt||!Bt.test(m))&&(!ce||!ce.test(m)))try{var w=Zn.call(C,m);if(w||oe.disconnectedMatch||C.document&&C.document.nodeType!==11)return w}catch(k){er(m,!0)}return e(m,Z,null,[C]).length>0},e.contains=function(C,m){return(C.ownerDocument||C)!=Z&&qe(C),kn(C,m)},e.attr=function(C,m){(C.ownerDocument||C)!=Z&&qe(C);var w=V.attrHandle[m.toLowerCase()],k=w&&Zs.call(V.attrHandle,m.toLowerCase())?w(C,m,!Ae):void 0;return k!==void 0?k:oe.attributes||!Ae?C.getAttribute(m):(k=C.getAttributeNode(m))&&k.specified?k.value:null},e.escape=function(C){return(C+"").replace(Xi,Gi)},e.error=function(C){throw new Error("Syntax error, unrecognized expression: "+C)},e.uniqueSort=function(C){var m,w=[],k=0,N=0;if(De=!oe.detectDuplicates,at=!oe.sortStable&&C.slice(0),C.sort(Ur),De){for(;m=C[N++];)m===C[N]&&(k=w.push(N));for(;k--;)C.splice(w[k],1)}return at=null,C},Fe=e.getText=function(C){var m,w="",k=0,N=C.nodeType;if(N){if(N===1||N===9||N===11){if(typeof C.textContent=="string")return C.textContent;for(C=C.firstChild;C;C=C.nextSibling)w+=Fe(C)}else if(N===3||N===4)return C.nodeValue}else for(;m=C[k++];)w+=Fe(m);return w},V=e.selectors={cacheLength:50,createPseudo:n,match:nr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(m){return m[1]=m[1].replace(gt,yt),m[3]=(m[3]||m[4]||m[5]||"").replace(gt,yt),m[2]==="~="&&(m[3]=" "+m[3]+" "),m.slice(0,4)},CHILD:function(m){return m[1]=m[1].toLowerCase(),m[1].slice(0,3)==="nth"?(m[3]||e.error(m[0]),m[4]=+(m[4]?m[5]+(m[6]||1):2*(m[3]==="even"||m[3]==="odd")),m[5]=+(m[7]+m[8]||m[3]==="odd")):m[3]&&e.error(m[0]),m},PSEUDO:function(m){var w,k=!m[6]&&m[2];return nr.CHILD.test(m[0])?null:(m[3]?m[2]=m[4]||m[5]||"":k&&iu.test(k)&&(w=Ee(k,!0))&&(w=k.indexOf(")",k.length-w)-k.length)&&(m[0]=m[0].slice(0,w),m[2]=k.slice(0,w)),m.slice(0,3))}},filter:{TAG:function(m){var w=m.replace(gt,yt).toLowerCase();return m==="*"?function(){return!0}:function(k){return k.nodeName&&k.nodeName.toLowerCase()===w}},CLASS:function(m){var w=Bi[m+" "];return w||(w=new RegExp("(^|"+fe+")"+m+"("+fe+"|$)"))&&Bi(m,function(k){return w.test(typeof k.className=="string"&&k.className||_typeof(k.getAttribute)<"u"&&k.getAttribute("class")||"")})},ATTR:function(m,w,k){return function(N){var E=e.attr(N,m);return E==null?w==="!=":w?(E+="",w==="="?E===k:w==="!="?E!==k:w==="^="?k&&E.indexOf(k)===0:w==="*="?k&&E.indexOf(k)>-1:w==="$="?k&&E.slice(-k.length)===k:w==="~="?(" "+E.replace(nu," ")+" ").indexOf(k)>-1:w==="|="?E===k||E.slice(0,k.length+1)===k+"-":!1):!0}},CHILD:function(m,w,k,N,E){var D=m.slice(0,3)!=="nth",z=m.slice(-4)!=="last",H=w==="of-type";return N===1&&E===0?function(I){return!!I.parentNode}:function(I,L,U){var X,ae,ve,G,ge,$e,de=D!==z?"nextSibling":"previousSibling",At=I.parentNode,Cn=H&&I.nodeName.toLowerCase(),nn=!U&&!H,ze=!1;if(At){if(D){for(;de;){for(G=I;G=G[de];)if(H?G.nodeName.toLowerCase()===Cn:G.nodeType===1)return!1;$e=de=m==="only"&&!$e&&"nextSibling"}return!0}if($e=[z?At.firstChild:At.lastChild],z&&nn){for(G=At,ve=G[me]||(G[me]={}),ae=ve[G.uniqueID]||(ve[G.uniqueID]={}),X=ae[m]||[],ge=X[0]===mt&&X[1],ze=ge&&X[2],G=ge&&At.childNodes[ge];G=++ge&&G&&G[de]||(ze=ge=0)||$e.pop();)if(G.nodeType===1&&++ze&&G===I){ae[m]=[mt,ge,ze];break}}else if(nn&&(G=I,ve=G[me]||(G[me]={}),ae=ve[G.uniqueID]||(ve[G.uniqueID]={}),X=ae[m]||[],ge=X[0]===mt&&X[1],ze=ge),ze===!1)for(;(G=++ge&&G&&G[de]||(ze=ge=0)||$e.pop())&&!((H?G.nodeName.toLowerCase()===Cn:G.nodeType===1)&&++ze&&(nn&&(ve=G[me]||(G[me]={}),ae=ve[G.uniqueID]||(ve[G.uniqueID]={}),ae[m]=[mt,ze]),G===I)););return ze-=E,ze===N||ze%N===0&&ze/N>=0}}},PSEUDO:function(m,w){var k,N=V.pseudos[m]||V.setFilters[m.toLowerCase()]||e.error("unsupported pseudo: "+m);return N[me]?N(w):N.length>1?(k=[m,m,"",w],V.setFilters.hasOwnProperty(m.toLowerCase())?n(function(E,D){for(var z,H=N(E,w),I=H.length;I--;)z=qt(E,H[I]),E[z]=!(D[z]=H[I])}):function(E){return N(E,0,k)}):N}},pseudos:{not:n(function(C){var m=[],w=[],k=ie(C.replace(tr,"$1"));return k[me]?n(function(N,E,D,z){for(var H,I=k(N,null,z,[]),L=N.length;L--;)(H=I[L])&&(N[L]=!(E[L]=H))}):function(N,E,D){return m[0]=N,k(m,null,D,w),m[0]=null,!w.pop()}}),has:n(function(C){return function(m){return e(C,m).length>0}}),contains:n(function(C){return C=C.replace(gt,yt),function(m){return(m.textContent||Fe(m)).indexOf(C)>-1}}),lang:n(function(C){return au.test(C||"")||e.error("unsupported lang: "+C),C=C.replace(gt,yt).toLowerCase(),function(m){var w;do if(w=Ae?m.lang:m.getAttribute("xml:lang")||m.getAttribute("lang"))return w=w.toLowerCase(),w===C||w.indexOf(C+"-")===0;while((m=m.parentNode)&&m.nodeType===1);return!1}}),target:function(m){var w=s.location&&s.location.hash;return w&&w.slice(1)===m.id},root:function(m){return m===Se},focus:function(m){return m===Z.activeElement&&(!Z.hasFocus||Z.hasFocus())&&!!(m.type||m.href||~m.tabIndex)},enabled:y(!1),disabled:y(!0),checked:function(m){var w=m.nodeName.toLowerCase();return w==="input"&&!!m.checked||w==="option"&&!!m.selected},selected:function(m){return m.parentNode&&m.parentNode.selectedIndex,m.selected===!0},empty:function(m){for(m=m.firstChild;m;m=m.nextSibling)if(m.nodeType<6)return!1;return!0},parent:function(m){return!V.pseudos.empty(m)},header:function(m){return lu.test(m.nodeName)},input:function(m){return uu.test(m.nodeName)},button:function(m){var w=m.nodeName.toLowerCase();return w==="input"&&m.type==="button"||w==="button"},text:function(m){var w;return m.nodeName.toLowerCase()==="input"&&m.type==="text"&&((w=m.getAttribute("type"))==null||w.toLowerCase()==="text")},first:A(function(){return[0]}),last:A(function(C,m){return[m-1]}),eq:A(function(C,m,w){return[w<0?w+m:w]}),even:A(function(C,m){for(var w=0;wm?m:w;--k>=0;)C.push(k);return C}),gt:A(function(C,m,w){for(var k=w<0?w+m:w;++k-1&&(D[L]=!(z[L]=X))}}else de=Y(de===z?de.splice(G,de.length):de),N?N(null,z,de,I):Ct.apply(z,de)})}function Kr(C){for(var m,w,k,N=C.length,E=V.relative[C[0].type],D=E||V.relative[" "],z=E?1:0,H=S(function(U){return U===m},D,!0),I=S(function(U){return qt(m,U)>-1},D,!0),L=[function(U,X,ae){var ve=!E&&(ae||X!==Lt)||((m=X).nodeType?H(U,X,ae):I(U,X,ae));return m=null,ve}];z1&&q(L),z>1&&M(C.slice(0,z-1).concat({value:C[z-2].type===" "?"*":""})).replace(tr,"$1"),w,z2&&(z=D[0]).type==="ID"&&w.nodeType===9&&Ae&&V.relative[D[1].type]){if(w=(V.find.ID(z.matches[0].replace(gt,yt),w)||[])[0],w)L&&(w=w.parentNode);else return k;m=m.slice(D.shift().value.length)}for(E=nr.needsContext.test(m)?0:D.length;E--&&(z=D[E],!V.relative[H=z.type]);)if((I=V.find[H])&&(N=I(z.matches[0].replace(gt,yt),Gr.test(D[0].type)&&O(w.parentNode)||w))){if(D.splice(E,1),m=N.length&&M(D),!m)return Ct.apply(k,N),k;break}}return(L||ie(m,U))(N,w,!Ae,k,!w||Gr.test(m)&&O(w.parentNode)||w),k},oe.sortStable=me.split("").sort(Ur).join("")===me,oe.detectDuplicates=!!De,qe(),oe.sortDetached=i(function(C){return C.compareDocumentPosition(Z.createElement("fieldset"))&1}),i(function(C){return C.innerHTML="",C.firstChild.getAttribute("href")==="#"})||c("type|href|height|width",function(C,m,w){if(!w)return C.getAttribute(m,m.toLowerCase()==="type"?1:2)}),(!oe.attributes||!i(function(C){return C.innerHTML="",C.firstChild.setAttribute("value",""),C.firstChild.getAttribute("value")===""}))&&c("value",function(C,m,w){if(!w&&C.nodeName.toLowerCase()==="input")return C.defaultValue}),i(function(C){return C.getAttribute("disabled")==null})||c(Vr,function(C,m,w){var k;if(!w)return C[m]===!0?m.toLowerCase():(k=C.getAttributeNode(m))&&k.specified?k.value:null}),e}(r);a.find=It,a.expr=It.selectors,a.expr[":"]=a.expr.pseudos,a.uniqueSort=a.unique=It.uniqueSort,a.text=It.getText,a.isXMLDoc=It.isXML,a.contains=It.contains,a.escapeSelector=It.escape;var Qt=function(e,t,n){for(var i=[],c=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(c&&a(e).is(n))break;i.push(e)}return i},yi=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},bi=a.expr.match.needsContext,wi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;a.filter=function(s,e,t){var n=e[0];return t&&(s=":not("+s+")"),e.length===1&&n.nodeType===1?a.find.matchesSelector(n,s)?[n]:[]:a.find.matches(s,a.grep(e,function(i){return i.nodeType===1}))},a.fn.extend({find:function(e){var t,n,i=this.length,c=this;if(typeof e!="string")return this.pushStack(a(e).filter(function(){for(t=0;t1?a.uniqueSort(n):n},filter:function(e){return this.pushStack(_(this,e||[],!1))},not:function(e){return this.pushStack(_(this,e||[],!0))},is:function(e){return!!_(this,typeof e=="string"&&bi.test(e)?a(e):e||[],!1).length}});var xi,vs=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ms=a.fn.init=function(e,t,n){var i,c;if(!e)return this;if(n=n||xi,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?i=[null,e,null]:i=vs.exec(e),i&&(i[1]||!t))if(i[1]){if(t=_instanceof(t,a)?t[0]:t,a.merge(this,a.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),wi.test(i[1])&&a.isPlainObject(t))for(i in t)J(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}else return c=te.getElementById(i[2]),c&&(this[0]=c,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(J(e))return n.ready!==void 0?n.ready(e):e(a)}return a.makeArray(e,this)};ms.prototype=a.fn,xi=a(te);var gs=/^(?:parents|prev(?:Until|All))/,ys={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({has:function(e){var t=a(e,this),n=t.length;return this.filter(function(){for(var i=0;i-1:n.nodeType===1&&a.find.matchesSelector(n,e))){f.push(n);break}}return this.pushStack(f.length>1?a.uniqueSort(f):f)},index:function(e){return e?typeof e=="string"?Vn.call(a(e),this[0]):Vn.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(a.uniqueSort(a.merge(this.get(),a(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),a.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Qt(e,"parentNode")},parentsUntil:function(e,t,n){return Qt(e,"parentNode",n)},next:function(e){return T(e,"nextSibling")},prev:function(e){return T(e,"previousSibling")},nextAll:function(e){return Qt(e,"nextSibling")},prevAll:function(e){return Qt(e,"previousSibling")},nextUntil:function(e,t,n){return Qt(e,"nextSibling",n)},prevUntil:function(e,t,n){return Qt(e,"previousSibling",n)},siblings:function(e){return yi((e.parentNode||{}).firstChild,e)},children:function(e){return yi(e.firstChild)},contents:function(e){return e.contentDocument!=null&&hi(e.contentDocument)?e.contentDocument:(b(e,"template")&&(e=e.content||e),a.merge([],e.childNodes))}},function(s,e){a.fn[s]=function(t,n){var i=a.map(this,e,t);return s.slice(-5)!=="Until"&&(n=t),n&&typeof n=="string"&&(i=a.filter(n,i)),this.length>1&&(ys[s]||a.uniqueSort(i),gs.test(s)&&i.reverse()),this.pushStack(i)}});var ot=/[^\x20\t\r\n\f]+/g;a.Callbacks=function(s){s=typeof s=="string"?R(s):a.extend({},s);var e,t,n,i,c=[],f=[],d=-1,x=function(){for(i=i||s.once,n=e=!0;f.length;d=-1)for(t=f.shift();++d-1;)c.splice(M,1),M<=d&&d--}),this},has:function(O){return O?a.inArray(O,c)>-1:c.length>0},empty:function(){return c&&(c=[]),this},disable:function(){return i=f=[],c=t="",this},disabled:function(){return!c},lock:function(){return i=f=[],!t&&!e&&(c=t=""),this},locked:function(){return!!i},fireWith:function(O,P){return i||(P=P||[],P=[O,P.slice?P.slice():P],f.push(P),e||x()),this},fire:function(){return y.fireWith(this,arguments),this},fired:function(){return!!n}};return y},a.extend({Deferred:function(e){var t=[["notify","progress",a.Callbacks("memory"),a.Callbacks("memory"),2],["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),0,"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return c.done(arguments).fail(arguments),this},catch:function(d){return i.then(null,d)},pipe:function(){var d=arguments;return a.Deferred(function(x){a.each(t,function(y,A){var O=J(d[A[4]])&&d[A[4]];c[A[1]](function(){var P=O&&O.apply(this,arguments);P&&J(P.promise)?P.promise().progress(x.notify).done(x.resolve).fail(x.reject):x[A[0]+"With"](this,O?[P]:arguments)})}),d=null}).promise()},then:function(d,x,y){var A=0;function O(P,M,S,q){return function(){var re=this,Y=arguments,it=function(){var V,Fe;if(!(P=A&&(S!==F&&(re=void 0,Y=[oe]),M.rejectWith(re,Y))}};P?pe():(a.Deferred.getStackHook&&(pe.stackTrace=a.Deferred.getStackHook()),r.setTimeout(pe))}}return a.Deferred(function(P){t[0][3].add(O(0,P,J(y)?y:B,P.notifyWith)),t[1][3].add(O(0,P,J(d)?d:B)),t[2][3].add(O(0,P,J(x)?x:F))}).promise()},promise:function(d){return d!=null?a.extend(d,i):i}},c={};return a.each(t,function(f,d){var x=d[2],y=d[5];i[d[1]]=x.add,y&&x.add(function(){n=y},t[3-f][2].disable,t[3-f][3].disable,t[0][2].lock,t[0][3].lock),x.add(d[3].fire),c[d[0]]=function(){return c[d[0]+"With"](this===c?void 0:this,arguments),this},c[d[0]+"With"]=x.fireWith}),i.promise(c),e&&e.call(c,c),c},when:function(e){var t=arguments.length,n=t,i=Array(n),c=St.call(arguments),f=a.Deferred(),d=function(y){return function(A){i[y]=this,c[y]=arguments.length>1?St.call(arguments):A,--t||f.resolveWith(i,c)}};if(t<=1&&(ue(e,f.done(d(n)).resolve,f.reject,!t),f.state()==="pending"||J(c[n]&&c[n].then)))return f.then();for(;n--;)ue(c[n],d(n),f.reject);return f.promise()}});var bs=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;a.Deferred.exceptionHook=function(s,e){r.console&&r.console.warn&&s&&bs.test(s.name)&&r.console.warn("jQuery.Deferred exception: "+s.message,s.stack,e)},a.readyException=function(s){r.setTimeout(function(){throw s})};var Rr=a.Deferred();a.fn.ready=function(s){return Rr.then(s).catch(function(e){a.readyException(e)}),this},a.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--a.readyWait:a.isReady)||(a.isReady=!0,!(e!==!0&&--a.readyWait>0)&&Rr.resolveWith(te,[a]))}}),a.ready.then=Rr.then;function Yn(){te.removeEventListener("DOMContentLoaded",Yn),r.removeEventListener("load",Yn),a.ready()}te.readyState==="complete"||te.readyState!=="loading"&&!te.documentElement.doScroll?r.setTimeout(a.ready):(te.addEventListener("DOMContentLoaded",Yn),r.addEventListener("load",Yn));var pt=function(s,e,t,n,i,c,f){var d=0,x=s.length,y=t==null;if(h(t)==="object"){i=!0;for(d in t)pt(s,e,d,t[d],!0,c,f)}else if(n!==void 0&&(i=!0,J(n)||(f=!0),y&&(f?(e.call(s,n),e=null):(y=e,e=function(O,P,M){return y.call(a(O),M)})),e))for(;d1,null,!0)},removeData:function(e){return this.each(function(){Pe.remove(this,e)})}}),a.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=W.get(e,t),n&&(!i||Array.isArray(n)?i=W.access(e,t,a.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=a.queue(e,t),i=n.length,c=n.shift(),f=a._queueHooks(e,t),d=function(){a.dequeue(e,t)};c==="inprogress"&&(c=n.shift(),i--),c&&(t==="fx"&&n.unshift("inprogress"),delete f.stop,c.call(e,d,f)),!i&&f&&f.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return W.get(e,n)||W.access(e,n,{empty:a.Callbacks("once memory").add(function(){W.remove(e,[t+"queue",n])})})}}),a.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,Ci=/^$|^module$|\/(?:java|ecma)script/i;(function(){var s=te.createDocumentFragment(),e=s.appendChild(te.createElement("div")),t=te.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),le.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",le.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",le.option=!!e.lastChild})();var Be={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td,le.option||(Be.optgroup=Be.option=[1,""]);var Cs=/<|&#?\w+;/,Ai=/^([^.]*)(?:\.(.+)|)/;function Pr(s,e,t,n,i,c){var f,d;if(typeof e=="object"){typeof t!="string"&&(n=n||t,t=void 0);for(d in e)Pr(s,d,t,n,e[d],c);return s}if(n==null&&i==null?(i=t,n=t=void 0):i==null&&(typeof t=="string"?(i=n,n=void 0):(i=n,n=t,t=void 0)),i===!1)i=Oe;else if(!i)return s;return c===1&&(f=i,i=function(y){return a().off(y),f.apply(this,arguments)},i.guid=f.guid||(f.guid=a.guid++)),s.each(function(){a.event.add(this,e,i,n,t)})}a.event={global:{},add:function(e,t,n,i,c){var f,d,x,y,A,O,P,M,S,q,re,Y=W.get(e);if(mn(e))for(n.handler&&(f=n,n=f.handler,c=f.selector),c&&a.find.matchesSelector(Ht,c),n.guid||(n.guid=a.guid++),(y=Y.events)||(y=Y.events=Object.create(null)),(d=Y.handle)||(d=Y.handle=function(pe){return(typeof a=="undefined"?"undefined":_typeof(a))<"u"&&a.event.triggered!==pe.type?a.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(ot)||[""],A=t.length;A--;)x=Ai.exec(t[A])||[],S=re=x[1],q=(x[2]||"").split(".").sort(),S&&(P=a.event.special[S]||{},S=(c?P.delegateType:P.bindType)||S,P=a.event.special[S]||{},O=a.extend({type:S,origType:re,data:i,handler:n,guid:n.guid,selector:c,needsContext:c&&a.expr.match.needsContext.test(c),namespace:q.join(".")},f),(M=y[S])||(M=y[S]=[],M.delegateCount=0,(!P.setup||P.setup.call(e,i,q,d)===!1)&&e.addEventListener&&e.addEventListener(S,d)),P.add&&(P.add.call(e,O),O.handler.guid||(O.handler.guid=n.guid)),c?M.splice(M.delegateCount++,0,O):M.push(O),a.event.global[S]=!0)},remove:function(e,t,n,i,c){var f,d,x,y,A,O,P,M,S,q,re,Y=W.hasData(e)&&W.get(e);if(!(!Y||!(y=Y.events))){for(t=(t||"").match(ot)||[""],A=t.length;A--;){if(x=Ai.exec(t[A])||[],S=re=x[1],q=(x[2]||"").split(".").sort(),!S){for(S in y)a.event.remove(e,S+t[A],n,i,!0);continue}for(P=a.event.special[S]||{},S=(i?P.delegateType:P.bindType)||S,M=y[S]||[],x=x[2]&&new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"),d=f=M.length;f--;)O=M[f],(c||re===O.origType)&&(!n||n.guid===O.guid)&&(!x||x.test(O.namespace))&&(!i||i===O.selector||i==="**"&&O.selector)&&(M.splice(f,1),O.selector&&M.delegateCount--,P.remove&&P.remove.call(e,O));d&&!M.length&&((!P.teardown||P.teardown.call(e,q,Y.handle)===!1)&&a.removeEvent(e,S,Y.handle),delete y[S])}a.isEmptyObject(y)&&W.remove(e,"handle events")}},dispatch:function(e){var t,n,i,c,f,d,x=new Array(arguments.length),y=a.event.fix(e),A=(W.get(this,"events")||Object.create(null))[y.type]||[],O=a.event.special[y.type]||{};for(x[0]=y,t=1;t=1)){for(;A!==this;A=A.parentNode||this)if(A.nodeType===1&&!(e.type==="click"&&A.disabled===!0)){for(f=[],d={},n=0;n-1:a.find(c,this,null,[A]).length),d[c]&&f.push(i);f.length&&x.push({elem:A,handlers:f})}}return A=this,y\s*$/g;function en(s,e,t,n){e=pi(e);var i,c,f,d,x,y,A=0,O=s.length,P=O-1,M=e[0],S=J(M);if(S||O>1&&typeof M=="string"&&!le.checkClone&&Ts.test(M))return s.each(function(q){var re=s.eq(q);S&&(e[0]=M.call(this,q,re.html())),en(re,e,t,n)});if(O&&(i=kt(e,s[0].ownerDocument,!1,s,n),c=i.firstChild,i.childNodes.length===1&&(i=c),c||n)){for(f=a.map(ke(i,"script"),Wn),d=f.length;A0&&tt(d,!y&&ke(e,"script")),x},cleanData:function(e){for(var t,n,i,c=a.event.special,f=0;(n=e[f])!==void 0;f++)if(mn(n)){if(t=n[W.expando]){if(t.events)for(i in t.events)c[i]?a.event.remove(n,i):a.removeEvent(n,i,t.handle);n[W.expando]=void 0}n[Pe.expando]&&(n[Pe.expando]=void 0)}}}),a.fn.extend({detach:function(e){return Yt(this,e,!0)},remove:function(e){return Yt(this,e)},text:function(e){return pt(this,function(t){return t===void 0?a.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return en(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=ft(this,e);t.appendChild(e)}})},prepend:function(){return en(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=ft(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return en(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return en(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(a.cleanData(ke(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e!=null?e:!1,t=t!=null?t:e,this.map(function(){return a.clone(this,e,t)})},html:function(e){return pt(this,function(t){var n=this[0]||{},i=0,c=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!As.test(t)&&!Be[(Si.exec(t)||["",""])[1].toLowerCase()]){t=a.htmlPrefilter(t);try{for(;i1)}});function Me(s,e,t,n,i){return new Me.prototype.init(s,e,t,n,i)}a.Tween=Me,Me.prototype={constructor:Me,init:function(e,t,n,i,c,f){this.elem=e,this.prop=n,this.easing=c||a.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=f||(a.cssNumber[n]?"":"px")},cur:function(){var e=Me.propHooks[this.prop];return e&&e.get?e.get(this):Me.propHooks._default.get(this)},run:function(e){var t,n=Me.propHooks[this.prop];return this.options.duration?this.pos=t=a.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Me.propHooks._default.set(this),this}},Me.prototype.init.prototype=Me.prototype,Me.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=a.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){a.fx.step[e.prop]?a.fx.step[e.prop](e):e.elem.nodeType===1&&(a.cssHooks[e.prop]||e.elem.style[jr(e.prop)]!=null)?a.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Me.propHooks.scrollTop=Me.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},a.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},a.fx=Me.prototype.init,a.fx.step={};var tn,Qn,zs=/^(?:toggle|show|hide)$/,Ns=/queueHooks$/;function Hr(){Qn&&(te.hidden===!1&&r.requestAnimationFrame?r.requestAnimationFrame(Hr):r.setTimeout(Hr,a.fx.interval),a.fx.tick())}function Ve(s,e,t){var n,i,c=0,f=Ve.prefilters.length,d=a.Deferred().always(function(){delete x.elem}),x=function(){if(i)return!1;for(var P=tn||li(),M=Math.max(0,y.startTime+y.duration-P),S=M/y.duration||0,q=1-S,re=0,Y=y.tweens.length;re1)},removeAttr:function(e){return this.each(function(){a.removeAttr(this,e)})}}),a.extend({attr:function(e,t,n){var i,c,f=e.nodeType;if(!(f===3||f===8||f===2)){if(_typeof(e.getAttribute)>"u")return a.prop(e,t,n);if((f!==1||!a.isXMLDoc(e))&&(c=a.attrHooks[t.toLowerCase()]||(a.expr.match.bool.test(t)?zi:void 0)),n!==void 0){if(n===null){a.removeAttr(e,t);return}return c&&"set"in c&&(i=c.set(e,n,t))!==void 0?i:(e.setAttribute(t,n+""),n)}return c&&"get"in c&&(i=c.get(e,t))!==null?i:(i=a.find.attr(e,t),i!=null?i:void 0)}},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&t==="radio"&&b(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,c=t&&t.match(ot);if(c&&e.nodeType===1)for(;n=c[i++];)e.removeAttribute(n)}}),zi={set:function(e,t,n){return t===!1?a.removeAttr(e,n):e.setAttribute(n,n),n}},a.each(a.expr.match.bool.source.match(/\w+/g),function(s,e){var t=wn[e]||a.find.attr;wn[e]=function(n,i,c){var f,d,x=i.toLowerCase();return c||(d=wn[x],wn[x]=f,f=t(n,i,c)!=null?x:null,wn[x]=d),f}});var Rs=/^(?:input|select|textarea|button)$/i,Ps=/^(?:a|area)$/i;a.fn.extend({prop:function(e,t){return pt(this,a.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[a.propFix[e]||e]})}}),a.extend({prop:function(e,t,n){var i,c,f=e.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!a.isXMLDoc(e))&&(t=a.propFix[t]||t,c=a.propHooks[t]),n!==void 0?c&&"set"in c&&(i=c.set(e,n,t))!==void 0?i:e[t]=n:c&&"get"in c&&(i=c.get(e,t))!==null?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=a.find.attr(e,"tabindex");return t?parseInt(t,10):Rs.test(e.nodeName)||Ps.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),le.optSelected||(a.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),a.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){a.propFix[this.toLowerCase()]=this}),a.fn.extend({addClass:function(e){var t,n,i,c,f,d;return J(e)?this.each(function(x){a(this).addClass(e.call(this,x,Mt(this)))}):(t=$r(e),t.length?this.each(function(){if(i=Mt(this),n=this.nodeType===1&&" "+Pt(i)+" ",n){for(f=0;f-1;)n=n.replace(" "+c+" "," ");d=Pt(n),i!==d&&this.setAttribute("class",d)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,i,c,f,d=typeof e=="undefined"?"undefined":_typeof(e),x=d==="string"||Array.isArray(e);return J(e)?this.each(function(y){a(this).toggleClass(e.call(this,y,Mt(this),t),t)}):typeof t=="boolean"&&x?t?this.addClass(e):this.removeClass(e):(n=$r(e),this.each(function(){if(x)for(f=a(this),c=0;c-1)return!0;return!1}});var Ms=/\r/g;a.fn.extend({val:function(e){var t,n,i,c=this[0];return arguments.length?(i=J(e),this.each(function(f){var d;this.nodeType===1&&(i?d=e.call(this,f,a(this).val()):d=e,d==null?d="":typeof d=="number"?d+="":Array.isArray(d)&&(d=a.map(d,function(x){return x==null?"":x+""})),t=a.valHooks[this.type]||a.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,d,"value")===void 0)&&(this.value=d))})):c?(t=a.valHooks[c.type]||a.valHooks[c.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(c,"value"))!==void 0?n:(n=c.value,typeof n=="string"?n.replace(Ms,""):n!=null?n:"")):void 0}}),a.extend({valHooks:{option:{get:function(e){var t=a.find.attr(e,"value");return t!=null?t:Pt(a.text(e))}},select:{get:function(e){var t,n,i,c=e.options,f=e.selectedIndex,d=e.type==="select-one",x=d?null:[],y=d?f+1:c.length;for(f<0?i=y:i=d?f:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),f}}}}),a.each(["radio","checkbox"],function(){a.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=a.inArray(a(e).val(),t)>-1}},le.checkOn||(a.valHooks[this].get=function(s){return s.getAttribute("value")===null?"on":s.value})}),le.focusin="onfocusin"in r;var Ni=/^(?:focusinfocus|focusoutblur)$/,Ri=function(e){e.stopPropagation()};a.extend(a.event,{trigger:function(e,t,n,i){var c,f,d,x,y,A,O,P,M=[n||te],S=Gn.call(e,"type")?e.type:e,q=Gn.call(e,"namespace")?e.namespace.split("."):[];if(f=P=d=n=n||te,!(n.nodeType===3||n.nodeType===8)&&!Ni.test(S+a.event.triggered)&&(S.indexOf(".")>-1&&(q=S.split("."),S=q.shift(),q.sort()),y=S.indexOf(":")<0&&"on"+S,e=e[a.expando]?e:new a.Event(S,typeof e=="object"&&e),e.isTrigger=i?2:3,e.namespace=q.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:a.makeArray(t,[e]),O=a.event.special[S]||{},!(!i&&O.trigger&&O.trigger.apply(n,t)===!1))){if(!i&&!O.noBubble&&!Jt(n)){for(x=O.delegateType||S,Ni.test(x+S)||(f=f.parentNode);f;f=f.parentNode)M.push(f),d=f;d===(n.ownerDocument||te)&&M.push(d.defaultView||d.parentWindow||r)}for(c=0;(f=M[c++])&&!e.isPropagationStopped();)P=f,e.type=c>1?x:O.bindType||S,A=(W.get(f,"events")||Object.create(null))[e.type]&&W.get(f,"handle"),A&&A.apply(f,t),A=y&&f[y],A&&A.apply&&mn(f)&&(e.result=A.apply(f,t),e.result===!1&&e.preventDefault());return e.type=S,!i&&!e.isDefaultPrevented()&&(!O._default||O._default.apply(M.pop(),t)===!1)&&mn(n)&&y&&J(n[S])&&!Jt(n)&&(d=n[y],d&&(n[y]=null),a.event.triggered=S,e.isPropagationStopped()&&P.addEventListener(S,Ri),n[S](),e.isPropagationStopped()&&P.removeEventListener(S,Ri),a.event.triggered=void 0,d&&(n[y]=d)),e.result}},simulate:function(e,t,n){var i=a.extend(new a.Event,n,{type:e,isSimulated:!0});a.event.trigger(i,null,t)}}),a.fn.extend({trigger:function(e,t){return this.each(function(){a.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return a.event.trigger(e,t,n,!0)}}),le.focusin||a.each({focus:"focusin",blur:"focusout"},function(s,e){var t=function(i){a.event.simulate(e,i.target,a.event.fix(i))};a.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,c=W.access(i,e);c||i.addEventListener(s,t,!0),W.access(i,e,(c||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,c=W.access(i,e)-1;c?W.access(i,e,c):(i.removeEventListener(s,t,!0),W.remove(i,e))}}});var xn=r.location,Pi={guid:Date.now()},Lr=/\?/;a.parseXML=function(s){var e,t;if(!s||typeof s!="string")return null;try{e=new r.DOMParser().parseFromString(s,"text/xml")}catch(n){}return t=e&&e.getElementsByTagName("parsererror")[0],(!e||t)&&a.error("Invalid XML: "+(t?a.map(t.childNodes,function(n){return n.textContent}).join("\n"):s)),e};var Is=/\[\]$/,Mi=/\r?\n/g,Hs=/^(?:submit|button|image|reset|file)$/i,Ls=/^(?:input|select|textarea|keygen)/i;function Br(s,e,t,n){var i;if(Array.isArray(e))a.each(e,function(c,f){t||Is.test(s)?n(s,f):Br(s+"["+(typeof f=="object"&&f!=null?c:"")+"]",f,t,n)});else if(!t&&h(e)==="object")for(i in e)Br(s+"["+i+"]",e[i],t,n);else n(s,e)}a.param=function(s,e){var t,n=[],i=function(f,d){var x=J(d)?d():d;n[n.length]=encodeURIComponent(f)+"="+encodeURIComponent(x!=null?x:"")};if(s==null)return"";if(Array.isArray(s)||s.jquery&&!a.isPlainObject(s))a.each(s,function(){i(this.name,this.value)});else for(t in s)Br(t,s[t],e,i);return n.join("&")},a.fn.extend({serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=a.prop(this,"elements");return e?a.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!a(this).is(":disabled")&&Ls.test(this.nodeName)&&!Hs.test(e)&&(this.checked||!bn.test(e))}).map(function(e,t){var n=a(this).val();return n==null?null:Array.isArray(n)?a.map(n,function(i){return{name:t.name,value:i.replace(Mi,"\r\n")}}):{name:t.name,value:n.replace(Mi,"\r\n")}}).get()}});var Bs=/%20/g,Fs=/#.*$/,qs=/([?&])_=[^&]*/,Ws=/^(.*?):[ \t]*([^\r\n]*)$/mg,Us=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Vs=/^(?:GET|HEAD)$/,Xs=/^\/\//,Ii={},Fr={},Hi="*/".concat("*"),qr=te.createElement("a");qr.href=xn.href,a.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xn.href,type:"GET",isLocal:Us.test(xn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":a.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zr(zr(e,a.ajaxSettings),t):zr(a.ajaxSettings,e)},ajaxPrefilter:fi(Ii),ajaxTransport:fi(Fr),ajax:function(e,t){var n=function(ie,be,Lt,at){var De,qe,Z,Se,Ae,ce=be;A||(A=!0,x&&r.clearTimeout(x),i=void 0,f=at||"",ne.readyState=ie>0?4:0,De=ie>=200&&ie<300||ie===304,Lt&&(Se=fs(S,ne,Lt)),!De&&a.inArray("script",S.dataTypes)>-1&&a.inArray("json",S.dataTypes)<0&&(S.converters["text script"]=function(){}),Se=ds(S,Se,ne,De),De?(S.ifModified&&(Ae=ne.getResponseHeader("Last-Modified"),Ae&&(a.lastModified[c]=Ae),Ae=ne.getResponseHeader("etag"),Ae&&(a.etag[c]=Ae)),ie===204||S.type==="HEAD"?ce="nocontent":ie===304?ce="notmodified":(ce=Se.state,qe=Se.data,Z=Se.error,De=!Z)):(Z=ce,(ie||!ce)&&(ce="error",ie<0&&(ie=0))),ne.status=ie,ne.statusText=(be||ce)+"",De?Y.resolveWith(q,[qe,ce,ne]):Y.rejectWith(q,[ne,ce,Z]),ne.statusCode(pe),pe=void 0,O&&re.trigger(De?"ajaxSuccess":"ajaxError",[ne,S,De?qe:Z]),it.fireWith(q,[ne,ce]),O&&(re.trigger("ajaxComplete",[ne,S]),--a.active||a.event.trigger("ajaxStop")))};typeof e=="object"&&(t=e,e=void 0),t=t||{};var i,c,f,d,x,y,A,O,P,M,S=a.ajaxSetup({},t),q=S.context||S,re=S.context&&(q.nodeType||q.jquery)?a(q):a.event,Y=a.Deferred(),it=a.Callbacks("once memory"),pe=S.statusCode||{},oe={},V={},Fe="canceled",ne={readyState:0,getResponseHeader:function(ie){var be;if(A){if(!d)for(d={};be=Ws.exec(f);)d[be[1].toLowerCase()+" "]=(d[be[1].toLowerCase()+" "]||[]).concat(be[2]);be=d[ie.toLowerCase()+" "]}return be==null?null:be.join(", ")},getAllResponseHeaders:function(){return A?f:null},setRequestHeader:function(ie,be){return A==null&&(ie=V[ie.toLowerCase()]=V[ie.toLowerCase()]||ie,oe[ie]=be),this},overrideMimeType:function(ie){return A==null&&(S.mimeType=ie),this},statusCode:function(ie){var be;if(ie)if(A)ne.always(ie[ne.status]);else for(be in ie)pe[be]=[pe[be],ie[be]];return this},abort:function(ie){var be=ie||Fe;return i&&i.abort(be),n(0,be),this}};if(Y.promise(ne),S.url=((e||S.url||xn.href)+"").replace(Xs,xn.protocol+"//"),S.type=t.method||t.type||S.method||S.type,S.dataTypes=(S.dataType||"*").toLowerCase().match(ot)||[""],S.crossDomain==null){y=te.createElement("a");try{y.href=S.url,y.href=y.href,S.crossDomain=qr.protocol+"//"+qr.host!=y.protocol+"//"+y.host}catch(Ee){S.crossDomain=!0}}if(S.data&&S.processData&&typeof S.data!="string"&&(S.data=a.param(S.data,S.traditional)),di(Ii,S,t,ne),A)return ne;O=a.event&&S.global,O&&a.active++===0&&a.event.trigger("ajaxStart"),S.type=S.type.toUpperCase(),S.hasContent=!Vs.test(S.type),c=S.url.replace(Fs,""),S.hasContent?S.data&&S.processData&&(S.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(S.data=S.data.replace(Bs,"+")):(M=S.url.slice(c.length),S.data&&(S.processData||typeof S.data=="string")&&(c+=(Lr.test(c)?"&":"?")+S.data,delete S.data),S.cache===!1&&(c=c.replace(qs,"$1"),M=(Lr.test(c)?"&":"?")+"_="+Pi.guid+++M),S.url=c+M),S.ifModified&&(a.lastModified[c]&&ne.setRequestHeader("If-Modified-Since",a.lastModified[c]),a.etag[c]&&ne.setRequestHeader("If-None-Match",a.etag[c])),(S.data&&S.hasContent&&S.contentType!==!1||t.contentType)&&ne.setRequestHeader("Content-Type",S.contentType),ne.setRequestHeader("Accept",S.dataTypes[0]&&S.accepts[S.dataTypes[0]]?S.accepts[S.dataTypes[0]]+(S.dataTypes[0]!=="*"?", "+Hi+"; q=0.01":""):S.accepts["*"]);for(P in S.headers)ne.setRequestHeader(P,S.headers[P]);if(S.beforeSend&&(S.beforeSend.call(q,ne,S)===!1||A))return ne.abort();if(Fe="abort",it.add(S.complete),ne.done(S.success),ne.fail(S.error),i=di(Fr,S,t,ne),!i)n(-1,"No Transport");else{if(ne.readyState=1,O&&re.trigger("ajaxSend",[ne,S]),A)return ne;S.async&&S.timeout>0&&(x=r.setTimeout(function(){ne.abort("timeout")},S.timeout));try{A=!1,i.send(oe,n)}catch(Ee){if(A)throw Ee;n(-1,Ee)}}return ne},getJSON:function(e,t,n){return a.get(e,t,n,"json")},getScript:function(e,t){return a.get(e,void 0,t,"script")}}),a.each(["get","post"],function(s,e){a[e]=function(t,n,i,c){return J(n)&&(c=c||i,i=n,n=void 0),a.ajax(a.extend({url:t,type:e,dataType:c,data:n,success:i},a.isPlainObject(t)&&t))}}),a.ajaxPrefilter(function(s){var e;for(e in s.headers)e.toLowerCase()==="content-type"&&(s.contentType=s.headers[e]||"")}),a._evalUrl=function(s,e,t){return a.ajax({url:s,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){a.globalEval(i,e,t)}})},a.fn.extend({wrapAll:function(e){var t;return this[0]&&(J(e)&&(e=e.call(this[0])),t=a(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return J(e)?this.each(function(t){a(this).wrapInner(e.call(this,t))}):this.each(function(){var t=a(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=J(e);return this.each(function(n){a(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){a(this).replaceWith(this.childNodes)}),this}}),a.expr.pseudos.hidden=function(s){return!a.expr.pseudos.visible(s)},a.expr.pseudos.visible=function(s){return!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},a.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(s){}};var Gs={0:200,1223:204},_n=a.ajaxSettings.xhr();le.cors=!!_n&&"withCredentials"in _n,le.ajax=_n=!!_n,a.ajaxTransport(function(s){var e,t;if(le.cors||_n&&!s.crossDomain)return{send:function(i,c){var f,d=s.xhr();if(d.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(f in s.xhrFields)d[f]=s.xhrFields[f];s.mimeType&&d.overrideMimeType&&d.overrideMimeType(s.mimeType),!s.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");for(f in i)d.setRequestHeader(f,i[f]);e=function(x){return function(){e&&(e=t=d.onload=d.onerror=d.onabort=d.ontimeout=d.onreadystatechange=null,x==="abort"?d.abort():x==="error"?typeof d.status!="number"?c(0,"error"):c(d.status,d.statusText):c(Gs[d.status]||d.status,d.statusText,(d.responseType||"text")!=="text"||typeof d.responseText!="string"?{binary:d.response}:{text:d.responseText},d.getAllResponseHeaders()))}},d.onload=e(),t=d.onerror=d.ontimeout=e("error"),d.onabort!==void 0?d.onabort=t:d.onreadystatechange=function(){d.readyState===4&&r.setTimeout(function(){e&&t()})},e=e("abort");try{d.send(s.hasContent&&s.data||null)}catch(x){if(e)throw x}},abort:function(){e&&e()}}}),a.ajaxPrefilter(function(s){s.crossDomain&&(s.contents.script=!1)}),a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(s){return a.globalEval(s),s}}}),a.ajaxPrefilter("script",function(s){s.cache===void 0&&(s.cache=!1),s.crossDomain&&(s.type="GET")}),a.ajaxTransport("script",function(s){if(s.crossDomain||s.scriptAttrs){var e,t;return{send:function(i,c){e=a("