diff --git a/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js b/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js index 706d534689b..13a73efbd65 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js +++ b/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js @@ -5,6 +5,9 @@ define(["exports"], function (_exports) { value: true }); _exports.controllerMap = _exports.AnimateController = void 0; + + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + var i = new WeakMap(); _exports.controllerMap = i; @@ -17,10 +20,10 @@ define(["exports"], function (_exports) { babelHelpers.createClass(t, [{ key: "add", value: function () { - var _add = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(i) { + var _add = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(i) { var _t2, s; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -110,8 +113,8 @@ define(["exports"], function (_exports) { }, { key: "finished", value: function () { - var _finished = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { - return regeneratorRuntime.wrap(function _callee2$(_context2) { + var _finished = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: diff --git a/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js.map b/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js.map index 84e4e0017d2..829b8eac161 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js.map +++ b/build/es5-amd/node_modules/@lit-labs/motion/animate-controller.js.map @@ -1 +1 @@ -{"version":3,"file":"animate-controller.js","sources":["src/animate-controller.ts"],"sourcesContent":["import {ReactiveControllerHost} from 'lit';\nimport {Animate, Options} from './animate.js';\n\nexport const controllerMap: WeakMap =\n new WeakMap();\n\n/**\n * AnimateController can be used to provide default configuration options to all\n * `animate()` directives in a given component.\n *\n * It also provides control over all the `animate()` animations within a given\n * component, for example, `this.animateController.pause()` pauses all animations.\n */\nexport class AnimateController {\n host: ReactiveControllerHost;\n defaultOptions: Options;\n startPaused = false;\n disabled = false;\n onComplete?: () => void;\n\n constructor(\n host: ReactiveControllerHost,\n options: {\n defaultOptions?: Options;\n startPaused?: boolean;\n disabled?: boolean;\n onComplete?: () => void;\n }\n ) {\n this.host = host;\n this.defaultOptions = options.defaultOptions || {};\n this.startPaused = !!options.startPaused;\n this.disabled = !!options.disabled;\n this.onComplete = options.onComplete;\n controllerMap.set(this.host, this);\n }\n\n /**\n * Set of active `animate()` directives in the host component\n */\n clients: Set = new Set();\n\n protected pendingComplete = false;\n\n async add(animate: Animate) {\n this.clients.add(animate);\n if (this.startPaused) {\n animate.webAnimation?.pause();\n }\n this.pendingComplete = true;\n await animate.finished;\n if (this.pendingComplete && !this.isAnimating) {\n this.pendingComplete = false;\n this.onComplete?.();\n }\n }\n\n remove(animate: Animate) {\n this.clients.delete(animate);\n }\n\n /**\n * Pauses all animations running in the host component.\n */\n pause() {\n this.clients.forEach((f) => f.webAnimation?.pause());\n }\n\n /**\n * Plays all active animations in the host component.\n */\n play() {\n this.clients.forEach((f) => f.webAnimation?.play());\n }\n\n cancel() {\n this.clients.forEach((f) => f.webAnimation?.cancel());\n this.clients.clear();\n }\n\n finish() {\n this.clients.forEach((f) => f.webAnimation?.finish());\n this.clients.clear();\n }\n\n /**\n * Toggles the play/pause state of all active `animate()` animations in the host component.\n */\n togglePlay() {\n if (this.isPlaying) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Returns true if the host component has any active `animate()` animations.\n */\n get isAnimating() {\n return this.clients.size > 0;\n }\n\n /**\n * Returns true if the host component has any playing `animate()` animations.\n */\n get isPlaying() {\n return Array.from(this.clients).some(\n (a) => a.webAnimation?.playState === 'running'\n );\n }\n\n async finished() {\n await Promise.all(Array.from(this.clients).map((f) => f.finished));\n }\n}\n"],"names":["controllerMap","WeakMap","AnimateController","constructor","host","options","this","Set","defaultOptions","startPaused","disabled","onComplete","set","async","animate","clients","add","webAnimation","pause","pendingComplete","finished","isAnimating","remove","delete","forEach","f","play","cancel","clear","finish","togglePlay","isPlaying","size","Array","from","some","a","playState","Promise","all","map"],"mappings":"MAGaA,EACX,IAAIC,cASOC,EAOXC,YACEC,EACAC,GANFC,kBAAc,EACdA,eAAW,EAuBXA,aAAwB,IAAIC,IAElBD,sBAAkB,EAb1BA,KAAKF,KAAOA,EACZE,KAAKE,eAAiBH,EAAQG,gBAAkB,GAChDF,KAAKG,cAAgBJ,EAAQI,YAC7BH,KAAKI,WAAaL,EAAQK,SAC1BJ,KAAKK,WAAaN,EAAQM,WAC1BX,EAAcY,IAAIN,KAAKF,KAAME,MAU/BO,UAAUC,WACRR,KAAKS,QAAQC,IAAIF,GACbR,KAAKG,wBACPK,EAAQG,6BAAcC,SAExBZ,KAAKa,iBAAkB,QACjBL,EAAQM,SACVd,KAAKa,kBAAoBb,KAAKe,cAChCf,KAAKa,iBAAkB,YACvBb,KAAKK,gCAALL,OAIJgB,OAAOR,GACLR,KAAKS,QAAQQ,OAAOT,GAMtBI,QACEZ,KAAKS,QAAQS,SAASC,UAAM,iBAAAA,EAAER,mCAAcC,WAM9CQ,OACEpB,KAAKS,QAAQS,SAASC,UAAM,iBAAAA,EAAER,mCAAcS,UAG9CC,SACErB,KAAKS,QAAQS,SAASC,UAAM,iBAAAA,EAAER,mCAAcU,YAC5CrB,KAAKS,QAAQa,QAGfC,SACEvB,KAAKS,QAAQS,SAASC,UAAM,iBAAAA,EAAER,mCAAcY,YAC5CvB,KAAKS,QAAQa,QAMfE,aACMxB,KAAKyB,UACPzB,KAAKY,QAELZ,KAAKoB,OAOLL,kBACF,OAAOf,KAAKS,QAAQiB,KAAO,EAMzBD,gBACF,OAAOE,MAAMC,KAAK5B,KAAKS,SAASoB,MAC7BC,UAAM,MAA8B,uBAA9BA,EAAEnB,mCAAcoB,cAI3BxB,uBACQyB,QAAQC,IAAIN,MAAMC,KAAK5B,KAAKS,SAASyB,KAAKf,GAAMA,EAAEL"} \ No newline at end of file +{"version":3,"file":"animate-controller.js","sources":["src/animate-controller.ts"],"sourcesContent":["import {ReactiveControllerHost} from 'lit';\nimport {Animate, Options} from './animate.js';\n\nexport const controllerMap: WeakMap =\n new WeakMap();\n\n/**\n * AnimateController can be used to provide default configuration options to all\n * `animate()` directives in a given component.\n *\n * It also provides control over all the `animate()` animations within a given\n * component, for example, `this.animateController.pause()` pauses all animations.\n */\nexport class AnimateController {\n host: ReactiveControllerHost;\n defaultOptions: Options;\n startPaused = false;\n disabled = false;\n onComplete?: () => void;\n\n constructor(\n host: ReactiveControllerHost,\n options: {\n defaultOptions?: Options;\n startPaused?: boolean;\n disabled?: boolean;\n onComplete?: () => void;\n }\n ) {\n this.host = host;\n this.defaultOptions = options.defaultOptions || {};\n this.startPaused = !!options.startPaused;\n this.disabled = !!options.disabled;\n this.onComplete = options.onComplete;\n controllerMap.set(this.host, this);\n }\n\n /**\n * Set of active `animate()` directives in the host component\n */\n clients: Set = new Set();\n\n protected pendingComplete = false;\n\n async add(animate: Animate) {\n this.clients.add(animate);\n if (this.startPaused) {\n animate.webAnimation?.pause();\n }\n this.pendingComplete = true;\n await animate.finished;\n if (this.pendingComplete && !this.isAnimating) {\n this.pendingComplete = false;\n this.onComplete?.();\n }\n }\n\n remove(animate: Animate) {\n this.clients.delete(animate);\n }\n\n /**\n * Pauses all animations running in the host component.\n */\n pause() {\n this.clients.forEach((f) => f.webAnimation?.pause());\n }\n\n /**\n * Plays all active animations in the host component.\n */\n play() {\n this.clients.forEach((f) => f.webAnimation?.play());\n }\n\n cancel() {\n this.clients.forEach((f) => f.webAnimation?.cancel());\n this.clients.clear();\n }\n\n finish() {\n this.clients.forEach((f) => f.webAnimation?.finish());\n this.clients.clear();\n }\n\n /**\n * Toggles the play/pause state of all active `animate()` animations in the host component.\n */\n togglePlay() {\n if (this.isPlaying) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Returns true if the host component has any active `animate()` animations.\n */\n get isAnimating() {\n return this.clients.size > 0;\n }\n\n /**\n * Returns true if the host component has any playing `animate()` animations.\n */\n get isPlaying() {\n return Array.from(this.clients).some(\n (a) => a.webAnimation?.playState === 'running'\n );\n }\n\n async finished() {\n await Promise.all(Array.from(this.clients).map((f) => f.finished));\n }\n}\n"],"names":["controllerMap","WeakMap","AnimateController","constructor","host","options","this","startPaused","disabled","clients","Set","pendingComplete","defaultOptions","onComplete","set","async","animate","add","_a","webAnimation","pause","finished","isAnimating","_b","call","remove","delete","forEach","f","play","cancel","clear","finish","togglePlay","isPlaying","size","Array","from","some","a","playState","Promise","all","map"],"mappings":"AAGa,MAAAA,EACX,IAAIC,cASOC,EAOXC,YACEC,EACAC,GANFC,KAAWC,aAAG,EACdD,KAAQE,UAAG,EAuBXF,KAAAG,QAAwB,IAAIC,IAElBJ,KAAeK,iBAAG,EAb1BL,KAAKF,KAAOA,EACZE,KAAKM,eAAiBP,EAAQO,gBAAkB,CAAA,EAChDN,KAAKC,cAAgBF,EAAQE,YAC7BD,KAAKE,WAAaH,EAAQG,SAC1BF,KAAKO,WAAaR,EAAQQ,WAC1Bb,EAAcc,IAAIR,KAAKF,KAAME,KAC9B,CASDS,UAAUC,WACRV,KAAKG,QAAQQ,IAAID,GACbV,KAAKC,cACe,QAAtBW,EAAAF,EAAQG,oBAAc,IAAAD,GAAAA,EAAAE,SAExBd,KAAKK,iBAAkB,QACjBK,EAAQK,SACVf,KAAKK,kBAAoBL,KAAKgB,cAChChB,KAAKK,iBAAkB,EACR,QAAfY,EAAAjB,KAAKO,kBAAU,IAAAU,GAAAA,EAAAC,KAAAlB,MAElB,CAEDmB,OAAOT,GACLV,KAAKG,QAAQiB,OAAOV,EACrB,CAKDI,QACEd,KAAKG,QAAQkB,SAASC,IAAK,IAAAV,EAAC,OAAc,QAAdA,EAAAU,EAAET,oBAAY,IAAAD,OAAA,EAAAA,EAAEE,OAAO,GACpD,CAKDS,OACEvB,KAAKG,QAAQkB,SAASC,IAAK,IAAAV,EAAC,OAAc,QAAdA,EAAAU,EAAET,oBAAY,IAAAD,OAAA,EAAAA,EAAEW,MAAM,GACnD,CAEDC,SACExB,KAAKG,QAAQkB,SAASC,IAAK,IAAAV,EAAC,OAAc,QAAdA,EAAAU,EAAET,oBAAY,IAAAD,OAAA,EAAAA,EAAEY,QAAQ,IACpDxB,KAAKG,QAAQsB,OACd,CAEDC,SACE1B,KAAKG,QAAQkB,SAASC,IAAK,IAAAV,EAAC,OAAc,QAAdA,EAAAU,EAAET,oBAAY,IAAAD,OAAA,EAAAA,EAAEc,QAAQ,IACpD1B,KAAKG,QAAQsB,OACd,CAKDE,aACM3B,KAAK4B,UACP5B,KAAKc,QAELd,KAAKuB,MAER,CAKGP,kBACF,OAAOhB,KAAKG,QAAQ0B,KAAO,CAC5B,CAKGD,gBACF,OAAOE,MAAMC,KAAK/B,KAAKG,SAAS6B,MAC7BC,IAAK,IAAArB,EAAC,MAA8B,aAAd,QAAhBA,EAAAqB,EAAEpB,oBAAc,IAAAD,OAAA,EAAAA,EAAAsB,UAAuB,GAEjD,CAEDzB,uBACQ0B,QAAQC,IAAIN,MAAMC,KAAK/B,KAAKG,SAASkC,KAAKf,GAAMA,EAAEP,WACzD"} \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit-labs/motion/animate.d.ts.map b/build/es5-amd/node_modules/@lit-labs/motion/animate.d.ts.map index 72f1bbbad50..6953a3467be 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/animate.d.ts.map +++ b/build/es5-amd/node_modules/@lit-labs/motion/animate.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["../src/animate.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,aAAa,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAY,QAAQ,EAAW,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAE1D,oBAAY,SAAS,GAAG;IACtB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,MAAM,EAAE,CAAC;AAQzC,oBAAY,OAAO,GAAG;IAEpB,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAE3C,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;IAEtB,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEhB,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEjB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAErC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,QAAQ,EAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,cAAc,wBAC+B,CAAC;AAG3D,eAAO,MAAM,QAAQ;;;GAAyD,CAAC;AAC/E,eAAO,MAAM,QAAQ;;;GAA0D,CAAC;AAChF,eAAO,MAAM,OAAO;;;GAA0D,CAAC;AAC/E,eAAO,MAAM,QAAQ;;;GAAyD,CAAC;AAC/E,eAAO,MAAM,IAAI,MAAO,CAAC;AACzB,eAAO,MAAM,OAAO;;GAAiB,CAAC;AACtC,eAAO,MAAM,IAAI;;GAAU,CAAC;AAC5B,eAAO,MAAM,MAAM;;GAA+B,CAAC;AACnD,eAAO,MAAM,UAAU;;;;;;IAItB,CAAC;AAYF,eAAO,MAAM,cAAc;cACf,MAAM,KAAK,MAAM;;;;aAIlB,MAAM,KAAK,MAAM;;;;eAIf,MAAM,KAAK,MAAM;;;;gBAIhB,MAAM,KAAK,MAAM;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,wBAGpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,iBAQlC,CAAC;AAyBF;;GAEG;AACH,qBAAa,OAAQ,SAAQ,cAAc;IACzC,OAAO,CAAC,KAAK,CAAC,CAAa;IAC3B,OAAO,CAAC,WAAW,CAAC,CAAY;IAChC,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,cAAc,CAAU;IAChC,OAAO,CAAC,OAAO,CAAC,CAA4B;IAC5C,OAAO,EAAG,WAAW,CAAC;IAEtB,SAAS,UAAS;IAClB,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,EAAG,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO,CAAC;IAE9C,QAAQ,EAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,OAAO,CAAC,gBAAgB,CAAC,CAAa;gBAE1B,IAAI,EAAE,QAAQ;IAU1B,cAAc;IAOR,eAAe;IAKrB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO;IAI3C,aAAa;IAIb,UAAU;IAID,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAkB1E,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,SAAS;IAqBjB,UAAU;IAeJ,WAAW;IA2DjB,WAAW;IAOX,YAAY;IAOH,WAAW;IAGL,YAAY;IAmD3B,OAAO;IAIP,KAAK;IAIL,SAAS,CAAC,UAAU,EAAE,OAAO;IAU7B,OAAO,CAAC,aAAa;IAerB,SAAS,KAAK,cAAc,YAQ3B;IAED,OAAO,CAAC,yBAAyB;IAcjC,OAAO,CAAC,yBAAyB;IAmCjC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,UAAQ;cAgC3D,OAAO,CACrB,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAC9B,OAAO,uCAA+B;IA4BxC,SAAS,CAAC,WAAW;IAMrB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO;CAKpC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,OAAO,+BAlaO,OAAO,4EAkaO,CAAC"} \ No newline at end of file +{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["../src/animate.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,aAAa,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAY,QAAQ,EAAW,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAE1D,oBAAY,SAAS,GAAG;IACtB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,MAAM,EAAE,CAAC;AAQzC,oBAAY,OAAO,GAAG;IAEpB,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAE3C,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;IAEtB,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEhB,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEjB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAErC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,QAAQ,EAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,cAAc,wBAC+B,CAAC;AAG3D,eAAO,MAAM,QAAQ;;;GAAyD,CAAC;AAC/E,eAAO,MAAM,QAAQ;;;GAA0D,CAAC;AAChF,eAAO,MAAM,OAAO;;;GAA0D,CAAC;AAC/E,eAAO,MAAM,QAAQ;;;GAAyD,CAAC;AAC/E,eAAO,MAAM,IAAI,MAAO,CAAC;AACzB,eAAO,MAAM,OAAO;;GAAiB,CAAC;AACtC,eAAO,MAAM,IAAI;;GAAU,CAAC;AAC5B,eAAO,MAAM,MAAM;;GAA+B,CAAC;AACnD,eAAO,MAAM,UAAU;;;;;;IAItB,CAAC;AAYF,eAAO,MAAM,cAAc;cACf,MAAM,KAAK,MAAM;;;;aAIlB,MAAM,KAAK,MAAM;;;;eAIf,MAAM,KAAK,MAAM;;;;gBAIhB,MAAM,KAAK,MAAM;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,wBAGpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,iBAQlC,CAAC;AAyBF;;GAEG;AACH,qBAAa,OAAQ,SAAQ,cAAc;IACzC,OAAO,CAAC,KAAK,CAAC,CAAa;IAC3B,OAAO,CAAC,WAAW,CAAC,CAAY;IAChC,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,cAAc,CAAU;IAChC,OAAO,CAAC,OAAO,CAAC,CAA4B;IAC5C,OAAO,EAAG,WAAW,CAAC;IAEtB,SAAS,UAAS;IAClB,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,EAAG,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO,CAAC;IAE9C,QAAQ,EAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,OAAO,CAAC,gBAAgB,CAAC,CAAa;gBAE1B,IAAI,EAAE,QAAQ;IAU1B,cAAc;IAOR,eAAe;IAKrB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO;IAI3C,aAAa;IAIb,UAAU;IAID,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAkB1E,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,SAAS;IAqBjB,UAAU;IAeJ,WAAW;IA2DjB,WAAW;IAOX,YAAY;IAOH,WAAW;IAGL,YAAY;IAmD3B,OAAO;IAIP,KAAK;IAIL,SAAS,CAAC,UAAU,EAAE,OAAO;IAU7B,OAAO,CAAC,aAAa;IAerB,SAAS,KAAK,cAAc,YAQ3B;IAED,OAAO,CAAC,yBAAyB;IAcjC,OAAO,CAAC,yBAAyB;IAmCjC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,UAAQ;cAgC3D,OAAO,CACrB,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAC9B,OAAO,uCAA+B;IA4BxC,SAAS,CAAC,WAAW;IAMrB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO;CAKpC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,OAAO,+BAlaO,OAAO,iFAkaO,CAAC"} \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit-labs/motion/animate.js b/build/es5-amd/node_modules/@lit-labs/motion/animate.js index f2bbdef2273..1686c8e05b1 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/animate.js +++ b/build/es5-amd/node_modules/@lit-labs/motion/animate.js @@ -17,6 +17,8 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -152,9 +154,9 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }, { key: "resolveFinished", value: function () { - var _resolveFinished = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _resolveFinished = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var t; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -245,10 +247,10 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }, { key: "hostUpdated", value: function () { - var _hostUpdated = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { - var t, i, s, e, _this$j, _s, _o, _s2, _this$j2, _o2, _n; + var _hostUpdated = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + var t, i, s, e, _this$O, _s, _o, _s2, _this$O2, _o2, _n; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -265,17 +267,17 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy return a; case 5: - i = this.A(), s = this._(this.options.keyframeOptions, i), e = this.v(); + i = this._(), s = this.A(this.options.keyframeOptions, i), e = this.v(); if (void 0 !== this.g) { - _this$j = this.j(this.g, e, i), _s = _this$j.from, _o = _this$j.to; + _this$O = this.O(this.g, e, i), _s = _this$O.from, _o = _this$O.to; this.log("measured", [this.g, e, _s, _o]), t = this.calculateKeyframes(_s, _o); } else { _s2 = r.get(this.options.inId); if (_s2) { r.delete(this.options.inId); - _this$j2 = this.j(_s2, e, i), _o2 = _this$j2.from, _n = _this$j2.to; + _this$O2 = this.O(_s2, e, i), _o2 = _this$O2.from, _n = _this$O2.to; t = this.calculateKeyframes(_o2, _n), t = this.options.in ? [_objectSpread(_objectSpread({}, this.options.in[0]), t[0])].concat(babelHelpers.toConsumableArray(this.options.in.slice(1)), [t[1]]) : t, h++, t.forEach(function (t) { return t.zIndex = h; }); @@ -302,13 +304,13 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy key: "resetStyles", value: function resetStyles() { var t; - void 0 !== this.S && (this.element.setAttribute("style", null !== (t = this.S) && void 0 !== t ? t : ""), this.S = void 0); + void 0 !== this.P && (this.element.setAttribute("style", null !== (t = this.P) && void 0 !== t ? t : ""), this.P = void 0); } }, { key: "commitStyles", value: function commitStyles() { var t, i; - this.S = this.element.getAttribute("style"), null === (t = this.webAnimation) || void 0 === t || t.commitStyles(), null === (i = this.webAnimation) || void 0 === i || i.cancel(); + this.P = this.element.getAttribute("style"), null === (t = this.webAnimation) || void 0 === t || t.commitStyles(), null === (i = this.webAnimation) || void 0 === i || i.cancel(); } }, { key: "reconnected", @@ -316,10 +318,10 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }, { key: "disconnected", value: function () { - var _disconnected = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { + var _disconnected = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { var t, _t, _t2, _i, _s3, i; - return regeneratorRuntime.wrap(function _callee3$(_context3) { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: @@ -359,7 +361,7 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy } case 10: - i = this._(this.options.keyframeOptions); + i = this.A(this.options.keyframeOptions); _context3.next = 13; return this.animate(this.options.out, i); @@ -398,8 +400,8 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy t && (null === (s = (i = this.options).onComplete) || void 0 === s || s.call(i, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished(); } }, { - key: "A", - value: function A() { + key: "_", + value: function _() { var t = []; for (var _i2 = this.element.parentNode; _i2; _i2 = null == _i2 ? void 0 : _i2.parentNode) { @@ -421,9 +423,9 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }), t; } }, { - key: "_", - value: function _(t) { - var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.A(); + key: "A", + value: function A(t) { + var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._(); var s = _objectSpread({}, b); @@ -432,8 +434,8 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }), Object.assign(s, t), s; } }, { - key: "j", - value: function j(t, i, s) { + key: "O", + value: function O(t, i, s) { t = _objectSpread({}, t), i = _objectSpread({}, i); var e = s.map(function (t) { return t.animatingProperties; @@ -478,13 +480,13 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy }, { key: "animate", value: function () { - var _animate = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(t) { + var _animate = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(t) { var i, s, _e2, _args4 = arguments; - return regeneratorRuntime.wrap(function _callee4$(_context4) { + return _regeneratorRuntime().wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: diff --git a/build/es5-amd/node_modules/@lit-labs/motion/animate.js.map b/build/es5-amd/node_modules/@lit-labs/motion/animate.js.map index 5f83d3cd7d5..c0ba4e03796 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/animate.js.map +++ b/build/es5-amd/node_modules/@lit-labs/motion/animate.js.map @@ -1 +1 @@ -{"version":3,"file":"animate.js","sources":["src/animate.ts"],"sourcesContent":["import {LitElement, ReactiveControllerHost} from 'lit';\nimport {nothing, AttributePart} from 'lit/html.js';\nimport {directive, PartInfo, PartType} from 'lit/directive.js';\nimport {AsyncDirective} from 'lit/async-directive.js';\nimport {controllerMap} from './animate-controller.js';\nexport {AnimateController} from './animate-controller.js';\n\nexport type CSSValues = {\n [index: string]: string | number;\n};\n\nexport type CSSPropertiesList = string[];\n\n// zIndex for \"in\" animations\nlet z = 0;\n\nconst disconnectedProps: Map = new Map();\nconst renderedHosts: WeakSet = new WeakSet();\n\nexport type Options = {\n // Options used for the animation\n keyframeOptions?: KeyframeAnimationOptions;\n // List of css properties to animate\n properties?: CSSPropertiesList;\n // if `true`, the `animate` is disabled\n disabled?: boolean;\n // Callback run to produce a value which is dirty checked to determine if animation should run.\n guard?: () => unknown;\n // Id for this `animate`; used to link to other `animate`s via e.g. `inId`\n id?: unknown;\n // Set to the `animate` id to map to when rendering \"in\"\n inId?: unknown;\n // Keyframes to use when animating \"in\"\n in?: Keyframe[];\n // Keyframes to use when animating \"out\"\n out?: Keyframe[];\n // Set to true to match DOM position when animating \"out\"\n stabilizeOut?: boolean;\n // Skips animation when initially rendering\n skipInitial?: boolean;\n // Callback run when the `animate` animation starts\n onStart?: (animate: Animate) => void;\n // Callback run when the animation is complete\n onComplete?: (animate: Animate) => void;\n // Callback run to modify frames used to animate\n onFrames?: (animate: Animate) => Keyframe[] | undefined;\n};\n\nexport const animationFrame = () =>\n new Promise((resolve) => requestAnimationFrame(resolve));\n\n// Presets for animating \"in\" and \"out\" of the DOM.\nexport const flyBelow = [{transform: 'translateY(100%) scale(0)', opacity: 0}];\nexport const flyAbove = [{transform: 'translateY(-100%) scale(0)', opacity: 0}];\nexport const flyLeft = [{transform: 'translateX(-100%) scale(0)', opacity: 0}];\nexport const flyRight = [{transform: 'translateX(100%) scale(0)', opacity: 0}];\nexport const none = [{}];\nexport const fadeOut = [{opacity: 0}];\nexport const fade = fadeOut;\nexport const fadeIn = [{opacity: 0}, {opacity: 1}];\nexport const fadeInSlow = [\n {opacity: 0},\n {opacity: 0.25, offset: 0.75},\n {opacity: 1},\n];\n\nconst diffOp = (a: number, b: number) => {\n const v = a - b;\n return v === 0 ? undefined : v;\n};\nconst quotientOp = (a: number, b: number) => {\n const v = a / b;\n return v === 1 ? undefined : v;\n};\n\n// Computes a transform given a before and after input for given properties.\nexport const transformProps = {\n left: (a: number, b: number) => {\n const value = diffOp(a, b);\n return {value, transform: value && `translateX(${value}px)`};\n },\n top: (a: number, b: number) => {\n const value = diffOp(a, b);\n return {value, transform: value && `translateY(${value}px)`};\n },\n width: (a: number, b: number) => {\n const value = quotientOp(a, b);\n return {value, transform: value && `scaleX(${value})`};\n },\n height: (a: number, b: number) => {\n const value = quotientOp(a, b);\n return {value, transform: value && `scaleY(${value})`};\n },\n};\n\nexport const defaultKeyframeOptions: KeyframeAnimationOptions = {\n duration: 333,\n easing: `ease-in-out`,\n};\n\nexport const defaultCssProperties: CSSPropertiesList = [\n 'left',\n 'top',\n 'width',\n 'height',\n 'opacity',\n 'color',\n 'background',\n];\n\n// Dirty checks the value received from the `guard` option.\nconst isDirty = (value: unknown, previous: unknown) => {\n if (Array.isArray(value)) {\n // Dirty-check arrays by item\n if (\n Array.isArray(previous) &&\n previous.length === value.length &&\n value.every((v, i) => v === (previous as Array)[i])\n ) {\n return false;\n }\n } else if (previous === value) {\n // Dirty-check non-arrays by identity\n return false;\n }\n return true;\n};\n\n// Mapping of node on which the `animate` directive is used to the `animate` directive.\n// Used to get the ancestor `animate` animations (which are used to modify\n// `animate` transforms), done by ascending the DOM.\nconst nodeToAnimateMap: WeakMap = new WeakMap();\n\n/**\n * `animate` directive class. Animates a node's position between renders.\n */\nexport class Animate extends AsyncDirective {\n private _host?: LitElement;\n private _fromValues?: CSSValues;\n private _parentNode: Element | null = null;\n private _nextSibling: Node | null = null;\n private _shouldAnimate = true;\n private _previousValue: unknown;\n private _styles?: string | undefined | null;\n element!: HTMLElement;\n\n shouldLog = false;\n animatingProperties?: CSSValues;\n frames?: Keyframe[];\n webAnimation?: Animation;\n options!: Options;\n optionsOrCallback?: (() => Options) | Options;\n\n finished!: Promise;\n private _resolveFinished?: () => void;\n\n constructor(part: PartInfo) {\n super(part);\n if (part.type === PartType.CHILD) {\n throw new Error(\n 'The `animate` directive must be used in attribute position.'\n );\n }\n this.createFinished();\n }\n\n createFinished() {\n this.resolveFinished?.();\n this.finished = new Promise((r) => {\n this._resolveFinished = r;\n });\n }\n\n async resolveFinished() {\n this._resolveFinished?.();\n this._resolveFinished = undefined;\n }\n\n render(_options?: (() => Options) | Options) {\n return nothing;\n }\n\n getController() {\n return controllerMap.get(this._host!);\n }\n\n isDisabled() {\n return this.options.disabled || this.getController()?.disabled;\n }\n\n override update(part: AttributePart, [options]: Parameters) {\n const firstUpdate = this._host === undefined;\n if (firstUpdate) {\n this._host = part.options?.host as LitElement;\n this._host.addController(this);\n this.element = part.element;\n nodeToAnimateMap.set(this.element, this);\n }\n this.optionsOrCallback = options;\n if (firstUpdate || typeof options !== 'function') {\n this._setOptions(options as Options);\n }\n return this.render(options);\n }\n\n // TODO(sorvell): instead of a function/object, just use an object that the\n // user can mutate and create accessors for the data that do lookups as needed.\n // We're doing this every hostUpdate anyway and these lookups are fast.\n private _setOptions(options?: Options) {\n options = options ?? {};\n // Mixin controller options.\n const controller = this.getController();\n if (controller !== undefined) {\n options = {\n ...controller.defaultOptions,\n ...options,\n };\n options.keyframeOptions = {\n ...controller.defaultOptions.keyframeOptions,\n ...options.keyframeOptions,\n };\n }\n // Ensure there are some properties to animation and some animation options.\n options!.properties ??= defaultCssProperties;\n this.options = options;\n }\n\n // Measures and returns metrics for the element's bounding box and styling\n private _measure() {\n const props: CSSValues = {};\n const bounds = this.element.getBoundingClientRect();\n const computedStyle = getComputedStyle(this.element);\n this.options.properties!.forEach((p) => {\n const v =\n bounds[p as keyof typeof bounds] ??\n (!transformProps[p as keyof typeof transformProps]\n ? computedStyle[p as keyof CSSStyleDeclaration]\n : undefined);\n const asNum = Number(v);\n props[p] = isNaN(asNum) ? String(v) : asNum;\n });\n return props;\n }\n\n // Returns true if a `animate` should be started.\n private _canStart() {\n let dirty = true,\n value = undefined;\n if (this.options.guard) {\n value = this.options.guard();\n dirty = isDirty(value, this._previousValue);\n }\n this._shouldAnimate =\n this._host!.hasUpdated &&\n !this.isDisabled() &&\n !this.isAnimating() &&\n dirty &&\n this.element.isConnected;\n if (this._shouldAnimate) {\n // Copy the value if it's an array so that if it's mutated we don't forget\n // what the previous values were.\n this._previousValue = Array.isArray(value) ? Array.from(value) : value;\n }\n return this._shouldAnimate;\n }\n\n hostUpdate() {\n // TODO(sorvell): If options will change that will affect measuring,\n // then the user must pass a callback which can be called at update time.\n if (typeof this.optionsOrCallback === 'function') {\n this._setOptions(this.optionsOrCallback());\n }\n if (this._canStart()) {\n this._fromValues = this._measure();\n // Record parent and nextSibling used to re-attach node when animating \"out\"\n this._parentNode =\n this._parentNode ?? (this.element.parentNode as Element);\n this._nextSibling = this.element.nextSibling;\n }\n }\n\n async hostUpdated() {\n if (\n !this._shouldAnimate ||\n !this.element.isConnected ||\n (this.options.skipInitial && !this.isHostRendered)\n ) {\n return;\n }\n this.prepare();\n // Wait for rendering so any sub-elements have a chance to render.\n await animationFrame;\n let frames: Keyframe[] | undefined;\n const ancestors = this._getAncestors();\n // These inherit from ancestors. This allows easier synchronization of\n // child `animate`s within ancestor `animate`s.\n const animationOptions = this._calculateKeyframeOptions(\n this.options.keyframeOptions,\n ancestors\n );\n const toValues = this._measure();\n // Normal or inverse scale\n if (this._fromValues !== undefined) {\n const {from, to} = this._applyAncestorAdjustments(\n this._fromValues,\n toValues,\n ancestors\n );\n this.log('measured', [this._fromValues, toValues, from, to]);\n frames = this.calculateKeyframes(from, to);\n // \"In\" `animate`.\n } else {\n const disconnected = disconnectedProps.get(this.options.inId);\n if (disconnected) {\n // use disconnected data only once.\n disconnectedProps.delete(this.options.inId);\n const {from, to} = this._applyAncestorAdjustments(\n disconnected!,\n toValues,\n ancestors\n );\n frames = this.calculateKeyframes(from, to);\n // \"merge\" with \"in\" frames\n frames = this.options.in\n ? [\n {...this.options.in[0], ...frames![0]},\n ...this.options.in.slice(1),\n frames![1],\n ]\n : frames;\n // adjust z so always on top...\n z++;\n frames!.forEach((f) => (f.zIndex = z));\n } else if (this.options.in) {\n frames = [...this.options.in, {}];\n }\n }\n this.animate(frames, animationOptions);\n }\n\n resetStyles() {\n if (this._styles !== undefined) {\n this.element.setAttribute('style', this._styles ?? '');\n this._styles = undefined;\n }\n }\n\n commitStyles() {\n this._styles = this.element.getAttribute('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.webAnimation as any)?.commitStyles();\n this.webAnimation?.cancel();\n }\n\n override reconnected() {}\n\n // Experimental animate out functionality.\n override async disconnected() {\n if (!this._shouldAnimate) {\n return;\n }\n if (this.options.id !== undefined) {\n disconnectedProps.set(this.options.id, this._fromValues!);\n }\n if (this.options.out === undefined) {\n return;\n }\n this.prepare();\n await animationFrame();\n if (this._parentNode?.isConnected) {\n // put element back in DOM\n const ref =\n this._nextSibling && this._nextSibling.parentNode === this._parentNode\n ? this._nextSibling\n : null;\n this._parentNode.insertBefore(this.element, ref);\n // Optionally move element back to its position before it was detached.\n if (this.options.stabilizeOut) {\n // Measure current position after re-attaching.\n const shifted = this._measure();\n this.log('stabilizing out');\n // TODO(sorvell): these nudges could conflict with existing styling\n // or animation but setting left/top should be rare, especially via\n // animation.\n const left =\n (this._fromValues!.left as number) - (shifted.left as number);\n const top = (this._fromValues!.top as number) - (shifted.top as number);\n const isStatic = getComputedStyle(this.element).position === 'static';\n if (isStatic && (left !== 0 || top !== 0)) {\n this.element.style.position = 'relative';\n }\n if (left !== 0) {\n this.element.style.left = left + 'px';\n }\n if (top !== 0) {\n this.element.style.top = top + 'px';\n }\n }\n }\n // These inherit from ancestors. This allows easier synchronization of\n // child `animate`s within ancestor `animate`s.\n const keyframeOptions = this._calculateKeyframeOptions(\n this.options.keyframeOptions\n );\n await this.animate(this.options.out, keyframeOptions);\n this.element.remove();\n }\n\n prepare() {\n this.createFinished();\n }\n\n start() {\n this.options.onStart?.(this);\n }\n\n didFinish(didAnimate: boolean) {\n if (didAnimate) {\n this.options.onComplete?.(this);\n }\n this._fromValues = undefined;\n this.animatingProperties = undefined;\n this.frames = undefined;\n this.resolveFinished();\n }\n\n private _getAncestors() {\n const ancestors = [];\n for (\n let p: Node | null | undefined = this.element.parentNode;\n p;\n p = p?.parentNode\n ) {\n const a = nodeToAnimateMap.get(p!);\n if (a && !a.isDisabled() && a) {\n ancestors.push(a);\n }\n }\n return ancestors;\n }\n\n protected get isHostRendered() {\n const hostRendered = renderedHosts.has(this._host!);\n if (!hostRendered) {\n this._host!.updateComplete.then(() => {\n renderedHosts.add(this._host!);\n });\n }\n return hostRendered;\n }\n\n private _calculateKeyframeOptions(\n options: KeyframeAnimationOptions | undefined,\n ancestors: Animate[] = this._getAncestors()\n ) {\n // merges this `animate`'s options over ancestor options over defaults\n const keyframeOptions = {...defaultKeyframeOptions};\n ancestors.forEach((a) =>\n Object.assign(keyframeOptions, a.options.keyframeOptions)\n );\n Object.assign(keyframeOptions, options);\n return keyframeOptions;\n }\n\n // Adjust position based on ancestor scaling.\n private _applyAncestorAdjustments(\n from: CSSValues,\n to: CSSValues,\n ancestors: Animate[]\n ) {\n from = {...from};\n to = {...to};\n const ancestorProps = ancestors\n .map((a) => a.animatingProperties)\n .filter((a) => a !== undefined) as CSSValues[];\n let dScaleX = 1;\n let dScaleY = 1;\n if (ancestorProps !== undefined) {\n // gather scaling data for ancestors\n ancestorProps.forEach((a) => {\n if (a.width) {\n dScaleX = dScaleX / (a.width as number);\n }\n if (a.height) {\n dScaleY = dScaleY / (a.height as number);\n }\n });\n // Move position by ancestor scaling amount.\n if (from.left !== undefined && to.left !== undefined) {\n from.left = dScaleX * (from.left as number);\n to.left = dScaleX * (to.left as number);\n }\n if (from.top !== undefined && to.top !== undefined) {\n from.top = dScaleY * (from.top as number);\n to.top = dScaleY * (to.top as number);\n }\n }\n return {from, to};\n }\n\n protected calculateKeyframes(from: CSSValues, to: CSSValues, center = false) {\n const fromFrame: Keyframe = {};\n const toFrame: Keyframe = {};\n let hasFrames = false;\n const props: CSSValues = {};\n for (const p in to) {\n const f = from[p],\n t = to[p];\n if (p in transformProps) {\n const tp = transformProps[p as keyof typeof transformProps];\n if (f === undefined || t === undefined) {\n continue;\n }\n const op = tp(f as number, t as number);\n if (op.transform !== undefined) {\n props[p] = op.value!;\n hasFrames = true;\n fromFrame.transform = `${fromFrame.transform ?? ''} ${op.transform}`;\n }\n } else if (f !== t && f !== undefined && t !== undefined) {\n hasFrames = true;\n fromFrame[p] = f;\n toFrame[p] = t;\n }\n }\n fromFrame.transformOrigin = toFrame.transformOrigin = center\n ? 'center center'\n : 'top left';\n this.animatingProperties = props;\n return hasFrames ? [fromFrame, toFrame] : undefined;\n }\n\n protected async animate(\n frames: Keyframe[] | undefined,\n options = this.options.keyframeOptions\n ) {\n this.start();\n this.frames = frames;\n let didAnimate = false;\n if (!this.isAnimating() && !this.isDisabled()) {\n if (this.options.onFrames) {\n this.frames = frames = this.options.onFrames(this);\n this.log('modified frames', frames);\n }\n if (frames !== undefined) {\n this.log('animate', [frames, options]);\n didAnimate = true;\n this.webAnimation = this.element.animate(frames, options);\n const controller = this.getController();\n controller?.add(this);\n try {\n await this.webAnimation.finished;\n } catch (e) {\n // cancelled.\n }\n controller?.remove(this);\n }\n }\n this.didFinish(didAnimate);\n return didAnimate;\n }\n\n protected isAnimating() {\n return (\n this.webAnimation?.playState === 'running' || this.webAnimation?.pending\n );\n }\n\n log(message: string, data?: unknown) {\n if (this.shouldLog && !this.isDisabled()) {\n console.log(message, this.options.id, data);\n }\n }\n}\n\n/**\n * The `animate` directive animates a node's layout between renders.\n * It will perform a \"tweening\" animation between the two states based on\n * the options given. In addition, elements can animate when they initially\n * render to DOM and when they are removed.\n *\n * Options include:\n * * animationOptions: configure animation via standard KeyframeAnimationOptions\n * * properties: list of properties to animate, defaults to\n * ['left', 'top','width', 'height', 'opacity', 'color', 'background']\n * * disabled: disables animation\n * * guard: function producing values that must change for the `animate` to run\n * * in: keyframes to use when animating in\n * * out: keyframes to use when animating out\n * * skipInitial: skip animating in the first time\n * * id: used to link to other `animate`s via `inId`\n * * inId: id of the `animate` to render from when animating in\n * * onStart: run when the `animate` starts\n * * onComplete: run when the `animate` completes\n * * onFrames: run when the frames are produces, use to modify frames\n */\nexport const animate = directive(Animate);\n"],"names":["z","disconnectedProps","Map","renderedHosts","WeakSet","animationFrame","Promise","resolve","requestAnimationFrame","flyBelow","transform","opacity","flyAbove","flyLeft","flyRight","none","fadeOut","fade","fadeIn","fadeInSlow","offset","diffOp","a","b","v","undefined","quotientOp","transformProps","left","value","top","width","height","defaultKeyframeOptions","duration","easing","defaultCssProperties","nodeToAnimateMap","WeakMap","Animate","AsyncDirective","constructor","part","super","this","type","PartType","CHILD","Error","createFinished","resolveFinished","finished","r","_resolveFinished","async","render","_options","nothing","getController","controllerMap","get","_host","isDisabled","options","disabled","update","firstUpdate","host","addController","element","set","optionsOrCallback","_setOptions","controller","defaultOptions","keyframeOptions","properties","_measure","props","bounds","getBoundingClientRect","computedStyle","getComputedStyle","forEach","p","asNum","Number","isNaN","String","_canStart","dirty","guard","previous","Array","isArray","length","every","i","isDirty","_previousValue","_shouldAnimate","hasUpdated","isAnimating","isConnected","from","hostUpdate","_fromValues","_parentNode","parentNode","_nextSibling","nextSibling","skipInitial","isHostRendered","frames","prepare","ancestors","_getAncestors","animationOptions","_calculateKeyframeOptions","toValues","to","_applyAncestorAdjustments","log","calculateKeyframes","disconnected","inId","delete","in","slice","f","zIndex","animate","resetStyles","_styles","setAttribute","commitStyles","getAttribute","webAnimation","cancel","reconnected","id","out","ref","insertBefore","stabilizeOut","shifted","position","style","remove","start","onStart","didFinish","didAnimate","onComplete","animatingProperties","push","hostRendered","has","updateComplete","then","add","Object","assign","ancestorProps","map","filter","dScaleX","dScaleY","center","fromFrame","toFrame","hasFrames","t","tp","op","transformOrigin","onFrames","e","playState","pending","message","data","shouldLog","console","directive"],"mappings":"wQAcA,IAAIA,EAAI,EAER,MAAMC,EAA6C,IAAIC,IACjDC,EAAiD,IAAIC,QA+B9CC,EAAiB,IAC5B,IAAIC,SAASC,GAAYC,sBAAsBD,KAGpCE,EAAW,CAAC,CAACC,UAAW,4BAA6BC,QAAS,IAC9DC,EAAW,CAAC,CAACF,UAAW,6BAA8BC,QAAS,IAC/DE,EAAU,CAAC,CAACH,UAAW,6BAA8BC,QAAS,IAC9DG,EAAW,CAAC,CAACJ,UAAW,4BAA6BC,QAAS,IAC9DI,EAAO,CAAC,IACRC,EAAU,CAAC,CAACL,QAAS,IACrBM,EAAOD,EACPE,EAAS,CAAC,CAACP,QAAS,GAAI,CAACA,QAAS,IAClCQ,EAAa,CACxB,CAACR,QAAS,GACV,CAACA,QAAS,IAAMS,OAAQ,KACxB,CAACT,QAAS,IAGNU,EAAS,CAACC,EAAWC,KACzB,MAAMC,EAAIF,EAAIC,EACd,OAAa,IAANC,OAAUC,EAAYD,GAEzBE,EAAa,CAACJ,EAAWC,KAC7B,MAAMC,EAAIF,EAAIC,EACd,OAAa,IAANC,OAAUC,EAAYD,GAIlBG,EAAiB,CAC5BC,KAAM,CAACN,EAAWC,KAChB,MAAMM,EAAQR,EAAOC,EAAGC,GACxB,MAAO,CAACM,MAAAA,EAAOnB,UAAWmB,GAAS,cAAcA,SAEnDC,IAAK,CAACR,EAAWC,KACf,MAAMM,EAAQR,EAAOC,EAAGC,GACxB,MAAO,CAACM,MAAAA,EAAOnB,UAAWmB,GAAS,cAAcA,SAEnDE,MAAO,CAACT,EAAWC,KACjB,MAAMM,EAAQH,EAAWJ,EAAGC,GAC5B,MAAO,CAACM,MAAAA,EAAOnB,UAAWmB,GAAS,UAAUA,OAE/CG,OAAQ,CAACV,EAAWC,KAClB,MAAMM,EAAQH,EAAWJ,EAAGC,GAC5B,MAAO,CAACM,MAAAA,EAAOnB,UAAWmB,GAAS,UAAUA,QAIpCI,EAAmD,CAC9DC,SAAU,IACVC,OAAQ,eAGGC,EAA0C,CACrD,OACA,MACA,QACA,SACA,UACA,QACA,cAwBIC,EAA2C,IAAIC,cAKxCC,UAAgBC,EAoB3BC,YAAYC,GAEV,GADAC,MAAMD,GAlBAE,OAA8B,KAC9BA,OAA4B,KAC5BA,QAAiB,EAKzBA,gBAAY,EAYNF,EAAKG,OAASC,EAASC,MACzB,MAAUC,MACR,+DAGJJ,KAAKK,iBAGPA,iCACEL,KAAKM,qCAALN,MACAA,KAAKO,SAAW,IAAI7C,SAAS8C,IAC3BR,KAAKS,EAAmBD,KAI5BE,wCACEV,KAAKS,uBAALT,MACAA,KAAKS,OAAmB5B,EAG1B8B,OAAOC,GACL,OAAOC,EAGTC,gBACE,OAAOC,EAAcC,IAAIhB,KAAKiB,GAGhCC,mBACE,OAAOlB,KAAKmB,QAAQC,qBAAYpB,KAAKc,sCAAiBM,UAG/CC,OAAOvB,GAAsBqB,UACpC,MAAMG,OAA6BzC,IAAfmB,KAAKiB,EAWzB,OAVIK,IACFtB,KAAKiB,YAAQnB,EAAKqB,8BAASI,KAC3BvB,KAAKiB,EAAMO,cAAcxB,MACzBA,KAAKyB,QAAU3B,EAAK2B,QACpBhC,EAAiBiC,IAAI1B,KAAKyB,QAASzB,OAErCA,KAAK2B,kBAAoBR,GACrBG,GAAkC,mBAAZH,IACxBnB,KAAK4B,EAAYT,GAEZnB,KAAKW,OAAOQ,GAMbS,EAAYT,WAClBA,EAAUA,MAAAA,EAAAA,EAAW,GAErB,MAAMU,EAAa7B,KAAKc,qBACLjC,IAAfgD,KACFV,EAAU,IACLU,EAAWC,kBACXX,IAEGY,gBAAkB,IACrBF,EAAWC,eAAeC,mBAC1BZ,EAAQY,+BAIfZ,GAASa,4BAAAA,WAAexC,GACxBQ,KAAKmB,QAAUA,EAITc,IACN,MAAMC,EAAmB,GACnBC,EAASnC,KAAKyB,QAAQW,wBACtBC,EAAgBC,iBAAiBtC,KAAKyB,SAU5C,OATAzB,KAAKmB,QAAQa,WAAYO,SAASC,UAChC,MAAM5D,YACJuD,EAAOK,kBACLzD,EAAeyD,QAEb3D,EADAwD,EAAcG,GAEdC,EAAQC,OAAO9D,GACrBsD,EAAMM,GAAKG,MAAMF,GAAgB7D,EAAPgE,GAAYH,KAEjCP,EAIDW,IACN,IACE5D,EADE6D,GAAQ,EAiBZ,OAfI9C,KAAKmB,QAAQ4B,QACf9D,EAAQe,KAAKmB,QAAQ4B,QACrBD,EA3IU,EAAC7D,EAAgB+D,KAC/B,GAAIC,MAAMC,QAAQjE,IAEhB,GACEgE,MAAMC,QAAQF,IACdA,EAASG,SAAWlE,EAAMkE,QAC1BlE,EAAMmE,OAAM,CAACxE,EAAGyE,IAAMzE,IAAOoE,EAA4BK,KAEzD,OAAO,OAEJ,GAAIL,IAAa/D,EAEtB,OAAO,EAET,OAAO,GA6HKqE,CAAQrE,EAAOe,KAAKuD,IAE9BvD,KAAKwD,EACHxD,KAAKiB,EAAOwC,aACXzD,KAAKkB,eACLlB,KAAK0D,eACNZ,GACA9C,KAAKyB,QAAQkC,YACX3D,KAAKwD,IAGPxD,KAAKuD,EAAiBN,MAAMC,QAAQjE,GAASgE,MAAMW,KAAK3E,GAASA,GAE5De,KAAKwD,EAGdK,mBAGwC,mBAA3B7D,KAAK2B,mBACd3B,KAAK4B,EAAY5B,KAAK2B,qBAEpB3B,KAAK6C,MACP7C,KAAK8D,EAAc9D,KAAKiC,IAExBjC,KAAK+D,YACH/D,KAAK+D,iBAAgB/D,KAAKyB,QAAQuC,WACpChE,KAAKiE,EAAejE,KAAKyB,QAAQyC,aAIrCxD,oBACE,IACGV,KAAKwD,IACLxD,KAAKyB,QAAQkC,aACb3D,KAAKmB,QAAQgD,cAAgBnE,KAAKoE,eAEnC,OAKF,IAAIC,EAHJrE,KAAKsE,gBAEC7G,EAEN,MAAM8G,EAAYvE,KAAKwE,IAGjBC,EAAmBzE,KAAK0E,EAC5B1E,KAAKmB,QAAQY,gBACbwC,GAEII,EAAW3E,KAAKiC,IAEtB,QAAyBpD,IAArBmB,KAAK8D,EAA2B,CAClC,MAAMF,KAACA,EAAIgB,GAAEA,GAAM5E,KAAK6E,EACtB7E,KAAK8D,EACLa,EACAJ,GAEFvE,KAAK8E,IAAI,WAAY,CAAC9E,KAAK8D,EAAaa,EAAUf,EAAMgB,IACxDP,EAASrE,KAAK+E,mBAAmBnB,EAAMgB,OAElC,CACL,MAAMI,EAAe3H,EAAkB2D,IAAIhB,KAAKmB,QAAQ8D,MACxD,GAAID,EAAc,CAEhB3H,EAAkB6H,OAAOlF,KAAKmB,QAAQ8D,MACtC,MAAMrB,KAACA,EAAIgB,GAAEA,GAAM5E,KAAK6E,EACtBG,EACAL,EACAJ,GAEFF,EAASrE,KAAK+E,mBAAmBnB,EAAMgB,GAEvCP,EAASrE,KAAKmB,QAAQgE,GAClB,CACE,IAAInF,KAAKmB,QAAQgE,GAAG,MAAOd,EAAQ,OAChCrE,KAAKmB,QAAQgE,GAAGC,MAAM,GACzBf,EAAQ,IAEVA,EAEJjH,IACAiH,EAAQ9B,SAAS8C,GAAOA,EAAEC,OAASlI,SAC1B4C,KAAKmB,QAAQgE,KACtBd,EAAS,IAAIrE,KAAKmB,QAAQgE,GAAI,KAGlCnF,KAAKuF,QAAQlB,EAAQI,GAGvBe,yBACuB3G,IAAjBmB,KAAKyF,IACPzF,KAAKyB,QAAQiE,aAAa,kBAAS1F,KAAKyF,iBAAW,IACnDzF,KAAKyF,OAAU5G,GAInB8G,uBACE3F,KAAKyF,EAAUzF,KAAKyB,QAAQmE,aAAa,mBAExC5F,KAAK6F,6BAAsBF,yBAC5B3F,KAAK6F,6BAAcC,SAGZC,eAGArF,2BACP,IAAKV,KAAKwD,EACR,OAKF,QAHwB3E,IAApBmB,KAAKmB,QAAQ6E,IACf3I,EAAkBqE,IAAI1B,KAAKmB,QAAQ6E,GAAIhG,KAAK8D,QAErBjF,IAArBmB,KAAKmB,QAAQ8E,IACf,OAIF,GAFAjG,KAAKsE,gBACC7G,cACFuC,KAAK+D,wBAAaJ,YAAa,CAEjC,MAAMuC,EACJlG,KAAKiE,GAAgBjE,KAAKiE,EAAaD,aAAehE,KAAK+D,EACvD/D,KAAKiE,EACL,KAGN,GAFAjE,KAAK+D,EAAYoC,aAAanG,KAAKyB,QAASyE,GAExClG,KAAKmB,QAAQiF,aAAc,CAE7B,MAAMC,EAAUrG,KAAKiC,IACrBjC,KAAK8E,IAAI,mBAIT,MAAM9F,EACHgB,KAAK8D,EAAa9E,KAAmBqH,EAAQrH,KAC1CE,EAAOc,KAAK8D,EAAa5E,IAAkBmH,EAAQnH,MACI,WAA5CoD,iBAAiBtC,KAAKyB,SAAS6E,WACtB,IAATtH,GAAsB,IAARE,IAC7Bc,KAAKyB,QAAQ8E,MAAMD,SAAW,YAEnB,IAATtH,IACFgB,KAAKyB,QAAQ8E,MAAMvH,KAAOA,EAAO,MAEvB,IAARE,IACFc,KAAKyB,QAAQ8E,MAAMrH,IAAMA,EAAM,OAMrC,MAAM6C,EAAkB/B,KAAK0E,EAC3B1E,KAAKmB,QAAQY,uBAET/B,KAAKuF,QAAQvF,KAAKmB,QAAQ8E,IAAKlE,GACrC/B,KAAKyB,QAAQ+E,SAGflC,UACEtE,KAAKK,iBAGPoG,6BACEzG,KAAKmB,SAAQuF,+BAAU1G,MAGzB2G,UAAUC,WACJA,iBACF5G,KAAKmB,SAAQ0F,kCAAa7G,OAE5BA,KAAK8D,OAAcjF,EACnBmB,KAAK8G,yBAAsBjI,EAC3BmB,KAAKqE,YAASxF,EACdmB,KAAKM,kBAGCkE,IACN,MAAMD,EAAY,GAClB,IACE,IAAI/B,EAA6BxC,KAAKyB,QAAQuC,WAC9CxB,EACAA,EAAIA,MAAAA,SAAAA,EAAGwB,WACP,CACA,MAAMtF,EAAIe,EAAiBuB,IAAIwB,GAC3B9D,IAAMA,EAAEwC,cAAgBxC,GAC1B6F,EAAUwC,KAAKrI,GAGnB,OAAO6F,EAGKH,qBACZ,MAAM4C,EAAezJ,EAAc0J,IAAIjH,KAAKiB,GAM5C,OALK+F,GACHhH,KAAKiB,EAAOiG,eAAeC,MAAK,KAC9B5J,EAAc6J,IAAIpH,KAAKiB,MAGpB+F,EAGDtC,EACNvD,EACAoD,EAAuBvE,KAAKwE,KAG5B,MAAMzC,EAAkB,IAAI1C,GAK5B,OAJAkF,EAAUhC,SAAS7D,GACjB2I,OAAOC,OAAOvF,EAAiBrD,EAAEyC,QAAQY,mBAE3CsF,OAAOC,OAAOvF,EAAiBZ,GACxBY,EAID8C,EACNjB,EACAgB,EACAL,GAEAX,EAAO,IAAIA,GACXgB,EAAK,IAAIA,GACT,MAAM2C,EAAgBhD,EACnBiD,KAAK9I,GAAMA,EAAEoI,sBACbW,QAAQ/I,QAAYG,IAANH,IACjB,IAAIgJ,EAAU,EACVC,EAAU,EAqBd,YApBsB9I,IAAlB0I,IAEFA,EAAchF,SAAS7D,IACjBA,EAAES,QACJuI,GAAqBhJ,EAAES,OAErBT,EAAEU,SACJuI,GAAqBjJ,EAAEU,gBAITP,IAAd+E,EAAK5E,WAAkCH,IAAZ+F,EAAG5F,OAChC4E,EAAK5E,KAAO0I,EAAW9D,EAAK5E,KAC5B4F,EAAG5F,KAAO0I,EAAW9C,EAAG5F,WAETH,IAAb+E,EAAK1E,UAAgCL,IAAX+F,EAAG1F,MAC/B0E,EAAK1E,IAAMyI,EAAW/D,EAAK1E,IAC3B0F,EAAG1F,IAAMyI,EAAW/C,EAAG1F,MAGpB,CAAC0E,KAAAA,EAAMgB,GAAAA,GAGNG,mBAAmBnB,EAAiBgB,EAAegD,GAAS,SACpE,MAAMC,EAAsB,GACtBC,EAAoB,GAC1B,IAAIC,GAAY,EAChB,MAAM7F,EAAmB,GACzB,IAAK,MAAMM,KAAKoC,EAAI,CAClB,MAAMS,EAAIzB,EAAKpB,GACbwF,EAAIpD,EAAGpC,GACT,GAAIA,KAAKzD,EAAgB,CACvB,MAAMkJ,EAAKlJ,EAAeyD,GAC1B,QAAU3D,IAANwG,QAAyBxG,IAANmJ,EACrB,SAEF,MAAME,EAAKD,EAAG5C,EAAa2C,QACNnJ,IAAjBqJ,EAAGpK,YACLoE,EAAMM,GAAK0F,EAAGjJ,MACd8I,GAAY,EACZF,EAAU/J,UAAY,aAAG+J,EAAU/J,yBAAa,MAAMoK,EAAGpK,kBAElDuH,IAAM2C,QAAWnJ,IAANwG,QAAyBxG,IAANmJ,IACvCD,GAAY,EACZF,EAAUrF,GAAK6C,EACfyC,EAAQtF,GAAKwF,GAOjB,OAJAH,EAAUM,gBAAkBL,EAAQK,gBAAkBP,EAClD,gBACA,WACJ5H,KAAK8G,oBAAsB5E,EACpB6F,EAAY,CAACF,EAAWC,QAAWjJ,EAGlC6B,cACR2D,EACAlD,EAAUnB,KAAKmB,QAAQY,iBAEvB/B,KAAKyG,QACLzG,KAAKqE,OAASA,EACd,IAAIuC,GAAa,EACjB,IAAK5G,KAAK0D,gBAAkB1D,KAAKkB,eAC3BlB,KAAKmB,QAAQiH,WACfpI,KAAKqE,OAASA,EAASrE,KAAKmB,QAAQiH,SAASpI,MAC7CA,KAAK8E,IAAI,kBAAmBT,SAEfxF,IAAXwF,GAAsB,CACxBrE,KAAK8E,IAAI,UAAW,CAACT,EAAQlD,IAC7ByF,GAAa,EACb5G,KAAK6F,aAAe7F,KAAKyB,QAAQ8D,QAAQlB,EAAQlD,GACjD,MAAMU,EAAa7B,KAAKc,gBACxBe,MAAAA,GAAAA,EAAYuF,IAAIpH,MAChB,UACQA,KAAK6F,aAAatF,SACxB,MAAO8H,IAGTxG,MAAAA,GAAAA,EAAY2E,OAAOxG,MAIvB,OADAA,KAAK2G,UAAUC,GACRA,EAGClD,sBACR,MACmC,uBAAjC1D,KAAK6F,mCAAcyC,uBAA2BtI,KAAK6F,mCAAc0C,SAIrEzD,IAAI0D,EAAiBC,GACfzI,KAAK0I,YAAc1I,KAAKkB,cAC1ByH,QAAQ7D,IAAI0D,EAASxI,KAAKmB,QAAQ6E,GAAIyC,UA0B/BlD,EAAUqD,EAAUjJ"} \ No newline at end of file +{"version":3,"file":"animate.js","sources":["src/animate.ts"],"sourcesContent":["import {LitElement, ReactiveControllerHost} from 'lit';\nimport {nothing, AttributePart} from 'lit/html.js';\nimport {directive, PartInfo, PartType} from 'lit/directive.js';\nimport {AsyncDirective} from 'lit/async-directive.js';\nimport {controllerMap} from './animate-controller.js';\nexport {AnimateController} from './animate-controller.js';\n\nexport type CSSValues = {\n [index: string]: string | number;\n};\n\nexport type CSSPropertiesList = string[];\n\n// zIndex for \"in\" animations\nlet z = 0;\n\nconst disconnectedProps: Map = new Map();\nconst renderedHosts: WeakSet = new WeakSet();\n\nexport type Options = {\n // Options used for the animation\n keyframeOptions?: KeyframeAnimationOptions;\n // List of css properties to animate\n properties?: CSSPropertiesList;\n // if `true`, the `animate` is disabled\n disabled?: boolean;\n // Callback run to produce a value which is dirty checked to determine if animation should run.\n guard?: () => unknown;\n // Id for this `animate`; used to link to other `animate`s via e.g. `inId`\n id?: unknown;\n // Set to the `animate` id to map to when rendering \"in\"\n inId?: unknown;\n // Keyframes to use when animating \"in\"\n in?: Keyframe[];\n // Keyframes to use when animating \"out\"\n out?: Keyframe[];\n // Set to true to match DOM position when animating \"out\"\n stabilizeOut?: boolean;\n // Skips animation when initially rendering\n skipInitial?: boolean;\n // Callback run when the `animate` animation starts\n onStart?: (animate: Animate) => void;\n // Callback run when the animation is complete\n onComplete?: (animate: Animate) => void;\n // Callback run to modify frames used to animate\n onFrames?: (animate: Animate) => Keyframe[] | undefined;\n};\n\nexport const animationFrame = () =>\n new Promise((resolve) => requestAnimationFrame(resolve));\n\n// Presets for animating \"in\" and \"out\" of the DOM.\nexport const flyBelow = [{transform: 'translateY(100%) scale(0)', opacity: 0}];\nexport const flyAbove = [{transform: 'translateY(-100%) scale(0)', opacity: 0}];\nexport const flyLeft = [{transform: 'translateX(-100%) scale(0)', opacity: 0}];\nexport const flyRight = [{transform: 'translateX(100%) scale(0)', opacity: 0}];\nexport const none = [{}];\nexport const fadeOut = [{opacity: 0}];\nexport const fade = fadeOut;\nexport const fadeIn = [{opacity: 0}, {opacity: 1}];\nexport const fadeInSlow = [\n {opacity: 0},\n {opacity: 0.25, offset: 0.75},\n {opacity: 1},\n];\n\nconst diffOp = (a: number, b: number) => {\n const v = a - b;\n return v === 0 ? undefined : v;\n};\nconst quotientOp = (a: number, b: number) => {\n const v = a / b;\n return v === 1 ? undefined : v;\n};\n\n// Computes a transform given a before and after input for given properties.\nexport const transformProps = {\n left: (a: number, b: number) => {\n const value = diffOp(a, b);\n return {value, transform: value && `translateX(${value}px)`};\n },\n top: (a: number, b: number) => {\n const value = diffOp(a, b);\n return {value, transform: value && `translateY(${value}px)`};\n },\n width: (a: number, b: number) => {\n const value = quotientOp(a, b);\n return {value, transform: value && `scaleX(${value})`};\n },\n height: (a: number, b: number) => {\n const value = quotientOp(a, b);\n return {value, transform: value && `scaleY(${value})`};\n },\n};\n\nexport const defaultKeyframeOptions: KeyframeAnimationOptions = {\n duration: 333,\n easing: `ease-in-out`,\n};\n\nexport const defaultCssProperties: CSSPropertiesList = [\n 'left',\n 'top',\n 'width',\n 'height',\n 'opacity',\n 'color',\n 'background',\n];\n\n// Dirty checks the value received from the `guard` option.\nconst isDirty = (value: unknown, previous: unknown) => {\n if (Array.isArray(value)) {\n // Dirty-check arrays by item\n if (\n Array.isArray(previous) &&\n previous.length === value.length &&\n value.every((v, i) => v === (previous as Array)[i])\n ) {\n return false;\n }\n } else if (previous === value) {\n // Dirty-check non-arrays by identity\n return false;\n }\n return true;\n};\n\n// Mapping of node on which the `animate` directive is used to the `animate` directive.\n// Used to get the ancestor `animate` animations (which are used to modify\n// `animate` transforms), done by ascending the DOM.\nconst nodeToAnimateMap: WeakMap = new WeakMap();\n\n/**\n * `animate` directive class. Animates a node's position between renders.\n */\nexport class Animate extends AsyncDirective {\n private _host?: LitElement;\n private _fromValues?: CSSValues;\n private _parentNode: Element | null = null;\n private _nextSibling: Node | null = null;\n private _shouldAnimate = true;\n private _previousValue: unknown;\n private _styles?: string | undefined | null;\n element!: HTMLElement;\n\n shouldLog = false;\n animatingProperties?: CSSValues;\n frames?: Keyframe[];\n webAnimation?: Animation;\n options!: Options;\n optionsOrCallback?: (() => Options) | Options;\n\n finished!: Promise;\n private _resolveFinished?: () => void;\n\n constructor(part: PartInfo) {\n super(part);\n if (part.type === PartType.CHILD) {\n throw new Error(\n 'The `animate` directive must be used in attribute position.'\n );\n }\n this.createFinished();\n }\n\n createFinished() {\n this.resolveFinished?.();\n this.finished = new Promise((r) => {\n this._resolveFinished = r;\n });\n }\n\n async resolveFinished() {\n this._resolveFinished?.();\n this._resolveFinished = undefined;\n }\n\n render(_options?: (() => Options) | Options) {\n return nothing;\n }\n\n getController() {\n return controllerMap.get(this._host!);\n }\n\n isDisabled() {\n return this.options.disabled || this.getController()?.disabled;\n }\n\n override update(part: AttributePart, [options]: Parameters) {\n const firstUpdate = this._host === undefined;\n if (firstUpdate) {\n this._host = part.options?.host as LitElement;\n this._host.addController(this);\n this.element = part.element;\n nodeToAnimateMap.set(this.element, this);\n }\n this.optionsOrCallback = options;\n if (firstUpdate || typeof options !== 'function') {\n this._setOptions(options as Options);\n }\n return this.render(options);\n }\n\n // TODO(sorvell): instead of a function/object, just use an object that the\n // user can mutate and create accessors for the data that do lookups as needed.\n // We're doing this every hostUpdate anyway and these lookups are fast.\n private _setOptions(options?: Options) {\n options = options ?? {};\n // Mixin controller options.\n const controller = this.getController();\n if (controller !== undefined) {\n options = {\n ...controller.defaultOptions,\n ...options,\n };\n options.keyframeOptions = {\n ...controller.defaultOptions.keyframeOptions,\n ...options.keyframeOptions,\n };\n }\n // Ensure there are some properties to animation and some animation options.\n options!.properties ??= defaultCssProperties;\n this.options = options;\n }\n\n // Measures and returns metrics for the element's bounding box and styling\n private _measure() {\n const props: CSSValues = {};\n const bounds = this.element.getBoundingClientRect();\n const computedStyle = getComputedStyle(this.element);\n this.options.properties!.forEach((p) => {\n const v =\n bounds[p as keyof typeof bounds] ??\n (!transformProps[p as keyof typeof transformProps]\n ? computedStyle[p as keyof CSSStyleDeclaration]\n : undefined);\n const asNum = Number(v);\n props[p] = isNaN(asNum) ? String(v) : asNum;\n });\n return props;\n }\n\n // Returns true if a `animate` should be started.\n private _canStart() {\n let dirty = true,\n value = undefined;\n if (this.options.guard) {\n value = this.options.guard();\n dirty = isDirty(value, this._previousValue);\n }\n this._shouldAnimate =\n this._host!.hasUpdated &&\n !this.isDisabled() &&\n !this.isAnimating() &&\n dirty &&\n this.element.isConnected;\n if (this._shouldAnimate) {\n // Copy the value if it's an array so that if it's mutated we don't forget\n // what the previous values were.\n this._previousValue = Array.isArray(value) ? Array.from(value) : value;\n }\n return this._shouldAnimate;\n }\n\n hostUpdate() {\n // TODO(sorvell): If options will change that will affect measuring,\n // then the user must pass a callback which can be called at update time.\n if (typeof this.optionsOrCallback === 'function') {\n this._setOptions(this.optionsOrCallback());\n }\n if (this._canStart()) {\n this._fromValues = this._measure();\n // Record parent and nextSibling used to re-attach node when animating \"out\"\n this._parentNode =\n this._parentNode ?? (this.element.parentNode as Element);\n this._nextSibling = this.element.nextSibling;\n }\n }\n\n async hostUpdated() {\n if (\n !this._shouldAnimate ||\n !this.element.isConnected ||\n (this.options.skipInitial && !this.isHostRendered)\n ) {\n return;\n }\n this.prepare();\n // Wait for rendering so any sub-elements have a chance to render.\n await animationFrame;\n let frames: Keyframe[] | undefined;\n const ancestors = this._getAncestors();\n // These inherit from ancestors. This allows easier synchronization of\n // child `animate`s within ancestor `animate`s.\n const animationOptions = this._calculateKeyframeOptions(\n this.options.keyframeOptions,\n ancestors\n );\n const toValues = this._measure();\n // Normal or inverse scale\n if (this._fromValues !== undefined) {\n const {from, to} = this._applyAncestorAdjustments(\n this._fromValues,\n toValues,\n ancestors\n );\n this.log('measured', [this._fromValues, toValues, from, to]);\n frames = this.calculateKeyframes(from, to);\n // \"In\" `animate`.\n } else {\n const disconnected = disconnectedProps.get(this.options.inId);\n if (disconnected) {\n // use disconnected data only once.\n disconnectedProps.delete(this.options.inId);\n const {from, to} = this._applyAncestorAdjustments(\n disconnected!,\n toValues,\n ancestors\n );\n frames = this.calculateKeyframes(from, to);\n // \"merge\" with \"in\" frames\n frames = this.options.in\n ? [\n {...this.options.in[0], ...frames![0]},\n ...this.options.in.slice(1),\n frames![1],\n ]\n : frames;\n // adjust z so always on top...\n z++;\n frames!.forEach((f) => (f.zIndex = z));\n } else if (this.options.in) {\n frames = [...this.options.in, {}];\n }\n }\n this.animate(frames, animationOptions);\n }\n\n resetStyles() {\n if (this._styles !== undefined) {\n this.element.setAttribute('style', this._styles ?? '');\n this._styles = undefined;\n }\n }\n\n commitStyles() {\n this._styles = this.element.getAttribute('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.webAnimation as any)?.commitStyles();\n this.webAnimation?.cancel();\n }\n\n override reconnected() {}\n\n // Experimental animate out functionality.\n override async disconnected() {\n if (!this._shouldAnimate) {\n return;\n }\n if (this.options.id !== undefined) {\n disconnectedProps.set(this.options.id, this._fromValues!);\n }\n if (this.options.out === undefined) {\n return;\n }\n this.prepare();\n await animationFrame();\n if (this._parentNode?.isConnected) {\n // put element back in DOM\n const ref =\n this._nextSibling && this._nextSibling.parentNode === this._parentNode\n ? this._nextSibling\n : null;\n this._parentNode.insertBefore(this.element, ref);\n // Optionally move element back to its position before it was detached.\n if (this.options.stabilizeOut) {\n // Measure current position after re-attaching.\n const shifted = this._measure();\n this.log('stabilizing out');\n // TODO(sorvell): these nudges could conflict with existing styling\n // or animation but setting left/top should be rare, especially via\n // animation.\n const left =\n (this._fromValues!.left as number) - (shifted.left as number);\n const top = (this._fromValues!.top as number) - (shifted.top as number);\n const isStatic = getComputedStyle(this.element).position === 'static';\n if (isStatic && (left !== 0 || top !== 0)) {\n this.element.style.position = 'relative';\n }\n if (left !== 0) {\n this.element.style.left = left + 'px';\n }\n if (top !== 0) {\n this.element.style.top = top + 'px';\n }\n }\n }\n // These inherit from ancestors. This allows easier synchronization of\n // child `animate`s within ancestor `animate`s.\n const keyframeOptions = this._calculateKeyframeOptions(\n this.options.keyframeOptions\n );\n await this.animate(this.options.out, keyframeOptions);\n this.element.remove();\n }\n\n prepare() {\n this.createFinished();\n }\n\n start() {\n this.options.onStart?.(this);\n }\n\n didFinish(didAnimate: boolean) {\n if (didAnimate) {\n this.options.onComplete?.(this);\n }\n this._fromValues = undefined;\n this.animatingProperties = undefined;\n this.frames = undefined;\n this.resolveFinished();\n }\n\n private _getAncestors() {\n const ancestors = [];\n for (\n let p: Node | null | undefined = this.element.parentNode;\n p;\n p = p?.parentNode\n ) {\n const a = nodeToAnimateMap.get(p!);\n if (a && !a.isDisabled() && a) {\n ancestors.push(a);\n }\n }\n return ancestors;\n }\n\n protected get isHostRendered() {\n const hostRendered = renderedHosts.has(this._host!);\n if (!hostRendered) {\n this._host!.updateComplete.then(() => {\n renderedHosts.add(this._host!);\n });\n }\n return hostRendered;\n }\n\n private _calculateKeyframeOptions(\n options: KeyframeAnimationOptions | undefined,\n ancestors: Animate[] = this._getAncestors()\n ) {\n // merges this `animate`'s options over ancestor options over defaults\n const keyframeOptions = {...defaultKeyframeOptions};\n ancestors.forEach((a) =>\n Object.assign(keyframeOptions, a.options.keyframeOptions)\n );\n Object.assign(keyframeOptions, options);\n return keyframeOptions;\n }\n\n // Adjust position based on ancestor scaling.\n private _applyAncestorAdjustments(\n from: CSSValues,\n to: CSSValues,\n ancestors: Animate[]\n ) {\n from = {...from};\n to = {...to};\n const ancestorProps = ancestors\n .map((a) => a.animatingProperties)\n .filter((a) => a !== undefined) as CSSValues[];\n let dScaleX = 1;\n let dScaleY = 1;\n if (ancestorProps !== undefined) {\n // gather scaling data for ancestors\n ancestorProps.forEach((a) => {\n if (a.width) {\n dScaleX = dScaleX / (a.width as number);\n }\n if (a.height) {\n dScaleY = dScaleY / (a.height as number);\n }\n });\n // Move position by ancestor scaling amount.\n if (from.left !== undefined && to.left !== undefined) {\n from.left = dScaleX * (from.left as number);\n to.left = dScaleX * (to.left as number);\n }\n if (from.top !== undefined && to.top !== undefined) {\n from.top = dScaleY * (from.top as number);\n to.top = dScaleY * (to.top as number);\n }\n }\n return {from, to};\n }\n\n protected calculateKeyframes(from: CSSValues, to: CSSValues, center = false) {\n const fromFrame: Keyframe = {};\n const toFrame: Keyframe = {};\n let hasFrames = false;\n const props: CSSValues = {};\n for (const p in to) {\n const f = from[p],\n t = to[p];\n if (p in transformProps) {\n const tp = transformProps[p as keyof typeof transformProps];\n if (f === undefined || t === undefined) {\n continue;\n }\n const op = tp(f as number, t as number);\n if (op.transform !== undefined) {\n props[p] = op.value!;\n hasFrames = true;\n fromFrame.transform = `${fromFrame.transform ?? ''} ${op.transform}`;\n }\n } else if (f !== t && f !== undefined && t !== undefined) {\n hasFrames = true;\n fromFrame[p] = f;\n toFrame[p] = t;\n }\n }\n fromFrame.transformOrigin = toFrame.transformOrigin = center\n ? 'center center'\n : 'top left';\n this.animatingProperties = props;\n return hasFrames ? [fromFrame, toFrame] : undefined;\n }\n\n protected async animate(\n frames: Keyframe[] | undefined,\n options = this.options.keyframeOptions\n ) {\n this.start();\n this.frames = frames;\n let didAnimate = false;\n if (!this.isAnimating() && !this.isDisabled()) {\n if (this.options.onFrames) {\n this.frames = frames = this.options.onFrames(this);\n this.log('modified frames', frames);\n }\n if (frames !== undefined) {\n this.log('animate', [frames, options]);\n didAnimate = true;\n this.webAnimation = this.element.animate(frames, options);\n const controller = this.getController();\n controller?.add(this);\n try {\n await this.webAnimation.finished;\n } catch (e) {\n // cancelled.\n }\n controller?.remove(this);\n }\n }\n this.didFinish(didAnimate);\n return didAnimate;\n }\n\n protected isAnimating() {\n return (\n this.webAnimation?.playState === 'running' || this.webAnimation?.pending\n );\n }\n\n log(message: string, data?: unknown) {\n if (this.shouldLog && !this.isDisabled()) {\n console.log(message, this.options.id, data);\n }\n }\n}\n\n/**\n * The `animate` directive animates a node's layout between renders.\n * It will perform a \"tweening\" animation between the two states based on\n * the options given. In addition, elements can animate when they initially\n * render to DOM and when they are removed.\n *\n * Options include:\n * * animationOptions: configure animation via standard KeyframeAnimationOptions\n * * properties: list of properties to animate, defaults to\n * ['left', 'top','width', 'height', 'opacity', 'color', 'background']\n * * disabled: disables animation\n * * guard: function producing values that must change for the `animate` to run\n * * in: keyframes to use when animating in\n * * out: keyframes to use when animating out\n * * skipInitial: skip animating in the first time\n * * id: used to link to other `animate`s via `inId`\n * * inId: id of the `animate` to render from when animating in\n * * onStart: run when the `animate` starts\n * * onComplete: run when the `animate` completes\n * * onFrames: run when the frames are produces, use to modify frames\n */\nexport const animate = directive(Animate);\n"],"names":["z","disconnectedProps","Map","renderedHosts","WeakSet","animationFrame","Promise","resolve","requestAnimationFrame","flyBelow","transform","opacity","flyAbove","flyLeft","flyRight","none","fadeOut","fade","fadeIn","fadeInSlow","offset","diffOp","a","b","v","undefined","quotientOp","transformProps","left","value","top","width","height","defaultKeyframeOptions","duration","easing","defaultCssProperties","nodeToAnimateMap","WeakMap","Animate","AsyncDirective","constructor","part","super","this","_parentNode","_nextSibling","_shouldAnimate","shouldLog","type","PartType","CHILD","Error","createFinished","_a","resolveFinished","call","finished","r","_resolveFinished","async","render","_options","nothing","getController","controllerMap","get","_host","isDisabled","options","disabled","update","firstUpdate","host","addController","element","set","optionsOrCallback","_setOptions","controller","defaultOptions","keyframeOptions","_b","properties","_measure","props","bounds","getBoundingClientRect","computedStyle","getComputedStyle","forEach","p","asNum","Number","isNaN","String","_canStart","dirty","guard","previous","Array","isArray","length","every","i","isDirty","_previousValue","hasUpdated","isAnimating","isConnected","from","hostUpdate","_fromValues","parentNode","nextSibling","skipInitial","isHostRendered","frames","prepare","ancestors","_getAncestors","animationOptions","_calculateKeyframeOptions","toValues","to","_applyAncestorAdjustments","log","calculateKeyframes","disconnected","inId","delete","in","slice","f","zIndex","animate","resetStyles","_styles","setAttribute","commitStyles","getAttribute","webAnimation","cancel","reconnected","id","out","ref","insertBefore","stabilizeOut","shifted","position","style","remove","start","onStart","didFinish","didAnimate","onComplete","animatingProperties","push","hostRendered","has","updateComplete","then","add","Object","assign","ancestorProps","map","filter","dScaleX","dScaleY","center","fromFrame","toFrame","hasFrames","t","tp","op","transformOrigin","onFrames","e","playState","pending","message","data","console","directive"],"mappings":"wQAcA,IAAIA,EAAI,EAER,MAAMC,EAA6C,IAAIC,IACjDC,EAAiD,IAAIC,QA+B9CC,EAAiB,IAC5B,IAAIC,SAASC,GAAYC,sBAAsBD,KAGpCE,EAAW,CAAC,CAACC,UAAW,4BAA6BC,QAAS,IAC9DC,EAAW,CAAC,CAACF,UAAW,6BAA8BC,QAAS,IAC/DE,EAAU,CAAC,CAACH,UAAW,6BAA8BC,QAAS,IAC9DG,EAAW,CAAC,CAACJ,UAAW,4BAA6BC,QAAS,IAC9DI,EAAO,CAAC,CAAA,GACRC,EAAU,CAAC,CAACL,QAAS,IACrBM,EAAOD,EACPE,EAAS,CAAC,CAACP,QAAS,GAAI,CAACA,QAAS,IAClCQ,EAAa,CACxB,CAACR,QAAS,GACV,CAACA,QAAS,IAAMS,OAAQ,KACxB,CAACT,QAAS,IAGNU,EAAS,CAACC,EAAWC,KACzB,MAAMC,EAAIF,EAAIC,EACd,OAAa,IAANC,OAAUC,EAAYD,CAAC,EAE1BE,EAAa,CAACJ,EAAWC,KAC7B,MAAMC,EAAIF,EAAIC,EACd,OAAa,IAANC,OAAUC,EAAYD,CAAC,EAInBG,EAAiB,CAC5BC,KAAM,CAACN,EAAWC,KAChB,MAAMM,EAAQR,EAAOC,EAAGC,GACxB,MAAO,CAACM,QAAOnB,UAAWmB,GAAS,cAAcA,OAAW,EAE9DC,IAAK,CAACR,EAAWC,KACf,MAAMM,EAAQR,EAAOC,EAAGC,GACxB,MAAO,CAACM,QAAOnB,UAAWmB,GAAS,cAAcA,OAAW,EAE9DE,MAAO,CAACT,EAAWC,KACjB,MAAMM,EAAQH,EAAWJ,EAAGC,GAC5B,MAAO,CAACM,QAAOnB,UAAWmB,GAAS,UAAUA,KAAS,EAExDG,OAAQ,CAACV,EAAWC,KAClB,MAAMM,EAAQH,EAAWJ,EAAGC,GAC5B,MAAO,CAACM,QAAOnB,UAAWmB,GAAS,UAAUA,KAAS,GAI7CI,EAAmD,CAC9DC,SAAU,IACVC,OAAQ,eAGGC,EAA0C,CACrD,OACA,MACA,QACA,SACA,UACA,QACA,cAwBIC,EAA2C,IAAIC,QAK/C,MAAOC,UAAgBC,EAoB3BC,YAAYC,GAEV,GADAC,MAAMD,GAlBAE,KAAWC,EAAmB,KAC9BD,KAAYE,EAAgB,KAC5BF,KAAcG,GAAG,EAKzBH,KAASI,WAAG,EAYNN,EAAKO,OAASC,EAASC,MACzB,MAAUC,MACR,+DAGJR,KAAKS,gBACN,CAEDA,uBACsB,QAApBC,EAAAV,KAAKW,uBAAe,IAAAD,GAAAA,EAAAE,KAAAZ,MACpBA,KAAKa,SAAW,IAAInD,SAASoD,IAC3Bd,KAAKe,EAAmBD,CAAC,GAE5B,CAEDE,8BACuB,QAArBN,EAAAV,KAAKe,SAAgB,IAAAL,GAAAA,EAAAE,KAAAZ,MACrBA,KAAKe,OAAmBlC,CACzB,CAEDoC,OAAOC,GACL,OAAOC,CACR,CAEDC,gBACE,OAAOC,EAAcC,IAAItB,KAAKuB,EAC/B,CAEDC,mBACE,OAAOxB,KAAKyB,QAAQC,WAAkC,QAAtBhB,EAAAV,KAAKoB,uBAAiB,IAAAV,OAAA,EAAAA,EAAAgB,SACvD,CAEQC,OAAO7B,GAAsB2B,UACpC,MAAMG,OAA6B/C,IAAfmB,KAAKuB,EAWzB,OAVIK,IACF5B,KAAKuB,EAAsB,QAAdb,EAAAZ,EAAK2B,eAAS,IAAAf,OAAA,EAAAA,EAAAmB,KAC3B7B,KAAKuB,EAAMO,cAAc9B,MACzBA,KAAK+B,QAAUjC,EAAKiC,QACpBtC,EAAiBuC,IAAIhC,KAAK+B,QAAS/B,OAErCA,KAAKiC,kBAAoBR,GACrBG,GAAkC,mBAAZH,IACxBzB,KAAKkC,EAAYT,GAEZzB,KAAKiB,OAAOQ,EACpB,CAKOS,EAAYT,WAClBA,EAAUA,QAAAA,EAAW,GAErB,MAAMU,EAAanC,KAAKoB,qBACLvC,IAAfsD,KACFV,EAAU,IACLU,EAAWC,kBACXX,IAEGY,gBAAkB,IACrBF,EAAWC,eAAeC,mBAC1BZ,EAAQY,0BAIf3B,GAAA4B,EAAAb,GAASc,4BAAAA,WAAe/C,GACxBQ,KAAKyB,QAAUA,CAChB,CAGOe,IACN,MAAMC,EAAmB,CAAA,EACnBC,EAAS1C,KAAK+B,QAAQY,wBACtBC,EAAgBC,iBAAiB7C,KAAK+B,SAU5C,OATA/B,KAAKyB,QAAQc,WAAYO,SAASC,UAChC,MAAMnE,EAC4B,QAAhC8B,EAAAgC,EAAOK,UAAyB,IAAArC,EAAAA,EAC9B3B,EAAegE,QAEblE,EADA+D,EAAcG,GAEdC,EAAQC,OAAOrE,GACrB6D,EAAMM,GAAKG,MAAMF,GAAgBpE,EAAPuE,GAAYH,CAAK,IAEtCP,CACR,CAGOW,IACN,IACEnE,EADEoE,GAAQ,EAiBZ,OAfIrD,KAAKyB,QAAQ6B,QACfrE,EAAQe,KAAKyB,QAAQ6B,QACrBD,EA3IU,EAACpE,EAAgBsE,KAC/B,GAAIC,MAAMC,QAAQxE,IAEhB,GACEuE,MAAMC,QAAQF,IACdA,EAASG,SAAWzE,EAAMyE,QAC1BzE,EAAM0E,OAAM,CAAC/E,EAAGgF,IAAMhF,IAAO2E,EAA4BK,KAEzD,OAAO,OAEJ,GAAIL,IAAatE,EAEtB,OAAO,EAET,OAAO,CAAI,EA6HC4E,CAAQ5E,EAAOe,KAAK8D,IAE9B9D,KAAKG,EACHH,KAAKuB,EAAOwC,aACX/D,KAAKwB,eACLxB,KAAKgE,eACNX,GACArD,KAAK+B,QAAQkC,YACXjE,KAAKG,IAGPH,KAAK8D,EAAiBN,MAAMC,QAAQxE,GAASuE,MAAMU,KAAKjF,GAASA,GAE5De,KAAKG,CACb,CAEDgE,mBAGwC,mBAA3BnE,KAAKiC,mBACdjC,KAAKkC,EAAYlC,KAAKiC,qBAEpBjC,KAAKoD,MACPpD,KAAKoE,EAAcpE,KAAKwC,IAExBxC,KAAKC,EACa,QAAhBS,EAAAV,KAAKC,SAAW,IAAAS,EAAAA,EAAKV,KAAK+B,QAAQsC,WACpCrE,KAAKE,EAAeF,KAAK+B,QAAQuC,YAEpC,CAEDtD,oBACE,IACGhB,KAAKG,IACLH,KAAK+B,QAAQkC,aACbjE,KAAKyB,QAAQ8C,cAAgBvE,KAAKwE,eAEnC,OAKF,IAAIC,EAHJzE,KAAK0E,gBAECjH,EAEN,MAAMkH,EAAY3E,KAAK4E,IAGjBC,EAAmB7E,KAAK8E,EAC5B9E,KAAKyB,QAAQY,gBACbsC,GAEII,EAAW/E,KAAKwC,IAEtB,QAAyB3D,IAArBmB,KAAKoE,EAA2B,CAClC,MAAMF,KAACA,EAAIc,GAAEA,GAAMhF,KAAKiF,EACtBjF,KAAKoE,EACLW,EACAJ,GAEF3E,KAAKkF,IAAI,WAAY,CAAClF,KAAKoE,EAAaW,EAAUb,EAAMc,IACxDP,EAASzE,KAAKmF,mBAAmBjB,EAAMc,EAExC,KAAM,CACL,MAAMI,EAAe/H,EAAkBiE,IAAItB,KAAKyB,QAAQ4D,MACxD,GAAID,EAAc,CAEhB/H,EAAkBiI,OAAOtF,KAAKyB,QAAQ4D,MACtC,MAAMnB,KAACA,EAAIc,GAAEA,GAAMhF,KAAKiF,EACtBG,EACAL,EACAJ,GAEFF,EAASzE,KAAKmF,mBAAmBjB,EAAMc,GAEvCP,EAASzE,KAAKyB,QAAQ8D,GAClB,CACE,IAAIvF,KAAKyB,QAAQ8D,GAAG,MAAOd,EAAQ,OAChCzE,KAAKyB,QAAQ8D,GAAGC,MAAM,GACzBf,EAAQ,IAEVA,EAEJrH,IACAqH,EAAQ3B,SAAS2C,GAAOA,EAAEC,OAAStI,GACpC,MAAU4C,KAAKyB,QAAQ8D,KACtBd,EAAS,IAAIzE,KAAKyB,QAAQ8D,GAAI,CAAE,GAEnC,CACDvF,KAAK2F,QAAQlB,EAAQI,EACtB,CAEDe,yBACuB/G,IAAjBmB,KAAK6F,IACP7F,KAAK+B,QAAQ+D,aAAa,QAAyB,QAAhBpF,EAAAV,KAAK6F,SAAW,IAAAnF,EAAAA,EAAA,IACnDV,KAAK6F,OAAUhH,EAElB,CAEDkH,uBACE/F,KAAK6F,EAAU7F,KAAK+B,QAAQiE,aAAa,SAEb,QAA5BtF,EAACV,KAAKiG,oBAAsB,IAAAvF,GAAAA,EAAAqF,eACT,QAAnBzD,EAAAtC,KAAKiG,oBAAc,IAAA3D,GAAAA,EAAA4D,QACpB,CAEQC,cAAgB,CAGhBnF,2BACP,IAAKhB,KAAKG,EACR,OAKF,QAHwBtB,IAApBmB,KAAKyB,QAAQ2E,IACf/I,EAAkB2E,IAAIhC,KAAKyB,QAAQ2E,GAAIpG,KAAKoE,QAErBvF,IAArBmB,KAAKyB,QAAQ4E,IACf,OAIF,GAFArG,KAAK0E,gBACCjH,IACc,UAAhBuC,KAAKC,SAAW,IAAAS,OAAA,EAAAA,EAAEuD,YAAa,CAEjC,MAAMqC,EACJtG,KAAKE,GAAgBF,KAAKE,EAAamE,aAAerE,KAAKC,EACvDD,KAAKE,EACL,KAGN,GAFAF,KAAKC,EAAYsG,aAAavG,KAAK+B,QAASuE,GAExCtG,KAAKyB,QAAQ+E,aAAc,CAE7B,MAAMC,EAAUzG,KAAKwC,IACrBxC,KAAKkF,IAAI,mBAIT,MAAMlG,EACHgB,KAAKoE,EAAapF,KAAmByH,EAAQzH,KAC1CE,EAAOc,KAAKoE,EAAalF,IAAkBuH,EAAQvH,MACI,WAA5C2D,iBAAiB7C,KAAK+B,SAAS2E,WACtB,IAAT1H,GAAsB,IAARE,IAC7Bc,KAAK+B,QAAQ4E,MAAMD,SAAW,YAEnB,IAAT1H,IACFgB,KAAK+B,QAAQ4E,MAAM3H,KAAOA,EAAO,MAEvB,IAARE,IACFc,KAAK+B,QAAQ4E,MAAMzH,IAAMA,EAAM,KAElC,CACF,CAGD,MAAMmD,EAAkBrC,KAAK8E,EAC3B9E,KAAKyB,QAAQY,uBAETrC,KAAK2F,QAAQ3F,KAAKyB,QAAQ4E,IAAKhE,GACrCrC,KAAK+B,QAAQ6E,QACd,CAEDlC,UACE1E,KAAKS,gBACN,CAEDoG,gBACsB,QAApBvE,GAAA5B,EAAAV,KAAKyB,SAAQqF,eAAO,IAAAxE,GAAAA,EAAA1B,KAAAF,EAAGV,KACxB,CAED+G,UAAUC,WACJA,IACqB,QAAvB1E,GAAA5B,EAAAV,KAAKyB,SAAQwF,kBAAU,IAAA3E,GAAAA,EAAA1B,KAAAF,EAAGV,OAE5BA,KAAKoE,OAAcvF,EACnBmB,KAAKkH,yBAAsBrI,EAC3BmB,KAAKyE,YAAS5F,EACdmB,KAAKW,iBACN,CAEOiE,IACN,MAAMD,EAAY,GAClB,IACE,IAAI5B,EAA6B/C,KAAK+B,QAAQsC,WAC9CtB,EACAA,EAAIA,eAAAA,EAAGsB,WACP,CACA,MAAM3F,EAAIe,EAAiB6B,IAAIyB,GAC3BrE,IAAMA,EAAE8C,cAAgB9C,GAC1BiG,EAAUwC,KAAKzI,EAElB,CACD,OAAOiG,CACR,CAEaH,qBACZ,MAAM4C,EAAe7J,EAAc8J,IAAIrH,KAAKuB,GAM5C,OALK6F,GACHpH,KAAKuB,EAAO+F,eAAeC,MAAK,KAC9BhK,EAAciK,IAAIxH,KAAKuB,EAAO,IAG3B6F,CACR,CAEOtC,EACNrD,EACAkD,EAAuB3E,KAAK4E,KAG5B,MAAMvC,EAAkB,IAAIhD,GAK5B,OAJAsF,EAAU7B,SAASpE,GACjB+I,OAAOC,OAAOrF,EAAiB3D,EAAE+C,QAAQY,mBAE3CoF,OAAOC,OAAOrF,EAAiBZ,GACxBY,CACR,CAGO4C,EACNf,EACAc,EACAL,GAEAT,EAAO,IAAIA,GACXc,EAAK,IAAIA,GACT,MAAM2C,EAAgBhD,EACnBiD,KAAKlJ,GAAMA,EAAEwI,sBACbW,QAAQnJ,QAAYG,IAANH,IACjB,IAAIoJ,EAAU,EACVC,EAAU,EAqBd,YApBsBlJ,IAAlB8I,IAEFA,EAAc7E,SAASpE,IACjBA,EAAES,QACJ2I,GAAqBpJ,EAAES,OAErBT,EAAEU,SACJ2I,GAAqBrJ,EAAEU,OACxB,SAGeP,IAAdqF,EAAKlF,WAAkCH,IAAZmG,EAAGhG,OAChCkF,EAAKlF,KAAO8I,EAAW5D,EAAKlF,KAC5BgG,EAAGhG,KAAO8I,EAAW9C,EAAGhG,WAETH,IAAbqF,EAAKhF,UAAgCL,IAAXmG,EAAG9F,MAC/BgF,EAAKhF,IAAM6I,EAAW7D,EAAKhF,IAC3B8F,EAAG9F,IAAM6I,EAAW/C,EAAG9F,MAGpB,CAACgF,OAAMc,KACf,CAESG,mBAAmBjB,EAAiBc,EAAegD,GAAS,SACpE,MAAMC,EAAsB,CAAA,EACtBC,EAAoB,CAAA,EAC1B,IAAIC,GAAY,EAChB,MAAM1F,EAAmB,CAAA,EACzB,IAAK,MAAMM,KAAKiC,EAAI,CAClB,MAAMS,EAAIvB,EAAKnB,GACbqF,EAAIpD,EAAGjC,GACT,GAAIA,KAAKhE,EAAgB,CACvB,MAAMsJ,EAAKtJ,EAAegE,GAC1B,QAAUlE,IAAN4G,QAAyB5G,IAANuJ,EACrB,SAEF,MAAME,EAAKD,EAAG5C,EAAa2C,QACNvJ,IAAjByJ,EAAGxK,YACL2E,EAAMM,GAAKuF,EAAGrJ,MACdkJ,GAAY,EACZF,EAAUnK,UAAY,GAAsB,UAAnBmK,EAAUnK,iBAAS,IAAA4C,EAAAA,EAAI,MAAM4H,EAAGxK,YAE5D,MAAU2H,IAAM2C,QAAWvJ,IAAN4G,QAAyB5G,IAANuJ,IACvCD,GAAY,EACZF,EAAUlF,GAAK0C,EACfyC,EAAQnF,GAAKqF,EAEhB,CAKD,OAJAH,EAAUM,gBAAkBL,EAAQK,gBAAkBP,EAClD,gBACA,WACJhI,KAAKkH,oBAAsBzE,EACpB0F,EAAY,CAACF,EAAWC,QAAWrJ,CAC3C,CAESmC,cACRyD,EACAhD,EAAUzB,KAAKyB,QAAQY,iBAEvBrC,KAAK6G,QACL7G,KAAKyE,OAASA,EACd,IAAIuC,GAAa,EACjB,IAAKhH,KAAKgE,gBAAkBhE,KAAKwB,eAC3BxB,KAAKyB,QAAQ+G,WACfxI,KAAKyE,OAASA,EAASzE,KAAKyB,QAAQ+G,SAASxI,MAC7CA,KAAKkF,IAAI,kBAAmBT,SAEf5F,IAAX4F,GAAsB,CACxBzE,KAAKkF,IAAI,UAAW,CAACT,EAAQhD,IAC7BuF,GAAa,EACbhH,KAAKiG,aAAejG,KAAK+B,QAAQ4D,QAAQlB,EAAQhD,GACjD,MAAMU,EAAanC,KAAKoB,gBACxBe,SAAAA,EAAYqF,IAAIxH,MAChB,UACQA,KAAKiG,aAAapF,QAGzB,CAFC,MAAO4H,GAER,CACDtG,SAAAA,EAAYyE,OAAO5G,KACpB,CAGH,OADAA,KAAK+G,UAAUC,GACRA,CACR,CAEShD,sBACR,MACmC,qBAAjCtD,EAAAV,KAAKiG,mCAAcyC,qBAA2BpG,EAAAtC,KAAKiG,mCAAc0C,QAEpE,CAEDzD,IAAI0D,EAAiBC,GACf7I,KAAKI,YAAcJ,KAAKwB,cAC1BsH,QAAQ5D,IAAI0D,EAAS5I,KAAKyB,QAAQ2E,GAAIyC,EAEzC,QAwBUlD,EAAUoD,EAAUpJ"} \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit-labs/motion/position.d.ts.map b/build/es5-amd/node_modules/@lit-labs/motion/position.d.ts.map index bdc7c5a4f79..4c9ff109390 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/position.d.ts.map +++ b/build/es5-amd/node_modules/@lit-labs/motion/position.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../src/position.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,aAAa,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAY,QAAQ,EAAW,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,UAAU,aAAa;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,aAAK,GAAG,GAAG;IAAC,KAAK,EAAE,WAAW,CAAA;CAAC,CAAC;AAChC,oBAAY,mBAAmB,GAAG,CAAC,MAAM,WAAW,CAAC,GAAG,GAAG,CAAC;AAE5D,oBAAY,SAAS,GAAG,KAAK,CAAC,MAAM,aAAa,CAAC,CAAC;AAInD,qBAAa,QAAS,SAAQ,cAAc;IAC1C,OAAO,CAAC,KAAK,CAAC,CAAa;IAC3B,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,OAAO,CAAC,oBAAoB,CAAuB;IACnD,OAAO,CAAC,UAAU,CAAC,CAAY;gBAEnB,IAAI,EAAE,QAAQ;IAS1B,MAAM,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,UAAU,EAAE,SAAS;IAI9D,MAAM,CACb,IAAI,EAAE,aAAa,EACnB,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAYjD,WAAW;IAIX,OAAO,CAAC,SAAS;CAgBlB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,mIAAsB,CAAC"} \ No newline at end of file +{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../src/position.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,aAAa,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAY,QAAQ,EAAW,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,UAAU,aAAa;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,aAAK,GAAG,GAAG;IAAC,KAAK,EAAE,WAAW,CAAA;CAAC,CAAC;AAChC,oBAAY,mBAAmB,GAAG,CAAC,MAAM,WAAW,CAAC,GAAG,GAAG,CAAC;AAE5D,oBAAY,SAAS,GAAG,KAAK,CAAC,MAAM,aAAa,CAAC,CAAC;AAInD,qBAAa,QAAS,SAAQ,cAAc;IAC1C,OAAO,CAAC,KAAK,CAAC,CAAa;IAC3B,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,OAAO,CAAC,oBAAoB,CAAuB;IACnD,OAAO,CAAC,UAAU,CAAC,CAAY;gBAEnB,IAAI,EAAE,QAAQ;IAS1B,MAAM,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,UAAU,EAAE,SAAS;IAI9D,MAAM,CACb,IAAI,EAAE,aAAa,EACnB,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAYjD,WAAW;IAIX,OAAO,CAAC,SAAS;CAgBlB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,wIAAsB,CAAC"} \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit-labs/motion/position.js b/build/es5-amd/node_modules/@lit-labs/motion/position.js index bb0fb79a811..1283315fcaa 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/position.js +++ b/build/es5-amd/node_modules/@lit-labs/motion/position.js @@ -38,29 +38,29 @@ define(["exports", "../../lit/html.js", "../../lit/directive.js", "../../lit/asy o = _ref2[1]; var s; - return void 0 === this.l && (this.l = null === (s = t.options) || void 0 === s ? void 0 : s.host, this.l.addController(this)), this.$ = t.element, this.k = i, this.F = null != o ? o : ["left", "top", "width", "height"], this.render(i, o); + return void 0 === this.l && (this.l = null === (s = t.options) || void 0 === s ? void 0 : s.host, this.l.addController(this)), this.j = t.element, this.S = i, this.C = null != o ? o : ["left", "top", "width", "height"], this.render(i, o); } }, { key: "hostUpdated", value: function hostUpdated() { - this.O(); + this.F(); } }, { - key: "O", - value: function O() { + key: "F", + value: function F() { var _this2 = this; var t, i; - var o = "function" == typeof this.k ? this.k() : null === (t = this.k) || void 0 === t ? void 0 : t.value, + var o = "function" == typeof this.S ? this.S() : null === (t = this.S) || void 0 === t ? void 0 : t.value, s = o.offsetParent; if (void 0 === o || !s) return; var _e = o.getBoundingClientRect(), h = s.getBoundingClientRect(); - null === (i = this.F) || void 0 === i || i.forEach(function (t) { + null === (i = this.C) || void 0 === i || i.forEach(function (t) { var i = r.includes(t) ? _e[t] - h[t] : _e[t]; - _this2.$.style[t] = i + "px"; + _this2.j.style[t] = i + "px"; }); } }]); diff --git a/build/es5-amd/node_modules/@lit-labs/motion/position.js.map b/build/es5-amd/node_modules/@lit-labs/motion/position.js.map index e569cb5b59d..3e02fe32362 100644 --- a/build/es5-amd/node_modules/@lit-labs/motion/position.js.map +++ b/build/es5-amd/node_modules/@lit-labs/motion/position.js.map @@ -1 +1 @@ -{"version":3,"file":"position.js","sources":["src/position.ts"],"sourcesContent":["import {LitElement} from 'lit';\nimport {nothing, AttributePart} from 'lit/html.js';\nimport {directive, PartInfo, PartType} from 'lit/directive.js';\nimport {AsyncDirective} from 'lit/async-directive.js';\n\ninterface Positionables {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n}\n\ntype Ref = {value: HTMLElement};\nexport type TargetCallbackOrRef = (() => HTMLElement) | Ref;\n\nexport type Positions = Array;\n\nconst positionedPoints = ['top', 'right', 'bottom', 'left'];\n\nexport class Position extends AsyncDirective {\n private _host?: LitElement;\n private _element?: Element;\n private _targetCallbackOrRef!: TargetCallbackOrRef;\n private _positions?: Positions;\n\n constructor(part: PartInfo) {\n super(part);\n if (part.type !== PartType.ELEMENT) {\n throw new Error(\n 'The `position` directive must be used in attribute position.'\n );\n }\n }\n\n render(_targetCallbackOrRef: TargetCallbackOrRef, _positions: Positions) {\n return nothing;\n }\n\n override update(\n part: AttributePart,\n [target, positions]: Parameters\n ) {\n if (this._host === undefined) {\n this._host = part.options?.host as LitElement;\n this._host.addController(this);\n }\n this._element = part.element;\n this._targetCallbackOrRef = target;\n this._positions = positions ?? ['left', 'top', 'width', 'height'];\n return this.render(target, positions);\n }\n\n hostUpdated() {\n this._position();\n }\n\n private _position() {\n const target =\n typeof this._targetCallbackOrRef === 'function'\n ? this._targetCallbackOrRef()\n : this._targetCallbackOrRef?.value;\n const parent = target.offsetParent;\n if (target === undefined || !parent) {\n return;\n }\n const tr = target.getBoundingClientRect();\n const pr = parent.getBoundingClientRect();\n this._positions?.forEach((p) => {\n const x = positionedPoints.includes(p) ? tr[p] - pr[p] : tr[p];\n (this._element as HTMLElement).style[p] = `${x}px`;\n });\n }\n}\n\n/**\n * Positions and sizes the element on which the `position()` directive is used\n * relative to the given target element.\n */\nexport const position = directive(Position);\n"],"names":["positionedPoints","Position","AsyncDirective","constructor","part","super","type","PartType","ELEMENT","Error","render","_targetCallbackOrRef","_positions","nothing","update","target","positions","undefined","this","_host","options","host","addController","_element","element","hostUpdated","_position","value","parent","offsetParent","tr","getBoundingClientRect","pr","forEach","p","x","includes","style","position","directive"],"mappings":"yJAmBA,MAAMA,EAAmB,CAAC,MAAO,QAAS,SAAU,cAEvCC,UAAiBC,EAM5BC,YAAYC,GAEV,GADAC,MAAMD,GACFA,EAAKE,OAASC,EAASC,QACzB,MAAUC,MACR,gEAKNC,OAAOC,EAA2CC,GAChD,OAAOC,EAGAC,OACPV,GACCW,EAAQC,UAST,YAPmBC,IAAfC,KAAKC,IACPD,KAAKC,YAAQf,EAAKgB,8BAASC,KAC3BH,KAAKC,EAAMG,cAAcJ,OAE3BA,KAAKK,EAAWnB,EAAKoB,QACrBN,KAAKP,EAAuBI,EAC5BG,KAAKN,EAAaI,MAAAA,EAAAA,EAAa,CAAC,OAAQ,MAAO,QAAS,UACjDE,KAAKR,OAAOK,EAAQC,GAG7BS,cACEP,KAAKQ,IAGCA,YACN,MAAMX,EACiC,mBAA9BG,KAAKP,EACRO,KAAKP,cACLO,KAAKP,wBAAsBgB,MAC3BC,EAASb,EAAOc,aACtB,QAAeZ,IAAXF,IAAyBa,EAC3B,OAEF,MAAME,EAAKf,EAAOgB,wBACZC,EAAKJ,EAAOG,kCAClBb,KAAKN,kBAAYqB,SAASC,IACxB,MAAMC,EAAInC,EAAiBoC,SAASF,GAAKJ,EAAGI,GAAKF,EAAGE,GAAKJ,EAAGI,GAC3DhB,KAAKK,EAAyBc,MAAMH,GAAQC,EAAH,eASnCG,EAAWC,EAAUtC"} \ No newline at end of file +{"version":3,"file":"position.js","sources":["src/position.ts"],"sourcesContent":["import {LitElement} from 'lit';\nimport {nothing, AttributePart} from 'lit/html.js';\nimport {directive, PartInfo, PartType} from 'lit/directive.js';\nimport {AsyncDirective} from 'lit/async-directive.js';\n\ninterface Positionables {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n}\n\ntype Ref = {value: HTMLElement};\nexport type TargetCallbackOrRef = (() => HTMLElement) | Ref;\n\nexport type Positions = Array;\n\nconst positionedPoints = ['top', 'right', 'bottom', 'left'];\n\nexport class Position extends AsyncDirective {\n private _host?: LitElement;\n private _element?: Element;\n private _targetCallbackOrRef!: TargetCallbackOrRef;\n private _positions?: Positions;\n\n constructor(part: PartInfo) {\n super(part);\n if (part.type !== PartType.ELEMENT) {\n throw new Error(\n 'The `position` directive must be used in attribute position.'\n );\n }\n }\n\n render(_targetCallbackOrRef: TargetCallbackOrRef, _positions: Positions) {\n return nothing;\n }\n\n override update(\n part: AttributePart,\n [target, positions]: Parameters\n ) {\n if (this._host === undefined) {\n this._host = part.options?.host as LitElement;\n this._host.addController(this);\n }\n this._element = part.element;\n this._targetCallbackOrRef = target;\n this._positions = positions ?? ['left', 'top', 'width', 'height'];\n return this.render(target, positions);\n }\n\n hostUpdated() {\n this._position();\n }\n\n private _position() {\n const target =\n typeof this._targetCallbackOrRef === 'function'\n ? this._targetCallbackOrRef()\n : this._targetCallbackOrRef?.value;\n const parent = target.offsetParent;\n if (target === undefined || !parent) {\n return;\n }\n const tr = target.getBoundingClientRect();\n const pr = parent.getBoundingClientRect();\n this._positions?.forEach((p) => {\n const x = positionedPoints.includes(p) ? tr[p] - pr[p] : tr[p];\n (this._element as HTMLElement).style[p] = `${x}px`;\n });\n }\n}\n\n/**\n * Positions and sizes the element on which the `position()` directive is used\n * relative to the given target element.\n */\nexport const position = directive(Position);\n"],"names":["positionedPoints","Position","AsyncDirective","constructor","part","super","type","PartType","ELEMENT","Error","render","_targetCallbackOrRef","_positions","nothing","update","target","positions","undefined","this","_host","_a","options","host","addController","_element","element","hostUpdated","_position","value","parent","offsetParent","tr","getBoundingClientRect","pr","_b","forEach","p","x","includes","style","position","directive"],"mappings":"yJAmBA,MAAMA,EAAmB,CAAC,MAAO,QAAS,SAAU,QAE9C,MAAOC,UAAiBC,EAM5BC,YAAYC,GAEV,GADAC,MAAMD,GACFA,EAAKE,OAASC,EAASC,QACzB,MAAUC,MACR,+DAGL,CAEDC,OAAOC,EAA2CC,GAChD,OAAOC,CACR,CAEQC,OACPV,GACCW,EAAQC,UAST,YAPmBC,IAAfC,KAAKC,IACPD,KAAKC,EAAsB,QAAdC,EAAAhB,EAAKiB,eAAS,IAAAD,OAAA,EAAAA,EAAAE,KAC3BJ,KAAKC,EAAMI,cAAcL,OAE3BA,KAAKM,EAAWpB,EAAKqB,QACrBP,KAAKP,EAAuBI,EAC5BG,KAAKN,EAAaI,QAAAA,EAAa,CAAC,OAAQ,MAAO,QAAS,UACjDE,KAAKR,OAAOK,EAAQC,EAC5B,CAEDU,cACER,KAAKS,GACN,CAEOA,YACN,MAAMZ,EACiC,mBAA9BG,KAAKP,EACRO,KAAKP,IACoB,QAAzBS,EAAAF,KAAKP,SAAoB,IAAAS,OAAA,EAAAA,EAAEQ,MAC3BC,EAASd,EAAOe,aACtB,QAAeb,IAAXF,IAAyBc,EAC3B,OAEF,MAAME,EAAKhB,EAAOiB,wBACZC,EAAKJ,EAAOG,wBACH,QAAfE,EAAAhB,KAAKN,SAAU,IAAAsB,GAAAA,EAAEC,SAASC,IACxB,MAAMC,EAAIrC,EAAiBsC,SAASF,GAAKL,EAAGK,GAAKH,EAAGG,GAAKL,EAAGK,GAC3DlB,KAAKM,EAAyBe,MAAMH,GAAQC,EAAH,IAAQ,GAErD,QAOUG,EAAWC,EAAUxC"} \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit/reactive-element/css-tag.js b/build/es5-amd/node_modules/@lit/reactive-element/css-tag.js index 5822c3b6185..9cd40ba1b71 100644 --- a/build/es5-amd/node_modules/@lit/reactive-element/css-tag.js +++ b/build/es5-amd/node_modules/@lit/reactive-element/css-tag.js @@ -6,7 +6,7 @@ define(["exports"], function (_exports) { }); _exports.unsafeCSS = _exports.supportsAdoptingStyleSheets = _exports.getCompatibleStyle = _exports.css = _exports.adoptStyles = _exports.CSSResult = void 0; - function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } + function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } @@ -17,23 +17,32 @@ define(["exports"], function (_exports) { * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ - var t = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, - e = Symbol(), - n = new Map(); - _exports.supportsAdoptingStyleSheets = t; - - var s = /*#__PURE__*/function () { - function s(t, n) { - babelHelpers.classCallCheck(this, s); - if (this._$cssResult$ = !0, n !== e) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead."); - this.cssText = t; + var t = window, + e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, + s = Symbol(), + n = new WeakMap(); + _exports.supportsAdoptingStyleSheets = e; + + var o = /*#__PURE__*/function () { + function o(t, e, n) { + babelHelpers.classCallCheck(this, o); + if (this._$cssResult$ = !0, n !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead."); + this.cssText = t, this.t = e; } - babelHelpers.createClass(s, [{ + babelHelpers.createClass(o, [{ key: "styleSheet", get: function get() { - var e = n.get(this.cssText); - return t && void 0 === e && (n.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e; + var t = this.o; + var s = this.t; + + if (e && void 0 === t) { + var _e = void 0 !== s && 1 === s.length; + + _e && (t = n.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), _e && n.set(s, t)); + } + + return t; } }, { key: "toString", @@ -41,38 +50,38 @@ define(["exports"], function (_exports) { return this.cssText; } }]); - return s; + return o; }(); - _exports.CSSResult = s; + _exports.CSSResult = o; - var o = function o(t) { - return new s("string" == typeof t ? t : t + "", e); + var r = function r(t) { + return new o("string" == typeof t ? t : t + "", void 0, s); }, - r = function r(t) { - for (var _len = arguments.length, n = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - n[_key - 1] = arguments[_key]; + i = function i(t) { + for (var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + e[_key - 1] = arguments[_key]; } - var o = 1 === t.length ? t[0] : n.reduce(function (e, n, s) { + var n = 1 === t.length ? t[0] : e.reduce(function (e, s, n) { return e + function (t) { if (!0 === t._$cssResult$) return t.cssText; if ("number" == typeof t) return t; throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security."); - }(n) + t[s + 1]; + }(s) + t[n + 1]; }, t[0]); - return new s(o, e); + return new o(n, t, s); }, - i = function i(e, n) { - t ? e.adoptedStyleSheets = n.map(function (t) { + S = function S(s, n) { + e ? s.adoptedStyleSheets = n.map(function (t) { return babelHelpers.instanceof(t, CSSStyleSheet) ? t : t.styleSheet; - }) : n.forEach(function (t) { + }) : n.forEach(function (e) { var n = document.createElement("style"), - s = window.litNonce; - void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n); + o = t.litNonce; + void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n); }); }, - S = t ? function (t) { + c = e ? function (t) { return t; } : function (t) { return babelHelpers.instanceof(t, CSSStyleSheet) ? function (t) { @@ -83,8 +92,8 @@ define(["exports"], function (_exports) { try { for (_iterator.s(); !(_step = _iterator.n()).done;) { - var _n = _step.value; - e += _n.cssText; + var _s = _step.value; + e += _s.cssText; } } catch (err) { _iterator.e(err); @@ -92,12 +101,12 @@ define(["exports"], function (_exports) { _iterator.f(); } - return o(e); + return r(e); }(t) : t; }; - _exports.getCompatibleStyle = S; - _exports.adoptStyles = i; - _exports.css = r; - _exports.unsafeCSS = o; + _exports.getCompatibleStyle = c; + _exports.adoptStyles = S; + _exports.css = i; + _exports.unsafeCSS = r; }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit/reactive-element/decorators/custom-element.js b/build/es5-amd/node_modules/@lit/reactive-element/decorators/custom-element.js index 8d1a506c4c4..dc8625b70e8 100644 --- a/build/es5-amd/node_modules/@lit/reactive-element/decorators/custom-element.js +++ b/build/es5-amd/node_modules/@lit/reactive-element/decorators/custom-element.js @@ -11,23 +11,23 @@ define(["exports"], function (_exports) { * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ - var n = function n(_n) { - return function (e) { - return "function" == typeof e ? function (n, e) { - return window.customElements.define(n, e), e; - }(_n, e) : function (n, e) { - var t = e.kind, - i = e.elements; + var e = function e(_e) { + return function (n) { + return "function" == typeof n ? function (e, n) { + return customElements.define(e, n), n; + }(_e, n) : function (e, n) { + var t = n.kind, + s = n.elements; return { kind: t, - elements: i, - finisher: function finisher(e) { - window.customElements.define(n, e); + elements: s, + finisher: function finisher(n) { + customElements.define(e, n); } }; - }(_n, e); + }(_e, n); }; }; - _exports.customElement = n; + _exports.customElement = e; }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lit/reactive-element/decorators/query-async.js b/build/es5-amd/node_modules/@lit/reactive-element/decorators/query-async.js index b2a1b48d225..936f35d54b8 100644 --- a/build/es5-amd/node_modules/@lit/reactive-element/decorators/query-async.js +++ b/build/es5-amd/node_modules/@lit/reactive-element/decorators/query-async.js @@ -6,6 +6,8 @@ define(["exports", "./base.js"], function (_exports, _base) { }); _exports.queryAsync = e; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + /** * @license * Copyright 2017 Google LLC @@ -16,9 +18,9 @@ define(["exports", "./base.js"], function (_exports, _base) { descriptor: function descriptor(r) { return { get: function () { - var _get = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _get = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var r; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lit/reactive-element/reactive-element.js b/build/es5-amd/node_modules/@lit/reactive-element/reactive-element.js index 7ba7abe1f00..713890c0e2f 100644 --- a/build/es5-amd/node_modules/@lit/reactive-element/reactive-element.js +++ b/build/es5-amd/node_modules/@lit/reactive-element/reactive-element.js @@ -50,6 +50,8 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -61,14 +63,15 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { */ var s; - var e = window.trustedTypes, - r = e ? e.emptyScript : "", - h = window.reactiveElementPolyfillSupport, - o = { + var e = window, + r = e.trustedTypes, + h = r ? r.emptyScript : "", + o = e.reactiveElementPolyfillSupport, + n = { toAttribute: function toAttribute(t, i) { switch (i) { case Boolean: - t = t ? r : null; + t = t ? h : null; break; case Object: @@ -103,42 +106,42 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { return s; } }, - n = function n(t, i) { + a = function a(t, i) { return i !== t && (i == i || t == t); }, l = { attribute: !0, type: String, - converter: o, + converter: n, reflect: !1, - hasChanged: n + hasChanged: a }; - _exports.notEqual = n; - _exports.defaultConverter = o; + _exports.notEqual = a; + _exports.defaultConverter = n; - var a = /*#__PURE__*/function (_HTMLElement) { - babelHelpers.inherits(a, _HTMLElement); + var d = /*#__PURE__*/function (_HTMLElement) { + babelHelpers.inherits(d, _HTMLElement); - var _super = _createSuper(a); + var _super = _createSuper(d); - function a() { + function d() { var _this; - babelHelpers.classCallCheck(this, a); - _this = _super.call(this), _this._$Et = new Map(), _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Ei = null, _this.o(); + babelHelpers.classCallCheck(this, d); + _this = _super.call(this), _this._$Ei = new Map(), _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$El = null, _this.u(); return _this; } - babelHelpers.createClass(a, [{ - key: "o", - value: function o() { + babelHelpers.createClass(d, [{ + key: "u", + value: function u() { var _this2 = this; var t; - this._$Ep = new Promise(function (t) { + this._$E_ = new Promise(function (t) { return _this2.enableUpdating = t; - }), this._$AL = new Map(), this._$Em(), this.requestUpdate(), null === (t = this.constructor.l) || void 0 === t || t.forEach(function (t) { + }), this._$AL = new Map(), this._$Eg(), this.requestUpdate(), null === (t = this.constructor.h) || void 0 === t || t.forEach(function (t) { return t(_this2); }); } @@ -146,21 +149,21 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { key: "addController", value: function addController(t) { var i, s; - (null !== (i = this._$Eg) && void 0 !== i ? i : this._$Eg = []).push(t), void 0 !== this.renderRoot && this.isConnected && (null === (s = t.hostConnected) || void 0 === s || s.call(t)); + (null !== (i = this._$ES) && void 0 !== i ? i : this._$ES = []).push(t), void 0 !== this.renderRoot && this.isConnected && (null === (s = t.hostConnected) || void 0 === s || s.call(t)); } }, { key: "removeController", value: function removeController(t) { var i; - null === (i = this._$Eg) || void 0 === i || i.splice(this._$Eg.indexOf(t) >>> 0, 1); + null === (i = this._$ES) || void 0 === i || i.splice(this._$ES.indexOf(t) >>> 0, 1); } }, { - key: "_$Em", - value: function _$Em() { + key: "_$Eg", + value: function _$Eg() { var _this3 = this; this.constructor.elementProperties.forEach(function (t, i) { - _this3.hasOwnProperty(i) && (_this3._$Et.set(i, _this3[i]), delete _this3[i]); + _this3.hasOwnProperty(i) && (_this3._$Ei.set(i, _this3[i]), delete _this3[i]); }); } }, { @@ -174,7 +177,7 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { key: "connectedCallback", value: function connectedCallback() { var t; - void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), null === (t = this._$Eg) || void 0 === t || t.forEach(function (t) { + void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), null === (t = this._$ES) || void 0 === t || t.forEach(function (t) { var i; return null === (i = t.hostConnected) || void 0 === i ? void 0 : i.call(t); }); @@ -186,7 +189,7 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { key: "disconnectedCallback", value: function disconnectedCallback() { var t; - null === (t = this._$Eg) || void 0 === t || t.forEach(function (t) { + null === (t = this._$ES) || void 0 === t || t.forEach(function (t) { var i; return null === (i = t.hostDisconnected) || void 0 === i ? void 0 : i.call(t); }); @@ -197,54 +200,55 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { this._$AK(t, s); } }, { - key: "_$ES", - value: function _$ES(t, i) { + key: "_$EO", + value: function _$EO(t, i) { var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : l; - var e, r; + var e; - var h = this.constructor._$Eh(t, s); + var r = this.constructor._$Ep(t, s); - if (void 0 !== h && !0 === s.reflect) { - var _n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o.toAttribute)(i, s.type); + if (void 0 !== r && !0 === s.reflect) { + var _h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n).toAttribute(i, s.type); - this._$Ei = t, null == _n ? this.removeAttribute(h) : this.setAttribute(h, _n), this._$Ei = null; + this._$El = t, null == _h ? this.removeAttribute(r) : this.setAttribute(r, _h), this._$El = null; } } }, { key: "_$AK", value: function _$AK(t, i) { - var s, e, r; + var s; - var h = this.constructor, - n = h._$Eu.get(t); + var e = this.constructor, + r = e._$Ev.get(t); - if (void 0 !== n && this._$Ei !== n) { - var _t = h.getPropertyOptions(n), - _l = _t.converter, - _a2 = null !== (r = null !== (e = null === (s = _l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof _l ? _l : null) && void 0 !== r ? r : o.fromAttribute; + if (void 0 !== r && this._$El !== r) { + var _t = e.getPropertyOptions(r), + _h2 = "function" == typeof _t.converter ? { + fromAttribute: _t.converter + } : void 0 !== (null === (s = _t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? _t.converter : n; - this._$Ei = n, this[n] = _a2(i, _t.type), this._$Ei = null; + this._$El = r, this[r] = _h2.fromAttribute(i, _t.type), this._$El = null; } } }, { key: "requestUpdate", value: function requestUpdate(t, i, s) { var e = !0; - void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_()); + void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej()); } }, { - key: "_$E_", + key: "_$Ej", value: function () { - var _$E_2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _$Ej2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var t; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: this.isUpdatePending = !0; _context.prev = 1; _context.next = 4; - return this._$Ep; + return this._$E_; case 4: _context.next = 9; @@ -278,11 +282,11 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { }, _callee, this, [[1, 6]]); })); - function _$E_() { - return _$E_2.apply(this, arguments); + function _$Ej() { + return _$Ej2.apply(this, arguments); } - return _$E_; + return _$Ej; }() }, { key: "scheduleUpdate", @@ -296,19 +300,19 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { var t; if (!this.isUpdatePending) return; - this.hasUpdated, this._$Et && (this._$Et.forEach(function (t, i) { + this.hasUpdated, this._$Ei && (this._$Ei.forEach(function (t, i) { return _this4[i] = t; - }), this._$Et = void 0); + }), this._$Ei = void 0); var i = !1; var s = this._$AL; try { - i = this.shouldUpdate(s), i ? (this.willUpdate(s), null === (t = this._$Eg) || void 0 === t || t.forEach(function (t) { + i = this.shouldUpdate(s), i ? (this.willUpdate(s), null === (t = this._$ES) || void 0 === t || t.forEach(function (t) { var i; return null === (i = t.hostUpdate) || void 0 === i ? void 0 : i.call(t); - }), this.update(s)) : this._$EU(); + }), this.update(s)) : this._$Ek(); } catch (t) { - throw i = !1, this._$EU(), t; + throw i = !1, this._$Ek(), t; } i && this._$AE(s); @@ -320,14 +324,14 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { key: "_$AE", value: function _$AE(t) { var i; - null === (i = this._$Eg) || void 0 === i || i.forEach(function (t) { + null === (i = this._$ES) || void 0 === i || i.forEach(function (t) { var i; return null === (i = t.hostUpdated) || void 0 === i ? void 0 : i.call(t); }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t); } }, { - key: "_$EU", - value: function _$EU() { + key: "_$Ek", + value: function _$Ek() { this._$AL = new Map(), this.isUpdatePending = !1; } }, { @@ -338,7 +342,7 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { }, { key: "getUpdateComplete", value: function getUpdateComplete() { - return this._$Ep; + return this._$E_; } }, { key: "shouldUpdate", @@ -351,8 +355,8 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { var _this5 = this; void 0 !== this._$EC && (this._$EC.forEach(function (t, i) { - return _this5._$ES(i, _this5[i], t); - }), this._$EC = void 0), this._$EU(); + return _this5._$EO(i, _this5[i], t); + }), this._$EC = void 0), this._$Ek(); } }, { key: "updated", @@ -364,7 +368,7 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { key: "addInitializer", value: function addInitializer(t) { var i; - null !== (i = this.l) && void 0 !== i || (this.l = []), this.l.push(t); + null !== (i = this.h) && void 0 !== i || (this.h = []), this.h.push(t); } }, { key: "observedAttributes", @@ -374,9 +378,9 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { this.finalize(); var t = []; return this.elementProperties.forEach(function (i, s) { - var e = _this6._$Eh(s, i); + var e = _this6._$Ep(s, i); - void 0 !== e && (_this6._$Eu.set(e, s), t.push(e)); + void 0 !== e && (_this6._$Ev.set(e, s), t.push(e)); }), t; } }, { @@ -418,7 +422,7 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { this.finalized = !0; var t = Object.getPrototypeOf(this); - if (t.finalize(), this.elementProperties = new Map(t.elementProperties), this._$Eu = new Map(), this.hasOwnProperty("properties")) { + if (t.finalize(), this.elementProperties = new Map(t.elementProperties), this._$Ev = new Map(), this.hasOwnProperty("properties")) { var _t2 = this.properties, _i = [].concat(babelHelpers.toConsumableArray(Object.getOwnPropertyNames(_t2)), babelHelpers.toConsumableArray(Object.getOwnPropertySymbols(_t2))); @@ -465,19 +469,19 @@ define(["exports", "./css-tag.js"], function (_exports, _cssTag) { return s; } }, { - key: "_$Eh", - value: function _$Eh(t, i) { + key: "_$Ep", + value: function _$Ep(t, i) { var s = i.attribute; return !1 === s ? void 0 : "string" == typeof s ? s : "string" == typeof t ? t.toLowerCase() : void 0; } }]); - return a; + return d; }( /*#__PURE__*/babelHelpers.wrapNativeSuper(HTMLElement)); - _exports.ReactiveElement = a; - a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = { + _exports.ReactiveElement = d; + d.finalized = !0, d.elementProperties = new Map(), d.elementStyles = [], d.shadowRootOptions = { mode: "open" - }, null == h || h({ - ReactiveElement: a - }), (null !== (s = globalThis.reactiveElementVersions) && void 0 !== s ? s : globalThis.reactiveElementVersions = []).push("1.3.2"); + }, null == o || o({ + ReactiveElement: d + }), (null !== (s = e.reactiveElementVersions) && void 0 !== s ? s : e.reactiveElementVersions = []).push("1.4.0"); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/a11y-carousel.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/a11y-carousel.js index c05d2fe54c6..027fb24ffa6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/a11y-carousel.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/a11y-carousel.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../radio-behaviors/radio-behaviors.js" }); _exports.a11yCarousel = void 0; - var _templateObject_3b57e9e01da511ed9d313b9780b2ae17, _templateObject2_3b57e9e01da511ed9d313b9780b2ae17, _templateObject3_3b57e9e01da511ed9d313b9780b2ae17, _templateObject4_3b57e9e01da511ed9d313b9780b2ae17, _templateObject5_3b57e9e01da511ed9d313b9780b2ae17; + var _templateObject_0e8adbd01e5811ed81a80d03c17d190b, _templateObject2_0e8adbd01e5811ed81a80d03c17d190b, _templateObject3_0e8adbd01e5811ed81a80d03c17d190b, _templateObject4_0e8adbd01e5811ed81a80d03c17d190b, _templateObject5_0e8adbd01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,8 +47,8 @@ define(["exports", "../../lit/index.js", "../radio-behaviors/radio-behaviors.js" babelHelpers.createClass(a11yCarousel, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3b57e9e01da511ed9d313b9780b2ae17 || (_templateObject_3b57e9e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n
\n \n \n ", "\n
\n ", "\n
\n "])), this.noPrevNext ? "" : (0, _index.html)(_templateObject2_3b57e9e01da511ed9d313b9780b2ae17 || (_templateObject2_3b57e9e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n \n ", "\n \n \n "])), this.prev, this.prevLabel, this.nextLabel, this.next, this.nextLabel, this.nextLabel), this.noButtons ? "" : (0, _index.html)(_templateObject3_3b57e9e01da511ed9d313b9780b2ae17 || (_templateObject3_3b57e9e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n
\n "])), (this.itemData || []).map(function (item) { - return (0, _index.html)(_templateObject4_3b57e9e01da511ed9d313b9780b2ae17 || (_templateObject4_3b57e9e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), item.id, item.index + 1); + return (0, _index.html)(_templateObject_0e8adbd01e5811ed81a80d03c17d190b || (_templateObject_0e8adbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n
\n \n \n ", "\n
\n ", "\n
\n "])), this.noPrevNext ? "" : (0, _index.html)(_templateObject2_0e8adbd01e5811ed81a80d03c17d190b || (_templateObject2_0e8adbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n \n ", "\n \n \n "])), this.prev, this.prevLabel, this.nextLabel, this.next, this.nextLabel, this.nextLabel), this.noButtons ? "" : (0, _index.html)(_templateObject3_0e8adbd01e5811ed81a80d03c17d190b || (_templateObject3_0e8adbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n
\n "])), (this.itemData || []).map(function (item) { + return (0, _index.html)(_templateObject4_0e8adbd01e5811ed81a80d03c17d190b || (_templateObject4_0e8adbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), item.id, item.index + 1); }))); } // properties available to the custom element for data binding @@ -174,7 +174,7 @@ define(["exports", "../../lit/index.js", "../radio-behaviors/radio-behaviors.js" key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject5_3b57e9e01da511ed9d313b9780b2ae17 || (_templateObject5_3b57e9e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n --a11y-carousel-background-image: none;\n }\n ::slotted(figure) {\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n :host([hidden]),\n ::slotted(figure:not([active])) {\n display: none !important;\n }\n .sr-only {\n position: absolute;\n left: -99999px;\n width: 0;\n overflow: hidden;\n }\n @media screen {\n #inner {\n margin-bottom: 10px;\n position: relative;\n z-index: 2;\n }\n .buttons {\n display: flex;\n align-items: stretch;\n justify-content: center;\n z-index: 200;\n }\n a11y-carousel-button.prevnext {\n position: absolute;\n margin: 0;\n padding: 0;\n top: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: center;\n border: 0px solid transparent;\n width: 50%;\n }\n a11y-carousel-button.prevnext simple-icon-lite {\n opacity: 0;\n --simple-icon-width: 30%;\n --simple-icon-height: 30%;\n transition: 0.5s all ease-in-out;\n }\n a11y-carousel-button.prevnext:focus,\n a11y-carousel-button.prevnext:hover {\n outline: none;\n }\n a11y-carousel-button.prevnext:focus simple-icon-lite,\n a11y-carousel-button.prevnext:hover simple-icon-lite {\n opacity: 1;\n color: var(--a11y-carousel-button-background-color, black);\n }\n a11y-carousel-button[button-type=\"prev\"] {\n left: 0;\n right: 50%;\n }\n a11y-carousel-button[button-type=\"next\"] {\n right: 0;\n left: 50%;\n align-items: flex-end;\n }\n a11y-carousel-button.button {\n flex: 0 0 var(--a11y-carousel-button-width, 40px);\n height: var(--a11y-carousel-button-height, 10px);\n margin: var(--a11y-carousel-button-margin, 5px);\n padding: var(--a11y-carousel-button-padding, 0px);\n background-color: var(\n --a11y-carousel-button-background-color,\n black\n );\n border: var(--a11y-carousel-button-border, 1px solid black);\n border-radius: var(\n --a11y-carousel-button-border-radius,\n 1px solid black\n );\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject5_0e8adbd01e5811ed81a80d03c17d190b || (_templateObject5_0e8adbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n --a11y-carousel-background-image: none;\n }\n ::slotted(figure) {\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n :host([hidden]),\n ::slotted(figure:not([active])) {\n display: none !important;\n }\n .sr-only {\n position: absolute;\n left: -99999px;\n width: 0;\n overflow: hidden;\n }\n @media screen {\n #inner {\n margin-bottom: 10px;\n position: relative;\n z-index: 2;\n }\n .buttons {\n display: flex;\n align-items: stretch;\n justify-content: center;\n z-index: 200;\n }\n a11y-carousel-button.prevnext {\n position: absolute;\n margin: 0;\n padding: 0;\n top: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: center;\n border: 0px solid transparent;\n width: 50%;\n }\n a11y-carousel-button.prevnext simple-icon-lite {\n opacity: 0;\n --simple-icon-width: 30%;\n --simple-icon-height: 30%;\n transition: 0.5s all ease-in-out;\n }\n a11y-carousel-button.prevnext:focus,\n a11y-carousel-button.prevnext:hover {\n outline: none;\n }\n a11y-carousel-button.prevnext:focus simple-icon-lite,\n a11y-carousel-button.prevnext:hover simple-icon-lite {\n opacity: 1;\n color: var(--a11y-carousel-button-background-color, black);\n }\n a11y-carousel-button[button-type=\"prev\"] {\n left: 0;\n right: 50%;\n }\n a11y-carousel-button[button-type=\"next\"] {\n right: 0;\n left: 50%;\n align-items: flex-end;\n }\n a11y-carousel-button.button {\n flex: 0 0 var(--a11y-carousel-button-width, 40px);\n height: var(--a11y-carousel-button-height, 10px);\n margin: var(--a11y-carousel-button-margin, 5px);\n padding: var(--a11y-carousel-button-padding, 0px);\n background-color: var(\n --a11y-carousel-button-background-color,\n black\n );\n border: var(--a11y-carousel-button-border, 1px solid black);\n border-radius: var(\n --a11y-carousel-button-border-radius,\n 1px solid black\n );\n }\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/lib/a11y-carousel-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/lib/a11y-carousel-button.js index 43c7fb27e29..5a3e0148f3b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/lib/a11y-carousel-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-carousel/lib/a11y-carousel-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.a11yCarouselButton = void 0; - var _templateObject_4adf70401da511ed9d313b9780b2ae17, _templateObject2_4adf70401da511ed9d313b9780b2ae17; + var _templateObject_1f9817d01e5811ed81a80d03c17d190b, _templateObject2_1f9817d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -47,7 +47,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(a11yCarouselButton, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4adf70401da511ed9d313b9780b2ae17 || (_templateObject_4adf70401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_1f9817d01e5811ed81a80d03c17d190b || (_templateObject_1f9817d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } // properties available to the custom element for data binding }, { @@ -92,7 +92,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_4adf70401da511ed9d313b9780b2ae17 || (_templateObject2_4adf70401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline;\n background-color: transparent;\n border: 1px solid black;\n padding: 2px 5px;\n margin: 15px 2px;\n text-align: center;\n }\n :host([hidden]) {\n display: none !important;\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n @media print {\n :host {\n display: none !important;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1f9817d01e5811ed81a80d03c17d190b || (_templateObject2_1f9817d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline;\n background-color: transparent;\n border: 1px solid black;\n padding: 2px 5px;\n margin: 15px 2px;\n text-align: center;\n }\n :host([hidden]) {\n display: none !important;\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n @media print {\n :host {\n display: none !important;\n }\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/a11y-collapse.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/a11y-collapse.js index a9a709006f7..e7f86d10c82 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/a11y-collapse.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/a11y-collapse.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-icon/lib/simple-icon _exports.A11yCollapse = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3bf8bdc01da511ed9d313b9780b2ae17, _templateObject2_3bf8bdc01da511ed9d313b9780b2ae17, _templateObject3_3bf8bdc01da511ed9d313b9780b2ae17, _templateObject4_3bf8bdc01da511ed9d313b9780b2ae17; + var _templateObject_0e870b401e5811ed81a80d03c17d190b, _templateObject2_0e870b401e5811ed81a80d03c17d190b, _templateObject3_0e870b401e5811ed81a80d03c17d190b, _templateObject4_0e870b401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -76,7 +76,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-icon/lib/simple-icon babelHelpers.createClass(A11yCollapse, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3bf8bdc01da511ed9d313b9780b2ae17 || (_templateObject_3bf8bdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n
\n \n \n
\n \n "])), this.headingButton || this.accordion ? this._makeHeadingButton() : this._makeIconButton(), this.expanded ? "false" : "true"); + return (0, _index.html)(_templateObject_0e870b401e5811ed81a80d03c17d190b || (_templateObject_0e870b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n
\n \n \n
\n \n "])), this.headingButton || this.accordion ? this._makeHeadingButton() : this._makeIconButton(), this.expanded ? "false" : "true"); } }, { key: "connectedCallback", @@ -234,7 +234,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-icon/lib/simple-icon }, { key: "_makeHeadingButton", value: function _makeHeadingButton() { - return (0, _index.html)(_templateObject2_3bf8bdc01da511ed9d313b9780b2ae17 || (_templateObject2_3bf8bdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
\n \n \n \n ", "\n "])), this.expanded ? "true" : "false", this._onClick, this.disabled, this._getExpanded(this.label, this.labelExpanded, this.expanded), !this.expanded && !this.iconExpanded ? "rotated" : "", this._getExpanded(this.icon || "icons:expand-more", this.iconExpanded, this.expanded), this._getExpanded(this.tooltip, this.tooltipExpanded, this.expanded)); + return (0, _index.html)(_templateObject2_0e870b401e5811ed81a80d03c17d190b || (_templateObject2_0e870b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
\n \n \n \n ", "\n "])), this.expanded ? "true" : "false", this._onClick, this.disabled, this._getExpanded(this.label, this.labelExpanded, this.expanded), !this.expanded && !this.iconExpanded ? "rotated" : "", this._getExpanded(this.icon || "icons:expand-more", this.iconExpanded, this.expanded), this._getExpanded(this.tooltip, this.tooltipExpanded, this.expanded)); } /** * renders collapse item where only icon is a clickable button @@ -244,7 +244,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-icon/lib/simple-icon }, { key: "_makeIconButton", value: function _makeIconButton() { - return (0, _index.html)(_templateObject3_3bf8bdc01da511ed9d313b9780b2ae17 || (_templateObject3_3bf8bdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n
\n \n \n ", "\n
\n "])), !this.expanded && !this.iconExpanded ? "rotated" : "", this._onClick, this.disabled, this._getExpanded(this.label, this.labelExpanded, this.expanded), this._getExpanded(this.icon || "icons:expand-more", this.iconExpanded, this.expanded), this.expanded ? "true" : "false", this._getExpanded(this.tooltip, this.tooltipExpanded, this.expanded)); + return (0, _index.html)(_templateObject3_0e870b401e5811ed81a80d03c17d190b || (_templateObject3_0e870b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n
\n \n \n ", "\n
\n "])), !this.expanded && !this.iconExpanded ? "rotated" : "", this._onClick, this.disabled, this._getExpanded(this.label, this.labelExpanded, this.expanded), this._getExpanded(this.icon || "icons:expand-more", this.iconExpanded, this.expanded), this.expanded ? "true" : "false", this._getExpanded(this.tooltip, this.tooltipExpanded, this.expanded)); } /** * Handle click @@ -283,7 +283,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-icon/lib/simple-icon }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_3bf8bdc01da511ed9d313b9780b2ae17 || (_templateObject4_3bf8bdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: var(--a11y-collapse-margin, 15px 0);\n border: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);\n }\n :host(:not(:first-of-type)) {\n border-top: var(\n --a11y-collapse-border-between,\n var(--a11y-collapse-border, 1px solid)\n );\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n *[aria-controls=\"content\"][disabled] {\n cursor: not-allowed;\n }\n #heading {\n display: flex;\n justify-content: stretch;\n align-items: center;\n padding: 0\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n 0\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n font-weight: var(--a11y-collapse-heading-font-weight, bold);\n margin: var(--a11y-collapse-margin, unset);\n color: var(--a11y-collapse-heading-color, unset);\n background-color: var(\n --a11y-collapse-heading-background-color,\n unset\n );\n }\n :host([disabled]) #heading {\n color: var(--a11y-collapse-disabled-heading-color, unset);\n background-color: var(\n --a11y-collapse-heading-disabled-background-color,\n unset\n );\n }\n #text {\n flex-grow: 1;\n overflow: hidden;\n }\n #expand {\n transform: rotate(0deg);\n transition: transform 0.75s ease;\n padding: (--a11y-collapse-icon-padding, unset);\n }\n #content {\n padding: var(\n --a11y-collapse-padding-top,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n var(\n --a11y-collapse-padding-bottom,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n }\n @media screen {\n #expand.rotated {\n transform: rotate(-90deg);\n transition: transform 0.75s ease;\n }\n :host #content {\n padding: 0\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n 0\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: 0px solid;\n border-color: var(--a11y-collapse-border-color, inherit);\n max-height: 0;\n transition: all 0.75s ease;\n overflow-y: hidden;\n }\n :host #content-inner {\n max-height: 0;\n overflow-y: var(--a11y-collapse-overflow-y, hidden);\n }\n :host([expanded]) #content {\n padding: var(\n --a11y-collapse-padding-top,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n var(\n --a11y-collapse-padding-bottom,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n max-height: 200000000000vh;\n }\n :host([expanded]) #content-inner {\n max-height: var(--a11y-collapse-max-height, 200000000000vh);\n transition: max-height 0.75s ease;\n }\n :host(:not([expanded])) #content {\n display: none;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject4_0e870b401e5811ed81a80d03c17d190b || (_templateObject4_0e870b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: var(--a11y-collapse-margin, 15px 0);\n border: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);\n }\n :host(:not(:first-of-type)) {\n border-top: var(\n --a11y-collapse-border-between,\n var(--a11y-collapse-border, 1px solid)\n );\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n *[aria-controls=\"content\"][disabled] {\n cursor: not-allowed;\n }\n #heading {\n display: flex;\n justify-content: stretch;\n align-items: center;\n padding: 0\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n 0\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n font-weight: var(--a11y-collapse-heading-font-weight, bold);\n margin: var(--a11y-collapse-margin, unset);\n color: var(--a11y-collapse-heading-color, unset);\n background-color: var(\n --a11y-collapse-heading-background-color,\n unset\n );\n }\n :host([disabled]) #heading {\n color: var(--a11y-collapse-disabled-heading-color, unset);\n background-color: var(\n --a11y-collapse-heading-disabled-background-color,\n unset\n );\n }\n #text {\n flex-grow: 1;\n overflow: hidden;\n }\n #expand {\n transform: rotate(0deg);\n transition: transform 0.75s ease;\n padding: (--a11y-collapse-icon-padding, unset);\n }\n #content {\n padding: var(\n --a11y-collapse-padding-top,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n var(\n --a11y-collapse-padding-bottom,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n }\n @media screen {\n #expand.rotated {\n transform: rotate(-90deg);\n transition: transform 0.75s ease;\n }\n :host #content {\n padding: 0\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n 0\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: 0px solid;\n border-color: var(--a11y-collapse-border-color, inherit);\n max-height: 0;\n transition: all 0.75s ease;\n overflow-y: hidden;\n }\n :host #content-inner {\n max-height: 0;\n overflow-y: var(--a11y-collapse-overflow-y, hidden);\n }\n :host([expanded]) #content {\n padding: var(\n --a11y-collapse-padding-top,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-right,\n var(--a11y-collapse-horizontal-padding, 16px)\n )\n var(\n --a11y-collapse-padding-bottom,\n var(--a11y-collapse-vertical-padding, 16px)\n )\n var(\n --a11y-collapse-padding-left,\n var(--a11y-collapse-horizontal-padding, 16px)\n );\n border-top: var(--a11y-collapse-border, 1px solid);\n border-color: var(--a11y-collapse-border-color, inherit);\n max-height: 200000000000vh;\n }\n :host([expanded]) #content-inner {\n max-height: var(--a11y-collapse-max-height, 200000000000vh);\n transition: max-height 0.75s ease;\n }\n :host(:not([expanded])) #content {\n display: none;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js index fd474e00b1c..39a9f6aaaf8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../a11y-collapse.js"], func _exports.A11yCollapseGroup = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4ae4ee801da511ed9d313b9780b2ae17, _templateObject2_4ae4ee801da511ed9d313b9780b2ae17; + var _templateObject_1f9d47f01e5811ed81a80d03c17d190b, _templateObject2_1f9d47f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -87,7 +87,7 @@ define(["exports", "meta", "../../../lit/index.js", "../a11y-collapse.js"], func babelHelpers.createClass(A11yCollapseGroup, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ae4ee801da511ed9d313b9780b2ae17 || (_templateObject_4ae4ee801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
"]))); + return (0, _index.html)(_templateObject_1f9d47f01e5811ed81a80d03c17d190b || (_templateObject_1f9d47f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
"]))); } }, { key: "items", @@ -173,7 +173,7 @@ define(["exports", "meta", "../../../lit/index.js", "../a11y-collapse.js"], func }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4ae4ee801da511ed9d313b9780b2ae17 || (_templateObject2_4ae4ee801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: var(--a11y-collapse-group-margin, 15px 0);\n --a11y-collapse-margin: 15px;\n }\n :host([hidden]) {\n display: none;\n }\n #heading {\n font-weight: bold;\n }\n .wrapper {\n border-radius: 0;\n display: block;\n --a11y-collapse-margin: 0 0;\n --a11y-collapse-border-between: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1f9d47f01e5811ed81a80d03c17d190b || (_templateObject2_1f9d47f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: var(--a11y-collapse-group-margin, 15px 0);\n --a11y-collapse-margin: 15px;\n }\n :host([hidden]) {\n display: none;\n }\n #heading {\n font-weight: bold;\n }\n .wrapper {\n border-radius: 0;\n display: block;\n --a11y-collapse-margin: 0 0;\n --a11y-collapse-border-between: none;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/dist/a11y-collapse-group.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/dist/a11y-collapse-group.dev.js index a7b63432e67..f76bf0def9b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/dist/a11y-collapse-group.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/dist/a11y-collapse-group.dev.js @@ -72,20 +72,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_906aef901da511ed9d313b9780b2ae17() { +function _templateObject2_58a161801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: block;\n margin: var(--a11y-collapse-group-margin, 15px 0);\n --a11y-collapse-margin: 15px;\n }\n :host([hidden]) {\n display: none;\n }\n #heading {\n font-weight: bold;\n }\n .wrapper {\n border-radius: 0;\n --a11y-collapse-margin: 0 0;\n --a11y-collapse-border-between: none;\n }\n "]); - _templateObject2_906aef901da511ed9d313b9780b2ae17 = function _templateObject2_906aef901da511ed9d313b9780b2ae17() { + _templateObject2_58a161801e5811ed81a80d03c17d190b = function _templateObject2_58a161801e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_906aef901da511ed9d313b9780b2ae17() { +function _templateObject_58a161801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['
']); - _templateObject_906aef901da511ed9d313b9780b2ae17 = function _templateObject_906aef901da511ed9d313b9780b2ae17() { + _templateObject_58a161801e5811ed81a80d03c17d190b = function _templateObject_58a161801e5811ed81a80d03c17d190b() { return data; }; @@ -228,12 +228,12 @@ var A11yCollapseGroup = /*#__PURE__*/function (_LitElement) { _createClass(A11yCollapseGroup, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_906aef901da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject_58a161801e5811ed81a80d03c17d190b()); } }], [{ key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject2_906aef901da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_58a161801e5811ed81a80d03c17d190b())]; } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-compare-image/a11y-compare-image.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-compare-image/a11y-compare-image.js index 08ad2293da5..9ffb304dd55 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-compare-image/a11y-compare-image.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-compare-image/a11y-compare-image.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col _exports.a11yCompareImage = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3b6aae901da511ed9d313b9780b2ae17, _templateObject2_3b6aae901da511ed9d313b9780b2ae17, _templateObject3_3b6aae901da511ed9d313b9780b2ae17; + var _templateObject_0e8fe4e01e5811ed81a80d03c17d190b, _templateObject2_0e8fe4e01e5811ed81a80d03c17d190b, _templateObject3_0e8fe4e01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -51,8 +51,8 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col babelHelpers.createClass(a11yCompareImage, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3b6aae901da511ed9d313b9780b2ae17 || (_templateObject_3b6aae901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
\n
\n \n
\n
\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n ", "\n \n
\n
"])), this.__lower, this.__upper, this.__markers.map(function (marker) { - return (0, _index.html)(_templateObject2_3b6aae901da511ed9d313b9780b2ae17 || (_templateObject2_3b6aae901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), marker, marker == 100); + return (0, _index.html)(_templateObject_0e8fe4e01e5811ed81a80d03c17d190b || (_templateObject_0e8fe4e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
\n
\n \n
\n
\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n ", "\n \n
\n
"])), this.__lower, this.__upper, this.__markers.map(function (marker) { + return (0, _index.html)(_templateObject2_0e8fe4e01e5811ed81a80d03c17d190b || (_templateObject2_0e8fe4e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), marker, marker == 100); }), this.accentColor, this.dark, this.label, this._valueChanged, this.position, this.position); } }, { @@ -142,7 +142,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(a11yCompareImage), "styles", this)), [(0, _index.css)(_templateObject3_3b6aae901da511ed9d313b9780b2ae17 || (_templateObject3_3b6aae901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n margin: 15px 0;\n --simple-range-input-track-height: 4pxsnow;\n --simple-range-input-pin-height: 20px;\n --simple-range-offet: calc(\n var(--simple-range-input-pin-height, 20px) / 2\n );\n }\n :host([hidden]) {\n display: none !important;\n }\n figure {\n margin: 0;\n }\n #container,\n #container > div {\n margin: 0;\n padding: 0;\n }\n #container,\n #input {\n position: relative;\n }\n /* Added background-size: cover to adjust the bottom layer to match top in first example */\n #container {\n background-size: cover;\n background-repeat: no-repeat;\n }\n\n #layer {\n top: 0;\n left: 0;\n position: absolute;\n height: 100%;\n opacity: var(--a11y-compare-image-opacity, 1);\n width: var(--a11y-compare-image-width, 50%);\n background-size: cover;\n background-position-x: 0%;\n background-repeat: no-repeat;\n }\n #placeholder {\n opacity: 0;\n }\n\n #bottom {\n width: 100%;\n }\n #slider {\n top: calc(0px - var(--simple-range-offet, 10px));\n left: 0;\n position: absolute;\n width: 100%;\n margin: 0;\n }\n .marker {\n z-index: 1;\n top: calc(0px - var(--simple-range-input-pin-height, 20px) / 2);\n position: absolute;\n width: 1px;\n outline: 1px solid\n var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, grey)\n );\n background-color: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n padding-top: var(--simple-range-input-pin-height, 20px);\n }\n #placeholder ::slotted([slot=\"bottom\"]) {\n max-width: 100%;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(a11yCompareImage), "styles", this)), [(0, _index.css)(_templateObject3_0e8fe4e01e5811ed81a80d03c17d190b || (_templateObject3_0e8fe4e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n margin: 15px 0;\n --simple-range-input-track-height: 4pxsnow;\n --simple-range-input-pin-height: 20px;\n --simple-range-offet: calc(\n var(--simple-range-input-pin-height, 20px) / 2\n );\n }\n :host([hidden]) {\n display: none !important;\n }\n figure {\n margin: 0;\n }\n #container,\n #container > div {\n margin: 0;\n padding: 0;\n }\n #container,\n #input {\n position: relative;\n }\n /* Added background-size: cover to adjust the bottom layer to match top in first example */\n #container {\n background-size: cover;\n background-repeat: no-repeat;\n }\n\n #layer {\n top: 0;\n left: 0;\n position: absolute;\n height: 100%;\n opacity: var(--a11y-compare-image-opacity, 1);\n width: var(--a11y-compare-image-width, 50%);\n background-size: cover;\n background-position-x: 0%;\n background-repeat: no-repeat;\n }\n #placeholder {\n opacity: 0;\n }\n\n #bottom {\n width: 100%;\n }\n #slider {\n top: calc(0px - var(--simple-range-offet, 10px));\n left: 0;\n position: absolute;\n width: 100%;\n margin: 0;\n }\n .marker {\n z-index: 1;\n top: calc(0px - var(--simple-range-input-pin-height, 20px) / 2);\n position: absolute;\n width: 1px;\n outline: 1px solid\n var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, grey)\n );\n background-color: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n padding-top: var(--simple-range-input-pin-height, 20px);\n }\n #placeholder ::slotted([slot=\"bottom\"]) {\n max-width: 100%;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-details/a11y-details.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-details/a11y-details.js index 4ca5fca729f..85e57db7db0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-details/a11y-details.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-details/a11y-details.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.A11yDetails = void 0; - var _templateObject_3c29b8d01da511ed9d313b9780b2ae17, _templateObject2_3c29b8d01da511ed9d313b9780b2ae17; + var _templateObject_0e9f00101e5811ed81a80d03c17d190b, _templateObject2_0e9f00101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -91,7 +91,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3c29b8d01da511ed9d313b9780b2ae17 || (_templateObject_3c29b8d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
\n \n ", "\n ", "\n \n \n
\n
\n "])), this._handleClick, this._handleKeyup, this.openText, this.closeText, this.summaryClasses); + return (0, _index.html)(_templateObject_0e9f00101e5811ed81a80d03c17d190b || (_templateObject_0e9f00101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
\n \n ", "\n ", "\n \n \n
\n
\n "])), this._handleClick, this._handleKeyup, this.openText, this.closeText, this.summaryClasses); } // haxProperty definition }, { @@ -350,7 +350,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_3c29b8d01da511ed9d313b9780b2ae17 || (_templateObject2_3c29b8d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host,\n details {\n display: inline-flex;\n overflow: visible;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n summary {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: var(--a11y-details-summary-fontSize, 0.8em);\n color: var(--a11y-details-summary-color, #000);\n background-color: var(--a11y-details-summary-backgroundColor, #fff);\n border-color: var(--a11y-details-summary-borderColor, #ddd);\n border-width: var(--a11y-details-summary-borderWidth, 1px);\n border-style: var(--a11y-details-summary-borderStyle, solid);\n border-radius: var(--a11y-details-summary-borderRadius, 3px);\n padding: var(--a11y-details-summary-padding, 0.5em);\n }\n\n summary:focus {\n outline: var(--a11y-details-summary-focus-outline, 1px solid #006688);\n color: var(\n --a11y-details-summary-focus-color,\n var(--a11y-details-summary-color, #000)\n );\n background-color: var(\n --a11y-details-summary-focus-backgroundColor,\n var(--a11y-details-summary-backgroundColor, #fff)\n );\n border-color: var(\n --a11y-details-summary-focus-borderColor,\n var(--a11y-details-borderColor, #999)\n );\n border-width: var(\n --a11y-details-summary-focus-borderWidth,\n var(--a11y-details-summary-borderWidth, 1px)\n );\n border-style: var(\n --a11y-details-summary-focus-borderStyle,\n var(--a11y-details-summary-borderStyle, dotted)\n );\n border-radius: var(\n --a11y-details-summary-focus-borderRadius,\n var(--a11y-details-summary-borderRadius, 3px)\n );\n }\n\n #details-inner {\n position: absolute;\n display: none;\n max-height: 0px;\n transition: all 0.7s ease-in-out 0.2s;\n overflow-y: auto;\n padding: 0;\n font-size: var(--a11y-details-fontSize, 0.8em);\n color: var(--a11y-details-color, #000);\n background-color: var(\n --a11y-details-backgroundColor,\n rgba(255, 255, 255, 0.8)\n );\n border-color: var(--a11y-details-borderColor, #999);\n border-width: var(--a11y-details-borderWidth, 1px);\n border-style: var(--a11y-details-borderStyle, solid);\n border-radius: var(--a11y-details-borderRadius, 3px);\n }\n\n ::slotted(*:not[slot=\"summary\"]) {\n display: none;\n }\n\n .close-text,\n details[open] .open-text,\n details:not([open]) .has-open-text,\n details[open] .has-close-text {\n display: none;\n }\n\n details[open] .close-text {\n display: inline;\n }\n\n ::slotted([slot=\"details\"]) {\n display: block;\n height: auto;\n max-height: 0;\n overflow: hidden;\n transition: all 0.7s ease-in-out 0.2s;\n }\n\n details[open] ::slotted([slot=\"details\"]) {\n max-height: var(--a11y-details-maxHeight, 400px);\n transition: all 0.7s ease-in-out 0.2s;\n }\n\n details[open] #details-inner {\n z-index: 9999999999;\n display: block;\n left: var(--a11y-details-left, unset);\n right: var(--a11y-details-right, unset);\n padding: var(--a11y-details-padding, 0.5em);\n max-height: var(--a11y-details-maxHeight, 400px);\n padding: var(--a11y-details-padding, 0.5em);\n width: calc(auto - 2 * var(--a11y-details-padding, 0.5em));\n transition: all 0.7s ease-in-out 0.2s;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0e9f00101e5811ed81a80d03c17d190b || (_templateObject2_0e9f00101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host,\n details {\n display: inline-flex;\n overflow: visible;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n summary {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: var(--a11y-details-summary-fontSize, 0.8em);\n color: var(--a11y-details-summary-color, #000);\n background-color: var(--a11y-details-summary-backgroundColor, #fff);\n border-color: var(--a11y-details-summary-borderColor, #ddd);\n border-width: var(--a11y-details-summary-borderWidth, 1px);\n border-style: var(--a11y-details-summary-borderStyle, solid);\n border-radius: var(--a11y-details-summary-borderRadius, 3px);\n padding: var(--a11y-details-summary-padding, 0.5em);\n }\n\n summary:focus {\n outline: var(--a11y-details-summary-focus-outline, 1px solid #006688);\n color: var(\n --a11y-details-summary-focus-color,\n var(--a11y-details-summary-color, #000)\n );\n background-color: var(\n --a11y-details-summary-focus-backgroundColor,\n var(--a11y-details-summary-backgroundColor, #fff)\n );\n border-color: var(\n --a11y-details-summary-focus-borderColor,\n var(--a11y-details-borderColor, #999)\n );\n border-width: var(\n --a11y-details-summary-focus-borderWidth,\n var(--a11y-details-summary-borderWidth, 1px)\n );\n border-style: var(\n --a11y-details-summary-focus-borderStyle,\n var(--a11y-details-summary-borderStyle, dotted)\n );\n border-radius: var(\n --a11y-details-summary-focus-borderRadius,\n var(--a11y-details-summary-borderRadius, 3px)\n );\n }\n\n #details-inner {\n position: absolute;\n display: none;\n max-height: 0px;\n transition: all 0.7s ease-in-out 0.2s;\n overflow-y: auto;\n padding: 0;\n font-size: var(--a11y-details-fontSize, 0.8em);\n color: var(--a11y-details-color, #000);\n background-color: var(\n --a11y-details-backgroundColor,\n rgba(255, 255, 255, 0.8)\n );\n border-color: var(--a11y-details-borderColor, #999);\n border-width: var(--a11y-details-borderWidth, 1px);\n border-style: var(--a11y-details-borderStyle, solid);\n border-radius: var(--a11y-details-borderRadius, 3px);\n }\n\n ::slotted(*:not[slot=\"summary\"]) {\n display: none;\n }\n\n .close-text,\n details[open] .open-text,\n details:not([open]) .has-open-text,\n details[open] .has-close-text {\n display: none;\n }\n\n details[open] .close-text {\n display: inline;\n }\n\n ::slotted([slot=\"details\"]) {\n display: block;\n height: auto;\n max-height: 0;\n overflow: hidden;\n transition: all 0.7s ease-in-out 0.2s;\n }\n\n details[open] ::slotted([slot=\"details\"]) {\n max-height: var(--a11y-details-maxHeight, 400px);\n transition: all 0.7s ease-in-out 0.2s;\n }\n\n details[open] #details-inner {\n z-index: 9999999999;\n display: block;\n left: var(--a11y-details-left, unset);\n right: var(--a11y-details-right, unset);\n padding: var(--a11y-details-padding, 0.5em);\n max-height: var(--a11y-details-maxHeight, 400px);\n padding: var(--a11y-details-padding, 0.5em);\n width: calc(auto - 2 * var(--a11y-details-padding, 0.5em));\n transition: all 0.7s ease-in-out 0.2s;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-figure/a11y-figure.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-figure/a11y-figure.js index 5962f8065ea..8d7ff925044 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-figure/a11y-figure.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-figure/a11y-figure.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../a11y-details/a11y-details.js"], fun }); _exports.A11yFigure = void 0; - var _templateObject_3c0f7a101da511ed9d313b9780b2ae17, _templateObject2_3c0f7a101da511ed9d313b9780b2ae17, _templateObject3_3c0f7a101da511ed9d313b9780b2ae17; + var _templateObject_0e942aa01e5811ed81a80d03c17d190b, _templateObject2_0e942aa01e5811ed81a80d03c17d190b, _templateObject3_0e942aa01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -92,7 +92,7 @@ define(["exports", "../../lit/index.js", "../a11y-details/a11y-details.js"], fun key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3c0f7a101da511ed9d313b9780b2ae17 || (_templateObject_3c0f7a101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n \n
\n \n \n
\n
\n \n \n
\n
\n \n "])), this.imgSrc ? (0, _index.html)(_templateObject2_3c0f7a101da511ed9d313b9780b2ae17 || (_templateObject2_3c0f7a101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \"", "])), this.imgSrc, this.imgAlt) : "", this.imgSrc, this.openText, this.closeText, !this.__hasDetail); + return (0, _index.html)(_templateObject_0e942aa01e5811ed81a80d03c17d190b || (_templateObject_0e942aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n \n
\n \n \n
\n
\n \n \n
\n
\n \n "])), this.imgSrc ? (0, _index.html)(_templateObject2_0e942aa01e5811ed81a80d03c17d190b || (_templateObject2_0e942aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \"", "])), this.imgSrc, this.imgAlt) : "", this.imgSrc, this.openText, this.closeText, !this.__hasDetail); } // haxProperty definition }, { @@ -205,7 +205,7 @@ define(["exports", "../../lit/index.js", "../a11y-details/a11y-details.js"], fun key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject3_3c0f7a101da511ed9d313b9780b2ae17 || (_templateObject3_3c0f7a101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n padding: 5px;\n border: 1px solid #ddd;\n }\n :host([hidden]) {\n display: none;\n }\n figure {\n display: inline-table;\n position: relative;\n margin: 0;\n }\n figcaption {\n display: table-caption;\n caption-side: bottom;\n position: relative;\n margin: var(--a11y-figure-figcaption-margin, 0);\n padding: var(--a11y-figure-figcaption-padding, 0);\n font-size: var(--a11y-figure-figcaption-fontSize, unset);\n background-color: var(--a11y-figure-figcaption-backgroundColor, #fff);\n color: var(--a11y-figure-figcaption-color, #000);\n --a11y-details-left: var(--a11y-figure-details-left, 0);\n --a11y-details-right: var(--a11y-figure-details-right, 0);\n --a11y-details-fontSize: var(--a11y-figure-details-fontSize, 0.8em);\n }\n ::slotted([slot=\"figcaption\"]) {\n margin: 0;\n flex: 1 1 auto;\n }\n img,\n ::slotted([slot=\"image\"]) {\n width: 100%;\n }\n a11y-details:not([hidden]) {\n display: flex;\n justify-content: flex-end;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_0e942aa01e5811ed81a80d03c17d190b || (_templateObject3_0e942aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n padding: 5px;\n border: 1px solid #ddd;\n }\n :host([hidden]) {\n display: none;\n }\n figure {\n display: inline-table;\n position: relative;\n margin: 0;\n }\n figcaption {\n display: table-caption;\n caption-side: bottom;\n position: relative;\n margin: var(--a11y-figure-figcaption-margin, 0);\n padding: var(--a11y-figure-figcaption-padding, 0);\n font-size: var(--a11y-figure-figcaption-fontSize, unset);\n background-color: var(--a11y-figure-figcaption-backgroundColor, #fff);\n color: var(--a11y-figure-figcaption-color, #000);\n --a11y-details-left: var(--a11y-figure-details-left, 0);\n --a11y-details-right: var(--a11y-figure-details-right, 0);\n --a11y-details-fontSize: var(--a11y-figure-details-fontSize, 0.8em);\n }\n ::slotted([slot=\"figcaption\"]) {\n margin: 0;\n flex: 1 1 auto;\n }\n img,\n ::slotted([slot=\"image\"]) {\n width: 100%;\n }\n a11y-details:not([hidden]) {\n display: flex;\n justify-content: flex-end;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-gif-player/a11y-gif-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-gif-player/a11y-gif-player.js index 5667adf24c5..b75a3804ee9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-gif-player/a11y-gif-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-gif-player/a11y-gif-player.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_3c3ddd101da511ed9d313b9780b2ae17, _templateObject2_3c3ddd101da511ed9d313b9780b2ae17, _templateObject3_3c3ddd101da511ed9d313b9780b2ae17, _templateObject4_3c3ddd101da511ed9d313b9780b2ae17; + var _templateObject_0e9933b01e5811ed81a80d03c17d190b, _templateObject2_0e9933b01e5811ed81a80d03c17d190b, _templateObject3_0e9933b01e5811ed81a80d03c17d190b, _templateObject4_0e9933b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -92,7 +92,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_3c3ddd101da511ed9d313b9780b2ae17 || (_templateObject_3c3ddd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", " "])), this.elementVisible ? (0, _index.html)(_templateObject2_3c3ddd101da511ed9d313b9780b2ae17 || (_templateObject2_3c3ddd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n \n \n ", "\n\n \n \n \n \n GIF\n \n \n \n ", "\n \n \n \n
info
\n
", "
\n \n
\n \n ", "\n \n "])), this.__gifLoaded && this.__playing ? this.src : this.srcWithoutAnimation, this.alt, this.longdesc ? "longdesc" : "", (this.describedBy || "").trim(), this.__playing ? (0, _index.html)(_templateObject3_3c3ddd101da511ed9d313b9780b2ae17 || (_templateObject3_3c3ddd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.src, this.__imageLoaded) : _index.nothing, this.__playing ? "true" : "false", this.toggle, this.disabled || !this.src, this.srcWithoutAnimation, this.__playing && this.tooltipPlaying ? this.tooltipPlaying : this.tooltip, !this.src || !this.longdesc, this.__playing ? 0 : 1, this.longdesc, this.__playing && this.tooltipPlaying ? this.tooltipPlaying : this.tooltip) : _index.nothing); + return (0, _index.html)(_templateObject_0e9933b01e5811ed81a80d03c17d190b || (_templateObject_0e9933b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", " "])), this.elementVisible ? (0, _index.html)(_templateObject2_0e9933b01e5811ed81a80d03c17d190b || (_templateObject2_0e9933b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n \n \n ", "\n\n \n \n \n \n GIF\n \n \n \n ", "\n \n \n \n
info
\n
", "
\n \n
\n \n ", "\n \n "])), this.__gifLoaded && this.__playing ? this.src : this.srcWithoutAnimation, this.alt, this.longdesc ? "longdesc" : "", (this.describedBy || "").trim(), this.__playing ? (0, _index.html)(_templateObject3_0e9933b01e5811ed81a80d03c17d190b || (_templateObject3_0e9933b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.src, this.__imageLoaded) : _index.nothing, this.__playing ? "true" : "false", this.toggle, this.disabled || !this.src, this.srcWithoutAnimation, this.__playing && this.tooltipPlaying ? this.tooltipPlaying : this.tooltip, !this.src || !this.longdesc, this.__playing ? 0 : 1, this.longdesc, this.__playing && this.tooltipPlaying ? this.tooltipPlaying : this.tooltip) : _index.nothing); } /** * Convention @@ -233,7 +233,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_3c3ddd101da511ed9d313b9780b2ae17 || (_templateObject4_3c3ddd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n .sr-only {\n position: absolute;\n left: -9999999px;\n top: 0;\n width: 0;\n overflow: hidden;\n }\n #container {\n padding: 0;\n margin: 0;\n position: relative;\n border: var(--a11y-gif-player-border, none);\n border-radius: var(--a11y-gif-player-border-radius, 0);\n }\n img {\n width: 100%;\n }\n button {\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-size: contain;\n background-color: var(--a11y-gif-player-button-bg, #cccccc);\n }\n button:active,\n button:focus,\n button:hover {\n border: var(--a11y-gif-player-focus-border, none);\n outline: var(--a11y-gif-player-outline, 3px solid);\n }\n button[disabled] {\n cursor: var(--a11y-gif-player-disabled-cursor, not-allowed);\n }\n button[aria-pressed=\"true\"] {\n opacity: 0;\n }\n svg {\n position: absolute;\n top: 35%;\n left: 35%;\n width: var(--a11y-gif-player-arrow-size, 30%);\n height: var(--a11y-gif-player-arrow-size, 30%);\n }\n g {\n opacity: var(--a11y-gif-player-arrow-opacity, 0.5);\n }\n button:not([disabled]):active g,\n button:not([disabled]):hover g,\n button:not([disabled]):focus g {\n opacity: var(--a11y-gif-player-button-focus-opacity, 0.7);\n }\n polygon {\n fill: var(--a11y-gif-player-button-color, #000000);\n stroke: var(--a11y-gif-player-arrow-border-color, #ffffff);\n stroke-width: var(--a11y-gif-player-arrow-border-width, 15px);\n }\n text {\n fill: var(--a11y-gif-player-button-text-color, #ffffff);\n }\n #longdesc {\n position: absolute;\n left: 2px;\n bottom: 2px;\n width: calc(100% - 2px);\n font-size: 80%;\n }\n simple-tooltip {\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_0e9933b01e5811ed81a80d03c17d190b || (_templateObject4_0e9933b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n .sr-only {\n position: absolute;\n left: -9999999px;\n top: 0;\n width: 0;\n overflow: hidden;\n }\n #container {\n padding: 0;\n margin: 0;\n position: relative;\n border: var(--a11y-gif-player-border, none);\n border-radius: var(--a11y-gif-player-border-radius, 0);\n }\n img {\n width: 100%;\n }\n button {\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-size: contain;\n background-color: var(--a11y-gif-player-button-bg, #cccccc);\n }\n button:active,\n button:focus,\n button:hover {\n border: var(--a11y-gif-player-focus-border, none);\n outline: var(--a11y-gif-player-outline, 3px solid);\n }\n button[disabled] {\n cursor: var(--a11y-gif-player-disabled-cursor, not-allowed);\n }\n button[aria-pressed=\"true\"] {\n opacity: 0;\n }\n svg {\n position: absolute;\n top: 35%;\n left: 35%;\n width: var(--a11y-gif-player-arrow-size, 30%);\n height: var(--a11y-gif-player-arrow-size, 30%);\n }\n g {\n opacity: var(--a11y-gif-player-arrow-opacity, 0.5);\n }\n button:not([disabled]):active g,\n button:not([disabled]):hover g,\n button:not([disabled]):focus g {\n opacity: var(--a11y-gif-player-button-focus-opacity, 0.7);\n }\n polygon {\n fill: var(--a11y-gif-player-button-color, #000000);\n stroke: var(--a11y-gif-player-arrow-border-color, #ffffff);\n stroke-width: var(--a11y-gif-player-arrow-border-width, 15px);\n }\n text {\n fill: var(--a11y-gif-player-button-text-color, #ffffff);\n }\n #longdesc {\n position: absolute;\n left: 2px;\n bottom: 2px;\n width: calc(100% - 2px);\n font-size: 80%;\n }\n simple-tooltip {\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/a11y-media-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/a11y-media-player.js index 4859f07667f..658654d37fb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/a11y-media-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/a11y-media-player.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col _exports.A11yMediaPlayer = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3ccb28f01da511ed9d313b9780b2ae17, _templateObject2_3ccb28f01da511ed9d313b9780b2ae17, _templateObject3_3ccb28f01da511ed9d313b9780b2ae17, _templateObject4_3ccb28f01da511ed9d313b9780b2ae17, _templateObject5_3ccb28f01da511ed9d313b9780b2ae17, _templateObject6_3ccb28f01da511ed9d313b9780b2ae17, _templateObject7_3ccb28f01da511ed9d313b9780b2ae17, _templateObject8_3ccb28f01da511ed9d313b9780b2ae17, _templateObject9_3ccb28f01da511ed9d313b9780b2ae17, _templateObject10_3ccb28f01da511ed9d313b9780b2ae17, _templateObject11_3ccb28f01da511ed9d313b9780b2ae17, _templateObject12_3ccb28f01da511ed9d313b9780b2ae17, _templateObject13_3ccb28f01da511ed9d313b9780b2ae17; + var _templateObject_0ec1ca501e5811ed81a80d03c17d190b, _templateObject2_0ec1ca501e5811ed81a80d03c17d190b, _templateObject3_0ec1ca501e5811ed81a80d03c17d190b, _templateObject4_0ec1ca501e5811ed81a80d03c17d190b, _templateObject5_0ec1ca501e5811ed81a80d03c17d190b, _templateObject6_0ec1ca501e5811ed81a80d03c17d190b, _templateObject7_0ec1ca501e5811ed81a80d03c17d190b, _templateObject8_0ec1ca501e5811ed81a80d03c17d190b, _templateObject9_0ec1ca501e5811ed81a80d03c17d190b, _templateObject10_0ec1ca501e5811ed81a80d03c17d190b, _templateObject11_0ec1ca501e5811ed81a80d03c17d190b, _templateObject12_0ec1ca501e5811ed81a80d03c17d190b, _templateObject13_0ec1ca501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -200,10 +200,10 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col function render() { var _this2 = this; - return (0, _index.html)(_templateObject_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
\n ", "\n
\n
\n \n
\n \n \n
\n \n
\n ", "\n ", "\n
\n
\n
\n ", "\n
\n \n \n
\n
\n \n \n \n \n \n \n \n
\n \n ", "\n \n
\n
\n \n \n \n \n \n \n \n \n ", "\n
\n \n
\n
\n ", "\n
\n \n \n
\n \n
\n ", "\n
\n \n \n \n \n
\n ", "\n
\n \n \n \n \n
\n ", "\n
\n \n \n \n
\n
\n ", "\n
\n \n \n
\n
\n
\n ", "\n
\n \n \n
\n \n \n \n ", "\n \n
", "
\n \n ", "\n \n
\n
\n
\n \n \n
\n
\n \n \n
\n \n \n \n \n \n
\n
\n
\n \n ", "\n \n ", "\n
\n \n \n
"])), !this.mediaCaption, this.mediaCaption, this.mediaMaxWidth, this.audioNoThumb, this.playerStyle, this.__playing ? "pause" : "play", this._getLocal(this.localization, this.__playing ? "pause" : "play", "label"), function (e) { + return (0, _index.html)(_templateObject_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
\n ", "\n
\n
\n \n
\n \n \n
\n \n
\n ", "\n ", "\n
\n
\n
\n ", "\n
\n \n \n
\n
\n \n \n \n \n \n \n \n
\n \n ", "\n \n
\n
\n \n \n \n \n \n \n \n \n ", "\n
\n \n
\n
\n ", "\n
\n \n \n
\n \n
\n ", "\n
\n \n \n \n \n
\n ", "\n
\n \n \n \n \n
\n ", "\n
\n \n \n \n
\n
\n ", "\n
\n \n \n
\n
\n
\n ", "\n
\n \n \n
\n \n \n \n ", "\n \n
", "
\n \n ", "\n \n
\n
\n
\n \n \n
\n
\n \n \n
\n \n \n \n \n \n
\n
\n
\n \n ", "\n \n ", "\n
\n \n \n
"])), !this.mediaCaption, this.mediaCaption, this.mediaMaxWidth, this.audioNoThumb, this.playerStyle, this.__playing ? "pause" : "play", this._getLocal(this.localization, this.__playing ? "pause" : "play", "label"), function (e) { return _this2.togglePlay(); - }, this.audioOnly, this.audioNoThumb, this.youtubeId, !this.videoId ? (0, _index.html)(_templateObject2_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject2_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject3_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.id, this.__currentTime > 0.3 || this.__seeking ? "" : "hidden", this.mediaLang, this.t ? "auto" : this.preload, this.t, this.videoId, this.playbackRate, this._handleTimeUpdate, !this.isYoutube), Object.keys(this.captionCues || []).length === 0 || !this.showCustomCaptions ? (0, _index.html)(_templateObject4_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject4_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject5_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject5_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n
\n ", "\n
\n
\n "])), !this.captionCues ? "" : Object.keys(this.captionCues).map(function (key) { - return (0, _index.html)(_templateObject6_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject6_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), _this2.captionCues[key].text ? _this2.captionCues[key].text : ""); + }, this.audioOnly, this.audioNoThumb, this.youtubeId, !this.videoId ? (0, _index.html)(_templateObject2_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject2_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject3_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.id, this.__currentTime > 0.3 || this.__seeking ? "" : "hidden", this.mediaLang, this.t ? "auto" : this.preload, this.t, this.videoId, this.playbackRate, this._handleTimeUpdate, !this.isYoutube), Object.keys(this.captionCues || []).length === 0 || !this.showCustomCaptions ? (0, _index.html)(_templateObject4_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject4_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject5_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject5_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n
\n ", "\n
\n
\n "])), !this.captionCues ? "" : Object.keys(this.captionCues).map(function (key) { + return (0, _index.html)(_templateObject6_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject6_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), _this2.captionCues[key].text ? _this2.captionCues[key].text : ""); })), this._getLocal(this.localization, "seekSlider", "label"), this.duration, this._handleSliderChanged, this._handleSliderDragging, this.__currentTime, this.disableSeek || this.duration === 0, this.accentColor, this.dark, this._getLocal(this.localization, this.__playing ? "pause" : "play", "icon"), this._getLocal(this.localization, this.__playing ? "pause" : "play", "label"), function (e) { return _this2.togglePlay(); }, this.accentColor, this.dark, this._getLocal(this.localization, "rewind", "icon"), this._getLocal(this.localization, "rewind", "label"), this.disableSeek || this.currentTime <= 0, this.disableSeek, function (e) { @@ -226,19 +226,19 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col return _this2.toggleFullscreen(); }, this.accentColor, this.dark, this._getLocal(this.localization, "settings", "icon"), this._getLocal(this.localization, "settings", "label"), function (e) { return _this2.toggleSettings(); - }, this.isYoutube ? (0, _index.html)(_templateObject7_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject7_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.accentColor, this.dark, this.learningMode || this.hideYoutubeLink, this.goToYoutube) : "", !this.__settingsOpen, !this.hasCaptions, this._getLocal(this.localization, "captions", "label"), this.captionsTrackKey, this.captionsPicker, !this.hasCaptions, !this.hasCaptions, function (e) { + }, this.isYoutube ? (0, _index.html)(_templateObject7_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject7_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.accentColor, this.dark, this.learningMode || this.hideYoutubeLink, this.goToYoutube) : "", !this.__settingsOpen, !this.hasCaptions, this._getLocal(this.localization, "captions", "label"), this.captionsTrackKey, this.captionsPicker, !this.hasCaptions, !this.hasCaptions, function (e) { return _this2.selectCaptionByKey(e.detail.value); }, !this.hasCaptions || this.learningMode, this._getLocal(this.localization, "transcript", "label"), this.transcriptTrackKey, this.transcriptPicker, !this.hasCaptions || this.learningMode, !this.hasCaptions || this.learningMode, function (e) { return _this2.selectTranscriptByKey(e.detail.value); }, !this.hasCaptions || this.learningMode, this._getLocal(this.localization, "print", "label"), this.accentColor, this.dark, this._getLocal(this.localization, "print", "icon"), this.noPrinting || this.learningMode, this.noPrinting || this.learningMode, this.print, !this.hasCaptions || this.learningMode, this._getLocal(this.localization, "download", "label"), this.accentColor, this.dark, this._getLocal(this.localization, "download", "icon"), this.noPrinting || this.learningMode, this.noPrinting || this.learningMode, this.download, this._getLocal(this.localization, "loop", "label"), function (e) { return _this2.toggleLoop(); - }, this.loop, this._getLocal(this.localization, "speed", "label"), this.playbackRate, this._handleSpeedChanged, !this.mediaCaption, this.mediaCaption, this.printCaption, this.poster ? (0, _index.html)(_templateObject8_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject8_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.poster) : "", this.standAlone || !this.hasCaptions, this.hideTranscript, this._getLocal(this.localization, "nextResult", "icon"), this._getLocal(this.localization, "nextResult", "label"), this._getLocal(this.localization, "prevResult", "icon"), this._getLocal(this.localization, "prevResult", "label"), this._getLocal(this.localization, "search", "icon"), this._getLocal(this.localization, "search", "label"), this.disableSearch, this.disableSearch, this.accentColor, this.dark, this._getLocal(this.localization, "autoScroll", "icon"), this._getLocal(this.localization, "autoScroll", "label"), !this.disableScroll, function (e) { + }, this.loop, this._getLocal(this.localization, "speed", "label"), this.playbackRate, this._handleSpeedChanged, !this.mediaCaption, this.mediaCaption, this.printCaption, this.poster ? (0, _index.html)(_templateObject8_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject8_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.poster) : "", this.standAlone || !this.hasCaptions, this.hideTranscript, this._getLocal(this.localization, "nextResult", "icon"), this._getLocal(this.localization, "nextResult", "label"), this._getLocal(this.localization, "prevResult", "icon"), this._getLocal(this.localization, "prevResult", "label"), this._getLocal(this.localization, "search", "icon"), this._getLocal(this.localization, "search", "label"), this.disableSearch, this.disableSearch, this.accentColor, this.dark, this._getLocal(this.localization, "autoScroll", "icon"), this._getLocal(this.localization, "autoScroll", "label"), !this.disableScroll, function (e) { return _this2.disableScroll = !_this2.disableScroll; - }, this.disablePrintButton, this.disablePrintButton, this.accentColor, this.dark, this._getLocal(this.localization, "download", "icon"), this._getLocal(this.localization, "download", "label"), this.download, this.accentColor, this.dark, this._getLocal(this.localization, "print", "icon"), this._getLocal(this.localization, "print", "label"), this.print, this._getLocal(this.localization, "transcript", "skip"), this.transcriptCues.length > 0 ? (0, _index.html)(_templateObject9_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject9_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n
\n "])), this.transcriptCues.map(function (cue, index) { - return (0, _index.html)(_templateObject10_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject10_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this2._getHHMMSS(cue.endTime, _this2.media.duration), cue.track.language, _this2._getHHMMSS(cue.endTime, _this2.media.duration), function (e) { + }, this.disablePrintButton, this.disablePrintButton, this.accentColor, this.dark, this._getLocal(this.localization, "download", "icon"), this._getLocal(this.localization, "download", "label"), this.download, this.accentColor, this.dark, this._getLocal(this.localization, "print", "icon"), this._getLocal(this.localization, "print", "label"), this.print, this._getLocal(this.localization, "transcript", "skip"), this.transcriptCues.length > 0 ? (0, _index.html)(_templateObject9_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject9_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
\n ", "\n
\n "])), this.transcriptCues.map(function (cue, index) { + return (0, _index.html)(_templateObject10_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject10_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this2._getHHMMSS(cue.endTime, _this2.media.duration), cue.track.language, _this2._getHHMMSS(cue.endTime, _this2.media.duration), function (e) { return _this2._handleCueSeek(cue); }, _this2._setActiveCue, cue.track.activeCues && cue.track.activeCues[0] === cue, _this2.disableInteractive || _this2.disableSeek || _this2.duration === 0, _this2.hideTimestamps, cue.text); - })) : (0, _index.html)(_templateObject11_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject11_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
\n ", "\n
"])), this.status)); + })) : (0, _index.html)(_templateObject11_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject11_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
\n ", "\n
"])), this.status)); } // properties available to the custom element for data binding }, { @@ -724,7 +724,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col }, { key: "status", get: function get() { - return this.duration > 0 ? (0, _index.html)(_templateObject12_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject12_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "/", "\n "])), this._getHHMMSS(this.currentTime, this.duration), this._getHHMMSS(this.duration)) : !this.isYoutube ? this._getLocal(this.localization, "loading", "label") : this.__playing ? this._getLocal(this.localization, "youTubeLoading", "label") : this._getLocal(this.localization, "youTubeLoading", "startLoading"); + return this.duration > 0 ? (0, _index.html)(_templateObject12_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject12_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "/", "\n "])), this._getHHMMSS(this.currentTime, this.duration), this._getHHMMSS(this.duration)) : !this.isYoutube ? this._getLocal(this.localization, "loading", "label") : this.__playing ? this._getLocal(this.localization, "youTubeLoading", "label") : this._getLocal(this.localization, "youTubeLoading", "startLoading"); } /** * Show custom CC (for audio and YouTube)? @@ -1973,7 +1973,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(A11yMediaPlayer), "styles", this)), [(0, _index.css)(_templateObject13_3ccb28f01da511ed9d313b9780b2ae17 || (_templateObject13_3ccb28f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n width: calc(100% - 2px);\n font-family: var(--simple-fields-font-family, sans-serif);\n --a11y-media-player-height: unset;\n --a11y-media-color: var(\n --simple-colors-default-theme-grey-11,\n #111111\n );\n --a11y-media-bg-color: var(\n --simple-colors-default-theme-grey-2,\n #eeeeee\n );\n --a11y-media-border-color: var(\n --simple-colors-default-theme-grey-3,\n #dddddd\n );\n --a11y-media-hover-color: var(\n --simple-colors-default-theme-grey-12,\n #000000\n );\n --a11y-media-hover-bg-color: var(\n --simple-colors-default-theme-grey-2,\n #eeeeee\n );\n --a11y-media-accent-color: var(\n --simple-colors-default-theme-accent-9,\n #333333\n );\n --a11y-media-faded-accent-color: var(\n --simple-colors-default-theme-accent-8,\n #444444\n );\n --a11y-media-disabled-color: var(\n --simple-colors-default-theme-grey-5,\n #bbbbbb\n );\n border: 1px solid\n var(\n --a11y-media-border-color,\n var(--simple-colors-default-theme-grey-3)\n );\n\n --a11y-media-settings-menu-color: var(--a11y-media-color);\n --a11y-media-settings-menu-bg-color: var(--a11y-media-bg-color);\n --a11y-media-settings-menu-hover-color: var(--a11y-media-hover-color);\n --a11y-media-settings-menu-hover-bg-color: var(\n --a11y-media-hover-bg-color\n );\n --simple-fields-accent-color: var(--a11y-media-accent-color);\n --simple-fields-background-color: var(--a11y-media-bg-color);\n --simple-fields-color: var(--a11y-media-color);\n --simple-fields-border-color: var(--a11y-media-border-color);\n --simple-fields-border-color-light: var(\n --a11y-media-border-color-light,\n var(--a11y-media-border-color)\n );\n\n --a11y-media-button-color: var(--a11y-media-color);\n --a11y-media-button-bg-color: var(--a11y-media-bg-color);\n --a11y-media-button-hover-color: var(--a11y-media-accent-color);\n --a11y-media-button-hover-bg-color: var(--a11y-media-hover-bg-color);\n --a11y-media-button-disabled-color: var(--a11y-media-disabled-color);\n --a11y-media-button-toggle-color: var(\n --a11y-media-faded-accent-color\n );\n\n --simple-range-input-bg: var(--a11y-media-accent-color);\n --simple-range-input-color: var(--a11y-media-color);\n --simple-range-input-track-height: 4px;\n --simple-range-input-pin-height: 10px;\n\n --simple-toast-color: var(--a11y-media-color);\n --simple-toast-background-color: var(--a11y-media-bg-color);\n\n --a11y-media-transcript-color: var(\n --simple-colors-default-theme-grey-7,\n #666666\n );\n --a11y-media-transcript-bg-color: var(\n --simple-colors-default-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-accent-color: var(\n --simple-colors-default-theme-accent-8,\n #444444\n );\n --a11y-media-transcript-faded-accent-color: var(\n --simple-colors-default-theme-accent-10,\n #222222\n );\n --a11y-media-transcript-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-cue-bg-color: var(\n --simple-colors-fixed-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-active-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-active-cue-bg-color: var(\n --simple-colors-fixed-theme-accent-1,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-focused-cue-bg-color: var(\n --simple-colors-fixed-theme-grey-2,\n #eeeeee\n );\n --a11y-media-transcript-match-color: var(\n --simple-colors-fixed-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-match-bg-color: var(\n --simple-colors-fixed-theme-accent-10,\n #222222\n );\n --a11y-media-transcript-match-border-color: var(\n --simple-colors-fixed-theme-accent-12,\n #000000\n );\n }\n\n :host([dark]) {\n border: 1px solid var(--simple-colors-default-theme-grey-1, #000000);\n }\n\n :host([dark-transcript]) {\n --a11y-media-transcript-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-cue-color: var(\n --simple-colors-dark-theme-grey-12,\n #ffffff\n );\n --a11y-media-transcript-cue-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-active-cue-color: var(\n --simple-colors-dark-theme-accent-10,\n #dddddd\n );\n --a11y-media-transcript-active-cue-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-match-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-match-bg-color: var(\n --simple-colors-dark-theme-accent-10,\n #dddddd\n );\n --a11y-media-transcript-match-border-color: var(\n --simple-colors-dark-theme-accent-12,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-color: var(\n --simple-colors-dark-theme-grey-12,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-bg-color: var(\n --simple-colors-dark-theme-grey-2,\n #111111\n );\n }\n\n :host *::-webkit-scrollbar {\n width: var(--a11y-media-scrollbar-width, 5px);\n }\n\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n\n :host([height]) {\n height: calc(var(--a11y-media-player-height) - 2px);\n max-height: calc(var(--a11y-media-player-height) - 2px);\n overflow: unset;\n }\n\n :host([height]) #player-section {\n max-height: var(--a11y-media-player-height);\n }\n\n :host([height]) #player-and-controls {\n max-height: calc(100% - 32px - 44px);\n }\n\n :host([height]) #player {\n height: calc(100% - 32px - 44px);\n padding-top: unset;\n }\n\n :host,\n #player-section {\n color: var(--a11y-media-hover-color);\n background-color: var(--a11y-media-bg-color);\n }\n\n :host > * {\n transition: all 0.5s;\n }\n\n :host,\n #player-section,\n #player,\n #transcript-section,\n #transcript-and-controls {\n display: flex;\n flex-flow: column;\n align-items: stretch;\n align-content: stretch;\n }\n\n #captionlink:link {\n text-decoration: none;\n }\n\n #player-and-controls,\n #player,\n #player > *,\n #cc-custom,\n #cc-text,\n #slider,\n #controls,\n #player-section,\n #transcript-section,\n #transcript-and-controls {\n width: 100%;\n }\n\n #transcript-and-controls > * {\n width: calc(100% - 1px);\n }\n\n :host > *,\n #player-and-controls,\n #player,\n #player > *,\n #cc-text {\n flex: 1 1 auto;\n }\n\n #controls,\n #searchbar {\n flex: 0 0 44px;\n }\n\n #player-and-controls {\n margin: 0 auto;\n display: flex;\n }\n\n #player {\n height: 400px;\n position: relative;\n background-size: cover;\n background-position: center;\n }\n\n #player > * {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n }\n\n #playbutton,\n #slider,\n #controls {\n z-index: 2;\n }\n\n #html5 {\n min-width: 100px;\n display: flex;\n align-items: stretch;\n }\n\n :host([audio-only]) #playbutton {\n opacity: 0;\n }\n\n #slider {\n flex: 0 0 32px;\n height: 32px;\n background-color: var(--a11y-media-bg-color);\n --simple-range-input-pin-height: 15px;\n }\n\n a11y-media-youtube {\n opacity: 1;\n transition: opacity 0.5s;\n }\n\n a11y-media-youtube.hidden {\n opacity: 0;\n }\n\n #cc-custom:not([hidden]) {\n font-size: 20px;\n transition: font-size 0.25s;\n display: flex;\n }\n\n #cc-text {\n align-self: flex-end;\n font-family: sans-serif;\n color: white;\n margin: 4px 10px;\n padding: 0.15em 4px;\n background-color: black;\n background-color: rgba(0, 0, 0, 0.8);\n transition: all 0.5s;\n }\n\n #player-and-controls[audio-no-thumb] #cc-text {\n align-self: center;\n color: var(--a11y-media-color);\n background-color: transparent;\n }\n\n #controls {\n display: block;\n width: 100%;\n max-width: 100%;\n height: 44px;\n max-height: 44px;\n position: relative;\n color: var(--a11y-media-color);\n background-color: var(--a11y-media-bg-color);\n --primary-text-color: var(--a11y-media-settings-menu-color);\n }\n\n #controls-left {\n position: absolute;\n left: 0;\n min-width: 200px;\n }\n\n #controls-right {\n position: absolute;\n right: 0;\n top: 0;\n }\n\n absolute-position-behavior {\n background-color: var(--a11y-media-settings-menu-bg-color);\n color: var(--a11y-media-settings-menu-color);\n border: 1px solid\n var(\n --a11y-media-border-color,\n var(--simple-colors-default-theme-grey-3)\n );\n max-height: 200px;\n overflow-y: scroll;\n overflow-x: hidden;\n }\n\n absolute-position-behavior::-webkit-scrollbar-track {\n background-color: var(--a11y-media-settings-menu-bg-color);\n }\n\n absolute-position-behavior::-webkit-scrollbar-thumb {\n background-color: var(--a11y-media-settings-menu-color);\n }\n\n absolute-position-behavior .setting {\n min-height: 42px;\n padding: 2px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n absolute-position-behavior simple-field-field {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n background-color: var(--a11y-media-settings-menu-bg-color);\n color: var(--a11y-media-settings-menu-color);\n }\n\n .setting-text {\n margin-right: 1em;\n font-family: var(--a11y-media-controls-font-family);\n }\n\n .setting-control {\n max-width: 110px;\n }\n\n .setting-slider {\n flex: 0 0 110px;\n margin-left: -15px;\n margin-right: -15px;\n }\n\n #loop {\n flex: 0 0 40px;\n }\n\n #loop-label {\n flex: 1 1 auto;\n }\n\n .play-status {\n border: none;\n position: relative;\n font-size: 85%;\n font-family: var(--a11y-media-controls-font-family);\n }\n\n .play-status.control-bar {\n padding: 8px 13px 8px;\n }\n\n :host([hide-play-status]) .play-status {\n display: none;\n }\n\n #volume-and-mute {\n display: inline-block;\n position: relative;\n }\n\n #volume {\n position: absolute;\n left: 30px;\n top: 0px;\n width: 0;\n height: 40px;\n overflow: hidden;\n transition: width 0.5s;\n z-index: 3;\n border-radius: 4px;\n background-color: var(--a11y-media-bg-color);\n }\n\n #volume:active,\n #volume:focus,\n #volume:hover,\n #volume.focus,\n #volume-and-mute:active #volume,\n #volume-and-mute:focus #volume,\n #volume-and-mute:hover #volume {\n overflow: visible;\n width: 100px;\n }\n\n :host([responsive-size=\"xs\"]) #volume:active,\n :host([responsive-size=\"xs\"]) #volume:focus,\n :host([responsive-size=\"xs\"]) #volume:hover,\n :host([responsive-size=\"xs\"]) #volume.focus,\n :host([responsive-size=\"xs\"]) #volume-and-mute:active #volume,\n :host([responsive-size=\"xs\"]) #volume-and-mute:focus #volume,\n :host([responsive-size=\"xs\"]) #volume-and-mute:hover #volume,\n :host([width]) #volume:active,\n :host([width]) #volume:focus,\n :host([width]) #volume:hover,\n :host([width]) #volume.focus,\n :host([width]) #volume-and-mute:active #volume,\n :host([width]) #volume-and-mute:focus #volume,\n :host([width]) #volume-and-mute:hover #volume {\n top: 0px;\n }\n\n #print-thumbnail {\n width: 100%;\n margin: 0;\n display: block;\n border-top: 1px solid #aaaaaa;\n }\n\n .media-caption:not(:empty) {\n width: calc(100% - 30px);\n padding: 5px 15px;\n }\n\n .media-type {\n font-style: italic;\n }\n\n #searchbar {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n height: 44px;\n max-height: 44px;\n min-height: 44px;\n width: 100%;\n color: var(--a11y-media-color);\n background-color: var(--a11y-media-transcript-bg-color);\n --simple-fields-color: var(--a11y-media-color);\n --a11y-media-button-bg-color: var(--a11y-media-transcript-bg-color);\n --a11y-media-button-hover-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-input-background-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-input-text-color: var(--a11y-media-color);\n --simple-search-input-line-color: var(--a11y-media-accent-color);\n --simple-search-input-placeholder-color: var(--a11y-media-color);\n --simple-search-button-color: var(--a11y-media-accent-color);\n --simple-search-button-hover-color: var(\n --a11y-media-faded-accent-color\n );\n --simple-search-button-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-border-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-hover-border-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-disabled-color: var(\n --a11y-media-disabled-color\n );\n --simple-search-button-disabled-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-disabled-border-color: var(\n --a11y-media-border-color\n );\n --simple-search-padding: 0 15px;\n }\n\n :host([dark]) #searchbar {\n background-color: var(--a11y-media-bg-color);\n --a11y-media-button-bg-color: var(--a11y-media-bg-color);\n --a11y-media-button-hover-bg-color: var(--a11y-media-bg-color);\n --simple-search-input-background-color: var(--a11y-media-bg-color);\n --simple-search-button-bg-color: var(--a11y-media-bg-color);\n --simple-search-button-border-color: var(--a11y-media-bg-color);\n --simple-search-button-hover-border-color: var(--a11y-media-bg-color);\n --simple-search-button-disabled-bg-color: var(--a11y-media-bg-color);\n }\n\n #searching {\n flex-grow: 2;\n }\n\n #autoscroll {\n padding-right: 8px;\n }\n\n #scrolling,\n #printing {\n display: flex;\n align-items: center;\n }\n\n #transcript-section {\n padding: 0 1px 0 0;\n }\n\n #transcript-and-controls {\n flex: 1 0 194px;\n }\n\n #transcript {\n flex: 1 0 150px;\n max-height: var(--a11y-media-transcript-max-height, unset);\n overflow-y: scroll;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n border-left: 1px solid var(--a11y-media-transcript-bg-color);\n }\n\n #transcript::-webkit-scrollbar-track {\n background-color: var(--a11y-media-transcript-cue-bg-color);\n }\n\n #transcript::-webkit-scrollbar-thumb {\n background-color: var(--a11y-media-transcript-cue-color);\n }\n\n .transcript-from-track {\n display: table;\n width: calc(100% - 30px);\n padding: 0 15px 15px;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n font-size: var(--a11y-media-transcript-cue-font-size, 14px);\n line-height: var(--a11y-media-transcript-cue-line-height, 28px);\n }\n\n .transcript-from-track[hideTimestamps] {\n display: block;\n }\n\n .sr-only {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n\n absolute-position-behavior:not(:defined),\n simple-tooltip:not(:defined) {\n display: none;\n }\n\n ::slotted(iframe) {\n display: none;\n }\n @media screen {\n :host([full-flex]) {\n flex-flow: row;\n padding: 0;\n }\n\n :host([full-flex]) #player-section {\n max-width: 50%;\n flex: 1 0 auto;\n }\n\n :host([full-flex]) #transcript-section {\n min-width: 50%;\n flex: 0 1 auto;\n }\n\n :host([full-flex]) #transcript {\n position: absolute;\n top: 44px;\n left: 0;\n right: 0;\n bottom: 0;\n overflow-y: scroll;\n }\n\n #transcript-and-controls {\n position: relative;\n }\n\n :host([sticky-mode]) #player-section {\n position: fixed;\n top: 5px;\n right: 5px;\n width: 200px;\n max-width: 200px;\n z-index: 999999;\n border: 1px solid var(--a11y-media-bg-color);\n box-shadow: 1px 1px 20px 1px rgba(125, 125, 125);\n border-radius: 3.2px;\n }\n\n :host([fullscreen]) #player-section {\n width: 100%;\n height: 100vh;\n max-width: 100vw;\n position: absolute;\n position: sticky;\n left: 0;\n top: 0;\n z-index: 100000;\n transition: all 0.5s;\n }\n\n :host([dark][sticky-mode]) #player-section {\n border: 1px solid var(--a11y-media-bg-color);\n }\n\n :host([sticky][sticky-corner=\"top-left\"]) #player-section {\n right: unset;\n left: 5px;\n }\n\n :host(:not([no-height]):not([stacked-layout]):not([responsive-size=\"xs\"]):not([responsive-size=\"sm\"]))\n #player-and-controls.totop {\n position: absolute;\n top: 0;\n left: 0;\n width: 200px !important;\n z-index: 9999;\n }\n\n :host([sticky][sticky-corner=\"bottom-left\"]) #player-and-controls {\n top: unset;\n right: unset;\n bottom: 5px;\n }\n\n :host([sticky][sticky-corner=\"bottom-right\"]) #player-and-controls {\n top: unset;\n bottom: 5px;\n }\n\n :host([sticky-mode]) .screen-only.media-caption,\n :host([responsive-size=\"xs\"]) .screen-only.media-caption {\n display: none;\n }\n\n :host([sticky-mode]) #player-and-controls[audio-no-thumb] {\n max-height: 0px;\n overflow: hidden;\n }\n\n :host([sticky-mode]) .hide-sticky,\n :host([sticky-mode]) .hide-full-xs,\n :host([sticky-mode]) .hide-full-sm,\n :host([sticky-mode]) .hide-flex,\n :host([width]) .hide-full-xs,\n :host([width]) .hide-full-sm,\n :host([width]) .hide-full-flex,\n :host([responsive-size=\"xs\"]) .hide-full-xs,\n :host([responsive-size=\"xs\"]) .hide-full-sm,\n :host([responsive-size=\"xs\"]) .hide-full-flex,\n :host([responsive-size=\"sm\"]) .hide-full-sm,\n :host([responsive-size=\"sm\"]) .hide-full-flex,\n :host([flex-layout]) .hide-flex {\n display: none;\n }\n\n :host([responsive-size=\"xl\"]) #cc-custom {\n font-size: 16px;\n }\n\n :host([responsive-size=\"lg\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"xl\"]) #cc-custom {\n font-size: 14px;\n }\n\n :host([responsive-size=\"md\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"lg\"]) #cc-custom {\n font-size: 12px;\n }\n\n :host([responsive-size=\"xs\"]) #cc-custom,\n :host([width]) #cc-custom,\n :host([flex-layout][responsive-size=\"md\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"sm\"]) #cc-custom {\n font-size: 10px;\n }\n\n :host([sticky-mode]) #cc-custom,\n :host([flex-layout][width]) #cc-custom,\n :host([flex-layout][responsive-size=\"xs\"]) #cc-custom {\n display: none;\n }\n\n .media-caption {\n color: var(--a11y-media-bg-color);\n background-color: var(--a11y-media-accent-color);\n }\n\n #audio-only {\n text-align: center;\n font-style: italic;\n width: 100%;\n line-height: 160%;\n }\n\n #print-thumbnail,\n .print-only {\n width: 0;\n display: none;\n }\n }\n\n @media print {\n :host,\n :host([dark]) {\n outline: 1px solid #aaaaaa;\n background-color: #ffffff;\n }\n\n .screen-only,\n #searchbar,\n #print-thumbnail:not([src]),\n :host(:not([thumbnail-src])) #player {\n display: none;\n }\n\n .media-caption {\n background-color: #cccccc;\n color: #000000;\n font-size: 120%;\n }\n\n #transcript {\n padding: 0 15px 5px;\n color: #000;\n background-color: #ffffff;\n border-top: 1px solid #aaa;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(A11yMediaPlayer), "styles", this)), [(0, _index.css)(_templateObject13_0ec1ca501e5811ed81a80d03c17d190b || (_templateObject13_0ec1ca501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n width: calc(100% - 2px);\n font-family: var(--simple-fields-font-family, sans-serif);\n --a11y-media-player-height: unset;\n --a11y-media-color: var(\n --simple-colors-default-theme-grey-11,\n #111111\n );\n --a11y-media-bg-color: var(\n --simple-colors-default-theme-grey-2,\n #eeeeee\n );\n --a11y-media-border-color: var(\n --simple-colors-default-theme-grey-3,\n #dddddd\n );\n --a11y-media-hover-color: var(\n --simple-colors-default-theme-grey-12,\n #000000\n );\n --a11y-media-hover-bg-color: var(\n --simple-colors-default-theme-grey-2,\n #eeeeee\n );\n --a11y-media-accent-color: var(\n --simple-colors-default-theme-accent-9,\n #333333\n );\n --a11y-media-faded-accent-color: var(\n --simple-colors-default-theme-accent-8,\n #444444\n );\n --a11y-media-disabled-color: var(\n --simple-colors-default-theme-grey-5,\n #bbbbbb\n );\n border: 1px solid\n var(\n --a11y-media-border-color,\n var(--simple-colors-default-theme-grey-3)\n );\n\n --a11y-media-settings-menu-color: var(--a11y-media-color);\n --a11y-media-settings-menu-bg-color: var(--a11y-media-bg-color);\n --a11y-media-settings-menu-hover-color: var(--a11y-media-hover-color);\n --a11y-media-settings-menu-hover-bg-color: var(\n --a11y-media-hover-bg-color\n );\n --simple-fields-accent-color: var(--a11y-media-accent-color);\n --simple-fields-background-color: var(--a11y-media-bg-color);\n --simple-fields-color: var(--a11y-media-color);\n --simple-fields-border-color: var(--a11y-media-border-color);\n --simple-fields-border-color-light: var(\n --a11y-media-border-color-light,\n var(--a11y-media-border-color)\n );\n\n --a11y-media-button-color: var(--a11y-media-color);\n --a11y-media-button-bg-color: var(--a11y-media-bg-color);\n --a11y-media-button-hover-color: var(--a11y-media-accent-color);\n --a11y-media-button-hover-bg-color: var(--a11y-media-hover-bg-color);\n --a11y-media-button-disabled-color: var(--a11y-media-disabled-color);\n --a11y-media-button-toggle-color: var(\n --a11y-media-faded-accent-color\n );\n\n --simple-range-input-bg: var(--a11y-media-accent-color);\n --simple-range-input-color: var(--a11y-media-color);\n --simple-range-input-track-height: 4px;\n --simple-range-input-pin-height: 10px;\n\n --simple-toast-color: var(--a11y-media-color);\n --simple-toast-background-color: var(--a11y-media-bg-color);\n\n --a11y-media-transcript-color: var(\n --simple-colors-default-theme-grey-7,\n #666666\n );\n --a11y-media-transcript-bg-color: var(\n --simple-colors-default-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-accent-color: var(\n --simple-colors-default-theme-accent-8,\n #444444\n );\n --a11y-media-transcript-faded-accent-color: var(\n --simple-colors-default-theme-accent-10,\n #222222\n );\n --a11y-media-transcript-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-cue-bg-color: var(\n --simple-colors-fixed-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-active-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-active-cue-bg-color: var(\n --simple-colors-fixed-theme-accent-1,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-color: var(\n --simple-colors-fixed-theme-grey-12,\n #000000\n );\n --a11y-media-transcript-focused-cue-bg-color: var(\n --simple-colors-fixed-theme-grey-2,\n #eeeeee\n );\n --a11y-media-transcript-match-color: var(\n --simple-colors-fixed-theme-grey-1,\n #ffffff\n );\n --a11y-media-transcript-match-bg-color: var(\n --simple-colors-fixed-theme-accent-10,\n #222222\n );\n --a11y-media-transcript-match-border-color: var(\n --simple-colors-fixed-theme-accent-12,\n #000000\n );\n }\n\n :host([dark]) {\n border: 1px solid var(--simple-colors-default-theme-grey-1, #000000);\n }\n\n :host([dark-transcript]) {\n --a11y-media-transcript-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-cue-color: var(\n --simple-colors-dark-theme-grey-12,\n #ffffff\n );\n --a11y-media-transcript-cue-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-active-cue-color: var(\n --simple-colors-dark-theme-accent-10,\n #dddddd\n );\n --a11y-media-transcript-active-cue-bg-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-match-color: var(\n --simple-colors-dark-theme-grey-1,\n #000000\n );\n --a11y-media-transcript-match-bg-color: var(\n --simple-colors-dark-theme-accent-10,\n #dddddd\n );\n --a11y-media-transcript-match-border-color: var(\n --simple-colors-dark-theme-accent-12,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-color: var(\n --simple-colors-dark-theme-grey-12,\n #ffffff\n );\n --a11y-media-transcript-focused-cue-bg-color: var(\n --simple-colors-dark-theme-grey-2,\n #111111\n );\n }\n\n :host *::-webkit-scrollbar {\n width: var(--a11y-media-scrollbar-width, 5px);\n }\n\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n\n :host([height]) {\n height: calc(var(--a11y-media-player-height) - 2px);\n max-height: calc(var(--a11y-media-player-height) - 2px);\n overflow: unset;\n }\n\n :host([height]) #player-section {\n max-height: var(--a11y-media-player-height);\n }\n\n :host([height]) #player-and-controls {\n max-height: calc(100% - 32px - 44px);\n }\n\n :host([height]) #player {\n height: calc(100% - 32px - 44px);\n padding-top: unset;\n }\n\n :host,\n #player-section {\n color: var(--a11y-media-hover-color);\n background-color: var(--a11y-media-bg-color);\n }\n\n :host > * {\n transition: all 0.5s;\n }\n\n :host,\n #player-section,\n #player,\n #transcript-section,\n #transcript-and-controls {\n display: flex;\n flex-flow: column;\n align-items: stretch;\n align-content: stretch;\n }\n\n #captionlink:link {\n text-decoration: none;\n }\n\n #player-and-controls,\n #player,\n #player > *,\n #cc-custom,\n #cc-text,\n #slider,\n #controls,\n #player-section,\n #transcript-section,\n #transcript-and-controls {\n width: 100%;\n }\n\n #transcript-and-controls > * {\n width: calc(100% - 1px);\n }\n\n :host > *,\n #player-and-controls,\n #player,\n #player > *,\n #cc-text {\n flex: 1 1 auto;\n }\n\n #controls,\n #searchbar {\n flex: 0 0 44px;\n }\n\n #player-and-controls {\n margin: 0 auto;\n display: flex;\n }\n\n #player {\n height: 400px;\n position: relative;\n background-size: cover;\n background-position: center;\n }\n\n #player > * {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n }\n\n #playbutton,\n #slider,\n #controls {\n z-index: 2;\n }\n\n #html5 {\n min-width: 100px;\n display: flex;\n align-items: stretch;\n }\n\n :host([audio-only]) #playbutton {\n opacity: 0;\n }\n\n #slider {\n flex: 0 0 32px;\n height: 32px;\n background-color: var(--a11y-media-bg-color);\n --simple-range-input-pin-height: 15px;\n }\n\n a11y-media-youtube {\n opacity: 1;\n transition: opacity 0.5s;\n }\n\n a11y-media-youtube.hidden {\n opacity: 0;\n }\n\n #cc-custom:not([hidden]) {\n font-size: 20px;\n transition: font-size 0.25s;\n display: flex;\n }\n\n #cc-text {\n align-self: flex-end;\n font-family: sans-serif;\n color: white;\n margin: 4px 10px;\n padding: 0.15em 4px;\n background-color: black;\n background-color: rgba(0, 0, 0, 0.8);\n transition: all 0.5s;\n }\n\n #player-and-controls[audio-no-thumb] #cc-text {\n align-self: center;\n color: var(--a11y-media-color);\n background-color: transparent;\n }\n\n #controls {\n display: block;\n width: 100%;\n max-width: 100%;\n height: 44px;\n max-height: 44px;\n position: relative;\n color: var(--a11y-media-color);\n background-color: var(--a11y-media-bg-color);\n --primary-text-color: var(--a11y-media-settings-menu-color);\n }\n\n #controls-left {\n position: absolute;\n left: 0;\n min-width: 200px;\n }\n\n #controls-right {\n position: absolute;\n right: 0;\n top: 0;\n }\n\n absolute-position-behavior {\n background-color: var(--a11y-media-settings-menu-bg-color);\n color: var(--a11y-media-settings-menu-color);\n border: 1px solid\n var(\n --a11y-media-border-color,\n var(--simple-colors-default-theme-grey-3)\n );\n max-height: 200px;\n overflow-y: scroll;\n overflow-x: hidden;\n }\n\n absolute-position-behavior::-webkit-scrollbar-track {\n background-color: var(--a11y-media-settings-menu-bg-color);\n }\n\n absolute-position-behavior::-webkit-scrollbar-thumb {\n background-color: var(--a11y-media-settings-menu-color);\n }\n\n absolute-position-behavior .setting {\n min-height: 42px;\n padding: 2px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n absolute-position-behavior simple-field-field {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n background-color: var(--a11y-media-settings-menu-bg-color);\n color: var(--a11y-media-settings-menu-color);\n }\n\n .setting-text {\n margin-right: 1em;\n font-family: var(--a11y-media-controls-font-family);\n }\n\n .setting-control {\n max-width: 110px;\n }\n\n .setting-slider {\n flex: 0 0 110px;\n margin-left: -15px;\n margin-right: -15px;\n }\n\n #loop {\n flex: 0 0 40px;\n }\n\n #loop-label {\n flex: 1 1 auto;\n }\n\n .play-status {\n border: none;\n position: relative;\n font-size: 85%;\n font-family: var(--a11y-media-controls-font-family);\n }\n\n .play-status.control-bar {\n padding: 8px 13px 8px;\n }\n\n :host([hide-play-status]) .play-status {\n display: none;\n }\n\n #volume-and-mute {\n display: inline-block;\n position: relative;\n }\n\n #volume {\n position: absolute;\n left: 30px;\n top: 0px;\n width: 0;\n height: 40px;\n overflow: hidden;\n transition: width 0.5s;\n z-index: 3;\n border-radius: 4px;\n background-color: var(--a11y-media-bg-color);\n }\n\n #volume:active,\n #volume:focus,\n #volume:hover,\n #volume.focus,\n #volume-and-mute:active #volume,\n #volume-and-mute:focus #volume,\n #volume-and-mute:hover #volume {\n overflow: visible;\n width: 100px;\n }\n\n :host([responsive-size=\"xs\"]) #volume:active,\n :host([responsive-size=\"xs\"]) #volume:focus,\n :host([responsive-size=\"xs\"]) #volume:hover,\n :host([responsive-size=\"xs\"]) #volume.focus,\n :host([responsive-size=\"xs\"]) #volume-and-mute:active #volume,\n :host([responsive-size=\"xs\"]) #volume-and-mute:focus #volume,\n :host([responsive-size=\"xs\"]) #volume-and-mute:hover #volume,\n :host([width]) #volume:active,\n :host([width]) #volume:focus,\n :host([width]) #volume:hover,\n :host([width]) #volume.focus,\n :host([width]) #volume-and-mute:active #volume,\n :host([width]) #volume-and-mute:focus #volume,\n :host([width]) #volume-and-mute:hover #volume {\n top: 0px;\n }\n\n #print-thumbnail {\n width: 100%;\n margin: 0;\n display: block;\n border-top: 1px solid #aaaaaa;\n }\n\n .media-caption:not(:empty) {\n width: calc(100% - 30px);\n padding: 5px 15px;\n }\n\n .media-type {\n font-style: italic;\n }\n\n #searchbar {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n height: 44px;\n max-height: 44px;\n min-height: 44px;\n width: 100%;\n color: var(--a11y-media-color);\n background-color: var(--a11y-media-transcript-bg-color);\n --simple-fields-color: var(--a11y-media-color);\n --a11y-media-button-bg-color: var(--a11y-media-transcript-bg-color);\n --a11y-media-button-hover-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-input-background-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-input-text-color: var(--a11y-media-color);\n --simple-search-input-line-color: var(--a11y-media-accent-color);\n --simple-search-input-placeholder-color: var(--a11y-media-color);\n --simple-search-button-color: var(--a11y-media-accent-color);\n --simple-search-button-hover-color: var(\n --a11y-media-faded-accent-color\n );\n --simple-search-button-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-border-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-hover-border-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-disabled-color: var(\n --a11y-media-disabled-color\n );\n --simple-search-button-disabled-bg-color: var(\n --a11y-media-transcript-bg-color\n );\n --simple-search-button-disabled-border-color: var(\n --a11y-media-border-color\n );\n --simple-search-padding: 0 15px;\n }\n\n :host([dark]) #searchbar {\n background-color: var(--a11y-media-bg-color);\n --a11y-media-button-bg-color: var(--a11y-media-bg-color);\n --a11y-media-button-hover-bg-color: var(--a11y-media-bg-color);\n --simple-search-input-background-color: var(--a11y-media-bg-color);\n --simple-search-button-bg-color: var(--a11y-media-bg-color);\n --simple-search-button-border-color: var(--a11y-media-bg-color);\n --simple-search-button-hover-border-color: var(--a11y-media-bg-color);\n --simple-search-button-disabled-bg-color: var(--a11y-media-bg-color);\n }\n\n #searching {\n flex-grow: 2;\n }\n\n #autoscroll {\n padding-right: 8px;\n }\n\n #scrolling,\n #printing {\n display: flex;\n align-items: center;\n }\n\n #transcript-section {\n padding: 0 1px 0 0;\n }\n\n #transcript-and-controls {\n flex: 1 0 194px;\n }\n\n #transcript {\n flex: 1 0 150px;\n max-height: var(--a11y-media-transcript-max-height, unset);\n overflow-y: scroll;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n border-left: 1px solid var(--a11y-media-transcript-bg-color);\n }\n\n #transcript::-webkit-scrollbar-track {\n background-color: var(--a11y-media-transcript-cue-bg-color);\n }\n\n #transcript::-webkit-scrollbar-thumb {\n background-color: var(--a11y-media-transcript-cue-color);\n }\n\n .transcript-from-track {\n display: table;\n width: calc(100% - 30px);\n padding: 0 15px 15px;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n font-size: var(--a11y-media-transcript-cue-font-size, 14px);\n line-height: var(--a11y-media-transcript-cue-line-height, 28px);\n }\n\n .transcript-from-track[hideTimestamps] {\n display: block;\n }\n\n .sr-only {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n\n absolute-position-behavior:not(:defined),\n simple-tooltip:not(:defined) {\n display: none;\n }\n\n ::slotted(iframe) {\n display: none;\n }\n @media screen {\n :host([full-flex]) {\n flex-flow: row;\n padding: 0;\n }\n\n :host([full-flex]) #player-section {\n max-width: 50%;\n flex: 1 0 auto;\n }\n\n :host([full-flex]) #transcript-section {\n min-width: 50%;\n flex: 0 1 auto;\n }\n\n :host([full-flex]) #transcript {\n position: absolute;\n top: 44px;\n left: 0;\n right: 0;\n bottom: 0;\n overflow-y: scroll;\n }\n\n #transcript-and-controls {\n position: relative;\n }\n\n :host([sticky-mode]) #player-section {\n position: fixed;\n top: 5px;\n right: 5px;\n width: 200px;\n max-width: 200px;\n z-index: 999999;\n border: 1px solid var(--a11y-media-bg-color);\n box-shadow: 1px 1px 20px 1px rgba(125, 125, 125);\n border-radius: 3.2px;\n }\n\n :host([fullscreen]) #player-section {\n width: 100%;\n height: 100vh;\n max-width: 100vw;\n position: absolute;\n position: sticky;\n left: 0;\n top: 0;\n z-index: 100000;\n transition: all 0.5s;\n }\n\n :host([dark][sticky-mode]) #player-section {\n border: 1px solid var(--a11y-media-bg-color);\n }\n\n :host([sticky][sticky-corner=\"top-left\"]) #player-section {\n right: unset;\n left: 5px;\n }\n\n :host(:not([no-height]):not([stacked-layout]):not([responsive-size=\"xs\"]):not([responsive-size=\"sm\"]))\n #player-and-controls.totop {\n position: absolute;\n top: 0;\n left: 0;\n width: 200px !important;\n z-index: 9999;\n }\n\n :host([sticky][sticky-corner=\"bottom-left\"]) #player-and-controls {\n top: unset;\n right: unset;\n bottom: 5px;\n }\n\n :host([sticky][sticky-corner=\"bottom-right\"]) #player-and-controls {\n top: unset;\n bottom: 5px;\n }\n\n :host([sticky-mode]) .screen-only.media-caption,\n :host([responsive-size=\"xs\"]) .screen-only.media-caption {\n display: none;\n }\n\n :host([sticky-mode]) #player-and-controls[audio-no-thumb] {\n max-height: 0px;\n overflow: hidden;\n }\n\n :host([sticky-mode]) .hide-sticky,\n :host([sticky-mode]) .hide-full-xs,\n :host([sticky-mode]) .hide-full-sm,\n :host([sticky-mode]) .hide-flex,\n :host([width]) .hide-full-xs,\n :host([width]) .hide-full-sm,\n :host([width]) .hide-full-flex,\n :host([responsive-size=\"xs\"]) .hide-full-xs,\n :host([responsive-size=\"xs\"]) .hide-full-sm,\n :host([responsive-size=\"xs\"]) .hide-full-flex,\n :host([responsive-size=\"sm\"]) .hide-full-sm,\n :host([responsive-size=\"sm\"]) .hide-full-flex,\n :host([flex-layout]) .hide-flex {\n display: none;\n }\n\n :host([responsive-size=\"xl\"]) #cc-custom {\n font-size: 16px;\n }\n\n :host([responsive-size=\"lg\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"xl\"]) #cc-custom {\n font-size: 14px;\n }\n\n :host([responsive-size=\"md\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"lg\"]) #cc-custom {\n font-size: 12px;\n }\n\n :host([responsive-size=\"xs\"]) #cc-custom,\n :host([width]) #cc-custom,\n :host([flex-layout][responsive-size=\"md\"]) #cc-custom,\n :host([flex-layout][responsive-size=\"sm\"]) #cc-custom {\n font-size: 10px;\n }\n\n :host([sticky-mode]) #cc-custom,\n :host([flex-layout][width]) #cc-custom,\n :host([flex-layout][responsive-size=\"xs\"]) #cc-custom {\n display: none;\n }\n\n .media-caption {\n color: var(--a11y-media-bg-color);\n background-color: var(--a11y-media-accent-color);\n }\n\n #audio-only {\n text-align: center;\n font-style: italic;\n width: 100%;\n line-height: 160%;\n }\n\n #print-thumbnail,\n .print-only {\n width: 0;\n display: none;\n }\n }\n\n @media print {\n :host,\n :host([dark]) {\n outline: 1px solid #aaaaaa;\n background-color: #ffffff;\n }\n\n .screen-only,\n #searchbar,\n #print-thumbnail:not([src]),\n :host(:not([thumbnail-src])) #player {\n display: none;\n }\n\n .media-caption {\n background-color: #cccccc;\n color: #000000;\n font-size: 120%;\n }\n\n #transcript {\n padding: 0 15px 5px;\n color: #000;\n background-color: #ffffff;\n border-top: 1px solid #aaa;\n }\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-button.js index 78bd6156c14..19f17cef829 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-button.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/lib/si _exports.A11yMediaButton = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_4ae982601da511ed9d313b9780b2ae17, _templateObject2_4ae982601da511ed9d313b9780b2ae17, _templateObject3_4ae982601da511ed9d313b9780b2ae17, _templateObject4_4ae982601da511ed9d313b9780b2ae17; + var _templateObject_23a5fef01e5811ed81a80d03c17d190b, _templateObject2_23a5fef01e5811ed81a80d03c17d190b, _templateObject3_23a5fef01e5811ed81a80d03c17d190b, _templateObject4_23a5fef01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -49,7 +49,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/lib/si babelHelpers.createClass(A11yMediaButton, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ae982601da511ed9d313b9780b2ae17 || (_templateObject_4ae982601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n "])), this.label, this.toggle ? "true" : "false", this.controls, this._buttonClick, this.disabled, this.toggle, this.icon, this.label ? (0, _index.html)(_templateObject2_4ae982601da511ed9d313b9780b2ae17 || (_templateObject2_4ae982601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.tooltipPosition, this.label) : ""); + return (0, _index.html)(_templateObject_23a5fef01e5811ed81a80d03c17d190b || (_templateObject_23a5fef01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n "])), this.label, this.toggle ? "true" : "false", this.controls, this._buttonClick, this.disabled, this.toggle, this.icon, this.label ? (0, _index.html)(_templateObject2_23a5fef01e5811ed81a80d03c17d190b || (_templateObject2_23a5fef01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.tooltipPosition, this.label) : ""); } /** * lets player know this button was clicked @@ -151,12 +151,12 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/lib/si }, { key: "styles", get: function get() { - return [this.buttonStyles, (0, _index.css)(_templateObject3_4ae982601da511ed9d313b9780b2ae17 || (_templateObject3_4ae982601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 0;\n padding: 0;\n }\n #button {\n margin: 0;\n padding: 8px;\n line-height: 1;\n border: none;\n transition: color 0.25s;\n color: var(--a11y-media-button-color);\n background-color: var(--a11y-media-button-bg-color);\n }\n :host([toggle]) #button {\n color: var(--a11y-media-button-toggle-color);\n background-color: var(--a11y-media-button-toggle-bg-color);\n }\n :host([toggle]:active) #button,\n :host([toggle]:focus) #button,\n :host([toggle]:hover) #button,\n :host(:active) #button,\n :host(:focus) #button,\n :host(:hover) #button {\n color: var(--a11y-media-button-hover-color);\n background-color: var(--a11y-media-button-hover-bg-color);\n }\n :host([disabled]) #button {\n color: var(--a11y-media-button-disabled-color);\n cursor: not-allowed;\n }\n .sr-only {\n position: absolute;\n left: -99999;\n top: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n simple-tooltip {\n z-index: 100;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n simple-icon-lite {\n display: inline-block;\n }\n "])))]; + return [this.buttonStyles, (0, _index.css)(_templateObject3_23a5fef01e5811ed81a80d03c17d190b || (_templateObject3_23a5fef01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 0;\n padding: 0;\n }\n #button {\n margin: 0;\n padding: 8px;\n line-height: 1;\n border: none;\n transition: color 0.25s;\n color: var(--a11y-media-button-color);\n background-color: var(--a11y-media-button-bg-color);\n }\n :host([toggle]) #button {\n color: var(--a11y-media-button-toggle-color);\n background-color: var(--a11y-media-button-toggle-bg-color);\n }\n :host([toggle]:active) #button,\n :host([toggle]:focus) #button,\n :host([toggle]:hover) #button,\n :host(:active) #button,\n :host(:focus) #button,\n :host(:hover) #button {\n color: var(--a11y-media-button-hover-color);\n background-color: var(--a11y-media-button-hover-bg-color);\n }\n :host([disabled]) #button {\n color: var(--a11y-media-button-disabled-color);\n cursor: not-allowed;\n }\n .sr-only {\n position: absolute;\n left: -99999;\n top: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n simple-tooltip {\n z-index: 100;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n simple-icon-lite {\n display: inline-block;\n }\n "])))]; } }, { key: "buttonStyles", get: function get() { - return [(0, _index.css)(_templateObject4_4ae982601da511ed9d313b9780b2ae17 || (_templateObject4_4ae982601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n #button {\n margin: 0;\n border: none;\n }\n .sr-only {\n position: absolute;\n left: -99999;\n top: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n simple-tooltip {\n z-index: 100;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_23a5fef01e5811ed81a80d03c17d190b || (_templateObject4_23a5fef01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n #button {\n margin: 0;\n border: none;\n }\n .sr-only {\n position: absolute;\n left: -99999;\n top: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n simple-tooltip {\n z-index: 100;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n "])))]; } }]); return A11yMediaButton; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-play-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-play-button.js index f1770b56ae1..289581d15bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-play-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-play-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./a11y-media-button.js"], function }); _exports.A11yMediaPlayButton = void 0; - var _templateObject_4aec68901da511ed9d313b9780b2ae17, _templateObject2_4aec68901da511ed9d313b9780b2ae17, _templateObject3_4aec68901da511ed9d313b9780b2ae17, _templateObject4_4aec68901da511ed9d313b9780b2ae17; + var _templateObject_23a8be101e5811ed81a80d03c17d190b, _templateObject2_23a8be101e5811ed81a80d03c17d190b, _templateObject3_23a8be101e5811ed81a80d03c17d190b, _templateObject4_23a8be101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -50,7 +50,7 @@ define(["exports", "../../../lit/index.js", "./a11y-media-button.js"], function key: "render", value: //render function function render() { - return (0, _index.html)(_templateObject_4aec68901da511ed9d313b9780b2ae17 || (_templateObject_4aec68901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.disabled ? "true" : "false", this.label, this._buttonClick, this.disabled, this.youtubeId != "undefined" && this.youtubeId ? (0, _index.html)(_templateObject2_4aec68901da511ed9d313b9780b2ae17 || (_templateObject2_4aec68901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n "]))) : (0, _index.html)(_templateObject3_4aec68901da511ed9d313b9780b2ae17 || (_templateObject3_4aec68901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n ", "\n \n \n \n "])), this.label)); + return (0, _index.html)(_templateObject_23a8be101e5811ed81a80d03c17d190b || (_templateObject_23a8be101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.disabled ? "true" : "false", this.label, this._buttonClick, this.disabled, this.youtubeId != "undefined" && this.youtubeId ? (0, _index.html)(_templateObject2_23a8be101e5811ed81a80d03c17d190b || (_templateObject2_23a8be101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n "]))) : (0, _index.html)(_templateObject3_23a8be101e5811ed81a80d03c17d190b || (_templateObject3_23a8be101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n ", "\n \n \n \n "])), this.label)); } }], [{ key: "tag", @@ -60,7 +60,7 @@ define(["exports", "../../../lit/index.js", "./a11y-media-button.js"], function }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(A11yMediaPlayButton), "buttonStyles", this)), [(0, _index.css)(_templateObject4_4aec68901da511ed9d313b9780b2ae17 || (_templateObject4_4aec68901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n opacity: 1;\n transition: opacity 0.5s;\n }\n :host([action=\"pause\"]) {\n opacity: 0;\n }\n :host,\n #button {\n width: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n transition: opacity 0.5s;\n }\n #button {\n position: absolute;\n height: 100%;\n padding: 0;\n background: var(--a11y-play-button-bg-color);\n }\n #button:focus,\n #button:hover {\n background: var(--a11y-play-button-focus-bg-color);\n opacity: 0.2;\n }\n #arrow {\n stroke: #ffffff;\n fill: #000000;\n }\n #text {\n fill: #ffffff;\n }\n @media print {\n :host,\n #background,\n #svg {\n display: none;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(A11yMediaPlayButton), "buttonStyles", this)), [(0, _index.css)(_templateObject4_23a8be101e5811ed81a80d03c17d190b || (_templateObject4_23a8be101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n opacity: 1;\n transition: opacity 0.5s;\n }\n :host([action=\"pause\"]) {\n opacity: 0;\n }\n :host,\n #button {\n width: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n transition: opacity 0.5s;\n }\n #button {\n position: absolute;\n height: 100%;\n padding: 0;\n background: var(--a11y-play-button-bg-color);\n }\n #button:focus,\n #button:hover {\n background: var(--a11y-play-button-focus-bg-color);\n opacity: 0.2;\n }\n #arrow {\n stroke: #ffffff;\n fill: #000000;\n }\n #text {\n fill: #ffffff;\n }\n @media print {\n :host,\n #background,\n #svg {\n display: none;\n }\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-transcript-cue.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-transcript-cue.js index 16312dc4e31..a37293b6699 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-transcript-cue.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-transcript-cue.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-search/lib/simple-sear }); _exports.A11yMediaTranscriptCue = void 0; - var _templateObject_4af5b7601da511ed9d313b9780b2ae17, _templateObject2_4af5b7601da511ed9d313b9780b2ae17; + var _templateObject_23aeb1801e5811ed81a80d03c17d190b, _templateObject2_23aeb1801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -59,7 +59,7 @@ define(["exports", "../../../lit/index.js", "../../simple-search/lib/simple-sear babelHelpers.createClass(A11yMediaTranscriptCue, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4af5b7601da511ed9d313b9780b2ae17 || (_templateObject_4af5b7601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", " - ", " \n \n \n \n "])), this.start, this.end); + return (0, _index.html)(_templateObject_23aeb1801e5811ed81a80d03c17d190b || (_templateObject_23aeb1801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", " - ", " \n \n \n \n "])), this.start, this.end); } }, { key: "updated", @@ -135,7 +135,7 @@ define(["exports", "../../../lit/index.js", "../../simple-search/lib/simple-sear }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4af5b7601da511ed9d313b9780b2ae17 || (_templateObject2_4af5b7601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n cursor: default;\n display: table-row;\n width: 100%;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n transition: color 0.25s, background-color 0.25s;\n --simple-search-match-text-color: var(\n --a11y-media-transcript-match-color\n );\n --simple-search-match-bg-color: var(\n --a11y-media-transcript-match-bg-color\n );\n --simple-search-match-border-color: var(\n --a11y-media-transcript-match-border-color\n );\n --simple-search-match-border: none;\n --simple-search-match-border-radius: 4px;\n --simple-search-match-font-weight: normal;\n }\n :host([hide-timestamps]) {\n display: inline;\n }\n :host(:not([active]):not([disabled]):active),\n :host(:not([active]):not([disabled]):focus),\n :host(:not([active]):not([disabled]):hover) {\n cursor: pointer;\n color: var(--a11y-media-transcript-focused-cue-color);\n background-color: var(--a11y-media-transcript-focused-cue-bg-color);\n outline: 1px dotted var(--a11y-media-transcript-focused-cue-color);\n }\n :host([active]) {\n color: var(--a11y-media-transcript-active-cue-color);\n background-color: var(--a11y-media-transcript-active-cue-bg-color);\n }\n #text {\n display: table-cell;\n width: 100%;\n line-height: 200%;\n }\n :host([hide-timestamps]) #text {\n display: inline;\n }\n #time {\n display: table-cell;\n font-size: 80%;\n padding: 0 16px 0 0;\n white-space: nowrap;\n font-family: monospace;\n }\n :host([hide-timestamps]) #time {\n display: none;\n }\n @media print {\n :host,\n :host([active]),\n :host(:not([active]):not([disabled]):active),\n :host(:not([active]):not([disabled]):focus),\n :host(:not([active]):not([disabled]):hover) {\n color: #000000;\n background-color: #ffffff;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_23aeb1801e5811ed81a80d03c17d190b || (_templateObject2_23aeb1801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n cursor: default;\n display: table-row;\n width: 100%;\n color: var(--a11y-media-transcript-cue-color);\n background-color: var(--a11y-media-transcript-cue-bg-color);\n transition: color 0.25s, background-color 0.25s;\n --simple-search-match-text-color: var(\n --a11y-media-transcript-match-color\n );\n --simple-search-match-bg-color: var(\n --a11y-media-transcript-match-bg-color\n );\n --simple-search-match-border-color: var(\n --a11y-media-transcript-match-border-color\n );\n --simple-search-match-border: none;\n --simple-search-match-border-radius: 4px;\n --simple-search-match-font-weight: normal;\n }\n :host([hide-timestamps]) {\n display: inline;\n }\n :host(:not([active]):not([disabled]):active),\n :host(:not([active]):not([disabled]):focus),\n :host(:not([active]):not([disabled]):hover) {\n cursor: pointer;\n color: var(--a11y-media-transcript-focused-cue-color);\n background-color: var(--a11y-media-transcript-focused-cue-bg-color);\n outline: 1px dotted var(--a11y-media-transcript-focused-cue-color);\n }\n :host([active]) {\n color: var(--a11y-media-transcript-active-cue-color);\n background-color: var(--a11y-media-transcript-active-cue-bg-color);\n }\n #text {\n display: table-cell;\n width: 100%;\n line-height: 200%;\n }\n :host([hide-timestamps]) #text {\n display: inline;\n }\n #time {\n display: table-cell;\n font-size: 80%;\n padding: 0 16px 0 0;\n white-space: nowrap;\n font-family: monospace;\n }\n :host([hide-timestamps]) #time {\n display: none;\n }\n @media print {\n :host,\n :host([active]),\n :host(:not([active]):not([disabled]):active),\n :host(:not([active]):not([disabled]):focus),\n :host(:not([active]):not([disabled]):hover) {\n color: #000000;\n background-color: #ffffff;\n }\n }\n "])))]; } }]); return A11yMediaTranscriptCue; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-youtube.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-youtube.js index f57b1f58df0..916f8dccbe5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-youtube.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-media-player/lib/a11y-media-youtube.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../hax-iconset/lib/simple-hax-ic }); _exports.A11yMediaYoutube = void 0; - var _templateObject_4b019e401da511ed9d313b9780b2ae17, _templateObject2_4b019e401da511ed9d313b9780b2ae17; + var _templateObject_23b827601e5811ed81a80d03c17d190b, _templateObject2_23b827601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,7 +56,7 @@ define(["exports", "../../../lit/index.js", "../../hax-iconset/lib/simple-hax-ic key: "render", value: //render function function render() { - return (0, _index.html)(_templateObject_4b019e401da511ed9d313b9780b2ae17 || (_templateObject_4b019e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_23b827601e5811ed81a80d03c17d190b || (_templateObject_23b827601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } // properties available to the custom element for data binding }, { @@ -537,7 +537,7 @@ define(["exports", "../../../lit/index.js", "../../hax-iconset/lib/simple-hax-ic }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4b019e401da511ed9d313b9780b2ae17 || (_templateObject2_4b019e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n iframe .ytp-pause-overlay {\n display: none !important;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_23b827601e5811ed81a80d03c17d190b || (_templateObject2_23b827601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n iframe .ytp-pause-overlay {\n display: none !important;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/a11y-menu-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/a11y-menu-button.js index cff519f9ed4..e05d251f82a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/a11y-menu-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/a11y-menu-button.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a }); _exports.A11yMenuButtonBehaviors = _exports.A11yMenuButton = void 0; - var _templateObject_434c32f01da511ed9d313b9780b2ae17, _templateObject2_434c32f01da511ed9d313b9780b2ae17, _templateObject3_434c32f01da511ed9d313b9780b2ae17, _templateObject4_434c32f01da511ed9d313b9780b2ae17, _templateObject5_434c32f01da511ed9d313b9780b2ae17, _templateObject6_434c32f01da511ed9d313b9780b2ae17; + var _templateObject_1a4ad2e01e5811ed81a80d03c17d190b, _templateObject2_1a4ad2e01e5811ed81a80d03c17d190b, _templateObject3_1a4ad2e01e5811ed81a80d03c17d190b, _templateObject4_1a4ad2e01e5811ed81a80d03c17d190b, _templateObject5_1a4ad2e01e5811ed81a80d03c17d190b, _templateObject6_1a4ad2e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -63,14 +63,14 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_434c32f01da511ed9d313b9780b2ae17 || (_templateObject_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " ", " "])), this.buttonTemplate, this.menuTemplate); + return (0, _index.html)(_templateObject_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " ", " "])), this.buttonTemplate, this.menuTemplate); } }, { key: "menuTemplate", get: function get() { var _this2 = this; - return (0, _index.html)(_templateObject2_434c32f01da511ed9d313b9780b2ae17 || (_templateObject2_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n "])), this.expanded, this.position, this.positionAlign, this.offset, !this.expanded, function (e) { + return (0, _index.html)(_templateObject2_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject2_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n "])), this.expanded, this.position, this.positionAlign, this.offset, !this.expanded, function (e) { return _this2.hover = true; }, function (e) { return _this2.hover = false; @@ -85,7 +85,7 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a }, { key: "buttonTemplate", get: function get() { - return (0, _index.html)(_templateObject3_434c32f01da511ed9d313b9780b2ae17 || (_templateObject3_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.expanded ? "true" : "false"); + return (0, _index.html)(_templateObject3_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject3_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.expanded ? "true" : "false"); } /** * template for slotted list items @@ -96,7 +96,7 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a }, { key: "listItemTemplate", get: function get() { - return (0, _index.html)(_templateObject4_434c32f01da511ed9d313b9780b2ae17 || (_templateObject4_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject4_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject4_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } /** * key code translations as object @@ -660,7 +660,7 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a * @static */ function get() { - return [(0, _index.css)(_templateObject5_434c32f01da511ed9d313b9780b2ae17 || (_templateObject5_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n padding: 0;\n display: inline-flex;\n position: relative;\n z-index: 1;\n }\n :host([expanded]) {\n z-index: var(--a11y-menu-button-focus-z-index, 1000);\n }\n button[part=\"button\"] {\n display: block;\n text-decoration: inherit;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n width: 100%;\n }\n absolute-position-behavior {\n z-index: -1;\n overflow: hidden;\n transition: z-index 0s;\n }\n :host([expanded]) absolute-position-behavior {\n z-index: var(--a11y-menu-button-focus-z-index, 1000);\n transition: z-index 0s;\n }\n :host(:not([expanded])) absolute-position-behavior {\n border-color: none !important;\n }\n ul {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject5_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n padding: 0;\n display: inline-flex;\n position: relative;\n z-index: 1;\n }\n :host([expanded]) {\n z-index: var(--a11y-menu-button-focus-z-index, 1000);\n }\n button[part=\"button\"] {\n display: block;\n text-decoration: inherit;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n width: 100%;\n }\n absolute-position-behavior {\n z-index: -1;\n overflow: hidden;\n transition: z-index 0s;\n }\n :host([expanded]) absolute-position-behavior {\n z-index: var(--a11y-menu-button-focus-z-index, 1000);\n transition: z-index 0s;\n }\n :host(:not([expanded])) absolute-position-behavior {\n border-color: none !important;\n }\n ul {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n "])))]; } /** * styles that can be customized by @@ -673,7 +673,7 @@ define(["exports", "../../lit/index.js", "./lib/a11y-menu-button-item.js", "../a }, { key: "menuButtonThemeStyles", get: function get() { - return [(0, _index.css)(_templateObject6_434c32f01da511ed9d313b9780b2ae17 || (_templateObject6_434c32f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n button[part=\"button\"] {\n padding: var(--a11y-menu-button-vertical-padding, 2px)\n var(--a11y-menu-button-horizontal-padding, 5px);\n text-align: var(--a11y-menu-button-text-align, center);\n background-color: var(--a11y-menu-button-bg-color, white);\n color: var(--a11y-menu-button-color, currentColor);\n background-color: var(--a11y-menu-button-bg-color, white);\n border-radius: var(--a11y-menu-button-border-radius, 0);\n border-left: var(--a11y-menu-button-border-left, unset);\n border-top: var(--a11y-menu-button-border-top, unset);\n border-right: var(--a11y-menu-button-border-right, unset);\n border-bottom: var(--a11y-menu-button-border-bottom, unset);\n border: var(--a11y-menu-button-border, 1px solid #ddd);\n box-shadow: var(--a11y-menu-button-box-shadow, unset);\n transition: all 0.25s ease-in-out;\n }\n button[part=\"button\"]:focus,\n button[part=\"button\"]:hover {\n color: var(\n --a11y-menu-button-focus-color,\n var(--a11y-menu-button-color, currentColor)\n );\n background-color: var(\n --a11y-menu-button-focus-bg-color,\n var(--a11y-menu-button-bg-color, white)\n );\n border-left: var(\n --a11y-menu-button-focus-border-left,\n var(--a11y-menu-button-border-left, unset)\n );\n border-top: var(\n --a11y-menu-button-focus-border-top,\n var(--a11y-menu-button-border-top, unset)\n );\n border-right: var(\n --a11y-menu-button-focus-border-right,\n var(--a11y-menu-button-border-right, unset)\n );\n border-bottom: var(\n --a11y-menu-button-focus-border-bottom,\n var(--a11y-menu-button-border-bottom, unset)\n );\n border: var(\n --a11y-menu-button-focus-border,\n var(--a11y-menu-button-border, 1px solid #ddd)\n );\n box-shadow: var(\n --a11y-menu-button-box-shadow,\n var(--a11y-menu-button-focus-box-shadow, unset)\n );\n }\n :host([expanded]) absolute-position-behavior {\n width: var(--a11y-menu-button-list-width, unset);\n height: var(--a11y-menu-button-list-height, unset);\n border: var(\n --a11y-menu-button-list-border,\n var(--a11y-menu-button-border, 1px solid #ddd)\n );\n background-color: var(\n --a11y-menu-button-bg-color,\n var(--a11y-menu-button-list-bg-color, white)\n );\n box-shadow: var(--a11y-menu-button-list-box-shadow, unset);\n }\n "])))]; + return [(0, _index.css)(_templateObject6_1a4ad2e01e5811ed81a80d03c17d190b || (_templateObject6_1a4ad2e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n button[part=\"button\"] {\n padding: var(--a11y-menu-button-vertical-padding, 2px)\n var(--a11y-menu-button-horizontal-padding, 5px);\n text-align: var(--a11y-menu-button-text-align, center);\n background-color: var(--a11y-menu-button-bg-color, white);\n color: var(--a11y-menu-button-color, currentColor);\n background-color: var(--a11y-menu-button-bg-color, white);\n border-radius: var(--a11y-menu-button-border-radius, 0);\n border-left: var(--a11y-menu-button-border-left, unset);\n border-top: var(--a11y-menu-button-border-top, unset);\n border-right: var(--a11y-menu-button-border-right, unset);\n border-bottom: var(--a11y-menu-button-border-bottom, unset);\n border: var(--a11y-menu-button-border, 1px solid #ddd);\n box-shadow: var(--a11y-menu-button-box-shadow, unset);\n transition: all 0.25s ease-in-out;\n }\n button[part=\"button\"]:focus,\n button[part=\"button\"]:hover {\n color: var(\n --a11y-menu-button-focus-color,\n var(--a11y-menu-button-color, currentColor)\n );\n background-color: var(\n --a11y-menu-button-focus-bg-color,\n var(--a11y-menu-button-bg-color, white)\n );\n border-left: var(\n --a11y-menu-button-focus-border-left,\n var(--a11y-menu-button-border-left, unset)\n );\n border-top: var(\n --a11y-menu-button-focus-border-top,\n var(--a11y-menu-button-border-top, unset)\n );\n border-right: var(\n --a11y-menu-button-focus-border-right,\n var(--a11y-menu-button-border-right, unset)\n );\n border-bottom: var(\n --a11y-menu-button-focus-border-bottom,\n var(--a11y-menu-button-border-bottom, unset)\n );\n border: var(\n --a11y-menu-button-focus-border,\n var(--a11y-menu-button-border, 1px solid #ddd)\n );\n box-shadow: var(\n --a11y-menu-button-box-shadow,\n var(--a11y-menu-button-focus-box-shadow, unset)\n );\n }\n :host([expanded]) absolute-position-behavior {\n width: var(--a11y-menu-button-list-width, unset);\n height: var(--a11y-menu-button-list-height, unset);\n border: var(\n --a11y-menu-button-list-border,\n var(--a11y-menu-button-border, 1px solid #ddd)\n );\n background-color: var(\n --a11y-menu-button-bg-color,\n var(--a11y-menu-button-list-bg-color, white)\n );\n box-shadow: var(--a11y-menu-button-list-box-shadow, unset);\n }\n "])))]; } }, { key: "styles", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/a11y-menu-button-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/a11y-menu-button-item.js index 58dbd342973..a67364f49f5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/a11y-menu-button-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/a11y-menu-button-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.A11yMenuButtonItemBehaviors = _exports.A11yMenuButtonItem = void 0; - var _templateObject_4b056ed01da511ed9d313b9780b2ae17, _templateObject2_4b056ed01da511ed9d313b9780b2ae17, _templateObject3_4b056ed01da511ed9d313b9780b2ae17; + var _templateObject_23ba71501e5811ed81a80d03c17d190b, _templateObject2_23ba71501e5811ed81a80d03c17d190b, _templateObject3_23ba71501e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -41,7 +41,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }, { key: "linkTemplate", get: function get() { - return (0, _index.html)(_templateObject_4b056ed01da511ed9d313b9780b2ae17 || (_templateObject_4b056ed01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
  • \n \n \n \n
  • "])), this.href, this.disabled); + return (0, _index.html)(_templateObject_23ba71501e5811ed81a80d03c17d190b || (_templateObject_23ba71501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
  • \n \n \n \n
  • "])), this.href, this.disabled); } /** * renders item as a button @@ -52,7 +52,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }, { key: "buttonTemplate", get: function get() { - return (0, _index.html)(_templateObject2_4b056ed01da511ed9d313b9780b2ae17 || (_templateObject2_4b056ed01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
  • \n \n \n \n
  • \n "])), this.controls, this.disabled); + return (0, _index.html)(_templateObject2_23ba71501e5811ed81a80d03c17d190b || (_templateObject2_23ba71501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
  • \n \n \n \n
  • \n "])), this.controls, this.disabled); } /** * gets item with role="menuitem" @@ -111,7 +111,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_4b056ed01da511ed9d313b9780b2ae17 || (_templateObject3_4b056ed01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 0;\n padding: 0;\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n *[role=\"menuitem\"][disabled] {\n cursor: not-allowed;\n }\n\n *[role=\"menuitem\"],\n *[role=\"menuitem\"]:visited {\n display: block;\n margin: 0;\n border-radius: 0;\n font-family: inherit;\n font-size: inherit;\n text-decoration: var(--a11y-menu-button-item-text-decoration, none);\n color: var(\n --a11y-menu-button-item-color,\n var(--a11y-menu-button-color, currentColor)\n );\n width: calc(\n 100% - 2 *\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n )\n );\n text-align: var(--a11y-menu-button-item-text-align, left);\n padding: var(\n --a11y-menu-button-item-vertical-padding,\n var(--a11y-menu-button-vertical-padding, 0)\n )\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n );\n background-color: var(\n --a11y-menu-button-item-bg-color,\n var(--a11y-menu-button-bg-color, white)\n );\n border-left: var(--a11y-menu-button-item-border-left, none);\n border-right: var(--a11y-menu-button-item-border-right, none);\n border-top: var(--a11y-menu-button-item-border-top, none);\n border-bottom: var(--a11y-menu-button-item-border-bottom, none);\n border: var(--a11y-menu-button-item-border, none);\n transition: all 0.25s ease-in-out;\n }\n button[role=\"menuitem\"],\n button[role=\"menuitem\"]:visited {\n width: 100%;\n }\n\n :host(:focus-within) *[role=\"button\"],\n *[role=\"menuitem\"]:focus,\n *[role=\"menuitem\"]:hover {\n text-decoration: var(\n --a11y-menu-button-item-focus-text-decoration,\n none\n );\n color: var(--a11y-menu-button-item-focus-color, currentColor);\n background-color: var(\n --a11y-menu-button-item-focus-bg-color,\n #e0e0ff\n );\n border-left: var(--a11y-menu-button-item-focus-border-left, unset);\n border-right: var(\n --a11y-menu-button-item-focus-border-right,\n unset\n );\n border-top: var(--a11y-menu-button-item-focus-border-top, unset);\n border-bottom: var(\n --a11y-menu-button-item-focus-border-bottom,\n unset\n );\n border: var(--a11y-menu-button-item-focus-border, unset);\n }\n "])))]; + return [(0, _index.css)(_templateObject3_23ba71501e5811ed81a80d03c17d190b || (_templateObject3_23ba71501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 0;\n padding: 0;\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n *[role=\"menuitem\"][disabled] {\n cursor: not-allowed;\n }\n\n *[role=\"menuitem\"],\n *[role=\"menuitem\"]:visited {\n display: block;\n margin: 0;\n border-radius: 0;\n font-family: inherit;\n font-size: inherit;\n text-decoration: var(--a11y-menu-button-item-text-decoration, none);\n color: var(\n --a11y-menu-button-item-color,\n var(--a11y-menu-button-color, currentColor)\n );\n width: calc(\n 100% - 2 *\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n )\n );\n text-align: var(--a11y-menu-button-item-text-align, left);\n padding: var(\n --a11y-menu-button-item-vertical-padding,\n var(--a11y-menu-button-vertical-padding, 0)\n )\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n );\n background-color: var(\n --a11y-menu-button-item-bg-color,\n var(--a11y-menu-button-bg-color, white)\n );\n border-left: var(--a11y-menu-button-item-border-left, none);\n border-right: var(--a11y-menu-button-item-border-right, none);\n border-top: var(--a11y-menu-button-item-border-top, none);\n border-bottom: var(--a11y-menu-button-item-border-bottom, none);\n border: var(--a11y-menu-button-item-border, none);\n transition: all 0.25s ease-in-out;\n }\n button[role=\"menuitem\"],\n button[role=\"menuitem\"]:visited {\n width: 100%;\n }\n\n :host(:focus-within) *[role=\"button\"],\n *[role=\"menuitem\"]:focus,\n *[role=\"menuitem\"]:hover {\n text-decoration: var(\n --a11y-menu-button-item-focus-text-decoration,\n none\n );\n color: var(--a11y-menu-button-item-focus-color, currentColor);\n background-color: var(\n --a11y-menu-button-item-focus-bg-color,\n #e0e0ff\n );\n border-left: var(--a11y-menu-button-item-focus-border-left, unset);\n border-right: var(\n --a11y-menu-button-item-focus-border-right,\n unset\n );\n border-top: var(--a11y-menu-button-item-focus-border-top, unset);\n border-bottom: var(\n --a11y-menu-button-item-focus-border-bottom,\n unset\n );\n border: var(--a11y-menu-button-item-focus-border, unset);\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/dist/a11y-menu-button-item.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/dist/a11y-menu-button-item.dev.js index 16cd028c88d..9b45f486279 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/dist/a11y-menu-button-item.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-menu-button/lib/dist/a11y-menu-button-item.dev.js @@ -21,30 +21,30 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject3_906d12701da511ed9d313b9780b2ae17() { +function _templateObject3_58a3ab701e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
  • \n \n \n \n
  • \n ']); - _templateObject3_906d12701da511ed9d313b9780b2ae17 = function _templateObject3_906d12701da511ed9d313b9780b2ae17() { + _templateObject3_58a3ab701e5811ed81a80d03c17d190b = function _templateObject3_58a3ab701e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_906d12701da511ed9d313b9780b2ae17() { +function _templateObject2_58a3ab701e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['
  • \n \n \n \n
  • ']); - _templateObject2_906d12701da511ed9d313b9780b2ae17 = function _templateObject2_906d12701da511ed9d313b9780b2ae17() { + _templateObject2_58a3ab701e5811ed81a80d03c17d190b = function _templateObject2_58a3ab701e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_906d12701da511ed9d313b9780b2ae17() { +function _templateObject_58a3ab701e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n margin: 0;\n padding: 0;\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n *[role="menuitem"][disabled] {\n cursor: not-allowed;\n }\n\n *[role="menuitem"],\n *[role="menuitem"]:visited {\n display: block;\n margin: 0;\n border-radius: 0;\n font-family: inherit;\n font-size: inherit;\n text-decoration: var(--a11y-menu-button-item-text-decoration, none);\n color: var(\n --a11y-menu-button-item-color,\n var(--a11y-menu-button-color, currentColor)\n );\n width: calc(\n 100% - 2 *\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n )\n );\n text-align: var(--a11y-menu-button-item-text-align, left);\n padding: var(\n --a11y-menu-button-item-vertical-padding,\n var(--a11y-menu-button-vertical-padding, 0)\n )\n var(\n --a11y-menu-button-item-horizontal-padding,\n var(--a11y-menu-button-horizontal-padding, 5px)\n );\n background-color: var(\n --a11y-menu-button-item-bg-color,\n var(--a11y-menu-button-bg-color, white)\n );\n border-left: var(--a11y-menu-button-item-border-left, none);\n border-right: var(--a11y-menu-button-item-border-right, none);\n border-top: var(--a11y-menu-button-item-border-top, none);\n border-bottom: var(--a11y-menu-button-item-border-bottom, none);\n border: var(--a11y-menu-button-item-border, none);\n transition: all 0.25s ease-in-out;\n }\n button[role="menuitem"],\n button[role="menuitem"]:visited {\n width: 100%;\n }\n\n :host(:focus-within) *[role="button"],\n *[role="menuitem"]:focus,\n *[role="menuitem"]:hover {\n text-decoration: var(\n --a11y-menu-button-item-focus-text-decoration,\n none\n );\n color: var(--a11y-menu-button-item-focus-color, currentColor);\n background-color: var(\n --a11y-menu-button-item-focus-bg-color,\n #e0e0ff\n );\n border-left: var(--a11y-menu-button-item-focus-border-left, unset);\n border-right: var(\n --a11y-menu-button-item-focus-border-right,\n unset\n );\n border-top: var(--a11y-menu-button-item-focus-border-top, unset);\n border-bottom: var(\n --a11y-menu-button-item-focus-border-bottom,\n unset\n );\n border: var(--a11y-menu-button-item-focus-border, unset);\n }\n ']); - _templateObject_906d12701da511ed9d313b9780b2ae17 = function _templateObject_906d12701da511ed9d313b9780b2ae17() { + _templateObject_58a3ab701e5811ed81a80d03c17d190b = function _templateObject_58a3ab701e5811ed81a80d03c17d190b() { return data; }; @@ -174,7 +174,7 @@ var A11yMenuButtonItemBehaviors = function A11yMenuButtonItemBehaviors(SuperClas }], [{ key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject_906d12701da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject_58a3ab701e5811ed81a80d03c17d190b())]; } }, { key: "tag", @@ -286,7 +286,7 @@ var A11yMenuButtonItemBehaviors = function A11yMenuButtonItemBehaviors(SuperClas }, { key: "linkTemplate", get: function get() { - return (0, _litElement.html)(_templateObject2_906d12701da511ed9d313b9780b2ae17(), this.href, this.disabled); + return (0, _litElement.html)(_templateObject2_58a3ab701e5811ed81a80d03c17d190b(), this.href, this.disabled); } /** * renders item as a button @@ -297,7 +297,7 @@ var A11yMenuButtonItemBehaviors = function A11yMenuButtonItemBehaviors(SuperClas }, { key: "buttonTemplate", get: function get() { - return (0, _litElement.html)(_templateObject3_906d12701da511ed9d313b9780b2ae17(), this.controls, this.disabled); + return (0, _litElement.html)(_templateObject3_58a3ab701e5811ed81a80d03c17d190b(), this.controls, this.disabled); } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/a11y-tabs.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/a11y-tabs.js index 5292d739269..651386ea67d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/a11y-tabs.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/a11y-tabs.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp _exports.A11yTabs = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3d3387b01da511ed9d313b9780b2ae17, _templateObject2_3d3387b01da511ed9d313b9780b2ae17, _templateObject3_3d3387b01da511ed9d313b9780b2ae17, _templateObject4_3d3387b01da511ed9d313b9780b2ae17, _templateObject5_3d3387b01da511ed9d313b9780b2ae17, _templateObject6_3d3387b01da511ed9d313b9780b2ae17, _templateObject7_3d3387b01da511ed9d313b9780b2ae17, _templateObject8_3d3387b01da511ed9d313b9780b2ae17, _templateObject9_3d3387b01da511ed9d313b9780b2ae17, _templateObject10_3d3387b01da511ed9d313b9780b2ae17; + var _templateObject_0ed245101e5811ed81a80d03c17d190b, _templateObject2_0ed245101e5811ed81a80d03c17d190b, _templateObject3_0ed245101e5811ed81a80d03c17d190b, _templateObject4_0ed245101e5811ed81a80d03c17d190b, _templateObject5_0ed245101e5811ed81a80d03c17d190b, _templateObject6_0ed245101e5811ed81a80d03c17d190b, _templateObject7_0ed245101e5811ed81a80d03c17d190b, _templateObject8_0ed245101e5811ed81a80d03c17d190b, _templateObject9_0ed245101e5811ed81a80d03c17d190b, _templateObject10_0ed245101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -127,8 +127,8 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp function render() { var _this2 = this; - return (0, _index.html)(_templateObject_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
      \n ", "\n
    \n
    \n \n
    "])), this.tabs.map(function (tab, i) { - return (0, _index.html)(_templateObject2_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject2_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
  • ", "
  • \n "])), _this2._tabButton(tab, i)); + return (0, _index.html)(_templateObject_0ed245101e5811ed81a80d03c17d190b || (_templateObject_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
      \n ", "\n
    \n
    \n \n
    "])), this.tabs.map(function (tab, i) { + return (0, _index.html)(_templateObject2_0ed245101e5811ed81a80d03c17d190b || (_templateObject2_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
  • ", "
  • \n "])), _this2._tabButton(tab, i)); })); } /** @@ -421,7 +421,7 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp value: function _tabButton(tab, i) { var _this8 = this; - return (0, _index.html)(_templateObject3_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject3_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", " ", "\n ", " ", "\n \n ", "\n "])), tab.id, tab.id === this.activeTab ? "true" : "false", tab.id, tab.id === this.activeTab && !this.disabled ? "active" : "", tab.flag, function (e) { + return (0, _index.html)(_templateObject3_0ed245101e5811ed81a80d03c17d190b || (_templateObject3_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", " ", "\n ", " ", "\n \n ", "\n "])), tab.id, tab.id === this.activeTab ? "true" : "false", tab.id, tab.id === this.activeTab && !this.disabled ? "active" : "", tab.flag, function (e) { return _this8._handleTab(tab); }, function (e) { return _this8._handleKey(i, e); @@ -438,7 +438,7 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp }, { key: "_tabFlag", value: function _tabFlag(tab) { - return (0, _index.html)(_templateObject4_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject4_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), !tab.flag, tab.flag); + return (0, _index.html)(_templateObject4_0ed245101e5811ed81a80d03c17d190b || (_templateObject4_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), !tab.flag, tab.flag); } /** * makes tab icon @@ -451,7 +451,7 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp }, { key: "_tabIcon", value: function _tabIcon(tab, icon) { - return tab.flag ? (0, _index.html)(_templateObject5_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject5_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !tab[icon], tab[icon], tab.flag) : (0, _index.html)(_templateObject6_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject6_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !tab[icon], tab[icon]); + return tab.flag ? (0, _index.html)(_templateObject5_0ed245101e5811ed81a80d03c17d190b || (_templateObject5_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !tab[icon], tab[icon], tab.flag) : (0, _index.html)(_templateObject6_0ed245101e5811ed81a80d03c17d190b || (_templateObject6_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !tab[icon], tab[icon]); } /** * makes tab label @@ -464,7 +464,7 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp }, { key: "_tabLabel", value: function _tabLabel(tab) { - return (0, _index.html)(_templateObject7_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject7_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), tab.label); + return (0, _index.html)(_templateObject7_0ed245101e5811ed81a80d03c17d190b || (_templateObject7_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), tab.label); } /** * makes tab tooltip @@ -478,17 +478,17 @@ define(["exports", "meta", "../../lit/index.js", "../responsive-utility/lib/resp }, { key: "_tabTooltip", value: function _tabTooltip(tab) { - return (0, _index.html)(_templateObject8_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject8_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), tab.id, tab.label); + return (0, _index.html)(_templateObject8_0ed245101e5811ed81a80d03c17d190b || (_templateObject8_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), tab.id, tab.label); } }], [{ key: "A11yTabsCoreStyles", get: function get() { - return [(0, _index.css)(_templateObject9_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject9_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: var(--a11y-tabs-height);\n overflow: var(--a11y-tabs-overflow);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #tabs {\n display: none;\n }\n @media screen {\n :host([vertical]) {\n border-radius: var(--a11y-tabs-vertical-border-radius, 2px);\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n }\n #content {\n flex: 1 1 calc(100% - 2 * var(--a11y-tabs-content-padding, 16px));\n overflow: auto;\n }\n #tabs {\n align-items: stretch;\n flex-wrap: var(--a11y-tabs-wrap, unset);\n margin: 0;\n display: flex;\n list-style: none;\n padding: 0;\n overflow: auto;\n max-width: 100%;\n overflow-x: auto;\n z-index: 1;\n justify-content: var(--a11y-tabs-horizontal-justify-tabs);\n }\n :host([vertical]) #tabs {\n flex: 0 0 auto;\n flex-direction: column;\n overflow-y: auto;\n max-width: unset;\n overflow-x: unset;\n z-index: unset;\n flex-wrap: var(--a11y-tabs-vertical-wrap);\n }\n :host([sticky]) #tabs {\n position: sticky;\n top: 0;\n }\n #tabs li {\n display: flex;\n align-items: stretch;\n }\n :host([full-width]) #tabs li {\n width: 100%;\n }\n :host([vertical]) #tabs li {\n flex-direction: column;\n }\n #tabs .flag-type {\n position: absolute;\n left: -99999px;\n height: 0;\n overflow: hidden;\n }\n :host(:not([vertical])) #content {\n margin-top: -1px;\n }\n #tabs button {\n width: 100%;\n min-width: unset;\n margin: 0;\n }\n\n :host([vertical]) #tabs button {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n #tabs button[disabled] {\n pointer-events: none;\n }\n\n #tabs span.label,\n #tabs .flag-icon {\n margin-right: 8px;\n }\n\n :host([icons-only]) #tabs button {\n justify-content: center;\n }\n\n :host([icons-only]) #tabs span.label {\n display: none;\n }\n\n :host(:not([icons-only])) #tabs #tabs simple-tooltip {\n display: none;\n }\n simple-icon-lite:not([hidden]) {\n display: inline-block;\n }\n\n simple-icon-lite[hidden] {\n display: none;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject9_0ed245101e5811ed81a80d03c17d190b || (_templateObject9_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: var(--a11y-tabs-height);\n overflow: var(--a11y-tabs-overflow);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #tabs {\n display: none;\n }\n @media screen {\n :host([vertical]) {\n border-radius: var(--a11y-tabs-vertical-border-radius, 2px);\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n }\n #content {\n flex: 1 1 calc(100% - 2 * var(--a11y-tabs-content-padding, 16px));\n overflow: auto;\n }\n #tabs {\n align-items: stretch;\n flex-wrap: var(--a11y-tabs-wrap, unset);\n margin: 0;\n display: flex;\n list-style: none;\n padding: 0;\n overflow: auto;\n max-width: 100%;\n overflow-x: auto;\n z-index: 1;\n justify-content: var(--a11y-tabs-horizontal-justify-tabs);\n }\n :host([vertical]) #tabs {\n flex: 0 0 auto;\n flex-direction: column;\n overflow-y: auto;\n max-width: unset;\n overflow-x: unset;\n z-index: unset;\n flex-wrap: var(--a11y-tabs-vertical-wrap);\n }\n :host([sticky]) #tabs {\n position: sticky;\n top: 0;\n }\n #tabs li {\n display: flex;\n align-items: stretch;\n }\n :host([full-width]) #tabs li {\n width: 100%;\n }\n :host([vertical]) #tabs li {\n flex-direction: column;\n }\n #tabs .flag-type {\n position: absolute;\n left: -99999px;\n height: 0;\n overflow: hidden;\n }\n :host(:not([vertical])) #content {\n margin-top: -1px;\n }\n #tabs button {\n width: 100%;\n min-width: unset;\n margin: 0;\n }\n\n :host([vertical]) #tabs button {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n #tabs button[disabled] {\n pointer-events: none;\n }\n\n #tabs span.label,\n #tabs .flag-icon {\n margin-right: 8px;\n }\n\n :host([icons-only]) #tabs button {\n justify-content: center;\n }\n\n :host([icons-only]) #tabs span.label {\n display: none;\n }\n\n :host(:not([icons-only])) #tabs #tabs simple-tooltip {\n display: none;\n }\n simple-icon-lite:not([hidden]) {\n display: inline-block;\n }\n\n simple-icon-lite[hidden] {\n display: none;\n }\n }\n "])))]; } }, { key: "A11yTabsThemeStyles", get: function get() { - return [(0, _index.css)(_templateObject10_3d3387b01da511ed9d313b9780b2ae17 || (_templateObject10_3d3387b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-size: var(--a11y-tabs-font-size, unset);\n font-family: var(--a11y-tabs-font-family, unset);\n --a11y-tabs-focus-color: var(--a11y-tabs-color);\n --a11y-tabs-horizontal-border-radius: var(\n --a11y-tabs-border-radius,\n 2px\n );\n --a11y-tabs-vertical-border-radius: var(\n --a11y-tabs-border-radius,\n 2px\n );\n --a11y-tabs-vertical-button-padding: var(\n --a11y-tabs-button-padding,\n 4px\n );\n --a11y-tabs-horizontal-button-padding: var(\n --a11y-tabs-button-padding,\n 4px\n );\n }\n @media screen {\n :host([vertical]) {\n border-radius: var(--a11y-tabs-vertical-border-radius, 2px);\n border: 1px solid var(--a11y-tabs-border-color, #ddd);\n }\n\n #content {\n border: 1px solid var(--a11y-tabs-border-color, #ddd);\n padding: var(--a11y-tabs-content-padding, 16px);\n background-color: var(--a11y-tabs-content-background);\n }\n\n #tabs {\n background-color: var(--a11y-tabs-horizontal-background);\n font-family: var(\n --a11y-tabs-tab-font-family,\n var(--a11y-tabs-font-family, unset)\n );\n font-size: var(\n --a11y-tabs-tab-font-size,\n var(--a11y-tabs-font-size, unset)\n );\n }\n\n :host([vertical]) #tabs {\n border-left: none;\n background-color: var(--a11y-tabs-vertical-background);\n justify-content: var(--a11y-tabs-vertical-justify-tabs);\n }\n\n :host([vertical]) #tabs button {\n padding: var(--a11y-tabs-vertical-button-padding);\n border-radius: 0;\n }\n\n :host([vertical]) #content {\n border: none;\n }\n :host(:not([vertical])) #content {\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px);\n }\n\n #tabs button {\n text-transform: unset;\n color: var(--a11y-tabs-faded-color, #333);\n border: 1px solid var(--a11y-tabs-border-color);\n background-color: var(--a11y-tabs-faded-background, #f8f8f8);\n padding: var(--a11y-tabs-horizontal-button-padding);\n font-weight: var(--a11y-tabs-font-weight, normal);\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px)\n var(--a11y-tabs-horizontal-border-radius, 2px) 0 0;\n }\n\n button .label {\n text-decoration: var(--a11y-tabs-text-decoration, none);\n }\n\n :host(:not([vertical])) #tabs button {\n border-top-color: var(--a11y-tabs-border-accent);\n }\n\n :host(:not([vertical])) #tabs li:not(:first-of-type) button {\n border-left: none;\n }\n\n :host([vertical]) #tabs button {\n border-top: none;\n border-left-color: var(--a11y-tabs-border-accent);\n }\n\n #tabs button:focus,\n #tabs button:hover {\n color: var(--a11y-tabs-focus-color);\n font-weight: var(--a11y-tabs-focus-font-weight, normal);\n }\n\n button:focus .label,\n button:hover .label {\n text-decoration: var(--a11y-tabs-focus-text-decoration, underline);\n }\n\n :host(:not([vertical])) #tabs button:focus,\n :host(:not([vertical])) #tabs button:hover {\n border-top-color: var(--a11y-tabs-focus-border-accent);\n }\n\n :host([vertical]) #tabs button:focus,\n :host([vertical]) #tabs button:hover {\n border-left-color: var(--a11y-tabs-focus-border-accent);\n }\n\n #tabs button[aria-selected=\"true\"] {\n font-weight: var(--a11y-tabs-selected-font-weight, normal);\n color: var(\n --a11y-tabs-selected-color,\n var(--a11y-tabs-focus-color)\n );\n background-color: var(--a11y-tabs-background);\n }\n\n button[aria-selected=\"true\"] .label {\n text-decoration: var(--a11y-tabs-selected-text-decoration, none);\n }\n\n :host(:not([vertical])) #tabs button[aria-selected=\"true\"] {\n border-bottom-color: var(--a11y-tabs-background);\n border-top-color: var(--a11y-tabs-selected-border-accent);\n }\n\n :host([vertical]) #tabs button[aria-selected=\"true\"] {\n border-right-color: var(--a11y-tabs-background);\n border-left-color: var(--a11y-tabs-selected-border-accent);\n }\n\n #tabs button[disabled] {\n color: var(--a11y-tabs-disabled-color, #999);\n background-color: var(--a11y-tabs-disabled-background, #eee);\n }\n\n #tabs button[disabled]:focus,\n #tabs button[disabled]:hover {\n color: unset;\n font-weight: unset;\n }\n\n button[disabled]:focus .label,\n button[disabled]:hover .label {\n text-decoration: none;\n }\n\n :host(:not([vertical])) #tabs button[disabled] {\n border-left-color: var(--a11y-tabs-disabled-border-accent, unset);\n }\n\n :host([vertical]) #tabs button[disabled] {\n border-top-color: var(--a11y-tabs-disabled-border-accent, unset);\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject10_0ed245101e5811ed81a80d03c17d190b || (_templateObject10_0ed245101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-size: var(--a11y-tabs-font-size, unset);\n font-family: var(--a11y-tabs-font-family, unset);\n --a11y-tabs-focus-color: var(--a11y-tabs-color);\n --a11y-tabs-horizontal-border-radius: var(\n --a11y-tabs-border-radius,\n 2px\n );\n --a11y-tabs-vertical-border-radius: var(\n --a11y-tabs-border-radius,\n 2px\n );\n --a11y-tabs-vertical-button-padding: var(\n --a11y-tabs-button-padding,\n 4px\n );\n --a11y-tabs-horizontal-button-padding: var(\n --a11y-tabs-button-padding,\n 4px\n );\n }\n @media screen {\n :host([vertical]) {\n border-radius: var(--a11y-tabs-vertical-border-radius, 2px);\n border: 1px solid var(--a11y-tabs-border-color, #ddd);\n }\n\n #content {\n border: 1px solid var(--a11y-tabs-border-color, #ddd);\n padding: var(--a11y-tabs-content-padding, 16px);\n background-color: var(--a11y-tabs-content-background);\n }\n\n #tabs {\n background-color: var(--a11y-tabs-horizontal-background);\n font-family: var(\n --a11y-tabs-tab-font-family,\n var(--a11y-tabs-font-family, unset)\n );\n font-size: var(\n --a11y-tabs-tab-font-size,\n var(--a11y-tabs-font-size, unset)\n );\n }\n\n :host([vertical]) #tabs {\n border-left: none;\n background-color: var(--a11y-tabs-vertical-background);\n justify-content: var(--a11y-tabs-vertical-justify-tabs);\n }\n\n :host([vertical]) #tabs button {\n padding: var(--a11y-tabs-vertical-button-padding);\n border-radius: 0;\n }\n\n :host([vertical]) #content {\n border: none;\n }\n :host(:not([vertical])) #content {\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px);\n }\n\n #tabs button {\n text-transform: unset;\n color: var(--a11y-tabs-faded-color, #333);\n border: 1px solid var(--a11y-tabs-border-color);\n background-color: var(--a11y-tabs-faded-background, #f8f8f8);\n padding: var(--a11y-tabs-horizontal-button-padding);\n font-weight: var(--a11y-tabs-font-weight, normal);\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px)\n var(--a11y-tabs-horizontal-border-radius, 2px) 0 0;\n }\n\n button .label {\n text-decoration: var(--a11y-tabs-text-decoration, none);\n }\n\n :host(:not([vertical])) #tabs button {\n border-top-color: var(--a11y-tabs-border-accent);\n }\n\n :host(:not([vertical])) #tabs li:not(:first-of-type) button {\n border-left: none;\n }\n\n :host([vertical]) #tabs button {\n border-top: none;\n border-left-color: var(--a11y-tabs-border-accent);\n }\n\n #tabs button:focus,\n #tabs button:hover {\n color: var(--a11y-tabs-focus-color);\n font-weight: var(--a11y-tabs-focus-font-weight, normal);\n }\n\n button:focus .label,\n button:hover .label {\n text-decoration: var(--a11y-tabs-focus-text-decoration, underline);\n }\n\n :host(:not([vertical])) #tabs button:focus,\n :host(:not([vertical])) #tabs button:hover {\n border-top-color: var(--a11y-tabs-focus-border-accent);\n }\n\n :host([vertical]) #tabs button:focus,\n :host([vertical]) #tabs button:hover {\n border-left-color: var(--a11y-tabs-focus-border-accent);\n }\n\n #tabs button[aria-selected=\"true\"] {\n font-weight: var(--a11y-tabs-selected-font-weight, normal);\n color: var(\n --a11y-tabs-selected-color,\n var(--a11y-tabs-focus-color)\n );\n background-color: var(--a11y-tabs-background);\n }\n\n button[aria-selected=\"true\"] .label {\n text-decoration: var(--a11y-tabs-selected-text-decoration, none);\n }\n\n :host(:not([vertical])) #tabs button[aria-selected=\"true\"] {\n border-bottom-color: var(--a11y-tabs-background);\n border-top-color: var(--a11y-tabs-selected-border-accent);\n }\n\n :host([vertical]) #tabs button[aria-selected=\"true\"] {\n border-right-color: var(--a11y-tabs-background);\n border-left-color: var(--a11y-tabs-selected-border-accent);\n }\n\n #tabs button[disabled] {\n color: var(--a11y-tabs-disabled-color, #999);\n background-color: var(--a11y-tabs-disabled-background, #eee);\n }\n\n #tabs button[disabled]:focus,\n #tabs button[disabled]:hover {\n color: unset;\n font-weight: unset;\n }\n\n button[disabled]:focus .label,\n button[disabled]:hover .label {\n text-decoration: none;\n }\n\n :host(:not([vertical])) #tabs button[disabled] {\n border-left-color: var(--a11y-tabs-disabled-border-accent, unset);\n }\n\n :host([vertical]) #tabs button[disabled] {\n border-top-color: var(--a11y-tabs-disabled-border-accent, unset);\n }\n }\n "])))]; } //styles function }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/a11y-tab.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/a11y-tab.js index 8abb7e156df..71a95c7a8f4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/a11y-tab.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/a11y-tab.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }); _exports.A11yTab = void 0; - var _templateObject_4b0918501da511ed9d313b9780b2ae17, _templateObject2_4b0918501da511ed9d313b9780b2ae17; + var _templateObject_23be90001e5811ed81a80d03c17d190b, _templateObject2_23be90001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -64,7 +64,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l babelHelpers.createClass(A11yTab, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4b0918501da511ed9d313b9780b2ae17 || (_templateObject_4b0918501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n Tab ", "\n
    \n \n \n \n
    ", "
    \n
    \n
    \n \n End of tab ", ". Back to tabs.\n \n "])), this.xOfY, !this.icon, this.icon, !this.label, this.label, this.xOfY, this.id); + return (0, _index.html)(_templateObject_23be90001e5811ed81a80d03c17d190b || (_templateObject_23be90001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n Tab ", "\n
    \n \n \n \n
    ", "
    \n
    \n
    \n \n End of tab ", ". Back to tabs.\n \n "])), this.xOfY, !this.icon, this.icon, !this.label, this.label, this.xOfY, this.id); } // haxProperty definition }, { @@ -183,7 +183,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4b0918501da511ed9d313b9780b2ae17 || (_templateObject2_4b0918501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin-bottom: var(--a11y-tabs-content-padding);\n border: 1px solid var(--a11y-tabs-border-color);\n padding: var(--a11y-tabs-content-padding);\n }\n .sr-only {\n position: absolute;\n left: -99999px;\n height: 0;\n overflow: hidden;\n }\n .label-heading {\n display: flex;\n align-items: center;\n color: var(--a11y-tabs-selected-color, var(--a11y-tabs-focus-color));\n background-color: var(--a11y-tabs-background);\n font-weight: var(--a11y-tabs-selected-font-weight, normal);\n border-bottom: 1px solid var(--a11y-tabs-border-color);\n margin: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n padding: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px)\n var(--a11y-tabs-horizontal-border-radius, 2px) 0 0;\n }\n simple-icon-lite {\n margin-right: 1em;\n }\n @media screen {\n :host {\n border: none;\n height: var(--a11y-tabs-tab-height, --a11y-tabs-height);\n overflow: var(--a11y-tabs-tab-overflow, --a11y-tabs-overflow);\n margin-bottom: unset;\n }\n :host([inactive]) {\n display: none;\n }\n #content-inner {\n max-width: 100%;\n overflow: auto;\n }\n .label-heading {\n display: none;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_23be90001e5811ed81a80d03c17d190b || (_templateObject2_23be90001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin-bottom: var(--a11y-tabs-content-padding);\n border: 1px solid var(--a11y-tabs-border-color);\n padding: var(--a11y-tabs-content-padding);\n }\n .sr-only {\n position: absolute;\n left: -99999px;\n height: 0;\n overflow: hidden;\n }\n .label-heading {\n display: flex;\n align-items: center;\n color: var(--a11y-tabs-selected-color, var(--a11y-tabs-focus-color));\n background-color: var(--a11y-tabs-background);\n font-weight: var(--a11y-tabs-selected-font-weight, normal);\n border-bottom: 1px solid var(--a11y-tabs-border-color);\n margin: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n padding: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px)\n var(--a11y-tabs-horizontal-border-radius, 2px) 0 0;\n }\n simple-icon-lite {\n margin-right: 1em;\n }\n @media screen {\n :host {\n border: none;\n height: var(--a11y-tabs-tab-height, --a11y-tabs-height);\n overflow: var(--a11y-tabs-tab-overflow, --a11y-tabs-overflow);\n margin-bottom: unset;\n }\n :host([inactive]) {\n display: none;\n }\n #content-inner {\n max-width: 100%;\n overflow: auto;\n }\n .label-heading {\n display: none;\n }\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/dist/a11y-tab.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/dist/a11y-tab.dev.js index cdb5a4d52b9..c16dcb8b0aa 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/dist/a11y-tab.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-tabs/lib/dist/a11y-tab.dev.js @@ -25,20 +25,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_9075c5001da511ed9d313b9780b2ae17() { +function _templateObject2_58a5ce501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: block;\n margin-bottom: var(--a11y-tabs-content-padding);\n border: 1px solid var(--a11y-tabs-border-color);\n padding: var(--a11y-tabs-content-padding);\n }\n .sr-only {\n position: absolute;\n left: -99999px;\n height: 0;\n overflow: hidden;\n }\n .label-heading {\n display: flex;\n align-items: center;\n color: var(--a11y-tabs-selected-color, var(--a11y-tabs-focus-color));\n background-color: var(--a11y-tabs-background);\n font-weight: var(--a11y-tabs-selected-font-weight, normal);\n border-bottom: 1px solid var(--a11y-tabs-border-color);\n margin: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n padding: 0 0 calc(var(--a11y-tabs-content-padding) / 2);\n border-radius: var(--a11y-tabs-horizontal-border-radius, 2px)\n var(--a11y-tabs-horizontal-border-radius, 2px) 0 0;\n }\n simple-icon-lite {\n margin-right: 1em;\n }\n @media screen {\n :host {\n border: none;\n height: var(--a11y-tabs-tab-height, --a11y-tabs-height);\n overflow: var(--a11y-tabs-tab-overflow, --a11y-tabs-overflow);\n margin-bottom: unset;\n }\n :host([inactive]) {\n display: none;\n }\n #content-inner {\n max-width: 100%;\n overflow: auto;\n }\n .label-heading {\n display: none;\n }\n }\n "]); - _templateObject2_9075c5001da511ed9d313b9780b2ae17 = function _templateObject2_9075c5001da511ed9d313b9780b2ae17() { + _templateObject2_58a5ce501e5811ed81a80d03c17d190b = function _templateObject2_58a5ce501e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9075c5001da511ed9d313b9780b2ae17() { +function _templateObject_58a5ce501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n Tab ', '\n
    \n \n \n \n
    ', '
    \n
    \n
    \n \n End of tab ', '. Back to tabs.\n \n ']); - _templateObject_9075c5001da511ed9d313b9780b2ae17 = function _templateObject_9075c5001da511ed9d313b9780b2ae17() { + _templateObject_58a5ce501e5811ed81a80d03c17d190b = function _templateObject_58a5ce501e5811ed81a80d03c17d190b() { return data; }; @@ -181,13 +181,13 @@ var A11yTab = /*#__PURE__*/function (_LitElement) { _createClass(A11yTab, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9075c5001da511ed9d313b9780b2ae17(), this.xOfY, !this.icon, this.icon, !this.label, this.label, this.xOfY, this.id); + return (0, _litElement.html)(_templateObject_58a5ce501e5811ed81a80d03c17d190b(), this.xOfY, !this.icon, this.icon, !this.label, this.label, this.xOfY, this.id); } // haxProperty definition }], [{ key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject2_9075c5001da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_58a5ce501e5811ed81a80d03c17d190b())]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-utils/a11y-utils.js b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-utils/a11y-utils.js index 9d6450a8d9a..f933046289d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/a11y-utils/a11y-utils.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/a11y-utils/a11y-utils.js @@ -6,8 +6,8 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.screenreaderOnlyCSS = void 0; - var _templateObject_3cd9cef01da511ed9d313b9780b2ae17; + var _templateObject_10e8a1f01e5811ed81a80d03c17d190b; - var screenreaderOnlyCSS = (0, _index.css)(_templateObject_3cd9cef01da511ed9d313b9780b2ae17 || (_templateObject_3cd9cef01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n .sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n"]))); + var screenreaderOnlyCSS = (0, _index.css)(_templateObject_10e8a1f01e5811ed81a80d03c17d190b || (_templateObject_10e8a1f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n .sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n"]))); _exports.screenreaderOnlyCSS = screenreaderOnlyCSS; }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/absolute-position-behavior/absolute-position-behavior.js b/build/es5-amd/node_modules/@lrnwebcomponents/absolute-position-behavior/absolute-position-behavior.js index 5aa13d2dca2..6079e160e93 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/absolute-position-behavior/absolute-position-behavior.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/absolute-position-behavior/absolute-position-behavior.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/absolute-position-state-manager. }); _exports.AbsolutePositionBehaviorClass = _exports.AbsolutePositionBehavior = void 0; - var _templateObject_3d3de7f01da511ed9d313b9780b2ae17, _templateObject2_3d3de7f01da511ed9d313b9780b2ae17; + var _templateObject_0ef66ee01e5811ed81a80d03c17d190b, _templateObject2_0ef66ee01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -48,7 +48,7 @@ define(["exports", "../../lit/index.js", "./lib/absolute-position-state-manager. key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3d3de7f01da511ed9d313b9780b2ae17 || (_templateObject_3d3de7f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_0ef66ee01e5811ed81a80d03c17d190b || (_templateObject_0ef66ee01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } // properties available to the custom element for data binding }, { @@ -120,7 +120,7 @@ define(["exports", "../../lit/index.js", "./lib/absolute-position-state-manager. key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_3d3de7f01da511ed9d313b9780b2ae17 || (_templateObject2_3d3de7f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n z-index: 99999999999;\n position: absolute;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0ef66ee01e5811ed81a80d03c17d190b || (_templateObject2_0ef66ee01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n z-index: 99999999999;\n position: absolute;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/accent-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/accent-card.js index 61dd4abfc44..6f9dda7a1bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/accent-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/accent-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.AccentCard = void 0; - var _templateObject_3d4477a01da511ed9d313b9780b2ae17, _templateObject2_3d4477a01da511ed9d313b9780b2ae17; + var _templateObject_0efa3f701e5811ed81a80d03c17d190b, _templateObject2_0efa3f701e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -106,7 +106,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". babelHelpers.createClass(AccentCard, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3d4477a01da511ed9d313b9780b2ae17 || (_templateObject_3d4477a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n "])), !this.elementVisible || !this.imageSrc, this.elementVisible && this.imageSrc ? "background-image: url(".concat(this.imageSrc, ");") : ""); + return (0, _index.html)(_templateObject_0efa3f701e5811ed81a80d03c17d190b || (_templateObject_0efa3f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n "])), !this.elementVisible || !this.imageSrc, this.elementVisible && this.imageSrc ? "background-image: url(".concat(this.imageSrc, ");") : ""); } // haxProperty definition }, { @@ -134,7 +134,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AccentCard), "styles", this)), [(0, _index.css)(_templateObject2_3d4477a01da511ed9d313b9780b2ae17 || (_templateObject2_3d4477a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border-radius: 2px;\n margin: 0 0 15px;\n box-shadow: var(\n --accent-card-box-shadow,\n 0 2px 2px 0 rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12),\n 0 3px 1px -2px rgba(0, 0, 0, 0.2)\n );\n color: var(\n --accent-card-color,\n var(--simple-colors-default-theme-grey-9, #222)\n );\n background-color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n :host([dark]) {\n color: var(\n --accent-card-color,\n var(--simple-colors-default-theme-grey-12, #fff)\n );\n }\n :host([accent-background]) {\n background-color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-accent-1, #fff)\n );\n }\n article {\n position: relative;\n width: 100%;\n box-sizing: border-box;\n }\n article,\n .body {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n }\n :host([horizontal]) article {\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n flex-direction: row;\n }\n :host([flat]) {\n box-shadow: none;\n }\n :host([flat]:not([accent-background])) {\n border-width: 1px;\n border-style: solid;\n border-color: var(--accent-card-footer-border-color);\n }\n :host([dark][flat]:not([accent-background])) {\n border-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-6, #666)\n );\n }\n :host(:not([horizontal]):not([no-border])) article {\n border-top-width: 4px;\n border-top-style: solid;\n border-top-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-6, #ddd)\n );\n }\n :host([horizontal]:not([no-border])) article {\n border-left-width: 4px;\n border-left-style: solid;\n border-left-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-6, #ddd)\n );\n }\n :host([dark]:not([horizontal]):not([no-border])) article {\n border-top-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-7, #fff)\n );\n }\n :host([dark][horizontal]:not([no-border])) article {\n border-left-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-7, #fff)\n );\n }\n .image-outer {\n box-sizing: border-box;\n position: relative;\n overflow: visible;\n }\n :host([horizontal]) .image-outer {\n height: auto;\n width: var(--accent-card-image-width, 30%);\n flex: 0 0 auto;\n }\n :host(:not([horizontal])) .image-outer {\n height: auto;\n width: 100%;\n min-height: var(--accent-card-heading-min-height);\n }\n .image {\n height: 100%;\n width: 100%;\n background-size: cover;\n background-position-x: var(--accent-card-image-x, center);\n background-position-y: var(--accent-card-image-y, center);\n }\n :host([image-align=\"left\"]) .image {\n background-position-x: left;\n }\n :host([image-align=\"center\"]) .image {\n background-position-x: center;\n }\n :host([image-align=\"right\"]) .image {\n background-position-x: right;\n }\n :host([image-valign=\"top\"]) .image {\n background-position-y: top;\n }\n :host([image-valign=\"center\"]) .image {\n background-position-y: center;\n }\n :host([image-valign=\"bottom\"]) .image {\n background-position-y: bottom;\n }\n :host(:not([horizontal])) .image {\n height: 0;\n padding-top: var(--accent-card-image-height, 10%);\n }\n #imagecorner {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding-top: var(--accent-card-image-padding-top, 0);\n padding-bottom: var(\n --accent-card-image-padding-bottom,\n var(--accent-card-padding, 20px)\n );\n padding-left: var(\n --accent-card-image-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-image-padding-right,\n var(--accent-card-padding, 20px)\n );\n }\n ::slotted([slot=\"image-corner\"]) {\n text-align: right;\n color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n .body {\n flex-grow: 1;\n overflow: visible;\n }\n #heading {\n flex: 0 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: var(--accent-card-heading-align, unset);\n padding-left: var(\n --accent-card-heading-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-heading-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-heading-padding-bottom, 0px);\n margin: 0;\n }\n ::slotted(*[slot=\"heading\"]) {\n font-size: 26px;\n font-weight: bold;\n padding-top: var(\n --accent-card-heading-padding-top,\n var(--accent-card-padding, 20px)\n );\n }\n #heading div {\n flex: 0 0 auto;\n }\n #heading [data-layout-slotname=\"heading\"] {\n margin: 0;\n flex: 1 1 auto;\n }\n :host([accent-heading][accent-color]) #heading ::slotted(*) {\n color: var(\n --accent-card-heading-color,\n var(--simple-colors-default-theme-accent-7, #000) !important\n );\n }\n #subheading {\n flex: 0 0 auto;\n font-size: 90%;\n font-style: italic;\n padding-top: var(--accent-card-subheading-padding-top, unset);\n padding-left: var(\n --accent-card-subheading-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-subheading-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-subheading-padding-bottom, unset);\n }\n #content {\n font-size: 100%;\n padding-top: var(\n --accent-card-content-padding-top,\n var(--accent-card-padding, 20px)\n );\n padding-left: var(\n --accent-card-content-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-content-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(\n --accent-card-content-padding-bottom,\n var(--accent-card-padding, 20px)\n );\n flex: 1 1 auto;\n }\n ::slotted(*[slot]:first-of-type) {\n margin-top: 0;\n margin-block-start: 0;\n }\n ::slotted(*[slot]:last-of-type) {\n margin-bottom: 0;\n margin-block-end: 0;\n }\n #footer {\n flex: 0 0 auto;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n );\n padding-top: var(--accent-card-footer-padding-top, unset);\n padding-left: var(\n --accent-card-footer-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-footer-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-footer-padding-bottom, unset);\n }\n :host([dark]) #footer {\n border-top-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-6, #666)\n );\n }\n :host([ready]) [data-layout-slotname] {\n transition: var(\n --hax-layout-container-transition,\n 0.5s width ease-in-out,\n 0.5s padding ease-in-out,\n 0.5s margin ease-in-out\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AccentCard), "styles", this)), [(0, _index.css)(_templateObject2_0efa3f701e5811ed81a80d03c17d190b || (_templateObject2_0efa3f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border-radius: 2px;\n margin: 0 0 15px;\n box-shadow: var(\n --accent-card-box-shadow,\n 0 2px 2px 0 rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12),\n 0 3px 1px -2px rgba(0, 0, 0, 0.2)\n );\n color: var(\n --accent-card-color,\n var(--simple-colors-default-theme-grey-9, #222)\n );\n background-color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n :host([dark]) {\n color: var(\n --accent-card-color,\n var(--simple-colors-default-theme-grey-12, #fff)\n );\n }\n :host([accent-background]) {\n background-color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-accent-1, #fff)\n );\n }\n article {\n position: relative;\n width: 100%;\n box-sizing: border-box;\n }\n article,\n .body {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n }\n :host([horizontal]) article {\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n flex-direction: row;\n }\n :host([flat]) {\n box-shadow: none;\n }\n :host([flat]:not([accent-background])) {\n border-width: 1px;\n border-style: solid;\n border-color: var(--accent-card-footer-border-color);\n }\n :host([dark][flat]:not([accent-background])) {\n border-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-6, #666)\n );\n }\n :host(:not([horizontal]):not([no-border])) article {\n border-top-width: 4px;\n border-top-style: solid;\n border-top-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-6, #ddd)\n );\n }\n :host([horizontal]:not([no-border])) article {\n border-left-width: 4px;\n border-left-style: solid;\n border-left-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-6, #ddd)\n );\n }\n :host([dark]:not([horizontal]):not([no-border])) article {\n border-top-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-7, #fff)\n );\n }\n :host([dark][horizontal]:not([no-border])) article {\n border-left-color: var(\n --accent-card-border-color,\n var(--simple-colors-default-theme-accent-7, #fff)\n );\n }\n .image-outer {\n box-sizing: border-box;\n position: relative;\n overflow: visible;\n }\n :host([horizontal]) .image-outer {\n height: auto;\n width: var(--accent-card-image-width, 30%);\n flex: 0 0 auto;\n }\n :host(:not([horizontal])) .image-outer {\n height: auto;\n width: 100%;\n min-height: var(--accent-card-heading-min-height);\n }\n .image {\n height: 100%;\n width: 100%;\n background-size: cover;\n background-position-x: var(--accent-card-image-x, center);\n background-position-y: var(--accent-card-image-y, center);\n }\n :host([image-align=\"left\"]) .image {\n background-position-x: left;\n }\n :host([image-align=\"center\"]) .image {\n background-position-x: center;\n }\n :host([image-align=\"right\"]) .image {\n background-position-x: right;\n }\n :host([image-valign=\"top\"]) .image {\n background-position-y: top;\n }\n :host([image-valign=\"center\"]) .image {\n background-position-y: center;\n }\n :host([image-valign=\"bottom\"]) .image {\n background-position-y: bottom;\n }\n :host(:not([horizontal])) .image {\n height: 0;\n padding-top: var(--accent-card-image-height, 10%);\n }\n #imagecorner {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding-top: var(--accent-card-image-padding-top, 0);\n padding-bottom: var(\n --accent-card-image-padding-bottom,\n var(--accent-card-padding, 20px)\n );\n padding-left: var(\n --accent-card-image-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-image-padding-right,\n var(--accent-card-padding, 20px)\n );\n }\n ::slotted([slot=\"image-corner\"]) {\n text-align: right;\n color: var(\n --accent-card-background-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n .body {\n flex-grow: 1;\n overflow: visible;\n }\n #heading {\n flex: 0 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: var(--accent-card-heading-align, unset);\n padding-left: var(\n --accent-card-heading-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-heading-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-heading-padding-bottom, 0px);\n margin: 0;\n }\n ::slotted(*[slot=\"heading\"]) {\n font-size: 26px;\n font-weight: bold;\n padding-top: var(\n --accent-card-heading-padding-top,\n var(--accent-card-padding, 20px)\n );\n }\n #heading div {\n flex: 0 0 auto;\n }\n #heading [data-layout-slotname=\"heading\"] {\n margin: 0;\n flex: 1 1 auto;\n }\n :host([accent-heading][accent-color]) #heading ::slotted(*) {\n color: var(\n --accent-card-heading-color,\n var(--simple-colors-default-theme-accent-7, #000) !important\n );\n }\n #subheading {\n flex: 0 0 auto;\n font-size: 90%;\n font-style: italic;\n padding-top: var(--accent-card-subheading-padding-top, unset);\n padding-left: var(\n --accent-card-subheading-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-subheading-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-subheading-padding-bottom, unset);\n }\n #content {\n font-size: 100%;\n padding-top: var(\n --accent-card-content-padding-top,\n var(--accent-card-padding, 20px)\n );\n padding-left: var(\n --accent-card-content-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-content-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(\n --accent-card-content-padding-bottom,\n var(--accent-card-padding, 20px)\n );\n flex: 1 1 auto;\n }\n ::slotted(*[slot]:first-of-type) {\n margin-top: 0;\n margin-block-start: 0;\n }\n ::slotted(*[slot]:last-of-type) {\n margin-bottom: 0;\n margin-block-end: 0;\n }\n #footer {\n flex: 0 0 auto;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n );\n padding-top: var(--accent-card-footer-padding-top, unset);\n padding-left: var(\n --accent-card-footer-padding-left,\n var(--accent-card-padding, 20px)\n );\n padding-right: var(\n --accent-card-footer-padding-right,\n var(--accent-card-padding, 20px)\n );\n padding-bottom: var(--accent-card-footer-padding-bottom, unset);\n }\n :host([dark]) #footer {\n border-top-color: var(\n --accent-card-footer-border-color,\n var(--simple-colors-default-theme-grey-6, #666)\n );\n }\n :host([ready]) [data-layout-slotname] {\n transition: var(\n --hax-layout-container-transition,\n 0.5s width ease-in-out,\n 0.5s padding ease-in-out,\n 0.5s margin ease-in-out\n );\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/lib/accent-card-clickable.js b/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/lib/accent-card-clickable.js index b82ba6eba07..3fad0240dfe 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/lib/accent-card-clickable.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/accent-card/lib/accent-card-clickable.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.AccentCardClickable = void 0; - var _templateObject_4b185a901da511ed9d313b9780b2ae17, _templateObject2_4b185a901da511ed9d313b9780b2ae17; + var _templateObject_23c7ded01e5811ed81a80d03c17d190b, _templateObject2_23c7ded01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -48,7 +48,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(AccentCardClickable, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4b185a901da511ed9d313b9780b2ae17 || (_templateObject_4b185a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n "])), this.accentColor, this.accentBackground, this.accentHeading, this.flat, this.horizontal, this.noBorder, this.imageAlign, this.imageSrc, this.imageValign); + return (0, _index.html)(_templateObject_23c7ded01e5811ed81a80d03c17d190b || (_templateObject_23c7ded01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n "])), this.accentColor, this.accentBackground, this.accentHeading, this.flat, this.horizontal, this.noBorder, this.imageAlign, this.imageSrc, this.imageValign); } // haxProperty definition }], [{ @@ -65,7 +65,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4b185a901da511ed9d313b9780b2ae17 || (_templateObject2_4b185a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host,\n accent-card {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n flex-direction: column;\n }\n accent-card {\n position: relative;\n flex: 1 1 auto;\n }\n accent-card:focus-within,\n accent-card:hover {\n outline: 1px solid\n var(\n --accent-card-border-color,\n --simple-colors-default-theme-accent-6,\n #ddd\n );\n }\n ::slotted(*:not([data-clickable]:first-of-type)) {\n z-index: 2;\n position: relative;\n }\n ::slotted([data-clickable]:first-of-type) {\n z-index: 1;\n }\n ::slotted([data-clickable]:first-of-type):after {\n content: \" \";\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_23c7ded01e5811ed81a80d03c17d190b || (_templateObject2_23c7ded01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host,\n accent-card {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n flex-direction: column;\n }\n accent-card {\n position: relative;\n flex: 1 1 auto;\n }\n accent-card:focus-within,\n accent-card:hover {\n outline: 1px solid\n var(\n --accent-card-border-color,\n --simple-colors-default-theme-accent-6,\n #ddd\n );\n }\n ::slotted(*:not([data-clickable]:first-of-type)) {\n z-index: 2;\n position: relative;\n }\n ::slotted([data-clickable]:first-of-type) {\n z-index: 1;\n }\n ::slotted([data-clickable]:first-of-type):after {\n content: \" \";\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/aframe-player/aframe-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/aframe-player/aframe-player.js index d8e5b7c0f28..0c2c281fe90 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/aframe-player/aframe-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/aframe-player/aframe-player.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.AframePlayer = void 0; - var _templateObject_3d5a49901da511ed9d313b9780b2ae17, _templateObject2_3d5a49901da511ed9d313b9780b2ae17; + var _templateObject_0f3bdc501e5811ed81a80d03c17d190b, _templateObject2_0f3bdc501e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -48,7 +48,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j babelHelpers.createClass(AframePlayer, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3d5a49901da511ed9d313b9780b2ae17 || (_templateObject_3d5a49901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.ar, this.height, this.width, this.skyColor); + return (0, _index.html)(_templateObject_0f3bdc501e5811ed81a80d03c17d190b || (_templateObject_0f3bdc501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.ar, this.height, this.width, this.skyColor); } }, { key: "updated", @@ -131,7 +131,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3d5a49901da511ed9d313b9780b2ae17 || (_templateObject2_3d5a49901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n }\n .a-hidden {\n display: hidden;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0f3bdc501e5811ed81a80d03c17d190b || (_templateObject2_0f3bdc501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n }\n .a-hidden {\n display: hidden;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-editor-hax/app-editor-hax.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-editor-hax/app-editor-hax.js index 70d2413fa2c..786783c0a19 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-editor-hax/app-editor-hax.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-editor-hax/app-editor-hax.js @@ -6,7 +6,9 @@ define(["exports", "../../lit/index.js", "../h-a-x/h-a-x.js", "../hax-body/lib/h }); _exports.AppEditorHax = void 0; - var _templateObject_3da55c501da511ed9d313b9780b2ae17, _templateObject2_3da55c501da511ed9d313b9780b2ae17; + var _templateObject_0f485f701e5811ed81a80d03c17d190b, _templateObject2_0f485f701e5811ed81a80d03c17d190b; + + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -40,7 +42,7 @@ define(["exports", "../../lit/index.js", "../h-a-x/h-a-x.js", "../hax-body/lib/h babelHelpers.createClass(AppEditorHax, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3da55c501da511ed9d313b9780b2ae17 || (_templateObject_3da55c501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.appStoreConnection); + return (0, _index.html)(_templateObject_0f485f701e5811ed81a80d03c17d190b || (_templateObject_0f485f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.appStoreConnection); } }, { key: "save", @@ -49,9 +51,9 @@ define(["exports", "../../lit/index.js", "../h-a-x/h-a-x.js", "../hax-body/lib/h * Basic save event to make targetting easier. */ function () { - var _save = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _save = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var content; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -107,7 +109,7 @@ define(["exports", "../../lit/index.js", "../h-a-x/h-a-x.js", "../hax-body/lib/h * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3da55c501da511ed9d313b9780b2ae17 || (_templateObject2_3da55c501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n box-sizing: content-box;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0f485f701e5811ed81a80d03c17d190b || (_templateObject2_0f485f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n box-sizing: content-box;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/app-hax.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/app-hax.js index 6711ffd5c2a..eb8b8704bf4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/app-hax.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/app-hax.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_3e0900201da511ed9d313b9780b2ae17, _templateObject2_3e0900201da511ed9d313b9780b2ae17, _templateObject3_3e0900201da511ed9d313b9780b2ae17, _templateObject4_3e0900201da511ed9d313b9780b2ae17, _templateObject5_3e0900201da511ed9d313b9780b2ae17, _templateObject6_3e0900201da511ed9d313b9780b2ae17, _templateObject7_3e0900201da511ed9d313b9780b2ae17, _templateObject8_3e0900201da511ed9d313b9780b2ae17, _templateObject9_3e0900201da511ed9d313b9780b2ae17; + var _templateObject_0f5e58701e5811ed81a80d03c17d190b, _templateObject2_0f5e58701e5811ed81a80d03c17d190b, _templateObject3_0f5e58701e5811ed81a80d03c17d190b, _templateObject4_0f5e58701e5811ed81a80d03c17d190b, _templateObject5_0f5e58701e5811ed81a80d03c17d190b, _templateObject6_0f5e58701e5811ed81a80d03c17d190b, _templateObject7_0f5e58701e5811ed81a80d03c17d190b, _templateObject8_0f5e58701e5811ed81a80d03c17d190b, _templateObject9_0f5e58701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -18,6 +18,8 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -127,9 +129,9 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob * When location changes update activeItem / mode of app */ - (0, _mobxEsm.autorun)( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + (0, _mobxEsm.autorun)( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var location; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -468,9 +470,9 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob } }); // App is ready and the user is Logged in - (0, _mobxEsm.autorun)( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + (0, _mobxEsm.autorun)( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var results; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -519,7 +521,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_3e0900201da511ed9d313b9780b2ae17 || (_templateObject_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n \n
    \n You can come back to this home screen whenever you click this..\n
    \n \n
    \n Home\n \n \n Toggle sound effects\n \n
    \n Not a fan of the awesome sound effects, you can mute them but I\n highly suggest you dont.....or else.\n
    \n \n \n Toggle sound\n \n Toggle dark mode\n \n
    \n You want to log out and be someone else? You want to check your\n sites option? Click your character. Fun Fact....your character is\n unique to you.\n
    \n \n \n \n \n System menu\n
    \n
    \n
    \n \n
    \n \n ", "\n ", "\n \n
    \n \n \n \n Help\n
    ", "
    \n
    \n
    "])), haxLogo, this.isNewUser, soundToggle, this.soundIcon, this.userName, this.userMenuOpen ? "edit" : "none", this.toggleMenu, this.userName, this.logout, this.closeMenu, this.activeItem && !this.siteReady ? (0, _index.html)(_templateObject2_3e0900201da511ed9d313b9780b2ae17 || (_templateObject2_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

    ", "

    \n
    \n ", "\n
    \n "])), this.activeItem.label, this.activeItem && this.activeItem.statement ? this.activeItem.statement.replace(":structure", (0, _mobxEsm.toJS)(_AppHaxStore.store.site.structure)) : "") : "", this.activeItem && this.siteReady ? (0, _index.html)(_templateObject3_3e0900201da511ed9d313b9780b2ae17 || (_templateObject3_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

    ", "

    \n
    \n Is all ready, are you ready to build?\n
    \n "])), (0, _mobxEsm.toJS)(_AppHaxStore.store.site.name)) : "", this.isNewUser ? "new" : "return", this.phrases, this.getNewWord, this.helpClick, helpBtn, this.appBody(this.appMode)); + return (0, _index.html)(_templateObject_0f5e58701e5811ed81a80d03c17d190b || (_templateObject_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n \n
    \n You can come back to this home screen whenever you click this..\n
    \n \n
    \n Home\n \n \n Toggle sound effects\n \n
    \n Not a fan of the awesome sound effects, you can mute them but I\n highly suggest you dont.....or else.\n
    \n \n \n Toggle sound\n \n Toggle dark mode\n \n
    \n You want to log out and be someone else? You want to check your\n sites option? Click your character. Fun Fact....your character is\n unique to you.\n
    \n \n \n \n \n System menu\n
    \n
    \n
    \n \n
    \n \n ", "\n ", "\n \n
    \n \n \n \n Help\n
    ", "
    \n
    \n
    "])), haxLogo, this.isNewUser, soundToggle, this.soundIcon, this.userName, this.userMenuOpen ? "edit" : "none", this.toggleMenu, this.userName, this.logout, this.closeMenu, this.activeItem && !this.siteReady ? (0, _index.html)(_templateObject2_0f5e58701e5811ed81a80d03c17d190b || (_templateObject2_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

    ", "

    \n
    \n ", "\n
    \n "])), this.activeItem.label, this.activeItem && this.activeItem.statement ? this.activeItem.statement.replace(":structure", (0, _mobxEsm.toJS)(_AppHaxStore.store.site.structure)) : "") : "", this.activeItem && this.siteReady ? (0, _index.html)(_templateObject3_0f5e58701e5811ed81a80d03c17d190b || (_templateObject3_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

    ", "

    \n
    \n Is all ready, are you ready to build?\n
    \n "])), (0, _mobxEsm.toJS)(_AppHaxStore.store.site.name)) : "", this.isNewUser ? "new" : "return", this.phrases, this.getNewWord, this.helpClick, helpBtn, this.appBody(this.appMode)); } }, { key: "getNewWord", @@ -531,7 +533,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob }, { key: "appBody", value: function appBody(routine) { - var template = (0, _index.html)(_templateObject4_3e0900201da511ed9d313b9780b2ae17 || (_templateObject4_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + var template = (0, _index.html)(_templateObject4_0f5e58701e5811ed81a80d03c17d190b || (_templateObject4_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); switch (routine) { case "home": @@ -554,13 +556,13 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob }, { key: "templateHome", value: function templateHome() { - return (0, _index.html)(_templateObject5_3e0900201da511ed9d313b9780b2ae17 || (_templateObject5_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", "\n\n "])), !this.searchTerm ? (0, _index.html)(_templateObject6_3e0900201da511ed9d313b9780b2ae17 || (_templateObject6_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n \n \n
    "])), this.startJourney) : ""); + return (0, _index.html)(_templateObject5_0f5e58701e5811ed81a80d03c17d190b || (_templateObject5_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", "\n\n "])), !this.searchTerm ? (0, _index.html)(_templateObject6_0f5e58701e5811ed81a80d03c17d190b || (_templateObject6_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n \n \n \n
    "])), this.startJourney) : ""); } // eslint-disable-next-line class-methods-use-this }, { key: "templateCreate", value: function templateCreate() { - return (0, _index.html)(_templateObject7_3e0900201da511ed9d313b9780b2ae17 || (_templateObject7_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.siteReadyToGo); + return (0, _index.html)(_templateObject7_0f5e58701e5811ed81a80d03c17d190b || (_templateObject7_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.siteReadyToGo); } }, { key: "siteReadyToGo", @@ -582,7 +584,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob }, { key: "template404", value: function template404() { - return (0, _index.html)(_templateObject8_3e0900201da511ed9d313b9780b2ae17 || (_templateObject8_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n \n \n \n This\n fine\n is\n
    "])), this.startJourney, this.userName); + return (0, _index.html)(_templateObject8_0f5e58701e5811ed81a80d03c17d190b || (_templateObject8_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n \n \n \n \n This\n fine\n is\n
    "])), this.startJourney, this.userName); } // ensure internal data is unset for store }, { @@ -651,7 +653,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../../mobx/dist/mob }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHax), "styles", this)), [(0, _index.css)(_templateObject9_3e0900201da511ed9d313b9780b2ae17 || (_templateObject9_3e0900201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --app-hax-background-color-active: var(--app-hax-accent-color);\n }\n #home {\n display: inline-flex;\n }\n .wired-button-label {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n .topbar-character {\n cursor: pointer;\n display: inline-block;\n border: none;\n border-radius: 0px;\n padding: 0 8px;\n margin: 0 0 0 16px;\n background-color: transparent;\n height: 48px;\n max-width: 160px;\n }\n .characterbtn-name {\n color: var(--simple-colors-default-theme-grey-12);\n font-family: \"Press Start 2P\", sans-serif;\n margin-left: 8px;\n font-size: 12px;\n vertical-align: bottom;\n line-height: 48px;\n overflow: hidden;\n text-overflow: ellipsis;\n height: 48px;\n word-break: break-all;\n }\n .topbar-character:hover,\n .topbar-character:focus {\n background-color: var(--simple-colors-default-theme-light-blue-4);\n outline: var(--haxcms-color) solid 3px;\n outline-offset: -3px;\n height: 48px;\n }\n .topbar-character rpg-character {\n margin: -4px -14px 0px -10px;\n height: 52px;\n width: 64px;\n display: inline-block;\n }\n .content {\n text-align: center;\n margin-top: 24px;\n }\n .four04-character {\n margin-top: 16px;\n }\n .start-journey {\n display: flex;\n padding-top: 40px;\n justify-content: center;\n }\n app-hax-site-button {\n max-width: 60vw;\n justify-content: center;\n }\n app-hax-top-bar {\n top: 0;\n z-index: 1000;\n right: 0;\n left: 0;\n position: fixed;\n }\n @media (max-width: 780px) {\n app-hax-top-bar::part(top-bar) {\n grid-template-columns: 20% 20% 60%;\n }\n }\n @media (max-width: 600px) {\n app-hax-top-bar::part(top-bar) {\n grid-template-columns: 10% 30% 60%;\n }\n }\n .label {\n text-align: center;\n }\n app-hax-label {\n animation: 0.8s ease-in-out 0s scrollin;\n -webkit-animation: 0.8s ease-in-out 0s scrollin;\n display: block;\n overflow: hidden;\n }\n app-hax-label h1 {\n font-weight: normal;\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n @keyframes scrollin {\n from {\n margin-top: -240px;\n margin-bottom: 240px;\n }\n to {\n margin-top: 0;\n margin-bottom: 0;\n }\n }\n .haxLogo {\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n margin: 4px;\n color: var(--simple-colors-default-theme-grey-12);\n cursor: pointer;\n }\n .soundToggle {\n margin-right: 16px;\n position: relative;\n display: inline-flex;\n vertical-align: top;\n }\n\n .soundToggle img {\n width: 24px;\n height: 24px;\n }\n\n app-hax-search-bar {\n vertical-align: middle;\n display: inline-flex;\n }\n main {\n padding-top: 80px;\n }\n @media (max-width: 900px) {\n .characterbtn-name {\n display: none;\n }\n main {\n padding-top: 64px;\n }\n }\n app-hax-user-menu {\n z-index: 1003;\n }\n .logout::part(menu-button) {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n background-position: center;\n text-align: center;\n background-size: cover;\n border-top: 0px;\n border-bottom: 0px;\n padding: 10px;\n }\n app-hax-user-menu app-hax-user-menu-button::part(menu-button) {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 12px;\n }\n\n random-word:not(:defined) {\n display: none;\n }\n random-word {\n transform: rotate(25deg);\n position: absolute;\n right: 10px;\n top: 120px;\n padding: 12px;\n font-size: 12px;\n border: 4px solid var(--simple-colors-default-theme-grey-12);\n background-color: var(--simple-colors-default-theme-yellow-5);\n color: var(--simple-colors-default-theme-grey-12);\n width: 100px;\n word-wrap: break-word;\n text-align: center;\n cursor: pointer;\n user-select: none;\n opacity: 1;\n visibility: visible;\n transition: all 0.3s ease-in-out;\n }\n #helpbtn {\n --simple-icon-height: 50px;\n --simple-icon-width: 50px;\n right: 200px;\n top: 100px;\n padding: 4px;\n background-color: var(--simple-colors-default-theme-grey-1);\n border-radius: 50%;\n position: absolute;\n color: var(--simple-colors-default-theme-grey-12);\n border: var(--simple-colors-default-theme-grey-12) 4px solid;\n cursor: pointer;\n }\n @media (max-width: 800px) {\n app-hax-site-button {\n width: 320px;\n max-width: 60vw;\n --app-hax-site-button-font-size: 16px;\n }\n #helpbtn {\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n right: 8px;\n top: 64px;\n padding: 2px;\n border: var(--simple-colors-default-theme-grey-12) 2px solid;\n }\n }\n @media (prefers-reduced-motion: reduce) {\n app-hax-label {\n animation: none;\n -webkit-animation: none;\n }\n }\n @media (max-width: 680px) {\n random-word {\n visibility: none;\n opacity: 0;\n }\n }\n @media (max-height: 700px) {\n .content {\n margin-top: 4px;\n }\n random-word {\n visibility: none;\n opacity: 0;\n }\n .start-journey {\n padding-top: 0;\n }\n }\n @media (max-height: 500px) {\n app-hax-label h1 {\n font-family: monospace;\n font-weight: normal;\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n }\n "])), (0, _index.unsafeCSS)(logoutBtn))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHax), "styles", this)), [(0, _index.css)(_templateObject9_0f5e58701e5811ed81a80d03c17d190b || (_templateObject9_0f5e58701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --app-hax-background-color-active: var(--app-hax-accent-color);\n }\n #home {\n display: inline-flex;\n }\n .wired-button-label {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n .topbar-character {\n cursor: pointer;\n display: inline-block;\n border: none;\n border-radius: 0px;\n padding: 0 8px;\n margin: 0 0 0 16px;\n background-color: transparent;\n height: 48px;\n max-width: 160px;\n }\n .characterbtn-name {\n color: var(--simple-colors-default-theme-grey-12);\n font-family: \"Press Start 2P\", sans-serif;\n margin-left: 8px;\n font-size: 12px;\n vertical-align: bottom;\n line-height: 48px;\n overflow: hidden;\n text-overflow: ellipsis;\n height: 48px;\n word-break: break-all;\n }\n .topbar-character:hover,\n .topbar-character:focus {\n background-color: var(--simple-colors-default-theme-light-blue-4);\n outline: var(--haxcms-color) solid 3px;\n outline-offset: -3px;\n height: 48px;\n }\n .topbar-character rpg-character {\n margin: -4px -14px 0px -10px;\n height: 52px;\n width: 64px;\n display: inline-block;\n }\n .content {\n text-align: center;\n margin-top: 24px;\n }\n .four04-character {\n margin-top: 16px;\n }\n .start-journey {\n display: flex;\n padding-top: 40px;\n justify-content: center;\n }\n app-hax-site-button {\n max-width: 60vw;\n justify-content: center;\n }\n app-hax-top-bar {\n top: 0;\n z-index: 1000;\n right: 0;\n left: 0;\n position: fixed;\n }\n @media (max-width: 780px) {\n app-hax-top-bar::part(top-bar) {\n grid-template-columns: 20% 20% 60%;\n }\n }\n @media (max-width: 600px) {\n app-hax-top-bar::part(top-bar) {\n grid-template-columns: 10% 30% 60%;\n }\n }\n .label {\n text-align: center;\n }\n app-hax-label {\n animation: 0.8s ease-in-out 0s scrollin;\n -webkit-animation: 0.8s ease-in-out 0s scrollin;\n display: block;\n overflow: hidden;\n }\n app-hax-label h1 {\n font-weight: normal;\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n @keyframes scrollin {\n from {\n margin-top: -240px;\n margin-bottom: 240px;\n }\n to {\n margin-top: 0;\n margin-bottom: 0;\n }\n }\n .haxLogo {\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n margin: 4px;\n color: var(--simple-colors-default-theme-grey-12);\n cursor: pointer;\n }\n .soundToggle {\n margin-right: 16px;\n position: relative;\n display: inline-flex;\n vertical-align: top;\n }\n\n .soundToggle img {\n width: 24px;\n height: 24px;\n }\n\n app-hax-search-bar {\n vertical-align: middle;\n display: inline-flex;\n }\n main {\n padding-top: 80px;\n }\n @media (max-width: 900px) {\n .characterbtn-name {\n display: none;\n }\n main {\n padding-top: 64px;\n }\n }\n app-hax-user-menu {\n z-index: 1003;\n }\n .logout::part(menu-button) {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n background-position: center;\n text-align: center;\n background-size: cover;\n border-top: 0px;\n border-bottom: 0px;\n padding: 10px;\n }\n app-hax-user-menu app-hax-user-menu-button::part(menu-button) {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 12px;\n }\n\n random-word:not(:defined) {\n display: none;\n }\n random-word {\n transform: rotate(25deg);\n position: absolute;\n right: 10px;\n top: 120px;\n padding: 12px;\n font-size: 12px;\n border: 4px solid var(--simple-colors-default-theme-grey-12);\n background-color: var(--simple-colors-default-theme-yellow-5);\n color: var(--simple-colors-default-theme-grey-12);\n width: 100px;\n word-wrap: break-word;\n text-align: center;\n cursor: pointer;\n user-select: none;\n opacity: 1;\n visibility: visible;\n transition: all 0.3s ease-in-out;\n }\n #helpbtn {\n --simple-icon-height: 50px;\n --simple-icon-width: 50px;\n right: 200px;\n top: 100px;\n padding: 4px;\n background-color: var(--simple-colors-default-theme-grey-1);\n border-radius: 50%;\n position: absolute;\n color: var(--simple-colors-default-theme-grey-12);\n border: var(--simple-colors-default-theme-grey-12) 4px solid;\n cursor: pointer;\n }\n @media (max-width: 800px) {\n app-hax-site-button {\n width: 320px;\n max-width: 60vw;\n --app-hax-site-button-font-size: 16px;\n }\n #helpbtn {\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n right: 8px;\n top: 64px;\n padding: 2px;\n border: var(--simple-colors-default-theme-grey-12) 2px solid;\n }\n }\n @media (prefers-reduced-motion: reduce) {\n app-hax-label {\n animation: none;\n -webkit-animation: none;\n }\n }\n @media (max-width: 680px) {\n random-word {\n visibility: none;\n opacity: 0;\n }\n }\n @media (max-height: 700px) {\n .content {\n margin-top: 4px;\n }\n random-word {\n visibility: none;\n opacity: 0;\n }\n .start-journey {\n padding-top: 0;\n }\n }\n @media (max-height: 500px) {\n app-hax-label h1 {\n font-family: monospace;\n font-weight: normal;\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n }\n "])), (0, _index.unsafeCSS)(logoutBtn))]); } }]); return AppHax; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/random-word/random-word.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/random-word/random-word.js index 256a76ded0c..0f077a6d62f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/random-word/random-word.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/random-word/random-word.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }); _exports.RandomWord = void 0; - var _templateObject_907772b01da511ed9d313b9780b2ae17; + var _templateObject_58ab9ab01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -59,7 +59,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_907772b01da511ed9d313b9780b2ae17 || (_templateObject_907772b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_58ab9ab01e5811ed81a80d03c17d190b || (_templateObject_58ab9ab01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/rpg-character-toast/rpg-character-toast.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/rpg-character-toast/rpg-character-toast.js index 7decd15f046..9b53d4efa60 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/rpg-character-toast/rpg-character-toast.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/rpg-character-toast/rpg-character-toast.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-toast/li _exports.RPGCharacterToast = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_907c7bc01da511ed9d313b9780b2ae17, _templateObject2_907c7bc01da511ed9d313b9780b2ae17; + var _templateObject_58b055a01e5811ed81a80d03c17d190b, _templateObject2_58b055a01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -55,7 +55,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-toast/li babelHelpers.createClass(RPGCharacterToast, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_907c7bc01da511ed9d313b9780b2ae17 || (_templateObject_907c7bc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n \n ", "\n \n \n \n \n
    "])), this.text, this.userName, this.fire, this.hat, this.walking); + return (0, _index.html)(_templateObject_58b055a01e5811ed81a80d03c17d190b || (_templateObject_58b055a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n \n \n ", "\n \n \n \n \n
    "])), this.text, this.userName, this.fire, this.hat, this.walking); } }, { key: "connectedCallback", @@ -190,7 +190,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-toast/li }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RPGCharacterToast), "styles", this)), [(0, _index.css)(_templateObject2_907c7bc01da511ed9d313b9780b2ae17 || (_templateObject2_907c7bc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([opened]) {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n :host {\n --simple-toast-bottom: 0px;\n height: 142px;\n display: none;\n width: var(--simple-toast-width, auto);\n color: var(\n --simple-toast-color,\n var(--simple-colors-default-theme-accent-12, black)\n );\n background-color: transparent;\n top: var(--simple-toast-top);\n margin: var(--simple-toast-margin, 4px);\n padding: var(--simple-toast-padding, 4px);\n bottom: var(--simple-toast-bottom, 36px);\n right: var(--simple-toast-right, 0px);\n border: var(--simple-toast-border);\n z-index: var(--simple-toast-z-index, 10000000);\n font-size: var(--simple-toast-font-size, 18px);\n font-family: \"Press Start 2P\", sans-serif;\n font-weight: bold;\n text-align: center;\n vertical-align: middle;\n }\n rpg-character {\n margin: 30px -30px 0 -30px;\n width: 145px;\n }\n .bubble {\n height: 142px;\n display: inline-flex;\n margin-top: 6px;\n }\n .mid {\n line-height: 142px;\n background-color: white;\n background-repeat: repeat-x;\n background-image: url(\"", "\");\n }\n .leftedge {\n background-image: url(\"", "\");\n width: 24px;\n background-color: white;\n }\n .rightedge {\n background-image: url(\"", "\");\n width: 54px;\n background-color: white;\n }\n :host([dark-mode]) .mid,\n :host([dark-mode]) .leftedge,\n :host([dark-mode]) .rightedge {\n filter: invert(1);\n }\n @media (max-width: 800px) {\n :host {\n --simple-toast-width: 80vw;\n --simple-toast-font-size: 12px;\n }\n rpg-character {\n width: 100px;\n margin: 70px -24px 0 -24px;\n }\n }\n @media (max-width: 500px) {\n :host {\n height: 50px;\n line-height: 50px;\n border: none;\n }\n rpg-character {\n display: none;\n }\n .rightedge {\n display: none;\n }\n .leftedge {\n display: none;\n }\n .mid {\n height: 50px;\n line-height: 50px;\n background-image: unset;\n }\n .bubble {\n height: 50px;\n margin: 0;\n border: 2px solid black;\n border-radius: 5px;\n }\n }\n "])), (0, _index.unsafeCSS)(SpeechBubbleMiddle), (0, _index.unsafeCSS)(SpeechBubbleL), (0, _index.unsafeCSS)(SpeechBubbleR))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RPGCharacterToast), "styles", this)), [(0, _index.css)(_templateObject2_58b055a01e5811ed81a80d03c17d190b || (_templateObject2_58b055a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([opened]) {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n :host {\n --simple-toast-bottom: 0px;\n height: 142px;\n display: none;\n width: var(--simple-toast-width, auto);\n color: var(\n --simple-toast-color,\n var(--simple-colors-default-theme-accent-12, black)\n );\n background-color: transparent;\n top: var(--simple-toast-top);\n margin: var(--simple-toast-margin, 4px);\n padding: var(--simple-toast-padding, 4px);\n bottom: var(--simple-toast-bottom, 36px);\n right: var(--simple-toast-right, 0px);\n border: var(--simple-toast-border);\n z-index: var(--simple-toast-z-index, 10000000);\n font-size: var(--simple-toast-font-size, 18px);\n font-family: \"Press Start 2P\", sans-serif;\n font-weight: bold;\n text-align: center;\n vertical-align: middle;\n }\n rpg-character {\n margin: 30px -30px 0 -30px;\n width: 145px;\n }\n .bubble {\n height: 142px;\n display: inline-flex;\n margin-top: 6px;\n }\n .mid {\n line-height: 142px;\n background-color: white;\n background-repeat: repeat-x;\n background-image: url(\"", "\");\n }\n .leftedge {\n background-image: url(\"", "\");\n width: 24px;\n background-color: white;\n }\n .rightedge {\n background-image: url(\"", "\");\n width: 54px;\n background-color: white;\n }\n :host([dark-mode]) .mid,\n :host([dark-mode]) .leftedge,\n :host([dark-mode]) .rightedge {\n filter: invert(1);\n }\n @media (max-width: 800px) {\n :host {\n --simple-toast-width: 80vw;\n --simple-toast-font-size: 12px;\n }\n rpg-character {\n width: 100px;\n margin: 70px -24px 0 -24px;\n }\n }\n @media (max-width: 500px) {\n :host {\n height: 50px;\n line-height: 50px;\n border: none;\n }\n rpg-character {\n display: none;\n }\n .rightedge {\n display: none;\n }\n .leftedge {\n display: none;\n }\n .mid {\n height: 50px;\n line-height: 50px;\n background-image: unset;\n }\n .bubble {\n height: 50px;\n margin: 0;\n border: 2px solid black;\n border-radius: 5px;\n }\n }\n "])), (0, _index.unsafeCSS)(SpeechBubbleMiddle), (0, _index.unsafeCSS)(SpeechBubbleL), (0, _index.unsafeCSS)(SpeechBubbleR))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxBackendAPI.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxBackendAPI.js index 8cbf40711a7..fd49573e4d8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxBackendAPI.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxBackendAPI.js @@ -6,7 +6,9 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. }); _exports.AppHaxBackendAPI = _exports.AppHaxAPI = void 0; - var _templateObject_4a8653c01da511ed9d313b9780b2ae17; + var _templateObject_1f4081f01e5811ed81a80d03c17d190b; + + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -50,7 +52,7 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. babelHelpers.createClass(AppHaxBackendAPI, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4a8653c01da511ed9d313b9780b2ae17 || (_templateObject_4a8653c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.jwt, this.appSettings.login, this.method, this.appSettings.refreshUrl, this.appSettings.redirectUrl, this.appSettings.logout, this.jwtChanged, this.jwtFailed); + return (0, _index.html)(_templateObject_1f4081f01e5811ed81a80d03c17d190b || (_templateObject_1f4081f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.jwt, this.appSettings.login, this.method, this.appSettings.refreshUrl, this.appSettings.redirectUrl, this.appSettings.logout, this.jwtChanged, this.jwtFailed); } // failed to get valid JWT, wipe current }, { @@ -63,9 +65,9 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. }, { key: "jwtChanged", value: function () { - var _jwtChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) { + var _jwtChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) { var userData; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -109,7 +111,7 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. }, { key: "makeCall", value: function () { - var _makeCall = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(call) { + var _makeCall = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(call) { var _this2 = this; var data, @@ -119,7 +121,7 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. options, response, _args2 = arguments; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -165,8 +167,7 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. detail: true })); } // we got a miss, logout cause something is wrong - else // we got a miss, logout cause something is wrong - if (response.status === 404) { + else if (response.status === 404) { // call not allowed, log out bc unauthorized window.dispatchEvent(new CustomEvent("jwt-login-logout", { composed: true, @@ -258,8 +259,8 @@ define(["exports", "../../../../lit/index.js", "../../../utils/utils.js", "../.. _AppHaxStore.store.AppHaxAPI = this; // site creation roped into the promise list // after knowing our data structure since we'll definitely call this - _AppHaxStore.store.newSitePromiseList = [].concat(babelHelpers.toConsumableArray(_AppHaxStore.store.newSitePromiseList), [/*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { - return regeneratorRuntime.wrap(function _callee3$(_context3) { + _AppHaxStore.store.newSitePromiseList = [].concat(babelHelpers.toConsumableArray(_AppHaxStore.store.newSitePromiseList), [/*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxStore.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxStore.js index 7737112404b..87f1c6882ec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxStore.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/AppHaxStore.js @@ -15,6 +15,8 @@ define(["exports", "require", "../../../utils/utils.js", "../../../../mobx/dist/ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + (0, _mobxEsm.configure)({ enforceActions: false, useProxies: "ifavailable" @@ -298,8 +300,8 @@ define(["exports", "require", "../../../utils/utils.js", "../../../../mobx/dist/ }, { key: "evaluateBadDevice", value: function () { - var _evaluateBadDevice = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { - return regeneratorRuntime.wrap(function _callee$(_context) { + var _evaluateBadDevice = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-button.js index ad4a040d8fd..3e1c4e3fa8e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-button.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../simple-icon/lib/simple-icon-lite.js", "../. _exports.AppHaxButton = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4a97b8e01da511ed9d313b9780b2ae17, _templateObject2_4a97b8e01da511ed9d313b9780b2ae17, _templateObject3_4a97b8e01da511ed9d313b9780b2ae17; + var _templateObject_1f59af401e5811ed81a80d03c17d190b, _templateObject2_1f59af401e5811ed81a80d03c17d190b, _templateObject3_1f59af401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -134,7 +134,7 @@ define(["exports", "meta", "../../../simple-icon/lib/simple-icon-lite.js", "../. }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4a97b8e01da511ed9d313b9780b2ae17 || (_templateObject_4a97b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    ", "
    \n
    \n ", "\n \n "])), this.elevation, this.disabled || this.comingSoon, this.icon, this.type, this.comingSoon ? (0, _index.html)(_templateObject2_4a97b8e01da511ed9d313b9780b2ae17 || (_templateObject2_4a97b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), postIt) : ""); + return (0, _index.html)(_templateObject_1f59af401e5811ed81a80d03c17d190b || (_templateObject_1f59af401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    ", "
    \n
    \n ", "\n \n "])), this.elevation, this.disabled || this.comingSoon, this.icon, this.type, this.comingSoon ? (0, _index.html)(_templateObject2_1f59af401e5811ed81a80d03c17d190b || (_templateObject2_1f59af401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), postIt) : ""); } }], [{ key: "tag", @@ -174,7 +174,7 @@ define(["exports", "meta", "../../../simple-icon/lib/simple-icon-lite.js", "../. }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_4a97b8e01da511ed9d313b9780b2ae17 || (_templateObject3_4a97b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --background-color: transparent;\n --background-color-active: white;\n font-family: \"Press Start 2P\", sans-serif;\n }\n :host([coming-soon]) .haxButton {\n pointer-events: none;\n background-color: var(--simple-colors-default-theme-grey-6);\n }\n :host([active]) .haxButton {\n color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n background-color: var(--app-hax-accent-color, var(--accent-color));\n }\n :host([active]) simple-icon-lite {\n --simple-icon-color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n }\n :host([active]) .type {\n background-color: var(--app-hax-accent-color, var(--accent-color));\n color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n }\n\n #container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 132px;\n height: 112px;\n }\n .coming-soon {\n display: block;\n height: 114px;\n width: 140px;\n z-index: 1;\n position: absolute;\n margin-top: -75px;\n }\n .haxButton {\n background-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n color: var(--app-hax-accent-color, var(--accent-color));\n display: inline-flex;\n }\n simple-icon-lite {\n --simple-icon-width: 60px;\n --simple-icon-height: 60px;\n --simple-icon-color: var(--app-hax-accent-color, var(--accent-color));\n }\n .type {\n font-size: 10px;\n color: var(--app-hax-accent-color, var(--accent-color));\n }\n @media (max-width: 800px) {\n #container {\n width: 100px;\n height: 75px;\n }\n .coming-soon {\n margin-top: -50px;\n height: 114px;\n width: 100px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject3_1f59af401e5811ed81a80d03c17d190b || (_templateObject3_1f59af401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --background-color: transparent;\n --background-color-active: white;\n font-family: \"Press Start 2P\", sans-serif;\n }\n :host([coming-soon]) .haxButton {\n pointer-events: none;\n background-color: var(--simple-colors-default-theme-grey-6);\n }\n :host([active]) .haxButton {\n color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n background-color: var(--app-hax-accent-color, var(--accent-color));\n }\n :host([active]) simple-icon-lite {\n --simple-icon-color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n }\n :host([active]) .type {\n background-color: var(--app-hax-accent-color, var(--accent-color));\n color: var(\n --app-hax-background-color,\n var(--background-color-active)\n );\n }\n\n #container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 132px;\n height: 112px;\n }\n .coming-soon {\n display: block;\n height: 114px;\n width: 140px;\n z-index: 1;\n position: absolute;\n margin-top: -75px;\n }\n .haxButton {\n background-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n color: var(--app-hax-accent-color, var(--accent-color));\n display: inline-flex;\n }\n simple-icon-lite {\n --simple-icon-width: 60px;\n --simple-icon-height: 60px;\n --simple-icon-color: var(--app-hax-accent-color, var(--accent-color));\n }\n .type {\n font-size: 10px;\n color: var(--app-hax-accent-color, var(--accent-color));\n }\n @media (max-width: 800px) {\n #container {\n width: 100px;\n height: 75px;\n }\n .coming-soon {\n margin-top: -50px;\n height: 114px;\n width: 100px;\n }\n }\n "])))]; } }]); return AppHaxButton; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-hat-progress.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-hat-progress.js index c5f410d8475..4ea69a47c94 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-hat-progress.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-hat-progress.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s _exports.AppHaxHatProgress = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4a9e21801da511ed9d313b9780b2ae17, _templateObject2_4a9e21801da511ed9d313b9780b2ae17; + var _templateObject_1f562cd01e5811ed81a80d03c17d190b, _templateObject2_1f562cd01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -155,7 +155,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4a9e21801da511ed9d313b9780b2ae17 || (_templateObject_4a9e21801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
    0%
    \n "])), new URL("../assets/images/HatBlank.svg", meta.url).href, this.dark, this.promises); + return (0, _index.html)(_templateObject_1f562cd01e5811ed81a80d03c17d190b || (_templateObject_1f562cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
    0%
    \n "])), new URL("../assets/images/HatBlank.svg", meta.url).href, this.dark, this.promises); } }], [{ key: "tag", @@ -174,7 +174,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxHatProgress), "styles", this)), [(0, _index.css)(_templateObject2_4a9e21801da511ed9d313b9780b2ae17 || (_templateObject2_4a9e21801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: 400px;\n width: 400px;\n }\n img {\n width: 400px;\n height: 400px;\n pointer-events: none;\n }\n .progress {\n margin: -148px 0 0 10px;\n z-index: -1;\n }\n .progress::part(progress) {\n height: 100px;\n width: 338px;\n margin-top: -1px 0 0 -4px;\n }\n\n .progress::part(progress)::-moz-progress-bar {\n background-color: red;\n height: 50px;\n margin: 24px 0 0 0;\n border: none;\n }\n\n .count {\n color: var(--simple-colors-default-theme-grey-1, white);\n font-family: \"Press Start 2P\", sans-serif;\n width: 350px;\n text-align: center;\n position: relative;\n display: block;\n font-size: 30px;\n margin-top: -250px;\n margin-left: 30px;\n }\n .game {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 28px;\n font-weight: bold;\n text-align: center;\n width: 310px;\n background-color: var(--simple-colors-default-theme-red-7, red);\n color: var(--simple-colors-default-theme-grey-1, white);\n border: 0px;\n height: 54px;\n display: block;\n position: relative;\n margin: 138px 0px 0px 52px;\n padding: 0;\n box-sizing: border-box;\n }\n .game:focus,\n .game:hover {\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-red-8);\n color: var(--simple-colors-default-theme-grey-2);\n }\n .game:active {\n cursor: progress;\n background-color: var(--simple-colors-default-theme-red-10);\n color: var(--simple-colors-default-theme-grey-5);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxHatProgress), "styles", this)), [(0, _index.css)(_templateObject2_1f562cd01e5811ed81a80d03c17d190b || (_templateObject2_1f562cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: 400px;\n width: 400px;\n }\n img {\n width: 400px;\n height: 400px;\n pointer-events: none;\n }\n .progress {\n margin: -148px 0 0 10px;\n z-index: -1;\n }\n .progress::part(progress) {\n height: 100px;\n width: 338px;\n margin-top: -1px 0 0 -4px;\n }\n\n .progress::part(progress)::-moz-progress-bar {\n background-color: red;\n height: 50px;\n margin: 24px 0 0 0;\n border: none;\n }\n\n .count {\n color: var(--simple-colors-default-theme-grey-1, white);\n font-family: \"Press Start 2P\", sans-serif;\n width: 350px;\n text-align: center;\n position: relative;\n display: block;\n font-size: 30px;\n margin-top: -250px;\n margin-left: 30px;\n }\n .game {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 28px;\n font-weight: bold;\n text-align: center;\n width: 310px;\n background-color: var(--simple-colors-default-theme-red-7, red);\n color: var(--simple-colors-default-theme-grey-1, white);\n border: 0px;\n height: 54px;\n display: block;\n position: relative;\n margin: 138px 0px 0px 52px;\n padding: 0;\n box-sizing: border-box;\n }\n .game:focus,\n .game:hover {\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-red-8);\n color: var(--simple-colors-default-theme-grey-2);\n }\n .game:active {\n cursor: progress;\n background-color: var(--simple-colors-default-theme-red-10);\n color: var(--simple-colors-default-theme-grey-5);\n }\n "])))]); } }]); return AppHaxHatProgress; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-label.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-label.js index e89f8704e43..67e0daa70d1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-label.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-label.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../../../future-terminal-text/fu }); _exports.AppHaxLabel = void 0; - var _templateObject_4a9ff6401da511ed9d313b9780b2ae17, _templateObject2_4a9ff6401da511ed9d313b9780b2ae17; + var _templateObject_1f5bab101e5811ed81a80d03c17d190b, _templateObject2_1f5bab101e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -30,7 +30,7 @@ define(["exports", "../../../../lit/index.js", "../../../future-terminal-text/fu babelHelpers.createClass(AppHaxLabel, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4a9ff6401da511ed9d313b9780b2ae17 || (_templateObject_4a9ff6401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n <", ">\n
    \n
    \n ", "\n
    \n
    \n "])), this.title, this.subtitle); + return (0, _index.html)(_templateObject_1f5bab101e5811ed81a80d03c17d190b || (_templateObject_1f5bab101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n <", ">\n
    \n
    \n ", "\n
    \n
    \n "])), this.title, this.subtitle); } }], [{ key: "tag", @@ -54,7 +54,7 @@ define(["exports", "../../../../lit/index.js", "../../../future-terminal-text/fu }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_4a9ff6401da511ed9d313b9780b2ae17 || (_templateObject2_4a9ff6401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n }\n\n .title {\n -webkit-text-stroke: 1px\n var(--app-hax-accent-color, var(--accent-color));\n -webkit-text-fill-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n font-weight: normal;\n font-size: 3.5vw;\n display: inline-flex;\n align-items: center;\n }\n\n .subtitle {\n color: var(--app-hax-accent-color, var(--accent-color));\n font-weight: normal;\n margin-top: 2px;\n font-size: 20px;\n }\n @media (max-width: 700px) {\n .subtitle {\n font-size: 12px;\n }\n }\n\n .bracket {\n font-size: 8vw;\n font-weight: normal;\n vertical-align: middle;\n -webkit-text-stroke: 0px;\n -webkit-text-fill-color: var(\n --app-hax-accent-color,\n var(--accent-color)\n );\n }\n @media (max-height: 500px) {\n .title {\n -webkit-text-stroke: unset;\n -webkit-text-fill-color: unset;\n }\n .bracket {\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n }\n "]))); + return (0, _index.css)(_templateObject2_1f5bab101e5811ed81a80d03c17d190b || (_templateObject2_1f5bab101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n }\n\n .title {\n -webkit-text-stroke: 1px\n var(--app-hax-accent-color, var(--accent-color));\n -webkit-text-fill-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n font-weight: normal;\n font-size: 3.5vw;\n display: inline-flex;\n align-items: center;\n }\n\n .subtitle {\n color: var(--app-hax-accent-color, var(--accent-color));\n font-weight: normal;\n margin-top: 2px;\n font-size: 20px;\n }\n @media (max-width: 700px) {\n .subtitle {\n font-size: 12px;\n }\n }\n\n .bracket {\n font-size: 8vw;\n font-weight: normal;\n vertical-align: middle;\n -webkit-text-stroke: 0px;\n -webkit-text-fill-color: var(\n --app-hax-accent-color,\n var(--accent-color)\n );\n }\n @media (max-height: 500px) {\n .title {\n -webkit-text-stroke: unset;\n -webkit-text-fill-color: unset;\n }\n .bracket {\n font-size: 4vw;\n margin: 0;\n padding: 0;\n }\n }\n "]))); } }]); return AppHaxLabel; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-bar.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-bar.js index f8b5bc87ced..09655a592e0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-bar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-bar.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-tooltip/simple-t }); _exports.AppHaxSearchBar = void 0; - var _templateObject_4aa351a01da511ed9d313b9780b2ae17, _templateObject2_4aa351a01da511ed9d313b9780b2ae17; + var _templateObject_1f5da6e01e5811ed81a80d03c17d190b, _templateObject2_1f5da6e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -57,7 +57,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-tooltip/simple-t }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4aa351a01da511ed9d313b9780b2ae17 || (_templateObject_4aa351a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n Toggle Search\n \n "])), this.disabled, this.toggleSearch, !this.showSearch, this.search); + return (0, _index.html)(_templateObject_1f5da6e01e5811ed81a80d03c17d190b || (_templateObject_1f5da6e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n Toggle Search\n \n "])), this.disabled, this.toggleSearch, !this.showSearch, this.search); } }, { key: "toggleSearch", @@ -102,7 +102,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-tooltip/simple-t }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4aa351a01da511ed9d313b9780b2ae17 || (_templateObject2_4aa351a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n overflow: hidden;\n }\n input {\n visibility: none;\n opacity: 0;\n width: 0;\n transition: all ease-in-out 0.3s;\n padding: 4px;\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 20px;\n margin: 2px 0 0 16px;\n }\n :host([show-search]) input {\n visibility: visible;\n opacity: 1;\n width: 250px;\n max-width: 25vw;\n }\n @media (max-width: 780px) {\n :host([show-search]) input {\n width: 250px;\n max-width: 20vw;\n }\n }\n @media (max-width: 600px) {\n :host([show-search]) input {\n width: 200px;\n max-width: 20vw;\n }\n }\n simple-icon-button-lite {\n color: black;\n --simple-icon-width: 40px;\n --simple-icon-height: 40px;\n padding: 2px;\n margin: 0;\n background-color: white;\n }\n simple-icon-button-lite[disabled] {\n background-color: #cccccc;\n pointer-events: none;\n cursor: help;\n }\n simple-icon-button-lite:focus,\n simple-icon-button-lite:hover {\n background-color: #eeeeee;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1f5da6e01e5811ed81a80d03c17d190b || (_templateObject2_1f5da6e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n overflow: hidden;\n }\n input {\n visibility: none;\n opacity: 0;\n width: 0;\n transition: all ease-in-out 0.3s;\n padding: 4px;\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 20px;\n margin: 2px 0 0 16px;\n }\n :host([show-search]) input {\n visibility: visible;\n opacity: 1;\n width: 250px;\n max-width: 25vw;\n }\n @media (max-width: 780px) {\n :host([show-search]) input {\n width: 250px;\n max-width: 20vw;\n }\n }\n @media (max-width: 600px) {\n :host([show-search]) input {\n width: 200px;\n max-width: 20vw;\n }\n }\n simple-icon-button-lite {\n color: black;\n --simple-icon-width: 40px;\n --simple-icon-height: 40px;\n padding: 2px;\n margin: 0;\n background-color: white;\n }\n simple-icon-button-lite[disabled] {\n background-color: #cccccc;\n pointer-events: none;\n cursor: help;\n }\n simple-icon-button-lite:focus,\n simple-icon-button-lite:hover {\n background-color: #eeeeee;\n }\n "])))]; } }]); return AppHaxSearchBar; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-results.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-results.js index 77471473787..b096983f0a8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-results.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-search-results.js @@ -6,7 +6,7 @@ define(["exports", "../../../simple-colors/simple-colors.js", "../../../../lit/i }); _exports.AppHaxSearchResults = void 0; - var _templateObject_4aa749401da511ed9d313b9780b2ae17, _templateObject2_4aa749401da511ed9d313b9780b2ae17, _templateObject3_4aa749401da511ed9d313b9780b2ae17, _templateObject4_4aa749401da511ed9d313b9780b2ae17, _templateObject5_4aa749401da511ed9d313b9780b2ae17; + var _templateObject_1f6177701e5811ed81a80d03c17d190b, _templateObject2_1f6177701e5811ed81a80d03c17d190b, _templateObject3_1f6177701e5811ed81a80d03c17d190b, _templateObject4_1f6177701e5811ed81a80d03c17d190b, _templateObject5_1f6177701e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -74,9 +74,9 @@ define(["exports", "../../../simple-colors/simple-colors.js", "../../../../lit/i value: function render() { var _this3 = this; - return (0, _index.html)(_templateObject_4aa749401da511ed9d313b9780b2ae17 || (_templateObject_4aa749401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
      \n ", "\n
    \n "])), this.displayItems.length > 0 ? this.displayItems.map(function (item) { - return (0, _index.html)(_templateObject2_4aa749401da511ed9d313b9780b2ae17 || (_templateObject2_4aa749401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
  • \n \n ", "\n ", "\n \n
    \n ", "\n
    \n \n \n
  • "])), _this3.openedChanged, _this3.dark, (0, _utils.varGet)(item, "metadata.theme.variables.cssVariable", "orange").replace("--simple-colors-default-theme-", "").replace("-7", ""), item.slug, (0, _utils.varGet)(item, "metadata.theme.variables.icon", "link"), item.slug, item.title, item.author, _this3.getItemDetails(item), item.id, item.description); - }) : (0, _index.html)(_templateObject3_4aa749401da511ed9d313b9780b2ae17 || (_templateObject3_4aa749401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n No results for\n ", ".\n
    "])), this.searchTerm !== "" ? (0, _index.html)(_templateObject4_4aa749401da511ed9d313b9780b2ae17 || (_templateObject4_4aa749401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\"", "\""])), this.searchTerm) : "your account, try starting a new journey!")); + return (0, _index.html)(_templateObject_1f6177701e5811ed81a80d03c17d190b || (_templateObject_1f6177701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
      \n ", "\n
    \n "])), this.displayItems.length > 0 ? this.displayItems.map(function (item) { + return (0, _index.html)(_templateObject2_1f6177701e5811ed81a80d03c17d190b || (_templateObject2_1f6177701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
  • \n \n ", "\n ", "\n \n
    \n ", "\n
    \n \n \n
  • "])), _this3.openedChanged, _this3.dark, (0, _utils.varGet)(item, "metadata.theme.variables.cssVariable", "orange").replace("--simple-colors-default-theme-", "").replace("-7", ""), item.slug, (0, _utils.varGet)(item, "metadata.theme.variables.icon", "link"), item.slug, item.title, item.author, _this3.getItemDetails(item), item.id, item.description); + }) : (0, _index.html)(_templateObject3_1f6177701e5811ed81a80d03c17d190b || (_templateObject3_1f6177701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n No results for\n ", ".\n
    "])), this.searchTerm !== "" ? (0, _index.html)(_templateObject4_1f6177701e5811ed81a80d03c17d190b || (_templateObject4_1f6177701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\"", "\""])), this.searchTerm) : "your account, try starting a new journey!")); } }, { key: "getItemDetails", @@ -125,7 +125,7 @@ define(["exports", "../../../simple-colors/simple-colors.js", "../../../../lit/i }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSearchResults), "styles", this)), [(0, _index.css)(_templateObject5_4aa749401da511ed9d313b9780b2ae17 || (_templateObject5_4aa749401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n overflow: hidden;\n }\n ul,\n li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n app-hax-site-bar {\n margin: 8px 0;\n }\n .description {\n max-height: 64px;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n @media (max-width: 800px) {\n app-hax-site-bar {\n --main-banner-width: 60vw;\n }\n }\n @media (max-width: 400px) {\n app-hax-site-bar {\n --main-banner-width: 90vw;\n }\n }\n span[slot=\"band\"] {\n height: 48px;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: 8px;\n }\n :host([dark]) #noResult {\n color: var(--simple-colors-default-theme-grey-12, black);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSearchResults), "styles", this)), [(0, _index.css)(_templateObject5_1f6177701e5811ed81a80d03c17d190b || (_templateObject5_1f6177701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n overflow: hidden;\n }\n ul,\n li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n app-hax-site-bar {\n margin: 8px 0;\n }\n .description {\n max-height: 64px;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n @media (max-width: 800px) {\n app-hax-site-bar {\n --main-banner-width: 60vw;\n }\n }\n @media (max-width: 400px) {\n app-hax-site-bar {\n --main-banner-width: 90vw;\n }\n }\n span[slot=\"band\"] {\n height: 48px;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: 8px;\n }\n :host([dark]) #noResult {\n color: var(--simple-colors-default-theme-grey-12, black);\n }\n "])))]); } }]); return AppHaxSearchResults; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-bar.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-bar.js index 3e483f76b8b..5c520fb0f56 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-bar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-bar.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib _exports.AppHaxSiteBars = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4aac79601da511ed9d313b9780b2ae17, _templateObject2_4aac79601da511ed9d313b9780b2ae17; + var _templateObject_1f65bd301e5811ed81a80d03c17d190b, _templateObject2_1f65bd301e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -76,7 +76,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4aac79601da511ed9d313b9780b2ae17 || (_templateObject_4aac79601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n Access site\n More options\n "])), this.iconLink, this.icon, this.__clickButton, (0, _index2.animate)()); + return (0, _index.html)(_templateObject_1f65bd301e5811ed81a80d03c17d190b || (_templateObject_1f65bd301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n Access site\n More options\n "])), this.iconLink, this.icon, this.__clickButton, (0, _index2.animate)()); } // HAX specific callback // This teaches HAX how to edit and work with your web component @@ -122,7 +122,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteBars), "styles", this)), [(0, _index.css)(_templateObject2_4aac79601da511ed9d313b9780b2ae17 || (_templateObject2_4aac79601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --main-banner-width: 513px;\n --main-banner-height: 60px;\n --band-banner-height: 208px;\n display: inline-block;\n background-color: var(--simple-colors-default-theme-accent-3);\n color: var(--simple-colors-default-theme-grey-12);\n border-color: var(--simple-colors-default-theme-accent-4);\n border-style: solid;\n border-width: 5px 10px 5px 10px;\n }\n\n #labels {\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n #labels ::slotted(*) {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 25px;\n }\n #labels ::slotted(a) {\n color: var(--simple-colors-default-theme-accent-11);\n padding: 8px 0;\n display: block;\n }\n #labels ::slotted(a:focus),\n #labels ::slotted(a:hover) {\n color: var(--simple-colors-default-theme-accent-3);\n background-color: var(--simple-colors-default-theme-accent-11);\n }\n\n :host([opened]) {\n background-color: var(--simple-colors-default-theme-accent-3);\n }\n #mainCard {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n width: var(--main-banner-width);\n height: var(--main-banner-height);\n padding: 2px 4px;\n }\n\n #band-container {\n display: block;\n visibility: hidden;\n height: 1px;\n width: var(--main-banner-width);\n }\n\n :host([opened]) #band-container {\n height: var(--band-banner-height);\n visibility: visible;\n }\n a {\n flex: 1;\n }\n #labels {\n flex: 6;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n #icon {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n color: var(--simple-colors-default-theme-accent-11);\n }\n #icon:hover,\n #icon:focus,\n #icon:active {\n color: var(--simple-colors-default-theme-accent-3);\n background-color: var(--simple-colors-default-theme-accent-11);\n }\n #dots {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n color: var(--simple-colors-default-theme-grey-12);\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: center;\n }\n "])), (0, _index.unsafeCSS)(DropDownBorder))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteBars), "styles", this)), [(0, _index.css)(_templateObject2_1f65bd301e5811ed81a80d03c17d190b || (_templateObject2_1f65bd301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --main-banner-width: 513px;\n --main-banner-height: 60px;\n --band-banner-height: 208px;\n display: inline-block;\n background-color: var(--simple-colors-default-theme-accent-3);\n color: var(--simple-colors-default-theme-grey-12);\n border-color: var(--simple-colors-default-theme-accent-4);\n border-style: solid;\n border-width: 5px 10px 5px 10px;\n }\n\n #labels {\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n #labels ::slotted(*) {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 25px;\n }\n #labels ::slotted(a) {\n color: var(--simple-colors-default-theme-accent-11);\n padding: 8px 0;\n display: block;\n }\n #labels ::slotted(a:focus),\n #labels ::slotted(a:hover) {\n color: var(--simple-colors-default-theme-accent-3);\n background-color: var(--simple-colors-default-theme-accent-11);\n }\n\n :host([opened]) {\n background-color: var(--simple-colors-default-theme-accent-3);\n }\n #mainCard {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n width: var(--main-banner-width);\n height: var(--main-banner-height);\n padding: 2px 4px;\n }\n\n #band-container {\n display: block;\n visibility: hidden;\n height: 1px;\n width: var(--main-banner-width);\n }\n\n :host([opened]) #band-container {\n height: var(--band-banner-height);\n visibility: visible;\n }\n a {\n flex: 1;\n }\n #labels {\n flex: 6;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n #icon {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n color: var(--simple-colors-default-theme-accent-11);\n }\n #icon:hover,\n #icon:focus,\n #icon:active {\n color: var(--simple-colors-default-theme-accent-3);\n background-color: var(--simple-colors-default-theme-accent-11);\n }\n #dots {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n color: var(--simple-colors-default-theme-grey-12);\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: center;\n }\n "])), (0, _index.unsafeCSS)(DropDownBorder))]); } }]); return AppHaxSiteBars; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-button.js index abf1df6d152..5de0d3ef960 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-button.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib _exports.AppHaxSiteButton = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4ab071001da511ed9d313b9780b2ae17, _templateObject2_4ab071001da511ed9d313b9780b2ae17, _templateObject3_4ab071001da511ed9d313b9780b2ae17; + var _templateObject_1f687c501e5811ed81a80d03c17d190b, _templateObject2_1f687c501e5811ed81a80d03c17d190b, _templateObject3_1f687c501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -79,7 +79,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ab071001da511ed9d313b9780b2ae17 || (_templateObject_4ab071001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n ", " \n ", "\n
    \n \n "])), this.elevation, this.disabled || this.comingSoon, this._handleClick, this.label, this.comingSoon ? (0, _index.html)(_templateObject2_4ab071001da511ed9d313b9780b2ae17 || (_templateObject2_4ab071001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), postIt) : ""); + return (0, _index.html)(_templateObject_1f687c501e5811ed81a80d03c17d190b || (_templateObject_1f687c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n ", " \n ", "\n
    \n \n "])), this.elevation, this.disabled || this.comingSoon, this._handleClick, this.label, this.comingSoon ? (0, _index.html)(_templateObject2_1f687c501e5811ed81a80d03c17d190b || (_templateObject2_1f687c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), postIt) : ""); } // HAX specific callback // This teaches HAX how to edit and work with your web component @@ -125,7 +125,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-icon/lib }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject3_4ab071001da511ed9d313b9780b2ae17 || (_templateObject3_4ab071001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --background-color: transparent;\n --background-color-active: white;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-family: \"Press Start 2P\", sans-serif;\n width: fit-content;\n margin: 20px 0;\n }\n :host([coming-soon]) .haxButton {\n pointer-events: none;\n background-color: var(--simple-colors-default-theme-grey-6);\n }\n @media (max-width: 800px) {\n :host {\n width: 320px;\n }\n }\n :host([active]) .haxButton {\n color: var(--app-hax-background-color, var(--background-color-active));\n background-color: var(--app-hax-accent-color, var(--accent-color));\n }\n .haxButton {\n background-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n color: var(--app-hax-accent-color, var(--accent-color));\n font-size: var(--app-hax-site-button-font-size, 26px);\n }\n .contents {\n display: flex;\n justify-content: right;\n }\n .label {\n width: var(--app-hax-site-button-width, auto);\n min-width: var(--app-hax-site-button-min-width, auto);\n height: var(--app-hax-site-button-height, auto);\n display: inline-flex;\n }\n .coming-soon {\n display: block;\n height: 114px;\n width: 140px;\n z-index: 1;\n position: absolute;\n margin-right: -54px;\n margin-top: -10px;\n }\n "]))); + return (0, _index.css)(_templateObject3_1f687c501e5811ed81a80d03c17d190b || (_templateObject3_1f687c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --background-color: transparent;\n --background-color-active: white;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-family: \"Press Start 2P\", sans-serif;\n width: fit-content;\n margin: 20px 0;\n }\n :host([coming-soon]) .haxButton {\n pointer-events: none;\n background-color: var(--simple-colors-default-theme-grey-6);\n }\n @media (max-width: 800px) {\n :host {\n width: 320px;\n }\n }\n :host([active]) .haxButton {\n color: var(--app-hax-background-color, var(--background-color-active));\n background-color: var(--app-hax-accent-color, var(--accent-color));\n }\n .haxButton {\n background-color: var(\n --app-hax-background-color,\n var(--background-color)\n );\n color: var(--app-hax-accent-color, var(--accent-color));\n font-size: var(--app-hax-site-button-font-size, 26px);\n }\n .contents {\n display: flex;\n justify-content: right;\n }\n .label {\n width: var(--app-hax-site-button-width, auto);\n min-width: var(--app-hax-site-button-min-width, auto);\n height: var(--app-hax-site-button-height, auto);\n display: inline-flex;\n }\n .coming-soon {\n display: block;\n height: 114px;\n width: 140px;\n z-index: 1;\n position: absolute;\n margin-right: -54px;\n margin-top: -10px;\n }\n "]))); } }]); return AppHaxSiteButton; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-details.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-details.js index d1331e00545..67d9fe671c8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-details.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-details.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet _exports.AppHaxSiteDetails = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_4ab727c01da511ed9d313b9780b2ae17, _templateObject2_4ab727c01da511ed9d313b9780b2ae17, _templateObject3_4ab727c01da511ed9d313b9780b2ae17; + var _templateObject_1f759bb01e5811ed81a80d03c17d190b, _templateObject2_1f759bb01e5811ed81a80d03c17d190b, _templateObject3_1f759bb01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -17,6 +17,8 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -162,9 +164,9 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet }, { key: "confirmOperation", value: function () { - var _confirmOperation = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _confirmOperation = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var op, site; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -180,7 +182,6 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet }, true, function () { var activeOp = (0, _mobxEsm.toJS)(_AppHaxStore.store.activeSiteOp); // download is weird relative to the others - // download is weird relative to the others if (activeOp === "downloadSite") { // cheat to download a file path window.open(_AppHaxStore.store.AppHaxAPI.lastResponse.downloadSite.data.link, "_blank"); @@ -218,8 +219,8 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet value: function render() { var _this3 = this; - return (0, _index.html)(_templateObject_4ab727c01da511ed9d313b9780b2ae17 || (_templateObject_4ab727c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n
    \n
    created
    \n \n
    \n
    \n
    updated
    \n \n
    \n
    \n
    pages
    \n
    ", "
    \n
    \n
    \n
    URL
    \n ", "\n
    \n
    \n
    \n ", "\n
    \n \n "])), this.details.created, this.details.updated, this.details.pages, this.details.url, makeSlug(this.details.url), this.detailOps.map(function (item) { - return (0, _index.html)(_templateObject2_4ab727c01da511ed9d313b9780b2ae17 || (_templateObject2_4ab727c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n
    ", "
    \n \n ", " Site\n
    \n "])), _this3.siteId, item.op, item.name, item.icon, item.op, _this3.siteOperation, item.name.toLowerCase(), item.op, item.name); + return (0, _index.html)(_templateObject_1f759bb01e5811ed81a80d03c17d190b || (_templateObject_1f759bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n
    \n
    created
    \n \n
    \n
    \n
    updated
    \n \n
    \n
    \n
    pages
    \n
    ", "
    \n
    \n
    \n
    URL
    \n ", "\n
    \n
    \n
    \n ", "\n
    \n \n "])), this.details.created, this.details.updated, this.details.pages, this.details.url, makeSlug(this.details.url), this.detailOps.map(function (item) { + return (0, _index.html)(_templateObject2_1f759bb01e5811ed81a80d03c17d190b || (_templateObject2_1f759bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n
    ", "
    \n \n ", " Site\n
    \n "])), _this3.siteId, item.op, item.name, item.icon, item.op, _this3.siteOperation, item.name.toLowerCase(), item.op, item.name); })); } }], [{ @@ -245,7 +246,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-datet }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteDetails), "styles", this)), [(0, _index.css)(_templateObject3_4ab727c01da511ed9d313b9780b2ae17 || (_templateObject3_4ab727c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: 12px;\n align-items: stretch;\n background-color: var(--simple-colors-default-theme-grey-2);\n height: 208px;\n }\n\n .flex-container {\n flex: 1;\n background-color: var(--simple-colors-default-theme-grey-2);\n margin: 8px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n }\n .info-group {\n height: 100%;\n max-width: 25%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n padding: 0px;\n flex: 1;\n }\n simple-icon-button-lite:active,\n simple-icon-button-lite:hover,\n simple-icon-button-lite:focus {\n background-color: var(--simple-colors-default-theme-grey-4, #eeeeee);\n outline: 2px solid var(--simple-colors-default-theme-grey-12);\n outline-offset: 1px;\n }\n\n .info-headings {\n font-size: 12px;\n }\n .info-item {\n font-family: \"Press Start 2P\", sans-serif;\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n color: var(--simple-colors-default-theme-grey-12);\n line-height: 12px;\n max-width: 100%;\n font-size: 12px;\n }\n .pre ::slotted(*) {\n padding: 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 50%;\n display: inline-flex;\n }\n a {\n text-decoration: underline;\n }\n .info-date {\n color: var(--simple-colors-default-theme-grey-12);\n line-height: 12px;\n font-size: 12px;\n }\n\n .info-icon {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n --simple-icon-button-border-radius: 0px;\n --simple-icon-button-border: 0px;\n outline: 0;\n border: 2px solid var(--simple-colors-default-theme-grey-12);\n border-radius: 4px;\n padding: 4px;\n width: 80%;\n }\n #op-deleteSite {\n color: var(--simple-colors-default-theme-red-7);\n }\n .info-icon::part(button) {\n outline: none;\n }\n @media (max-width: 500px) {\n .btn-group button {\n padding: 4px;\n margin: 4px 0;\n }\n .flex-container > div {\n margin: 0px;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteDetails), "styles", this)), [(0, _index.css)(_templateObject3_1f759bb01e5811ed81a80d03c17d190b || (_templateObject3_1f759bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: 12px;\n align-items: stretch;\n background-color: var(--simple-colors-default-theme-grey-2);\n height: 208px;\n }\n\n .flex-container {\n flex: 1;\n background-color: var(--simple-colors-default-theme-grey-2);\n margin: 8px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n }\n .info-group {\n height: 100%;\n max-width: 25%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n padding: 0px;\n flex: 1;\n }\n simple-icon-button-lite:active,\n simple-icon-button-lite:hover,\n simple-icon-button-lite:focus {\n background-color: var(--simple-colors-default-theme-grey-4, #eeeeee);\n outline: 2px solid var(--simple-colors-default-theme-grey-12);\n outline-offset: 1px;\n }\n\n .info-headings {\n font-size: 12px;\n }\n .info-item {\n font-family: \"Press Start 2P\", sans-serif;\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n color: var(--simple-colors-default-theme-grey-12);\n line-height: 12px;\n max-width: 100%;\n font-size: 12px;\n }\n .pre ::slotted(*) {\n padding: 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 50%;\n display: inline-flex;\n }\n a {\n text-decoration: underline;\n }\n .info-date {\n color: var(--simple-colors-default-theme-grey-12);\n line-height: 12px;\n font-size: 12px;\n }\n\n .info-icon {\n --simple-icon-width: 49px;\n --simple-icon-height: 49px;\n --simple-icon-button-border-radius: 0px;\n --simple-icon-button-border: 0px;\n outline: 0;\n border: 2px solid var(--simple-colors-default-theme-grey-12);\n border-radius: 4px;\n padding: 4px;\n width: 80%;\n }\n #op-deleteSite {\n color: var(--simple-colors-default-theme-red-7);\n }\n .info-icon::part(button) {\n outline: none;\n }\n @media (max-width: 500px) {\n .btn-group button {\n padding: 4px;\n margin: 4px 0;\n }\n .flex-container > div {\n margin: 0px;\n }\n }\n "])))]); } }]); return AppHaxSiteDetails; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-login.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-login.js index b5c2fec75da..8c02a566fa9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-login.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-site-login.js @@ -6,12 +6,14 @@ define(["exports", "../../../../lit/index.js", "../../../simple-icon/lib/simple- }); _exports.AppHaxSiteLogin = void 0; - var _templateObject_4abdde801da511ed9d313b9780b2ae17, _templateObject2_4abdde801da511ed9d313b9780b2ae17, _templateObject3_4abdde801da511ed9d313b9780b2ae17, _templateObject4_4abdde801da511ed9d313b9780b2ae17; + var _templateObject_1f810d601e5811ed81a80d03c17d190b, _templateObject2_1f810d601e5811ed81a80d03c17d190b, _templateObject3_1f810d601e5811ed81a80d03c17d190b, _templateObject4_1f810d601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -75,9 +77,9 @@ define(["exports", "../../../../lit/index.js", "../../../simple-icon/lib/simple- }, { key: "checkPassword", value: function () { - var _checkPassword = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _checkPassword = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var value; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -194,7 +196,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-icon/lib/simple- }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4abdde801da511ed9d313b9780b2ae17 || (_templateObject_4abdde801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n

    ", "

    \n
    \n ", "\n
    \n \n
    \n
    \n "])), this.username, this.errorMSG, this.hidePassword ? (0, _index.html)(_templateObject2_4abdde801da511ed9d313b9780b2ae17 || (_templateObject2_4abdde801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n Next >\n "])), this.nameChange, !this.username, this.checkUsername) : (0, _index.html)(_templateObject3_4abdde801da511ed9d313b9780b2ae17 || (_templateObject3_4abdde801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n Hey ", "! not you?\n
    \n \n \n "])), this.username, this.reset, this.passChange, this.toggleViewPass, !this.hasPass, this.checkPassword)); + return (0, _index.html)(_templateObject_1f810d601e5811ed81a80d03c17d190b || (_templateObject_1f810d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n

    ", "

    \n
    \n ", "\n
    \n \n
    \n
    \n "])), this.username, this.errorMSG, this.hidePassword ? (0, _index.html)(_templateObject2_1f810d601e5811ed81a80d03c17d190b || (_templateObject2_1f810d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n Next >\n "])), this.nameChange, !this.username, this.checkUsername) : (0, _index.html)(_templateObject3_1f810d601e5811ed81a80d03c17d190b || (_templateObject3_1f810d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n Hey ", "! not you?\n
    \n \n \n "])), this.username, this.reset, this.passChange, this.toggleViewPass, !this.hasPass, this.checkPassword)); } }], [{ key: "tag", @@ -226,7 +228,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-icon/lib/simple- }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteLogin), "styles", this)), [(0, _index.css)(_templateObject4_4abdde801da511ed9d313b9780b2ae17 || (_templateObject4_4abdde801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n #inputcontainer {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n a {\n color: red;\n }\n\n // This does not work\n #errorText > p {\n visibility: hidden;\n background-color: lightblue;\n color: red;\n font-weight: bold;\n }\n rpg-character {\n display: block;\n margin: 0px;\n }\n .external {\n text-align: center;\n }\n input {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 28px;\n padding: 8px;\n border: 4px solid black;\n border-radius: 8px;\n width: 75%;\n }\n button {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 30px;\n padding: 8px;\n border: 4px solid black;\n border-radius: 8px;\n min-width: 50%;\n margin: 16px;\n }\n button:focus,\n button:hover {\n background-color: var(--simple-colors-default-theme-green-8);\n color: var(--simple-colors-default-theme-grey-1);\n outline: 2px solid var(--simple-colors-default-theme-grey-1);\n cursor: pointer;\n }\n .notyou {\n padding: 8px;\n }\n .visibility-icon {\n color: var(--simple-colors-default-theme-grey-12);\n background-color: var(--simple-colors-default-theme-grey-3);\n border: 2px solid var(--simple-colors-default-theme-grey-12);\n position: relative;\n margin-top: -44px;\n margin-bottom: 20px;\n margin-left: 70%;\n z-index: 1;\n padding: 2px;\n --simple-icon-width: 26px;\n --simple-icon-height: 26px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSiteLogin), "styles", this)), [(0, _index.css)(_templateObject4_1f810d601e5811ed81a80d03c17d190b || (_templateObject4_1f810d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n #inputcontainer {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n a {\n color: red;\n }\n\n // This does not work\n #errorText > p {\n visibility: hidden;\n background-color: lightblue;\n color: red;\n font-weight: bold;\n }\n rpg-character {\n display: block;\n margin: 0px;\n }\n .external {\n text-align: center;\n }\n input {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 28px;\n padding: 8px;\n border: 4px solid black;\n border-radius: 8px;\n width: 75%;\n }\n button {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 30px;\n padding: 8px;\n border: 4px solid black;\n border-radius: 8px;\n min-width: 50%;\n margin: 16px;\n }\n button:focus,\n button:hover {\n background-color: var(--simple-colors-default-theme-green-8);\n color: var(--simple-colors-default-theme-grey-1);\n outline: 2px solid var(--simple-colors-default-theme-grey-1);\n cursor: pointer;\n }\n .notyou {\n padding: 8px;\n }\n .visibility-icon {\n color: var(--simple-colors-default-theme-grey-12);\n background-color: var(--simple-colors-default-theme-grey-3);\n border: 2px solid var(--simple-colors-default-theme-grey-12);\n position: relative;\n margin-top: -44px;\n margin-bottom: 20px;\n margin-left: 70%;\n z-index: 1;\n padding: 2px;\n --simple-icon-width: 26px;\n --simple-icon-height: 26px;\n }\n "])))]); } }]); return AppHaxSiteLogin; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-steps.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-steps.js index 3cf61bf9eaf..3221664ffec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-steps.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-steps.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s _exports.AppHaxSteps = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4acbe8401da511ed9d313b9780b2ae17, _templateObject2_4acbe8401da511ed9d313b9780b2ae17, _templateObject3_4acbe8401da511ed9d313b9780b2ae17, _templateObject4_4acbe8401da511ed9d313b9780b2ae17, _templateObject5_4acbe8401da511ed9d313b9780b2ae17, _templateObject6_4acbe8401da511ed9d313b9780b2ae17, _templateObject7_4acbe8401da511ed9d313b9780b2ae17, _templateObject8_4acbe8401da511ed9d313b9780b2ae17, _templateObject9_4acbe8401da511ed9d313b9780b2ae17, _templateObject10_4acbe8401da511ed9d313b9780b2ae17; + var _templateObject_1f8ca6201e5811ed81a80d03c17d190b, _templateObject2_1f8ca6201e5811ed81a80d03c17d190b, _templateObject3_1f8ca6201e5811ed81a80d03c17d190b, _templateObject4_1f8ca6201e5811ed81a80d03c17d190b, _templateObject5_1f8ca6201e5811ed81a80d03c17d190b, _templateObject6_1f8ca6201e5811ed81a80d03c17d190b, _templateObject7_1f8ca6201e5811ed81a80d03c17d190b, _templateObject8_1f8ca6201e5811ed81a80d03c17d190b, _templateObject9_1f8ca6201e5811ed81a80d03c17d190b, _templateObject10_1f8ca6201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -404,20 +404,20 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s key: "renderTypes", value: function renderTypes(step) { var structure = (0, _mobxEsm.toJS)(_AppHaxStore.store.site.structure); - var template = (0, _index.html)(_templateObject_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + var template = (0, _index.html)(_templateObject_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); switch (structure) { case "portfolio": - template = (0, _index.html)(_templateObject2_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject2_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); + template = (0, _index.html)(_templateObject2_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject2_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); break; default: case "course": - template = (0, _index.html)(_templateObject3_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject3_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); + template = (0, _index.html)(_templateObject3_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject3_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); break; case "website": - template = (0, _index.html)(_templateObject4_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject4_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); + template = (0, _index.html)(_templateObject4_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject4_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "])), step !== 2 ? "-1" : "", this.chooseType, step !== 2 ? "-1" : "", this.chooseType); break; } @@ -428,10 +428,10 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s value: function render() { var _this7 = this; - return (0, _index.html)(_templateObject5_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject5_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
      \n
    • \n ", "\n
    • \n ", "\n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n ", "\n
    \n
    \n
    \n
    \n ", "\n
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n \n
    \n "])), !(0, _mobxEsm.toJS)(_AppHaxStore.store.isNewUser) ? (0, _index.html)(_templateObject6_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject6_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n Site list\n "])), homeIcon, this.stepLinkClick) : (0, _index.html)(_templateObject7_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject7_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.stepRoutes.map(function (item, index) { - return (0, _index.html)(_templateObject8_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject8_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n Step ", ": ", "\n "])), _this7.step < item.step || _this7.step === 5 ? true : false, _this7.step === item.step ? "active-step" : "", item.path, _this7.step < item.step || _this7.step === 5 ? true : false, _this7.step <= item.step ? "-1" : "0", _this7.stepLinkClick, item.name, index + 1, item.label, item.step, index + 1, item.name, index + 1, item.label); + return (0, _index.html)(_templateObject5_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject5_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
      \n
    • \n ", "\n
    • \n ", "\n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n ", "\n
    \n
    \n
    \n
    \n ", "\n
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n \n
    \n "])), !(0, _mobxEsm.toJS)(_AppHaxStore.store.isNewUser) ? (0, _index.html)(_templateObject6_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject6_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n Site list\n "])), homeIcon, this.stepLinkClick) : (0, _index.html)(_templateObject7_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject7_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.stepRoutes.map(function (item, index) { + return (0, _index.html)(_templateObject8_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject8_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n Step ", ": ", "\n "])), _this7.step < item.step || _this7.step === 5 ? true : false, _this7.step === item.step ? "active-step" : "", item.path, _this7.step < item.step || _this7.step === 5 ? true : false, _this7.step <= item.step ? "-1" : "0", _this7.stepLinkClick, item.name, index + 1, item.label, item.step, index + 1, item.name, index + 1, item.label); }), this.step !== 1 ? "-1" : "", this.chooseStructure, this.step !== 1 ? "-1" : "", this.chooseStructure, this.step !== 1 ? "-1" : "", this.chooseStructure, this.renderTypes(this.step), this.appSettings && this.appSettings.themes ? this.themeNames.map(function (themeKey) { - return (0, _index.html)(_templateObject9_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject9_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
    ", "
    \n \n "])), _this7.appSettings.themes[themeKey].name, themeKey, _this7.chooseTheme, _this7.step !== 3 ? "-1" : "", _this7.appSettings.themes[themeKey].thumbnail, _this7.appSettings.themes[themeKey].name); + return (0, _index.html)(_templateObject9_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject9_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
    ", "
    \n \n "])), _this7.appSettings.themes[themeKey].name, themeKey, _this7.chooseTheme, _this7.step !== 3 ? "-1" : "", _this7.appSettings.themes[themeKey].thumbnail, _this7.appSettings.themes[themeKey].name); }) : "", this.typeKey, this.keydown, (0, _mobxEsm.toJS)(_AppHaxStore.store.site.structure), this.step !== 4 ? "-1" : "", this.step !== 4 ? "-1" : "", this.chooseName, this.nameTyped === "", this.progressReady, this.progressFinished, this.step !== 5 ? "-1" : ""); } }], [{ @@ -468,7 +468,7 @@ define(["exports", "meta", "../../../../lit/index.js", "../../../simple-colors/s }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSteps), "styles", this)), [(0, _index.css)(_templateObject10_4acbe8401da511ed9d313b9780b2ae17 || (_templateObject10_4acbe8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n scrollable-component {\n --scrollbar-width: 0px;\n --scrollbar-height: 0px;\n --scrollbar-padding: 0;\n --viewport-overflow-x: hidden;\n overflow: hidden;\n }\n #grid-container {\n display: grid;\n grid-template-columns: 200px 200px;\n background: transparent;\n }\n .carousel-with-snapping-track {\n display: grid;\n grid-auto-flow: column;\n grid-gap: 30px;\n }\n .carousel-with-snapping-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: normal;\n scroll-snap-align: center;\n scroll-snap-stop: always;\n scrollbar-gutter: stable;\n width: var(--viewport-width);\n font-size: 1.5rem;\n text-align: center;\n overflow-x: hidden;\n max-height: 60vh;\n padding-top: 1vh;\n }\n #step-links {\n padding: 0;\n margin: 0;\n }\n ul,\n li {\n list-style: none;\n }\n li {\n vertical-align: middle;\n display: inline-flex;\n margin: 5px;\n }\n li.step {\n border-radius: 50%;\n background-color: transparent;\n }\n li a {\n font-size: 12px;\n color: var(--simple-colors-default-theme-grey-12, white);\n text-decoration: none;\n padding: 5px;\n width: 20px;\n height: 20px;\n line-height: 20px;\n margin: 0;\n display: block;\n border: 0;\n border-radius: 50%;\n background-repeat: no-repeat;\n background-size: 30px 30px;\n background-color: var(--simple-colors-default-theme-grey-1, white);\n background-image: url(\"", "\");\n transition: 0.3s ease-in-out background, 0.3s ease-in-out color;\n transition-delay: 0.6s, 0.3s;\n }\n li a[disabled] {\n background-image: url(\"", "\");\n pointer-events: none;\n color: var(--simple-colors-default-theme-grey-7, grey);\n user-select: none;\n }\n li[disabled] {\n background-color: grey;\n }\n li.active-step a {\n background-color: orange;\n background-image: url(\"", "\");\n }\n app-hax-button {\n padding: 10px 0px 10px 0px;\n background: transparent;\n }\n #theme-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n }\n img {\n pointer-events: none;\n }\n #themeContainer {\n width: 70vw;\n height: 55vh;\n }\n .theme-button {\n background-color: transparent;\n color: var(--simple-colors-default-theme-grey-12, white);\n border: none;\n margin: 8px;\n padding: 8px;\n width: 245px;\n }\n\n .theme-button div {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 14px;\n margin-top: 12px;\n }\n .theme-button:focus,\n .theme-button:hover {\n outline: 4px solid var(--app-hax-accent-color, var(--accent-color));\n outline-offset: 4px;\n background-color: transparent;\n border: none;\n cursor: pointer;\n }\n #sitename {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 32px;\n padding: 8px;\n width: 40vw;\n }\n #homebtn {\n --simple-icon-height: 30px;\n --simple-icon-width: 30px;\n border-radius: 50%;\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-grey-1, white);\n }\n .homelnk {\n background-image: none;\n display: flex;\n padding: 0;\n margin: 0;\n height: 30px;\n width: 30px;\n }\n app-hax-site-button {\n justify-content: center;\n --app-hax-site-button-width: 35vw;\n --app-hax-site-button-min-width: 240px;\n }\n app-hax-hat-progress {\n height: 400px;\n width: 400px;\n display: block;\n }\n\n @media (max-width: 800px) {\n .theme-button {\n width: unset;\n padding: 0;\n }\n .theme-button div {\n font-size: 12px;\n margin-top: 8px;\n }\n .theme-button img {\n height: 70px;\n }\n app-hax-site-button {\n width: 320px;\n max-width: 60vw;\n --app-hax-site-button-font-size: 2.5vw;\n }\n #sitename {\n width: 70vw;\n font-size: 20px;\n }\n #grid-container {\n grid-template-columns: 150px 150px;\n }\n }\n @media (max-height: 600px) {\n .carousel-with-snapping-item {\n padding-top: 4px;\n max-height: 57vh;\n }\n #sitename {\n width: 40vw;\n font-size: 14px;\n }\n app-hax-hat-progress {\n transform: scale(0.5);\n margin-top: -18vh;\n }\n }\n @media (max-width: 500px) {\n app-hax-hat-progress {\n transform: scale(0.5);\n margin-top: -15vh;\n }\n }\n @media (max-height: 400px) {\n .carousel-with-snapping-item {\n padding-top: 4px;\n max-height: 40vh;\n }\n app-hax-hat-progress {\n transform: scale(0.3);\n }\n .carousel-with-snapping-item.active-step app-hax-hat-progress {\n position: fixed;\n top: 20%;\n left: 20%;\n }\n }\n "])), (0, _index.unsafeCSS)(enabledCircle), (0, _index.unsafeCSS)(disabledCircle), (0, _index.unsafeCSS)(transparentCircle))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(AppHaxSteps), "styles", this)), [(0, _index.css)(_templateObject10_1f8ca6201e5811ed81a80d03c17d190b || (_templateObject10_1f8ca6201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n scrollable-component {\n --scrollbar-width: 0px;\n --scrollbar-height: 0px;\n --scrollbar-padding: 0;\n --viewport-overflow-x: hidden;\n overflow: hidden;\n }\n #grid-container {\n display: grid;\n grid-template-columns: 200px 200px;\n background: transparent;\n }\n .carousel-with-snapping-track {\n display: grid;\n grid-auto-flow: column;\n grid-gap: 30px;\n }\n .carousel-with-snapping-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: normal;\n scroll-snap-align: center;\n scroll-snap-stop: always;\n scrollbar-gutter: stable;\n width: var(--viewport-width);\n font-size: 1.5rem;\n text-align: center;\n overflow-x: hidden;\n max-height: 60vh;\n padding-top: 1vh;\n }\n #step-links {\n padding: 0;\n margin: 0;\n }\n ul,\n li {\n list-style: none;\n }\n li {\n vertical-align: middle;\n display: inline-flex;\n margin: 5px;\n }\n li.step {\n border-radius: 50%;\n background-color: transparent;\n }\n li a {\n font-size: 12px;\n color: var(--simple-colors-default-theme-grey-12, white);\n text-decoration: none;\n padding: 5px;\n width: 20px;\n height: 20px;\n line-height: 20px;\n margin: 0;\n display: block;\n border: 0;\n border-radius: 50%;\n background-repeat: no-repeat;\n background-size: 30px 30px;\n background-color: var(--simple-colors-default-theme-grey-1, white);\n background-image: url(\"", "\");\n transition: 0.3s ease-in-out background, 0.3s ease-in-out color;\n transition-delay: 0.6s, 0.3s;\n }\n li a[disabled] {\n background-image: url(\"", "\");\n pointer-events: none;\n color: var(--simple-colors-default-theme-grey-7, grey);\n user-select: none;\n }\n li[disabled] {\n background-color: grey;\n }\n li.active-step a {\n background-color: orange;\n background-image: url(\"", "\");\n }\n app-hax-button {\n padding: 10px 0px 10px 0px;\n background: transparent;\n }\n #theme-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n }\n img {\n pointer-events: none;\n }\n #themeContainer {\n width: 70vw;\n height: 55vh;\n }\n .theme-button {\n background-color: transparent;\n color: var(--simple-colors-default-theme-grey-12, white);\n border: none;\n margin: 8px;\n padding: 8px;\n width: 245px;\n }\n\n .theme-button div {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 14px;\n margin-top: 12px;\n }\n .theme-button:focus,\n .theme-button:hover {\n outline: 4px solid var(--app-hax-accent-color, var(--accent-color));\n outline-offset: 4px;\n background-color: transparent;\n border: none;\n cursor: pointer;\n }\n #sitename {\n font-family: \"Press Start 2P\", sans-serif;\n font-size: 32px;\n padding: 8px;\n width: 40vw;\n }\n #homebtn {\n --simple-icon-height: 30px;\n --simple-icon-width: 30px;\n border-radius: 50%;\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-grey-1, white);\n }\n .homelnk {\n background-image: none;\n display: flex;\n padding: 0;\n margin: 0;\n height: 30px;\n width: 30px;\n }\n app-hax-site-button {\n justify-content: center;\n --app-hax-site-button-width: 35vw;\n --app-hax-site-button-min-width: 240px;\n }\n app-hax-hat-progress {\n height: 400px;\n width: 400px;\n display: block;\n }\n\n @media (max-width: 800px) {\n .theme-button {\n width: unset;\n padding: 0;\n }\n .theme-button div {\n font-size: 12px;\n margin-top: 8px;\n }\n .theme-button img {\n height: 70px;\n }\n app-hax-site-button {\n width: 320px;\n max-width: 60vw;\n --app-hax-site-button-font-size: 2.5vw;\n }\n #sitename {\n width: 70vw;\n font-size: 20px;\n }\n #grid-container {\n grid-template-columns: 150px 150px;\n }\n }\n @media (max-height: 600px) {\n .carousel-with-snapping-item {\n padding-top: 4px;\n max-height: 57vh;\n }\n #sitename {\n width: 40vw;\n font-size: 14px;\n }\n app-hax-hat-progress {\n transform: scale(0.5);\n margin-top: -18vh;\n }\n }\n @media (max-width: 500px) {\n app-hax-hat-progress {\n transform: scale(0.5);\n margin-top: -15vh;\n }\n }\n @media (max-height: 400px) {\n .carousel-with-snapping-item {\n padding-top: 4px;\n max-height: 40vh;\n }\n app-hax-hat-progress {\n transform: scale(0.3);\n }\n .carousel-with-snapping-item.active-step app-hax-hat-progress {\n position: fixed;\n top: 20%;\n left: 20%;\n }\n }\n "])), (0, _index.unsafeCSS)(enabledCircle), (0, _index.unsafeCSS)(disabledCircle), (0, _index.unsafeCSS)(transparentCircle))]); } }]); return AppHaxSteps; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-top-bar.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-top-bar.js index 2e40e3c00e7..2e8d9e7534c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-top-bar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-top-bar.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./app-hax-wired-toggle.js", "../ }); _exports.AppHaxTopBar = void 0; - var _templateObject_4ad0ca401da511ed9d313b9780b2ae17, _templateObject2_4ad0ca401da511ed9d313b9780b2ae17; + var _templateObject_1f8fda701e5811ed81a80d03c17d190b, _templateObject2_1f8fda701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -26,7 +26,7 @@ define(["exports", "../../../../lit/index.js", "./app-hax-wired-toggle.js", "../ babelHelpers.createClass(AppHaxTopBar, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ad0ca401da511ed9d313b9780b2ae17 || (_templateObject_4ad0ca401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n "]))); + return (0, _index.html)(_templateObject_1f8fda701e5811ed81a80d03c17d190b || (_templateObject_1f8fda701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n "]))); } }], [{ key: "tag", @@ -44,7 +44,7 @@ define(["exports", "../../../../lit/index.js", "./app-hax-wired-toggle.js", "../ }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_4ad0ca401da511ed9d313b9780b2ae17 || (_templateObject2_4ad0ca401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --bg-color: var(--app-hax-background-color);\n --accent-color: var(--app-hax-accent-color);\n --top-bar-height: 48px;\n display: block;\n height: var(--top-bar-height);\n }\n\n /* @media (prefers-color-scheme: dark) {\n :root {\n --accent-color: white;\n color: var(--accent-color);\n \n }\n\n :host {\n background-color: black;\n } \n } */\n\n .topBar {\n overflow: hidden;\n background-color: var(--bg-color);\n color: var(--accent-color);\n height: var(--top-bar-height);\n text-align: center;\n vertical-align: middle;\n border-bottom: 3px solid var(--app-hax-accent-color);\n display: grid;\n grid-template-columns: 32.5% 35% 32.5%;\n }\n\n /* .topBar > div {\n background-color: rgba(255, 255, 255, 0.8);\n border: 1px solid black;\n } */\n\n .topBar .left {\n text-align: left;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n\n .topBar .center {\n text-align: center;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n\n .topBar .right {\n text-align: right;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n "]))); + return (0, _index.css)(_templateObject2_1f8fda701e5811ed81a80d03c17d190b || (_templateObject2_1f8fda701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --bg-color: var(--app-hax-background-color);\n --accent-color: var(--app-hax-accent-color);\n --top-bar-height: 48px;\n display: block;\n height: var(--top-bar-height);\n }\n\n /* @media (prefers-color-scheme: dark) {\n :root {\n --accent-color: white;\n color: var(--accent-color);\n \n }\n\n :host {\n background-color: black;\n } \n } */\n\n .topBar {\n overflow: hidden;\n background-color: var(--bg-color);\n color: var(--accent-color);\n height: var(--top-bar-height);\n text-align: center;\n vertical-align: middle;\n border-bottom: 3px solid var(--app-hax-accent-color);\n display: grid;\n grid-template-columns: 32.5% 35% 32.5%;\n }\n\n /* .topBar > div {\n background-color: rgba(255, 255, 255, 0.8);\n border: 1px solid black;\n } */\n\n .topBar .left {\n text-align: left;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n\n .topBar .center {\n text-align: center;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n\n .topBar .right {\n text-align: right;\n height: var(--top-bar-height);\n vertical-align: text-top;\n }\n "]))); } }]); return AppHaxTopBar; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu-button.js index fc4d5fe7b26..a7de6b9afb7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }); _exports.AppHaxUserMenuButton = void 0; - var _templateObject_4ad55e201da511ed9d313b9780b2ae17, _templateObject2_4ad55e201da511ed9d313b9780b2ae17; + var _templateObject_1f9112f01e5811ed81a80d03c17d190b, _templateObject2_1f9112f01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -30,7 +30,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(AppHaxUserMenuButton, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ad55e201da511ed9d313b9780b2ae17 || (_templateObject_4ad55e201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon, this.label); + return (0, _index.html)(_templateObject_1f9112f01e5811ed81a80d03c17d190b || (_templateObject_1f9112f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon, this.label); } }], [{ key: "tag", @@ -53,7 +53,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_4ad55e201da511ed9d313b9780b2ae17 || (_templateObject2_4ad55e201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n width: 100%;\n --background-color: var(--app-hax-background-color);\n --accent-color: var(--app-hax-accent-color);\n }\n\n .menu-button {\n display: block;\n width: 100%;\n border: 2px solid var(--accent-color);\n margin: 0;\n padding: 8px;\n font-size: 16px;\n text-align: left;\n color: var(--accent-color);\n background-color: var(--background-color);\n cursor: pointer;\n }\n\n .menu-button:hover,\n .menu-button:active,\n .menu-button:focus {\n background-color: var(--accent-color);\n color: var(--background-color);\n }\n\n .icon {\n padding-right: 16px;\n }\n "]))); + return (0, _index.css)(_templateObject2_1f9112f01e5811ed81a80d03c17d190b || (_templateObject2_1f9112f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n width: 100%;\n --background-color: var(--app-hax-background-color);\n --accent-color: var(--app-hax-accent-color);\n }\n\n .menu-button {\n display: block;\n width: 100%;\n border: 2px solid var(--accent-color);\n margin: 0;\n padding: 8px;\n font-size: 16px;\n text-align: left;\n color: var(--accent-color);\n background-color: var(--background-color);\n cursor: pointer;\n }\n\n .menu-button:hover,\n .menu-button:active,\n .menu-button:focus {\n background-color: var(--accent-color);\n color: var(--background-color);\n }\n\n .icon {\n padding-right: 16px;\n }\n "]))); } }]); return AppHaxUserMenuButton; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu.js index 33bf9969805..214a0683cfa 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-user-menu.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }); _exports.AppHaxUserMenu = void 0; - var _templateObject_4ad759f01da511ed9d313b9780b2ae17, _templateObject2_4ad759f01da511ed9d313b9780b2ae17; + var _templateObject_1f9272801e5811ed81a80d03c17d190b, _templateObject2_1f9272801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -35,7 +35,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ad759f01da511ed9d313b9780b2ae17 || (_templateObject_4ad759f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n "])), this.toggleMenu, this.icon, this.isOpen ? "open" : ""); + return (0, _index.html)(_templateObject_1f9272801e5811ed81a80d03c17d190b || (_templateObject_1f9272801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n "])), this.toggleMenu, this.icon, this.isOpen ? "open" : ""); } }], [{ key: "tag", @@ -61,7 +61,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_4ad759f01da511ed9d313b9780b2ae17 || (_templateObject2_4ad759f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n display: inline-block;\n margin: 0px;\n padding: 0px;\n }\n\n .menuToggle {\n cursor: pointer;\n }\n\n .user-menu {\n display: none;\n }\n\n .user-menu.open {\n display: block;\n top: 50px;\n right: 0px;\n position: absolute;\n border: 1px solid var(--app-hax-accent-color);\n background-color: var(--app-hax-background-color);\n }\n\n .user-menu.open ::slotted(*) {\n display: block;\n width: 100%;\n margin: 0;\n font-size: 16px;\n text-align: left;\n font-family: \"Press Start 2P\", sans-serif;\n color: var(--app-hax-accent-color);\n background-color: var(--app-hax-background-color);\n }\n\n .user-menu.open .main-menu ::slotted(*:hover),\n .user-menu.open .main-menu ::slotted(*:active),\n .user-menu.open .main-menu ::slotted(*:focus) {\n background-color: var(--app-hax-background-color-active);\n color: var(--app-hax-background-color);\n }\n\n .user-menu ::slotted(button) {\n cursor: pointer;\n }\n\n .user-menu ::slotted(*) simple-icon-lite {\n padding-right: 16px;\n }\n "]))); + return (0, _index.css)(_templateObject2_1f9272801e5811ed81a80d03c17d190b || (_templateObject2_1f9272801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-family: \"Press Start 2P\", sans-serif;\n text-align: center;\n display: inline-block;\n margin: 0px;\n padding: 0px;\n }\n\n .menuToggle {\n cursor: pointer;\n }\n\n .user-menu {\n display: none;\n }\n\n .user-menu.open {\n display: block;\n top: 50px;\n right: 0px;\n position: absolute;\n border: 1px solid var(--app-hax-accent-color);\n background-color: var(--app-hax-background-color);\n }\n\n .user-menu.open ::slotted(*) {\n display: block;\n width: 100%;\n margin: 0;\n font-size: 16px;\n text-align: left;\n font-family: \"Press Start 2P\", sans-serif;\n color: var(--app-hax-accent-color);\n background-color: var(--app-hax-background-color);\n }\n\n .user-menu.open .main-menu ::slotted(*:hover),\n .user-menu.open .main-menu ::slotted(*:active),\n .user-menu.open .main-menu ::slotted(*:focus) {\n background-color: var(--app-hax-background-color-active);\n color: var(--app-hax-background-color);\n }\n\n .user-menu ::slotted(button) {\n cursor: pointer;\n }\n\n .user-menu ::slotted(*) simple-icon-lite {\n padding-right: 16px;\n }\n "]))); } }]); return AppHaxUserMenu; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-wired-toggle.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-wired-toggle.js index d38879b3247..11c487b4714 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-wired-toggle.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/v1/app-hax-wired-toggle.js @@ -6,7 +6,7 @@ define(["exports", "../../../../mobx/dist/mobx.esm.js", "../../../../lit/index.j }); _exports.AppHAXWiredToggle = void 0; - var _templateObject_4ad955c01da511ed9d313b9780b2ae17; + var _templateObject_1f9420301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -49,7 +49,7 @@ define(["exports", "../../../../mobx/dist/mobx.esm.js", "../../../../lit/index.j }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_4ad955c01da511ed9d313b9780b2ae17 || (_templateObject_4ad955c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
    \n You can toggle your user interface between \"light\" and \"dark\" for you\n viewing enjoyment.\n
    \n
    \n "])), this.label, babelHelpers.get(babelHelpers.getPrototypeOf(AppHAXWiredToggle.prototype), "render", this).call(this)); + return (0, _index.html)(_templateObject_1f9420301e5811ed81a80d03c17d190b || (_templateObject_1f9420301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
    \n You can toggle your user interface between \"light\" and \"dark\" for you\n viewing enjoyment.\n
    \n
    \n "])), this.label, babelHelpers.get(babelHelpers.getPrototypeOf(AppHAXWiredToggle.prototype), "render", this).call(this)); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/wired-darkmode-toggle/wired-darkmode-toggle.js b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/wired-darkmode-toggle/wired-darkmode-toggle.js index 26998ad445d..12a08c1e5e6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/wired-darkmode-toggle/wired-darkmode-toggle.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/app-hax/lib/wired-darkmode-toggle/wired-darkmode-toggle.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../../wired-elements/lib/wired-lib.js", "../.. _exports.WiredDarkmodeToggle = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_907eecc01da511ed9d313b9780b2ae17, _templateObject2_907eecc01da511ed9d313b9780b2ae17; + var _templateObject_58b2c6a01e5811ed81a80d03c17d190b, _templateObject2_58b2c6a01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -59,7 +59,7 @@ define(["exports", "meta", "../../../../wired-elements/lib/wired-lib.js", "../.. }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_907eecc01da511ed9d313b9780b2ae17 || (_templateObject_907eecc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.label, this.checked, this.disabled, this.onChange); + return (0, _index.html)(_templateObject_58b2c6a01e5811ed81a80d03c17d190b || (_templateObject_58b2c6a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.label, this.checked, this.disabled, this.onChange); } }], [{ key: "tag", @@ -86,7 +86,7 @@ define(["exports", "meta", "../../../../wired-elements/lib/wired-lib.js", "../.. }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(WiredDarkmodeToggle), "styles", this)), [(0, _index.css)(_templateObject2_907eecc01da511ed9d313b9780b2ae17 || (_templateObject2_907eecc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n opacity: 1;\n display: inline-flex;\n vertical-align: top;\n }\n :host div {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n --wired-toggle-off-color: var(--simple-colors-fixed-theme-amber-7);\n --wired-toggle-on-color: var(\n --simple-colors-fixed-theme-light-blue-9\n );\n background-position-x: 50px;\n width: 100px;\n display: inline-flex;\n }\n :host([checked]) div {\n background-image: url(\"", "\");\n background-position: left;\n }\n input {\n width: 100px;\n height: 48px;\n padding: 0;\n margin: 0;\n }\n label {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n "])), (0, _index.unsafeCSS)(sun), (0, _index.unsafeCSS)(moon))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(WiredDarkmodeToggle), "styles", this)), [(0, _index.css)(_templateObject2_58b2c6a01e5811ed81a80d03c17d190b || (_templateObject2_58b2c6a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n opacity: 1;\n display: inline-flex;\n vertical-align: top;\n }\n :host div {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n --wired-toggle-off-color: var(--simple-colors-fixed-theme-amber-7);\n --wired-toggle-on-color: var(\n --simple-colors-fixed-theme-light-blue-9\n );\n background-position-x: 50px;\n width: 100px;\n display: inline-flex;\n }\n :host([checked]) div {\n background-image: url(\"", "\");\n background-position: left;\n }\n input {\n width: 100px;\n height: 48px;\n padding: 0;\n margin: 0;\n }\n label {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n "])), (0, _index.unsafeCSS)(sun), (0, _index.unsafeCSS)(moon))]); } }]); return WiredDarkmodeToggle; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/awesome-explosion/awesome-explosion.js b/build/es5-amd/node_modules/@lrnwebcomponents/awesome-explosion/awesome-explosion.js index 9d9b1dfaf62..632ab2fdb43 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/awesome-explosion/awesome-explosion.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/awesome-explosion/awesome-explosion.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind _exports.AwesomeExplosion = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3e1758001da511ed9d313b9780b2ae17, _templateObject2_3e1758001da511ed9d313b9780b2ae17; + var _templateObject_0f6250101e5811ed81a80d03c17d190b, _templateObject2_0f6250101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -54,7 +54,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind babelHelpers.createClass(AwesomeExplosion, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3e1758001da511ed9d313b9780b2ae17 || (_templateObject_3e1758001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image); + return (0, _index.html)(_templateObject_0f6250101e5811ed81a80d03c17d190b || (_templateObject_0f6250101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image); } }, { key: "updated", @@ -198,7 +198,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3e1758001da511ed9d313b9780b2ae17 || (_templateObject2_3e1758001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n :host([size=\"tiny\"]) #image {\n width: 80px;\n height: 80px;\n }\n :host([size=\"small\"]) #image {\n width: 160px;\n height: 160px;\n }\n :host([size=\"medium\"]) #image {\n width: 240px;\n height: 240px;\n }\n :host([size=\"large\"]) #image {\n width: 320px;\n height: 320px;\n }\n :host([size=\"epic\"]) #image {\n width: 720px;\n height: 720px;\n }\n\n :host([color=\"red\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(30deg);\n }\n :host([color=\"purple\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(290deg);\n }\n :host([color=\"blue\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(210deg);\n }\n :host([color=\"orange\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(320deg);\n }\n :host([color=\"yellow\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(70deg);\n }\n #image {\n width: 240px;\n height: 240px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0f6250101e5811ed81a80d03c17d190b || (_templateObject2_0f6250101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n :host([size=\"tiny\"]) #image {\n width: 80px;\n height: 80px;\n }\n :host([size=\"small\"]) #image {\n width: 160px;\n height: 160px;\n }\n :host([size=\"medium\"]) #image {\n width: 240px;\n height: 240px;\n }\n :host([size=\"large\"]) #image {\n width: 320px;\n height: 320px;\n }\n :host([size=\"epic\"]) #image {\n width: 720px;\n height: 720px;\n }\n\n :host([color=\"red\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(30deg);\n }\n :host([color=\"purple\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(290deg);\n }\n :host([color=\"blue\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(210deg);\n }\n :host([color=\"orange\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(320deg);\n }\n :host([color=\"yellow\"]) #image {\n filter: sepia() saturate(10000%) hue-rotate(70deg);\n }\n #image {\n width: 240px;\n height: 240px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/b-r/b-r.js b/build/es5-amd/node_modules/@lrnwebcomponents/b-r/b-r.js index eb5a4654564..6a5780c9628 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/b-r/b-r.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/b-r/b-r.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.BR = void 0; - var _templateObject_3e22f0c01da511ed9d313b9780b2ae17, _templateObject2_3e22f0c01da511ed9d313b9780b2ae17; + var _templateObject_0f63afa01e5811ed81a80d03c17d190b, _templateObject2_0f63afa01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -42,7 +42,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(BR, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3e22f0c01da511ed9d313b9780b2ae17 || (_templateObject_3e22f0c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.renderBR(this.amount)); + return (0, _index.html)(_templateObject_0f63afa01e5811ed81a80d03c17d190b || (_templateObject_0f63afa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.renderBR(this.amount)); } }, { key: "renderBR", @@ -55,7 +55,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { } while (count < amount) { - content.push((0, _index.html)(_templateObject2_3e22f0c01da511ed9d313b9780b2ae17 || (_templateObject2_3e22f0c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    "])))); + content.push((0, _index.html)(_templateObject2_0f63afa01e5811ed81a80d03c17d190b || (_templateObject2_0f63afa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    "])))); count++; } diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/barcode-reader/barcode-reader.js b/build/es5-amd/node_modules/@lrnwebcomponents/barcode-reader/barcode-reader.js index c0f5a9da95c..0560f6d24a5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/barcode-reader/barcode-reader.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/barcode-reader/barcode-reader.js @@ -7,12 +7,14 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- _exports.BarcodeReader = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3e414e301da511ed9d313b9780b2ae17, _templateObject2_3e414e301da511ed9d313b9780b2ae17; + var _templateObject_0fc298801e5811ed81a80d03c17d190b, _templateObject2_0fc298801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -51,7 +53,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_3e414e301da511ed9d313b9780b2ae17 || (_templateObject_3e414e301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n Result: \n
    \n \n \n \n \n \n "])), this.scale, this.scale, this.hideinput, this.value); + return (0, _index.html)(_templateObject_0fc298801e5811ed81a80d03c17d190b || (_templateObject_0fc298801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n Result: \n
    \n \n \n \n \n \n "])), this.scale, this.scale, this.hideinput, this.value); } }, { key: "_control", @@ -86,9 +88,9 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- tick(); // we got a match! var decodeCallback = /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ptr, len, resultIndex, resultCount) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(ptr, len, resultIndex, resultCount) { var result; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -309,8 +311,8 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- }, { key: "_onFrame", value: function () { - var _onFrame2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { - return regeneratorRuntime.wrap(function _callee2$(_context2) { + var _onFrame2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -342,10 +344,10 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- }, { key: "start", value: function () { - var _start = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { + var _start = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { var _this4 = this; - return regeneratorRuntime.wrap(function _callee3$(_context3) { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: @@ -372,9 +374,9 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- }, { key: "_renderVideo", value: function () { - var _renderVideo2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() { + var _renderVideo2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() { var video, button, extraButtons; - return regeneratorRuntime.wrap(function _callee4$(_context4) { + return _regeneratorRuntime().wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: @@ -420,7 +422,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- * LitElement style callback */ function get() { - return (0, _index.css)(_templateObject2_3e414e301da511ed9d313b9780b2ae17 || (_templateObject2_3e414e301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n canvas {\n display: none;\n }\n video {\n border-style: solid;\n border-color: rgba(0, 0, 0, 0.5);\n border-width: 5px;\n }\n "]))); + return (0, _index.css)(_templateObject2_0fc298801e5811ed81a80d03c17d190b || (_templateObject2_0fc298801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n canvas {\n display: none;\n }\n video {\n border-style: solid;\n border-color: rgba(0, 0, 0, 0.5);\n border-width: 5px;\n }\n "]))); } /** .hidden { display: none; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/beaker-broker/beaker-broker.js b/build/es5-amd/node_modules/@lrnwebcomponents/beaker-broker/beaker-broker.js index 93741e24cb2..4123310e50c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/beaker-broker/beaker-broker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/beaker-broker/beaker-broker.js @@ -6,12 +6,14 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.BeakerBroker = void 0; - var _templateObject_3eaf79501da511ed9d313b9780b2ae17; + var _templateObject_0fcf69c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -53,7 +55,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3eaf79501da511ed9d313b9780b2ae17 || (_templateObject_3eaf79501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "]))); + return (0, _index.html)(_templateObject_0fcf69c01e5811ed81a80d03c17d190b || (_templateObject_0fcf69c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "]))); } // haxProperty definition }, { @@ -101,8 +103,8 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "_datUrlChanged", value: function () { - var _datUrlChanged2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(newValue) { - return regeneratorRuntime.wrap(function _callee$(_context) { + var _datUrlChanged2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(newValue) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -133,8 +135,8 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "write", value: function () { - var _write = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(path, data) { - return regeneratorRuntime.wrap(function _callee2$(_context2) { + var _write = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(path, data) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -166,9 +168,9 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "read", value: function () { - var _read = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(path, type) { + var _read = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(path, type) { var ftype, response, buf, blob, str; - return regeneratorRuntime.wrap(function _callee3$(_context3) { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/bootstrap-theme.js b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/bootstrap-theme.js index c1956348b51..678b45706bc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/bootstrap-theme.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/bootstrap-theme.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../haxcms-elements/ meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_3ec683c01da511ed9d313b9780b2ae17, _templateObject2_3ec683c01da511ed9d313b9780b2ae17, _templateObject3_3ec683c01da511ed9d313b9780b2ae17; + var _templateObject_0fd5ab501e5811ed81a80d03c17d190b, _templateObject2_0fd5ab501e5811ed81a80d03c17d190b, _templateObject3_0fd5ab501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -72,7 +72,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../haxcms-elements/ babelHelpers.createClass(BootstrapTheme, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3ec683c01da511ed9d313b9780b2ae17 || (_templateObject_3ec683c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n
    \n
    \n ", "\n

    ", "

    \n
    \n ", "\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n ", "\n \n ", "\n

    ", "

    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n "])), this._bootstrapPath, this.__siteImage ? (0, _index.html)(_templateObject2_3ec683c01da511ed9d313b9780b2ae17 || (_templateObject2_3ec683c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.__siteImage) : "", this.__siteTitle, this.HAXCMSMobileMenu(), this.editMode ? "edit-mode-active" : "", this.colorTheme, this.searchChanged, this.colorTheme, this.HAXCMSMobileMenuButton(), this.BootstrapUserStylesMenu(), this.__pageTitle, this.searchTerm, this.searchTerm != "" ? false : true, this.searchItemSelected, this.searchTerm != "" ? true : false, this.colorTheme); + return (0, _index.html)(_templateObject_0fd5ab501e5811ed81a80d03c17d190b || (_templateObject_0fd5ab501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n
    \n
    \n ", "\n

    ", "

    \n
    \n ", "\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n ", "\n \n ", "\n

    ", "

    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n "])), this._bootstrapPath, this.__siteImage ? (0, _index.html)(_templateObject2_0fd5ab501e5811ed81a80d03c17d190b || (_templateObject2_0fd5ab501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.__siteImage) : "", this.__siteTitle, this.HAXCMSMobileMenu(), this.editMode ? "edit-mode-active" : "", this.colorTheme, this.searchChanged, this.colorTheme, this.HAXCMSMobileMenuButton(), this.BootstrapUserStylesMenu(), this.__pageTitle, this.searchTerm, this.searchTerm != "" ? false : true, this.searchItemSelected, this.searchTerm != "" ? true : false, this.colorTheme); } }, { key: "searchChanged", @@ -197,7 +197,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../haxcms-elements/ }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(BootstrapTheme), "styles", this)), [(0, _index.css)(_templateObject3_3ec683c01da511ed9d313b9780b2ae17 || (_templateObject3_3ec683c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n /* var declaration and default styles */\n :host {\n --bootstrap-theme-link-color: #007bff;\n --map-menu-item-a-color: var(--bootstrap-theme-link-color);\n --bootstrap-theme-light-color: #000000;\n --bootstrap-theme-light-background-color: #ffffff;\n --bootstrap-theme-light-secondary-background-color: rgb(\n 242,\n 244,\n 244\n );\n --bootstrap-theme-light-secondary-color: rgb(233, 236, 239);\n --bootstrap-theme-dark-background-color: #212121;\n --bootstrap-theme-dark-secondary-background-color: #343a40;\n --bootstrap-theme-dark-color: #ffffff;\n --bootstrap-theme-palenight-background-color: rgb(13, 18, 41);\n --bootstrap-theme-palenight-secondary-background-color: rgb(\n 26,\n 31,\n 54\n );\n --bootstrap-theme-palenight-color: #ffffff;\n --site-menu-background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n display: block;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n --map-menu-item-height: 24px;\n --map-menu-button-height: 34px;\n --map-menu-header-button-min-height: 34px;\n width: 100%;\n display: flex;\n padding: 0;\n margin: 0;\n min-height: 100vh;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n /* hidden styles */\n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n a {\n color: #007bff;\n }\n /* menu styles */\n :host([menu-open]) .menu-outline {\n left: 0;\n padding: 0 8px;\n }\n\n .menu-outline {\n position: absolute;\n top: 50px;\n left: -300px;\n bottom: 0;\n z-index: 1;\n width: 300px;\n color: #364149;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n transition: left 250ms ease;\n }\n\n site-menu::part(map-menu) {\n height: var(--site-menu-map-menu-height, calc(100vh - 130px));\n }\n\n #haxcmsmobilemenubutton {\n padding-left: 0;\n }\n\n #haxcmsmobilemenunav {\n margin-top: 32px;\n }\n\n /* site title above menu */\n .site-title {\n border-bottom: 1px solid black;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n display: flex;\n align-items: center;\n height: 48px;\n display: sticky;\n }\n #haxcmsmobilemenunav {\n height: calc(100vh - 130px);\n }\n\n .site-img {\n display: inline-block;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n }\n\n :host([responsive-size=\"xs\"]) .main-content,\n :host([responsive-size=\"sm\"]) .main-content {\n overflow-x: hidden;\n }\n :host([responsive-size=\"xs\"]) .menu-outline,\n :host([responsive-size=\"sm\"]) .menu-outline {\n top: 0;\n }\n :host([responsive-size=\"xs\"]) .site-header,\n :host([responsive-size=\"sm\"]) .site-header {\n display: none;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n :host([responsive-size=\"xs\"]) bootstrap-breadcrumb,\n :host([responsive-size=\"sm\"]) bootstrap-breadcrumb {\n display: none;\n }\n\n /* main content */\n .site {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n }\n replace-tag[with=\"site-print-button\"],\n site-print-button {\n color: black;\n --haxcms-tooltip-color: #f5f5f5;\n --haxcms-tooltip-background-color: #252737;\n }\n .site-body {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n min-width: 400px;\n overflow-y: auto;\n transition: left 250ms ease;\n }\n .site-body .site-inner {\n position: relative;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n overflow-y: auto;\n }\n :host([menu-open]) .site-body {\n left: 300px;\n }\n :host([responsive-size=\"xs\"]) .site-body,\n :host([responsive-size=\"sm\"]) .site-body {\n overflow-x: hidden;\n position: fixed;\n }\n :host([responsive-size=\"xs\"]) .main-content,\n :host([responsive-size=\"sm\"]) .main-content {\n overflow-x: hidden;\n }\n :host([responsive-size=\"xs\"]) .site-inner {\n max-width: 100vw;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n .page-wrapper {\n position: relative;\n outline: 0;\n }\n .main-content > :first-child {\n margin-top: 0 !important;\n }\n\n /* header */\n .pull-right {\n float: right;\n }\n :host([is-logged-in]) .pull-right {\n top: 48px;\n }\n .btn-container {\n z-index: 2;\n height: 50px;\n padding: 6px;\n }\n .navigation {\n position: fixed;\n top: 50px;\n bottom: 0px;\n margin: 0px 20px;\n max-width: 150px;\n min-width: 90px;\n display: flex;\n place-content: center;\n flex-direction: column;\n font-size: 40px;\n color: rgb(204, 204, 204);\n text-align: center;\n transition: all 0.35s ease 0s;\n }\n\n /* header */\n .site-header {\n overflow: visible;\n height: 50px;\n padding: 0 8px;\n z-index: 2;\n font-size: 0.85em;\n color: #7e888b;\n background: 0 0;\n }\n .page-title {\n display: inline-flex;\n margin-left: 12px;\n overflow: hidden;\n margin-bottom: 0px;\n vertical-align: middle;\n word-break: break-all;\n max-width: 77%;\n height: 32px;\n line-height: 32px;\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n }\n /* Light Theme */\n :host([color-theme=\"0\"]) site-search {\n color: #252737;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #f5f5f5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n\n /* Dark Theme */\n :host([color-theme=\"1\"]) {\n background-color: var(--bootstrap-theme-dark-background-color);\n --simple-fields-background-color: transparent;\n --map-menu-item-a-color: var(--bootstrap-theme-dark-color);\n --haxcms-user-styles-color-theme-color-color: var(\n --bootstrap-theme-dark-color\n );\n --hax-base-styles-a-color: var(--bootstrap-theme-link-color);\n --haxcms-tooltip-background-color: var(--bootstrap-theme-dark-color);\n --haxcms-tooltip-color: var(--bootstrap-theme-dark-background-color);\n --site-menu-background-color: var(\n --bootstrap-theme-dark-background-color\n );\n --simple-icon-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) site-search {\n color: var(--bootstrap-theme-dark-color);\n --site-search-result-background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n --site-search-result-background-color-hover: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n --site-search-link-color-hover: var(--bootstrap-theme-dark-color);\n --site-search-link-text-color: var(--bootstrap-theme-dark-color);\n --site-search-link-color: var(--bootstrap-theme-dark-color);\n --site-search-result-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) .site-title {\n border-bottom: 1px solid var(--bootstrap-theme-dark-color);\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .site {\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .menu-outline {\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .site-title {\n color: #fff;\n }\n\n :host([color-theme=\"1\"]) .page-title {\n color: #fff;\n }\n\n :host([color-theme=\"1\"]) .main-section {\n color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) #site-search-input {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n\n :host([color-theme=\"1\"]) .card {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n :host([color-theme=\"1\"]) .card h1 h2 h3 h4 h5 h6 p {\n color: #fff;\n }\n :host([color-theme=\"1\"]) .site-header .btn {\n color: white;\n }\n :host([color-theme=\"1\"]) .site-header .btn:hover,\n :host([color-theme=\"1\"]) .site-header .btn:focus,\n :host([color-theme=\"1\"]) .site-header .btn:active {\n color: #fffff5;\n background: none;\n }\n\n :host([color-theme=\"1\"]) .site-header site-active-title {\n color: #fff;\n }\n\n /* Palenight Theme */\n :host([color-theme=\"2\"]) {\n background-color: var(--bootstrap-theme-palenight-background-color);\n --simple-fields-background-color: transparent;\n --map-menu-item-a-color: var(--bootstrap-theme-palenight-color);\n --haxcms-user-styles-color-theme-color-color: var(\n --bootstrap-theme-palenight-color\n );\n --hax-base-styles-a-color: var(--bootstrap-theme-link-color);\n --haxcms-tooltip-background-color: var(\n --bootstrap-theme-palenight-color\n );\n --haxcms-tooltip-color: var(\n --bootstrap-theme-palenight-background-color\n );\n --site-menu-background-color: var(\n --bootstrap-theme-palenight-background-color\n );\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) site-search {\n color: var(--bootstrap-theme-palenight-color);\n --site-search-result-background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n --site-search-result-background-color-hover: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n --site-search-link-color-hover: var(\n --bootstrap-theme-palenight-color\n );\n --site-search-link-text-color: var(--bootstrap-theme-palenight-color);\n --site-search-link-color: var(--bootstrap-theme-palenight-color);\n --site-search-result-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .site-title {\n border-bottom: 1px solid var(--bootstrap-theme-palenight-color);\n background-color: var(--bootstrap-theme-palenight-background-color);\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .site {\n background-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .menu-outline {\n background-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .page-title {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .main-section {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) #site-search-input {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) .card {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n :host([color-theme=\"2\"]) .card h1 h2 h3 h4 h5 h6 p {\n color: var(--bootstrap-theme-palenight-color);\n }\n :host([color-theme=\"2\"]) .site-header .btn {\n color: var(--bootstrap-theme-palenight-color);\n }\n :host([color-theme=\"2\"]) .site-header .btn:hover,\n :host([color-theme=\"2\"]) .site-header .btn:focus,\n :host([color-theme=\"2\"]) .site-header .btn:active {\n color: var(--bootstrap-theme-palenight-color);\n background: none;\n }\n\n :host([color-theme=\"2\"]) .site-header site-active-title {\n color: #fff;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(BootstrapTheme), "styles", this)), [(0, _index.css)(_templateObject3_0fd5ab501e5811ed81a80d03c17d190b || (_templateObject3_0fd5ab501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n /* var declaration and default styles */\n :host {\n --bootstrap-theme-link-color: #007bff;\n --map-menu-item-a-color: var(--bootstrap-theme-link-color);\n --bootstrap-theme-light-color: #000000;\n --bootstrap-theme-light-background-color: #ffffff;\n --bootstrap-theme-light-secondary-background-color: rgb(\n 242,\n 244,\n 244\n );\n --bootstrap-theme-light-secondary-color: rgb(233, 236, 239);\n --bootstrap-theme-dark-background-color: #212121;\n --bootstrap-theme-dark-secondary-background-color: #343a40;\n --bootstrap-theme-dark-color: #ffffff;\n --bootstrap-theme-palenight-background-color: rgb(13, 18, 41);\n --bootstrap-theme-palenight-secondary-background-color: rgb(\n 26,\n 31,\n 54\n );\n --bootstrap-theme-palenight-color: #ffffff;\n --site-menu-background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n display: block;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n --map-menu-item-height: 24px;\n --map-menu-button-height: 34px;\n --map-menu-header-button-min-height: 34px;\n width: 100%;\n display: flex;\n padding: 0;\n margin: 0;\n min-height: 100vh;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n /* hidden styles */\n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n a {\n color: #007bff;\n }\n /* menu styles */\n :host([menu-open]) .menu-outline {\n left: 0;\n padding: 0 8px;\n }\n\n .menu-outline {\n position: absolute;\n top: 50px;\n left: -300px;\n bottom: 0;\n z-index: 1;\n width: 300px;\n color: #364149;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n transition: left 250ms ease;\n }\n\n site-menu::part(map-menu) {\n height: var(--site-menu-map-menu-height, calc(100vh - 130px));\n }\n\n #haxcmsmobilemenubutton {\n padding-left: 0;\n }\n\n #haxcmsmobilemenunav {\n margin-top: 32px;\n }\n\n /* site title above menu */\n .site-title {\n border-bottom: 1px solid black;\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n display: flex;\n align-items: center;\n height: 48px;\n display: sticky;\n }\n #haxcmsmobilemenunav {\n height: calc(100vh - 130px);\n }\n\n .site-img {\n display: inline-block;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n }\n\n :host([responsive-size=\"xs\"]) .main-content,\n :host([responsive-size=\"sm\"]) .main-content {\n overflow-x: hidden;\n }\n :host([responsive-size=\"xs\"]) .menu-outline,\n :host([responsive-size=\"sm\"]) .menu-outline {\n top: 0;\n }\n :host([responsive-size=\"xs\"]) .site-header,\n :host([responsive-size=\"sm\"]) .site-header {\n display: none;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n :host([responsive-size=\"xs\"]) bootstrap-breadcrumb,\n :host([responsive-size=\"sm\"]) bootstrap-breadcrumb {\n display: none;\n }\n\n /* main content */\n .site {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n }\n replace-tag[with=\"site-print-button\"],\n site-print-button {\n color: black;\n --haxcms-tooltip-color: #f5f5f5;\n --haxcms-tooltip-background-color: #252737;\n }\n .site-body {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n min-width: 400px;\n overflow-y: auto;\n transition: left 250ms ease;\n }\n .site-body .site-inner {\n position: relative;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n overflow-y: auto;\n }\n :host([menu-open]) .site-body {\n left: 300px;\n }\n :host([responsive-size=\"xs\"]) .site-body,\n :host([responsive-size=\"sm\"]) .site-body {\n overflow-x: hidden;\n position: fixed;\n }\n :host([responsive-size=\"xs\"]) .main-content,\n :host([responsive-size=\"sm\"]) .main-content {\n overflow-x: hidden;\n }\n :host([responsive-size=\"xs\"]) .site-inner {\n max-width: 100vw;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n .page-wrapper {\n position: relative;\n outline: 0;\n }\n .main-content > :first-child {\n margin-top: 0 !important;\n }\n\n /* header */\n .pull-right {\n float: right;\n }\n :host([is-logged-in]) .pull-right {\n top: 48px;\n }\n .btn-container {\n z-index: 2;\n height: 50px;\n padding: 6px;\n }\n .navigation {\n position: fixed;\n top: 50px;\n bottom: 0px;\n margin: 0px 20px;\n max-width: 150px;\n min-width: 90px;\n display: flex;\n place-content: center;\n flex-direction: column;\n font-size: 40px;\n color: rgb(204, 204, 204);\n text-align: center;\n transition: all 0.35s ease 0s;\n }\n\n /* header */\n .site-header {\n overflow: visible;\n height: 50px;\n padding: 0 8px;\n z-index: 2;\n font-size: 0.85em;\n color: #7e888b;\n background: 0 0;\n }\n .page-title {\n display: inline-flex;\n margin-left: 12px;\n overflow: hidden;\n margin-bottom: 0px;\n vertical-align: middle;\n word-break: break-all;\n max-width: 77%;\n height: 32px;\n line-height: 32px;\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n }\n /* Light Theme */\n :host([color-theme=\"0\"]) site-search {\n color: #252737;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #f5f5f5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n\n /* Dark Theme */\n :host([color-theme=\"1\"]) {\n background-color: var(--bootstrap-theme-dark-background-color);\n --simple-fields-background-color: transparent;\n --map-menu-item-a-color: var(--bootstrap-theme-dark-color);\n --haxcms-user-styles-color-theme-color-color: var(\n --bootstrap-theme-dark-color\n );\n --hax-base-styles-a-color: var(--bootstrap-theme-link-color);\n --haxcms-tooltip-background-color: var(--bootstrap-theme-dark-color);\n --haxcms-tooltip-color: var(--bootstrap-theme-dark-background-color);\n --site-menu-background-color: var(\n --bootstrap-theme-dark-background-color\n );\n --simple-icon-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) site-search {\n color: var(--bootstrap-theme-dark-color);\n --site-search-result-background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n --site-search-result-background-color-hover: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n --site-search-link-color-hover: var(--bootstrap-theme-dark-color);\n --site-search-link-text-color: var(--bootstrap-theme-dark-color);\n --site-search-link-color: var(--bootstrap-theme-dark-color);\n --site-search-result-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) .site-title {\n border-bottom: 1px solid var(--bootstrap-theme-dark-color);\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .site {\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .menu-outline {\n background-color: var(--bootstrap-theme-dark-background-color);\n }\n\n :host([color-theme=\"1\"]) .site-title {\n color: #fff;\n }\n\n :host([color-theme=\"1\"]) .page-title {\n color: #fff;\n }\n\n :host([color-theme=\"1\"]) .main-section {\n color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) #site-search-input {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n\n :host([color-theme=\"1\"]) .card {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n :host([color-theme=\"1\"]) .card h1 h2 h3 h4 h5 h6 p {\n color: #fff;\n }\n :host([color-theme=\"1\"]) .site-header .btn {\n color: white;\n }\n :host([color-theme=\"1\"]) .site-header .btn:hover,\n :host([color-theme=\"1\"]) .site-header .btn:focus,\n :host([color-theme=\"1\"]) .site-header .btn:active {\n color: #fffff5;\n background: none;\n }\n\n :host([color-theme=\"1\"]) .site-header site-active-title {\n color: #fff;\n }\n\n /* Palenight Theme */\n :host([color-theme=\"2\"]) {\n background-color: var(--bootstrap-theme-palenight-background-color);\n --simple-fields-background-color: transparent;\n --map-menu-item-a-color: var(--bootstrap-theme-palenight-color);\n --haxcms-user-styles-color-theme-color-color: var(\n --bootstrap-theme-palenight-color\n );\n --hax-base-styles-a-color: var(--bootstrap-theme-link-color);\n --haxcms-tooltip-background-color: var(\n --bootstrap-theme-palenight-color\n );\n --haxcms-tooltip-color: var(\n --bootstrap-theme-palenight-background-color\n );\n --site-menu-background-color: var(\n --bootstrap-theme-palenight-background-color\n );\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) site-search {\n color: var(--bootstrap-theme-palenight-color);\n --site-search-result-background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n --site-search-result-background-color-hover: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n --site-search-link-color-hover: var(\n --bootstrap-theme-palenight-color\n );\n --site-search-link-text-color: var(--bootstrap-theme-palenight-color);\n --site-search-link-color: var(--bootstrap-theme-palenight-color);\n --site-search-result-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .site-title {\n border-bottom: 1px solid var(--bootstrap-theme-palenight-color);\n background-color: var(--bootstrap-theme-palenight-background-color);\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .site {\n background-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .menu-outline {\n background-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .page-title {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .main-section {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) #site-search-input {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) .card {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n :host([color-theme=\"2\"]) .card h1 h2 h3 h4 h5 h6 p {\n color: var(--bootstrap-theme-palenight-color);\n }\n :host([color-theme=\"2\"]) .site-header .btn {\n color: var(--bootstrap-theme-palenight-color);\n }\n :host([color-theme=\"2\"]) .site-header .btn:hover,\n :host([color-theme=\"2\"]) .site-header .btn:focus,\n :host([color-theme=\"2\"]) .site-header .btn:active {\n color: var(--bootstrap-theme-palenight-color);\n background: none;\n }\n\n :host([color-theme=\"2\"]) .site-header site-active-title {\n color: #fff;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapBreadcrumb.js b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapBreadcrumb.js index 9d07f0b89a2..be4f7ade0bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapBreadcrumb.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapBreadcrumb.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl _exports.BootstrapBreadcrumb = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_83abff101da511ed9d313b9780b2ae17, _templateObject2_83abff101da511ed9d313b9780b2ae17, _templateObject3_83abff101da511ed9d313b9780b2ae17; + var _templateObject_4cf197101e5811ed81a80d03c17d190b, _templateObject2_4cf197101e5811ed81a80d03c17d190b, _templateObject3_4cf197101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -71,8 +71,8 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl babelHelpers.createClass(BootstrapBreadcrumb, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83abff101da511ed9d313b9780b2ae17 || (_templateObject_83abff101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    \n "])), this._bootstrapPath, this.homeItem.title, this.homeItem.slug, this.items.map(function (item) { - return (0, _index.html)(_templateObject2_83abff101da511ed9d313b9780b2ae17 || (_templateObject2_83abff101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", " \n \n "])), item.title, item.slug, item.title); + return (0, _index.html)(_templateObject_4cf197101e5811ed81a80d03c17d190b || (_templateObject_4cf197101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    \n "])), this._bootstrapPath, this.homeItem.title, this.homeItem.slug, this.items.map(function (item) { + return (0, _index.html)(_templateObject2_4cf197101e5811ed81a80d03c17d190b || (_templateObject2_4cf197101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", " \n \n "])), item.title, item.slug, item.title); })); } }, { @@ -113,7 +113,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_83abff101da511ed9d313b9780b2ae17 || (_templateObject3_83abff101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --bootstrap-dark-theme-secondary-background-color: #343a40;\n --simple-icon-height: 18px;\n --simple-icon-width: 18px;\n --simple-icon-color: #007bff;\n }\n a {\n color: #007bff;\n }\n\n .container {\n background-color: #e9ecef;\n border-radius: 5px;\n }\n\n .breadcrumb {\n -moz-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n -webkit-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n }\n\n simple-icon-lite {\n margin-bottom: 5px;\n }\n\n a:hover simple-icon-lite {\n text-decoration: underline;\n }\n\n /* dark mode */\n :host([color-theme=\"1\"]) {\n --simple-icon-color: #999;\n }\n\n :host([color-theme=\"1\"]) simple-icon-lite:hover {\n --simple-icon-color: #fff;\n }\n\n :host([color-theme=\"1\"]) .breadcrumb {\n background-color: var(\n --bootstrap-dark-theme-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n\n :host([color-theme=\"1\"]) .container {\n background-color: var(\n --bootstrap-dark-theme-secondary-background-color\n );\n }\n\n :host([color-theme=\"1\"]) a {\n color: #999;\n }\n\n :host([color-theme=\"1\"]) a:hover {\n color: #fff;\n }\n\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) simple-icon-lite:hover {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .breadcrumb {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n\n :host([color-theme=\"2\"]) .container {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) a {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) a:hover {\n color: var(--bootstrap-theme-palenight-color);\n }\n "])))]; + return [(0, _index.css)(_templateObject3_4cf197101e5811ed81a80d03c17d190b || (_templateObject3_4cf197101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --bootstrap-dark-theme-secondary-background-color: #343a40;\n --simple-icon-height: 18px;\n --simple-icon-width: 18px;\n --simple-icon-color: #007bff;\n }\n a {\n color: #007bff;\n }\n\n .container {\n background-color: #e9ecef;\n border-radius: 5px;\n }\n\n .breadcrumb {\n -moz-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n -webkit-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n }\n\n simple-icon-lite {\n margin-bottom: 5px;\n }\n\n a:hover simple-icon-lite {\n text-decoration: underline;\n }\n\n /* dark mode */\n :host([color-theme=\"1\"]) {\n --simple-icon-color: #999;\n }\n\n :host([color-theme=\"1\"]) simple-icon-lite:hover {\n --simple-icon-color: #fff;\n }\n\n :host([color-theme=\"1\"]) .breadcrumb {\n background-color: var(\n --bootstrap-dark-theme-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n\n :host([color-theme=\"1\"]) .container {\n background-color: var(\n --bootstrap-dark-theme-secondary-background-color\n );\n }\n\n :host([color-theme=\"1\"]) a {\n color: #999;\n }\n\n :host([color-theme=\"1\"]) a:hover {\n color: #fff;\n }\n\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) simple-icon-lite:hover {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .breadcrumb {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n\n :host([color-theme=\"2\"]) .container {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) a {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) a:hover {\n color: var(--bootstrap-theme-palenight-color);\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapFooter.js b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapFooter.js index faf1084c3cc..1d44f7211ed 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapFooter.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapFooter.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl _exports.BootstrapFooter = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_83aee5401da511ed9d313b9780b2ae17, _templateObject2_83aee5401da511ed9d313b9780b2ae17; + var _templateObject_4cf4cb601e5811ed81a80d03c17d190b, _templateObject2_4cf4cb601e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -61,7 +61,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl babelHelpers.createClass(BootstrapFooter, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83aee5401da511ed9d313b9780b2ae17 || (_templateObject_83aee5401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this._bootstrapPath, this._backwardItem.slug, this._backwardItem.title, this._forwardItem.slug, this._forwardItem.title); + return (0, _index.html)(_templateObject_4cf4cb601e5811ed81a80d03c17d190b || (_templateObject_4cf4cb601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this._bootstrapPath, this._backwardItem.slug, this._backwardItem.title, this._forwardItem.slug, this._forwardItem.title); } }, { key: "getBasePath", @@ -76,7 +76,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83aee5401da511ed9d313b9780b2ae17 || (_templateObject2_83aee5401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin-bottom: 10px;\n --simple-icon-height: 18px;\n --simple-icon-width: 18px;\n --simple-icon-color: #007bff;\n }\n .btn-outline-primary {\n color: #007bff;\n border-color: #007bff;\n }\n\n .btn-outline-primary:active,\n .btn-outline-primary:focus,\n .btn-outline-primary:hover {\n --simple-icon-color: white;\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n }\n\n .container {\n display: flex;\n background-color: #e9ecef;\n border-radius: 5px;\n padding: 10px;\n -moz-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n -webkit-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n }\n\n .forward {\n margin-left: auto;\n }\n\n .backward {\n margin-right: auto;\n }\n\n simple-icon-lite {\n margin-bottom: 3px;\n }\n\n a {\n text-decoration: none;\n color: #007bff;\n }\n /* dark theme */\n :host([color-theme=\"1\"]) {\n --simple-icon-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) .btn {\n color: var(--bootstrap-theme-dark-color);\n background-color: transparent;\n background-image: none;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"1\"]) .btn:hover {\n color: var(--bootstrap-theme-dark-color);\n background-color: #6c757d;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"1\"]) .container {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .btn {\n color: var(--bootstrap-theme-palenight-color);\n background-color: transparent;\n background-image: none;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"2\"]) .btn:hover {\n color: var(--bootstrap-theme-palenight-color);\n background-color: #6c757d;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"2\"]) .container {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4cf4cb601e5811ed81a80d03c17d190b || (_templateObject2_4cf4cb601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin-bottom: 10px;\n --simple-icon-height: 18px;\n --simple-icon-width: 18px;\n --simple-icon-color: #007bff;\n }\n .btn-outline-primary {\n color: #007bff;\n border-color: #007bff;\n }\n\n .btn-outline-primary:active,\n .btn-outline-primary:focus,\n .btn-outline-primary:hover {\n --simple-icon-color: white;\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n }\n\n .container {\n display: flex;\n background-color: #e9ecef;\n border-radius: 5px;\n padding: 10px;\n -moz-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n -webkit-box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 10%);\n }\n\n .forward {\n margin-left: auto;\n }\n\n .backward {\n margin-right: auto;\n }\n\n simple-icon-lite {\n margin-bottom: 3px;\n }\n\n a {\n text-decoration: none;\n color: #007bff;\n }\n /* dark theme */\n :host([color-theme=\"1\"]) {\n --simple-icon-color: var(--bootstrap-theme-dark-color);\n }\n\n :host([color-theme=\"1\"]) .btn {\n color: var(--bootstrap-theme-dark-color);\n background-color: transparent;\n background-image: none;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"1\"]) .btn:hover {\n color: var(--bootstrap-theme-dark-color);\n background-color: #6c757d;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"1\"]) .container {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --simple-icon-color: var(--bootstrap-theme-palenight-color);\n }\n\n :host([color-theme=\"2\"]) .btn {\n color: var(--bootstrap-theme-palenight-color);\n background-color: transparent;\n background-image: none;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"2\"]) .btn:hover {\n color: var(--bootstrap-theme-palenight-color);\n background-color: #6c757d;\n border-color: #6c757d;\n }\n\n :host([color-theme=\"2\"]) .container {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n -moz-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n -webkit-box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n box-shadow: inset 0 2px 4px 0\n rgb(var(--bootstrap-theme-light-secondary-background-color), 0.7);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapSearch.js b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapSearch.js index 64824e36140..9564ff7972c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapSearch.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapSearch.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../../mobx/dist/mobx.esm _exports.BootstrapSearch = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_83b8d0501da511ed9d313b9780b2ae17, _templateObject2_83b8d0501da511ed9d313b9780b2ae17; + var _templateObject_4cf715501e5811ed81a80d03c17d190b, _templateObject2_4cf715501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -38,7 +38,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../../mobx/dist/mobx.esm babelHelpers.createClass(BootstrapSearch, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83b8d0501da511ed9d313b9780b2ae17 || (_templateObject_83b8d0501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n "])), this._bootstrapPath, this.inputChanged); + return (0, _index.html)(_templateObject_4cf715501e5811ed81a80d03c17d190b || (_templateObject_4cf715501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n "])), this._bootstrapPath, this.inputChanged); } }, { key: "inputChanged", @@ -77,7 +77,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../../mobx/dist/mobx.esm }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83b8d0501da511ed9d313b9780b2ae17 || (_templateObject2_83b8d0501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n float: right;\n }\n input {\n max-width: var(--bootstrap-search-max-width, 300px);\n width: var(--bootstrap-search-width, 300px);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4cf715501e5811ed81a80d03c17d190b || (_templateObject2_4cf715501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n float: right;\n }\n input {\n max-width: var(--bootstrap-search-max-width, 300px);\n width: var(--bootstrap-search-width, 300px);\n }\n "])))]; } }]); return BootstrapSearch; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapUserStylesMenuMixin.js b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapUserStylesMenuMixin.js index d4077e0325c..1f7c25ff4ea 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapUserStylesMenuMixin.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/bootstrap-theme/lib/BootstrapUserStylesMenuMixin.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../utils/util meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_83b4ffc01da511ed9d313b9780b2ae17, _templateObject2_83b4ffc01da511ed9d313b9780b2ae17; + var _templateObject_4cfc6c801e5811ed81a80d03c17d190b, _templateObject2_4cfc6c801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -65,7 +65,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../utils/util new Promise(function (res, rej) { return _require.default(["../../simple-tooltip/simple-tooltip.js"], res, rej); }); - return (0, _index.html)(_templateObject_83b4ffc01da511ed9d313b9780b2ae17 || (_templateObject_83b4ffc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n Text settings\n \n \n
    \n
    \n \n \n
    \n
    Font Size
    \n
    \n \n \n A\n \n
    \n
    Font Family
    \n
    \n \n Sans\n \n \n Monospace\n \n
    \n
    Theme Color
    \n
    \n \n Light\n \n \n Palenight\n \n \n Dark\n \n
    \n
    \n \n "])), this._bootstrapPath, this.editMode ? "edit-mode-active" : "", this.toggleUserStylesMenu, this.hideUserStylesMenu, this.UserStylesSizeDown, this.UserStylesSizeUp, this.UserStylesFontFamilyChange, this.UserStylesFontFamilyChange, this.UserStylesColorThemeChange, this.UserStylesColorThemeChange, this.UserStylesColorThemeChange); + return (0, _index.html)(_templateObject_4cfc6c801e5811ed81a80d03c17d190b || (_templateObject_4cfc6c801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n Text settings\n \n \n
    \n
    \n \n \n
    \n
    Font Size
    \n
    \n \n \n A\n \n
    \n
    Font Family
    \n
    \n \n Sans\n \n \n Monospace\n \n
    \n
    Theme Color
    \n
    \n \n Light\n \n \n Palenight\n \n \n Dark\n \n
    \n
    \n \n "])), this._bootstrapPath, this.editMode ? "edit-mode-active" : "", this.toggleUserStylesMenu, this.hideUserStylesMenu, this.UserStylesSizeDown, this.UserStylesSizeUp, this.UserStylesFontFamilyChange, this.UserStylesFontFamilyChange, this.UserStylesColorThemeChange, this.UserStylesColorThemeChange, this.UserStylesColorThemeChange); } }, { key: "checkUserStylesMenuOpen", @@ -147,7 +147,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../utils/util styles = babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_83b4ffc01da511ed9d313b9780b2ae17 || (_templateObject2_83b4ffc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n /* bootstrap defaults */\n :host([font-family=\"0\"]) {\n font-family: var(--font-family-sans-serif);\n }\n :host([font-family=\"1\"]) {\n font-family: var(--font-family-monospace);\n }\n :host([font-size=\"0\"]) {\n --haxcms-base-styles-body-font-size: 1.2rem;\n --hax-base-styles-p-font-size: 1.2rem;\n --hax-base-styles-list-font-size: 1.2rem;\n --hax-base-styles-a-font-size: 1.2rem;\n --hax-base-styles-h1-font-size: 2.2rem;\n --hax-base-styles-h2-font-size: 2rem;\n --hax-base-styles-h3-font-size: 1.8rem;\n --hax-base-styles-h4-font-size: 1.6rem;\n --hax-base-styles-h5-font-size: 1.4rem;\n --hax-base-styles-h6-font-size: 1.2rem;\n }\n :host([font-size=\"1\"]) {\n --haxcms-base-styles-body-font-size: 1.4rem;\n --hax-base-styles-p-font-size: 1.4rem;\n --hax-base-styles-list-font-size: 1.4rem;\n --hax-base-styles-a-font-size: 1.4rem;\n --hax-base-styles-h1-font-size: 2.4rem;\n --hax-base-styles-h2-font-size: 2.2rem;\n --hax-base-styles-h3-font-size: 2rem;\n --hax-base-styles-h4-font-size: 1.8rem;\n --hax-base-styles-h5-font-size: 1.6rem;\n --hax-base-styles-h6-font-size: 1.4rem;\n }\n :host([font-size=\"2\"]) {\n --haxcms-base-styles-body-font-size: 1.6rem;\n --hax-base-styles-p-font-size: 1.6rem;\n --hax-base-styles-list-font-size: 1.6rem;\n --hax-base-styles-a-font-size: 1.6rem;\n --hax-base-styles-h1-font-size: 2.6rem;\n --hax-base-styles-h2-font-size: 2.4rem;\n --hax-base-styles-h3-font-size: 2.2rem;\n --hax-base-styles-h4-font-size: 2rem;\n --hax-base-styles-h5-font-size: 1.8rem;\n --hax-base-styles-h6-font-size: 1.6rem;\n }\n :host([font-size=\"3\"]) {\n --haxcms-base-styles-body-font-size: 1.8rem;\n --hax-base-styles-p-font-size: 1.8rem;\n --hax-base-styles-list-font-size: 1.8rem;\n --hax-base-styles-a-font-size: 1.8rem;\n --hax-base-styles-h1-font-size: 2.8rem;\n --hax-base-styles-h2-font-size: 2.6rem;\n --hax-base-styles-h3-font-size: 2.4rem;\n --hax-base-styles-h4-font-size: 2.2rem;\n --hax-base-styles-h5-font-size: 2rem;\n --hax-base-styles-h6-font-size: 1.8rem;\n }\n :host([font-size=\"4\"]) {\n --haxcms-base-styles-body-font-size: 2rem;\n --hax-base-styles-p-font-size: 2rem;\n --hax-base-styles-list-font-size: 2rem;\n --hax-base-styles-a-font-size: 2rem;\n --hax-base-styles-h1-font-size: 3rem;\n --hax-base-styles-h2-font-size: 2.8rem;\n --hax-base-styles-h3-font-size: 2.6rem;\n --hax-base-styles-h4-font-size: 2.4rem;\n --hax-base-styles-h5-font-size: 2.2rem;\n --hax-base-styles-h6-font-size: 2rem;\n }\n :host([color-theme=\"0\"]) {\n --haxcms-user-styles-color-theme-color-color: #000000;\n --haxcms-user-styles-color-theme-color-background: #ffffff;\n --haxcms-user-styles-color-theme-color-1: #252737;\n --haxcms-user-styles-color-theme-color-2: #f5f5f5;\n --haxcms-user-styles-color-theme-color-3: #f5f5f5;\n --haxcms-user-styles-color-theme-color-4: var(\n --simple-colors-default-theme-blue-8,\n #4183c4\n );\n --hax-base-styles-a-color-visited: var(\n --simple-colors-default-theme-blue-7,\n #4183c4\n );\n --hax-base-styles-a-color: var(\n --simple-colors-default-theme-blue-7,\n #4183c4\n );\n --hax-base-styles-a-color-active: #000000;\n }\n\n :host([color-theme=\"0\"]) .hcusm {\n border-color: #222222;\n }\n :host([color-theme=\"0\"]) .hcusm simple-popover {\n --simple-popover-color: #222222;\n --simple-popover-background-color: #fafafa;\n }\n #slot ::slotted(*) {\n font-size: var(--haxcms-base-styles-body-font-size, 1em);\n color: var(--haxcms-user-styles-color-theme-color-color);\n }\n simple-icon-button-lite:not(:defined),\n simple-popover:not(:defined) {\n display: none;\n }\n simple-popover {\n padding: 2px;\n }\n\n .hcusm.open {\n display: block;\n }\n .hcusm {\n min-width: 160px;\n padding: 0;\n margin: 2px 0 0;\n list-style: none;\n font-size: 14px;\n background-color: transparent;\n }\n\n .hcusm button,\n .hcusm select {\n text-transform: none;\n }\n .hcusm button,\n .hcusm input {\n line-height: normal;\n }\n .hcusm button,\n .hcusm input,\n .hcusm select,\n .hcusm textarea {\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n\n .hcusm-settings-container[hidden] {\n display: none;\n }\n\n /*\n * Light Theme\n */\n .btn-size,\n .btn-font {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-light-color);\n }\n\n .btn-size.size-2 {\n font-size: 16px;\n }\n\n /*\n * Dark Theme\n */\n\n :host([color-theme=\"1\"]) {\n --haxcms-user-styles-color-theme-color-color: #ffffff;\n --haxcms-user-styles-color-theme-color-background: #343a40;\n --haxcms-user-styles-color-theme-color-1: #ffffff;\n --haxcms-user-styles-color-theme-color-2: #343a40;\n --haxcms-user-styles-color-theme-color-3: #1c1c1c;\n --haxcms-user-styles-color-theme-color-4: #eee8e0;\n --hax-base-styles-a-color-visited: #551a8b;\n --hax-base-styles-a-color: #704214;\n --hax-base-styles-a-color-active: #000000;\n }\n\n :host([color-theme=\"1\"]) .hcusm {\n border-color: #222222;\n }\n\n :host([color-theme=\"1\"])\n .btn-group\n .btn[type=\"size\"]\n .btn[type=\"font\"] {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-dark-color) !important;\n }\n\n :host([color-theme=\"1\"]) simple-popover {\n --simple-popover-color: white;\n --simple-popover-background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n :host([color-theme=\"1\"]) .hcusm .dropdown-caret .caret-inner {\n border-bottom: 9px solid\n var(--bootstrap-dark-theme-secondary-background-color);\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-buttons {\n border-color: #7e888b;\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-button {\n color: white;\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:hover,\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:focus,\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:active {\n color: #eee8e0;\n }\n\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --haxcms-user-styles-color-theme-color-color: var(\n --simple-colors-default-theme-light-blue-1,\n #cfd4e3\n );\n --haxcms-user-styles-color-theme-color-background: #1c1f2b;\n --haxcms-user-styles-color-theme-color-1: #a6a6a6;\n --haxcms-user-styles-color-theme-color-2: #252737;\n --haxcms-user-styles-color-theme-color-3: #252737;\n --haxcms-user-styles-color-theme-color-4: #f4f4f5;\n --hax-base-styles-a-color-visited: var(\n --simple-colors-default-theme-light-blue-2,\n #3eb1d0\n );\n --hax-base-styles-a-color: var(\n --simple-colors-default-theme-light-blue-2,\n #3eb1d0\n );\n --hax-base-styles-a-color-active: #ffffff;\n }\n\n :host([color-theme=\"2\"]) .hcusm {\n border-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .btn[type=\"size\"] .btn[type=\"font\"] {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) simple-popover {\n --simple-popover-color: white;\n --simple-popover-background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) .hcusm .dropdown-caret .caret-inner {\n border-bottom: 9px solid\n var(--bootstrap-theme-palenight-secondary-background-color);\n }\n\n simple-icon-button-lite {\n color: inherit;\n }\n\n .open {\n text-align: center;\n }\n\n .btn-group-title {\n font-weight: bold;\n }\n\n .btn-palenight {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n color: var(--bootstrap-theme-palenight-color);\n }\n\n /* override bootstrap default */\n .btn-palenight:hover {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n .btn-dark {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n\n .btn-light {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_4cfc6c801e5811ed81a80d03c17d190b || (_templateObject2_4cfc6c801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n /* bootstrap defaults */\n :host([font-family=\"0\"]) {\n font-family: var(--font-family-sans-serif);\n }\n :host([font-family=\"1\"]) {\n font-family: var(--font-family-monospace);\n }\n :host([font-size=\"0\"]) {\n --haxcms-base-styles-body-font-size: 1.2rem;\n --hax-base-styles-p-font-size: 1.2rem;\n --hax-base-styles-list-font-size: 1.2rem;\n --hax-base-styles-a-font-size: 1.2rem;\n --hax-base-styles-h1-font-size: 2.2rem;\n --hax-base-styles-h2-font-size: 2rem;\n --hax-base-styles-h3-font-size: 1.8rem;\n --hax-base-styles-h4-font-size: 1.6rem;\n --hax-base-styles-h5-font-size: 1.4rem;\n --hax-base-styles-h6-font-size: 1.2rem;\n }\n :host([font-size=\"1\"]) {\n --haxcms-base-styles-body-font-size: 1.4rem;\n --hax-base-styles-p-font-size: 1.4rem;\n --hax-base-styles-list-font-size: 1.4rem;\n --hax-base-styles-a-font-size: 1.4rem;\n --hax-base-styles-h1-font-size: 2.4rem;\n --hax-base-styles-h2-font-size: 2.2rem;\n --hax-base-styles-h3-font-size: 2rem;\n --hax-base-styles-h4-font-size: 1.8rem;\n --hax-base-styles-h5-font-size: 1.6rem;\n --hax-base-styles-h6-font-size: 1.4rem;\n }\n :host([font-size=\"2\"]) {\n --haxcms-base-styles-body-font-size: 1.6rem;\n --hax-base-styles-p-font-size: 1.6rem;\n --hax-base-styles-list-font-size: 1.6rem;\n --hax-base-styles-a-font-size: 1.6rem;\n --hax-base-styles-h1-font-size: 2.6rem;\n --hax-base-styles-h2-font-size: 2.4rem;\n --hax-base-styles-h3-font-size: 2.2rem;\n --hax-base-styles-h4-font-size: 2rem;\n --hax-base-styles-h5-font-size: 1.8rem;\n --hax-base-styles-h6-font-size: 1.6rem;\n }\n :host([font-size=\"3\"]) {\n --haxcms-base-styles-body-font-size: 1.8rem;\n --hax-base-styles-p-font-size: 1.8rem;\n --hax-base-styles-list-font-size: 1.8rem;\n --hax-base-styles-a-font-size: 1.8rem;\n --hax-base-styles-h1-font-size: 2.8rem;\n --hax-base-styles-h2-font-size: 2.6rem;\n --hax-base-styles-h3-font-size: 2.4rem;\n --hax-base-styles-h4-font-size: 2.2rem;\n --hax-base-styles-h5-font-size: 2rem;\n --hax-base-styles-h6-font-size: 1.8rem;\n }\n :host([font-size=\"4\"]) {\n --haxcms-base-styles-body-font-size: 2rem;\n --hax-base-styles-p-font-size: 2rem;\n --hax-base-styles-list-font-size: 2rem;\n --hax-base-styles-a-font-size: 2rem;\n --hax-base-styles-h1-font-size: 3rem;\n --hax-base-styles-h2-font-size: 2.8rem;\n --hax-base-styles-h3-font-size: 2.6rem;\n --hax-base-styles-h4-font-size: 2.4rem;\n --hax-base-styles-h5-font-size: 2.2rem;\n --hax-base-styles-h6-font-size: 2rem;\n }\n :host([color-theme=\"0\"]) {\n --haxcms-user-styles-color-theme-color-color: #000000;\n --haxcms-user-styles-color-theme-color-background: #ffffff;\n --haxcms-user-styles-color-theme-color-1: #252737;\n --haxcms-user-styles-color-theme-color-2: #f5f5f5;\n --haxcms-user-styles-color-theme-color-3: #f5f5f5;\n --haxcms-user-styles-color-theme-color-4: var(\n --simple-colors-default-theme-blue-8,\n #4183c4\n );\n --hax-base-styles-a-color-visited: var(\n --simple-colors-default-theme-blue-7,\n #4183c4\n );\n --hax-base-styles-a-color: var(\n --simple-colors-default-theme-blue-7,\n #4183c4\n );\n --hax-base-styles-a-color-active: #000000;\n }\n\n :host([color-theme=\"0\"]) .hcusm {\n border-color: #222222;\n }\n :host([color-theme=\"0\"]) .hcusm simple-popover {\n --simple-popover-color: #222222;\n --simple-popover-background-color: #fafafa;\n }\n #slot ::slotted(*) {\n font-size: var(--haxcms-base-styles-body-font-size, 1em);\n color: var(--haxcms-user-styles-color-theme-color-color);\n }\n simple-icon-button-lite:not(:defined),\n simple-popover:not(:defined) {\n display: none;\n }\n simple-popover {\n padding: 2px;\n }\n\n .hcusm.open {\n display: block;\n }\n .hcusm {\n min-width: 160px;\n padding: 0;\n margin: 2px 0 0;\n list-style: none;\n font-size: 14px;\n background-color: transparent;\n }\n\n .hcusm button,\n .hcusm select {\n text-transform: none;\n }\n .hcusm button,\n .hcusm input {\n line-height: normal;\n }\n .hcusm button,\n .hcusm input,\n .hcusm select,\n .hcusm textarea {\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n\n .hcusm-settings-container[hidden] {\n display: none;\n }\n\n /*\n * Light Theme\n */\n .btn-size,\n .btn-font {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-light-color);\n }\n\n .btn-size.size-2 {\n font-size: 16px;\n }\n\n /*\n * Dark Theme\n */\n\n :host([color-theme=\"1\"]) {\n --haxcms-user-styles-color-theme-color-color: #ffffff;\n --haxcms-user-styles-color-theme-color-background: #343a40;\n --haxcms-user-styles-color-theme-color-1: #ffffff;\n --haxcms-user-styles-color-theme-color-2: #343a40;\n --haxcms-user-styles-color-theme-color-3: #1c1c1c;\n --haxcms-user-styles-color-theme-color-4: #eee8e0;\n --hax-base-styles-a-color-visited: #551a8b;\n --hax-base-styles-a-color: #704214;\n --hax-base-styles-a-color-active: #000000;\n }\n\n :host([color-theme=\"1\"]) .hcusm {\n border-color: #222222;\n }\n\n :host([color-theme=\"1\"])\n .btn-group\n .btn[type=\"size\"]\n .btn[type=\"font\"] {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-dark-color) !important;\n }\n\n :host([color-theme=\"1\"]) simple-popover {\n --simple-popover-color: white;\n --simple-popover-background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n :host([color-theme=\"1\"]) .hcusm .dropdown-caret .caret-inner {\n border-bottom: 9px solid\n var(--bootstrap-dark-theme-secondary-background-color);\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-buttons {\n border-color: #7e888b;\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-button {\n color: white;\n }\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:hover,\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:focus,\n :host([color-theme=\"1\"]) .hcusm .hcusm-button:active {\n color: #eee8e0;\n }\n\n /* palenight theme */\n :host([color-theme=\"2\"]) {\n --haxcms-user-styles-color-theme-color-color: var(\n --simple-colors-default-theme-light-blue-1,\n #cfd4e3\n );\n --haxcms-user-styles-color-theme-color-background: #1c1f2b;\n --haxcms-user-styles-color-theme-color-1: #a6a6a6;\n --haxcms-user-styles-color-theme-color-2: #252737;\n --haxcms-user-styles-color-theme-color-3: #252737;\n --haxcms-user-styles-color-theme-color-4: #f4f4f5;\n --hax-base-styles-a-color-visited: var(\n --simple-colors-default-theme-light-blue-2,\n #3eb1d0\n );\n --hax-base-styles-a-color: var(\n --simple-colors-default-theme-light-blue-2,\n #3eb1d0\n );\n --hax-base-styles-a-color-active: #ffffff;\n }\n\n :host([color-theme=\"2\"]) .hcusm {\n border-color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) .btn[type=\"size\"] .btn[type=\"font\"] {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n color: var(--bootstrap-theme-palenight-background-color);\n }\n\n :host([color-theme=\"2\"]) simple-popover {\n --simple-popover-color: white;\n --simple-popover-background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n }\n\n :host([color-theme=\"2\"]) .hcusm .dropdown-caret .caret-inner {\n border-bottom: 9px solid\n var(--bootstrap-theme-palenight-secondary-background-color);\n }\n\n simple-icon-button-lite {\n color: inherit;\n }\n\n .open {\n text-align: center;\n }\n\n .btn-group-title {\n font-weight: bold;\n }\n\n .btn-palenight {\n background-color: var(\n --bootstrap-theme-palenight-secondary-background-color\n );\n color: var(--bootstrap-theme-palenight-color);\n }\n\n /* override bootstrap default */\n .btn-palenight:hover {\n color: var(--bootstrap-theme-palenight-color);\n }\n\n .btn-dark {\n background-color: var(\n --bootstrap-theme-dark-secondary-background-color\n );\n }\n\n .btn-light {\n background-color: var(\n --bootstrap-theme-light-secondary-background-color\n );\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/chartist-render/chartist-render.js b/build/es5-amd/node_modules/@lrnwebcomponents/chartist-render/chartist-render.js index 37c54d49843..aad514eec01 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/chartist-render/chartist-render.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/chartist-render/chartist-render.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../utils/utils.js", "../es-glo _exports.ChartistRenderSuper = _exports.ChartistRender = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3ee46c001da511ed9d313b9780b2ae17, _templateObject2_3ee46c001da511ed9d313b9780b2ae17; + var _templateObject_1106b1401e5811ed81a80d03c17d190b, _templateObject2_1106b1401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -79,7 +79,7 @@ define(["exports", "meta", "../../lit/index.js", "../utils/utils.js", "../es-glo key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3ee46c001da511ed9d313b9780b2ae17 || (_templateObject_3ee46c001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n ", "\n \n
    \n
    \n ", "\n \n
    \n \n \n \n "])), this.__chartId, this.chartTitle, this.__chartId, this.chartDesc, this.__chartId, this.__chartId, this.__chartId, this.__chartId, this.scale, this.__chartId, this.showTable ? "table" : "table sr-only"); + return (0, _index.html)(_templateObject_1106b1401e5811ed81a80d03c17d190b || (_templateObject_1106b1401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n ", "\n \n
    \n
    \n ", "\n \n
    \n \n \n \n "])), this.__chartId, this.chartTitle, this.__chartId, this.chartDesc, this.__chartId, this.__chartId, this.__chartId, this.__chartId, this.scale, this.__chartId, this.showTable ? "table" : "table sr-only"); } // properties available to the custom element for data binding }, { @@ -478,7 +478,7 @@ define(["exports", "meta", "../../lit/index.js", "../utils/utils.js", "../es-glo key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_3ee46c001da511ed9d313b9780b2ae17 || (_templateObject2_3ee46c001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n .ct-label {\n fill: rgba(0, 0, 0, 0.4);\n color: rgba(0, 0, 0, 0.4);\n font-size: 0.75rem;\n line-height: 1;\n }\n\n .ct-chart-line .ct-label,\n .ct-chart-bar .ct-label {\n display: block;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n\n .ct-chart-pie .ct-label,\n .ct-chart-donut .ct-label {\n dominant-baseline: central;\n }\n\n .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-label.ct-vertical.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-end;\n -webkit-justify-content: flex-end;\n -ms-flex-pack: flex-end;\n justify-content: flex-end;\n text-align: right;\n text-anchor: end;\n }\n\n .ct-label.ct-vertical.ct-end {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n text-align: center;\n text-anchor: start;\n }\n\n .ct-chart-bar .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n text-align: center;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: flex-end;\n -webkit-justify-content: flex-end;\n -ms-flex-pack: flex-end;\n justify-content: flex-end;\n text-align: right;\n text-anchor: end;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: end;\n }\n\n .ct-grid {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-width: 1px;\n stroke-dasharray: 2px;\n }\n\n .ct-grid-background {\n fill: none;\n }\n\n .ct-point {\n stroke-width: 10px;\n stroke-linecap: round;\n }\n\n .ct-line {\n fill: none;\n stroke-width: 4px;\n }\n\n .ct-area {\n stroke: none;\n fill-opacity: 0.1;\n }\n\n .ct-bar {\n fill: none;\n stroke-width: 10px;\n }\n\n .ct-slice-donut {\n fill: none;\n stroke-width: 60px;\n }\n\n .ct-series-a .ct-point,\n .ct-series-a .ct-line,\n .ct-series-a .ct-bar,\n .ct-series-a .ct-slice-donut {\n stroke: #d70206;\n }\n\n .ct-series-a .ct-slice-pie,\n .ct-series-a .ct-slice-donut-solid,\n .ct-series-a .ct-area {\n fill: #d70206;\n }\n\n .ct-series-b .ct-point,\n .ct-series-b .ct-line,\n .ct-series-b .ct-bar,\n .ct-series-b .ct-slice-donut {\n stroke: #f05b4f;\n }\n\n .ct-series-b .ct-slice-pie,\n .ct-series-b .ct-slice-donut-solid,\n .ct-series-b .ct-area {\n fill: #f05b4f;\n }\n\n .ct-series-c .ct-point,\n .ct-series-c .ct-line,\n .ct-series-c .ct-bar,\n .ct-series-c .ct-slice-donut {\n stroke: #f4c63d;\n }\n\n .ct-series-c .ct-slice-pie,\n .ct-series-c .ct-slice-donut-solid,\n .ct-series-c .ct-area {\n fill: #f4c63d;\n }\n\n .ct-series-d .ct-point,\n .ct-series-d .ct-line,\n .ct-series-d .ct-bar,\n .ct-series-d .ct-slice-donut {\n stroke: #d17905;\n }\n\n .ct-series-d .ct-slice-pie,\n .ct-series-d .ct-slice-donut-solid,\n .ct-series-d .ct-area {\n fill: #d17905;\n }\n\n .ct-series-e .ct-point,\n .ct-series-e .ct-line,\n .ct-series-e .ct-bar,\n .ct-series-e .ct-slice-donut {\n stroke: #453d3f;\n }\n\n .ct-series-e .ct-slice-pie,\n .ct-series-e .ct-slice-donut-solid,\n .ct-series-e .ct-area {\n fill: #453d3f;\n }\n\n .ct-series-f .ct-point,\n .ct-series-f .ct-line,\n .ct-series-f .ct-bar,\n .ct-series-f .ct-slice-donut {\n stroke: #59922b;\n }\n\n .ct-series-f .ct-slice-pie,\n .ct-series-f .ct-slice-donut-solid,\n .ct-series-f .ct-area {\n fill: #59922b;\n }\n\n .ct-series-g .ct-point,\n .ct-series-g .ct-line,\n .ct-series-g .ct-bar,\n .ct-series-g .ct-slice-donut {\n stroke: #0544d3;\n }\n\n .ct-series-g .ct-slice-pie,\n .ct-series-g .ct-slice-donut-solid,\n .ct-series-g .ct-area {\n fill: #0544d3;\n }\n\n .ct-series-h .ct-point,\n .ct-series-h .ct-line,\n .ct-series-h .ct-bar,\n .ct-series-h .ct-slice-donut {\n stroke: #6b0392;\n }\n\n .ct-series-h .ct-slice-pie,\n .ct-series-h .ct-slice-donut-solid,\n .ct-series-h .ct-area {\n fill: #6b0392;\n }\n\n .ct-series-i .ct-point,\n .ct-series-i .ct-line,\n .ct-series-i .ct-bar,\n .ct-series-i .ct-slice-donut {\n stroke: #f05b4f;\n }\n\n .ct-series-i .ct-slice-pie,\n .ct-series-i .ct-slice-donut-solid,\n .ct-series-i .ct-area {\n fill: #f05b4f;\n }\n\n .ct-series-j .ct-point,\n .ct-series-j .ct-line,\n .ct-series-j .ct-bar,\n .ct-series-j .ct-slice-donut {\n stroke: #dda458;\n }\n\n .ct-series-j .ct-slice-pie,\n .ct-series-j .ct-slice-donut-solid,\n .ct-series-j .ct-area {\n fill: #dda458;\n }\n\n .ct-series-k .ct-point,\n .ct-series-k .ct-line,\n .ct-series-k .ct-bar,\n .ct-series-k .ct-slice-donut {\n stroke: #eacf7d;\n }\n\n .ct-series-k .ct-slice-pie,\n .ct-series-k .ct-slice-donut-solid,\n .ct-series-k .ct-area {\n fill: #eacf7d;\n }\n\n .ct-series-l .ct-point,\n .ct-series-l .ct-line,\n .ct-series-l .ct-bar,\n .ct-series-l .ct-slice-donut {\n stroke: #86797d;\n }\n\n .ct-series-l .ct-slice-pie,\n .ct-series-l .ct-slice-donut-solid,\n .ct-series-l .ct-area {\n fill: #86797d;\n }\n\n .ct-series-m .ct-point,\n .ct-series-m .ct-line,\n .ct-series-m .ct-bar,\n .ct-series-m .ct-slice-donut {\n stroke: #b2c326;\n }\n\n .ct-series-m .ct-slice-pie,\n .ct-series-m .ct-slice-donut-solid,\n .ct-series-m .ct-area {\n fill: #b2c326;\n }\n\n .ct-series-n .ct-point,\n .ct-series-n .ct-line,\n .ct-series-n .ct-bar,\n .ct-series-n .ct-slice-donut {\n stroke: #6188e2;\n }\n\n .ct-series-n .ct-slice-pie,\n .ct-series-n .ct-slice-donut-solid,\n .ct-series-n .ct-area {\n fill: #6188e2;\n }\n\n .ct-series-o .ct-point,\n .ct-series-o .ct-line,\n .ct-series-o .ct-bar,\n .ct-series-o .ct-slice-donut {\n stroke: #a748ca;\n }\n\n .ct-series-o .ct-slice-pie,\n .ct-series-o .ct-slice-donut-solid,\n .ct-series-o .ct-area {\n fill: #a748ca;\n }\n\n .ct-square {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-square:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 100%;\n }\n .ct-square:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-square > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-second {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-second:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 93.75%;\n }\n .ct-minor-second:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-second > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-second {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-second:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 88.88889%;\n }\n .ct-major-second:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-second > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-third {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-third:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 83.33333%;\n }\n .ct-minor-third:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-third > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-third {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-third:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 80%;\n }\n .ct-major-third:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-third > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-perfect-fourth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-perfect-fourth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 75%;\n }\n .ct-perfect-fourth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-perfect-fourth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-perfect-fifth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-perfect-fifth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 66.66667%;\n }\n .ct-perfect-fifth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-perfect-fifth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-sixth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-sixth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 62.5%;\n }\n .ct-minor-sixth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-sixth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-golden-section {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-golden-section:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 61.8047%;\n }\n .ct-golden-section:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-golden-section > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-sixth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-sixth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 60%;\n }\n .ct-major-sixth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-sixth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-seventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-seventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 56.25%;\n }\n .ct-minor-seventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-seventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-seventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-seventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 53.33333%;\n }\n .ct-major-seventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-seventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-octave {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-octave:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 50%;\n }\n .ct-octave:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-octave > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-tenth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-tenth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 40%;\n }\n .ct-major-tenth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-tenth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-eleventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-eleventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 37.5%;\n }\n .ct-major-eleventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-eleventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-twelfth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-twelfth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 33.33333%;\n }\n .ct-major-twelfth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-twelfth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-double-octave {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-double-octave:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 25%;\n }\n .ct-double-octave:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-double-octave > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n :host {\n display: block;\n width: 100%;\n padding: var(--chartist-padding, 0px);\n margin: var(--chartist-margin, 15px 0);\n background-color: var(--chartist-bg-color, transparent);\n color: var(--chartist-text-color, #000);\n }\n\n .sr-only {\n position: absolute;\n left: -999999px;\n height: 0;\n overflow: hidden;\n }\n\n .ct-axis-title {\n fill: var(--chartist-text-color);\n }\n\n ::slotted(table) {\n border: 1px solid var(--chartist-text-color);\n border-collapse: collapse;\n width: 100%;\n max-width: 100%;\n overflow: auto;\n }\n\n .ct-label {\n fill: var(--chartist-text-color, #000);\n color: var(--chartist-text-color, #000);\n font-size: var(--chartist-text-size, 0.75rem);\n line-height: var(--chartist-line-height, 1);\n }\n\n .ct-grid {\n stroke: var(--chartist-grid-color, rgba(0, 0, 0, 0.2));\n stroke-width: 1px;\n stroke-dasharray: 2px;\n }\n\n .ct-series-a .ct-point,\n .ct-series-a .ct-line,\n .ct-series-a .ct-bar,\n .ct-series-a .ct-slice-donut {\n stroke: var(--chartist-color-1, #d70206);\n }\n\n .ct-series-a .ct-slice-pie,\n .ct-series-a .ct-slice-donut-solid,\n .ct-series-a .ct-area {\n fill: var(--chartist-color-1, #d70206);\n }\n\n .ct-series-b .ct-point,\n .ct-series-b .ct-line,\n .ct-series-b .ct-bar,\n .ct-series-b .ct-slice-donut {\n stroke: var(--chartist-color-2, #f05b4f);\n }\n\n .ct-series-b .ct-slice-pie,\n .ct-series-b .ct-slice-donut-solid,\n .ct-series-b .ct-area {\n fill: var(--chartist-color-2, #f05b4f);\n }\n\n .ct-series-c .ct-point,\n .ct-series-c .ct-line,\n .ct-series-c .ct-bar,\n .ct-series-c .ct-slice-donut {\n stroke: var(--chartist-color-3, #f4c63d);\n }\n\n .ct-series-c .ct-slice-pie,\n .ct-series-c .ct-slice-donut-solid,\n .ct-series-c .ct-area {\n fill: var(--chartist-color-3, #f4c63d);\n }\n\n .ct-series-d .ct-point,\n .ct-series-d .ct-line,\n .ct-series-d .ct-bar,\n .ct-series-d .ct-slice-donut {\n stroke: var(--chartist-color-4, #d17905);\n }\n\n .ct-series-d .ct-slice-pie,\n .ct-series-d .ct-slice-donut-solid,\n .ct-series-d .ct-area {\n fill: var(--chartist-color-4, #d17905);\n }\n\n .ct-series-e .ct-point,\n .ct-series-e .ct-line,\n .ct-series-e .ct-bar,\n .ct-series-e .ct-slice-donut {\n stroke: var(--chartist-color-5, #453d3f);\n }\n\n .ct-series-e .ct-slice-pie,\n .ct-series-e .ct-slice-donut-solid,\n .ct-series-e .ct-area {\n fill: var(--chartist-color-5, #453d3f);\n }\n\n .ct-series-f .ct-point,\n .ct-series-f .ct-line,\n .ct-series-f .ct-bar,\n .ct-series-f .ct-slice-donut {\n stroke: var(--chartist-color-6, #59922b);\n }\n\n .ct-series-f .ct-slice-pie,\n .ct-series-f .ct-slice-donut-solid,\n .ct-series-f .ct-area {\n fill: var(--chartist-color-6, #59922b);\n }\n\n .ct-series-g .ct-point,\n .ct-series-g .ct-line,\n .ct-series-g .ct-bar,\n .ct-series-g .ct-slice-donut {\n stroke: var(--chartist-color-7, #0544d3);\n }\n\n .ct-series-g .ct-slice-pie,\n .ct-series-g .ct-slice-donut-solid,\n .ct-series-g .ct-area {\n fill: var(--chartist-color-7, #0544d3);\n }\n\n .ct-series-h .ct-point,\n .ct-series-h .ct-line,\n .ct-series-h .ct-bar,\n .ct-series-h .ct-slice-donut {\n stroke: var(--chartist-color-8, #6b0392);\n }\n\n .ct-series-h .ct-slice-pie,\n .ct-series-h .ct-slice-donut-solid,\n .ct-series-h .ct-area {\n fill: var(--chartist-color-8, #6b0392);\n }\n\n .ct-series-i .ct-point,\n .ct-series-i .ct-line,\n .ct-series-i .ct-bar,\n .ct-series-i .ct-slice-donut {\n stroke: var(--chartist-color-9, #f05b4f);\n }\n\n .ct-series-i .ct-slice-pie,\n .ct-series-i .ct-slice-donut-solid,\n .ct-series-i .ct-area {\n fill: var(--chartist-color-9, #f05b4f);\n }\n\n .ct-series-j .ct-point,\n .ct-series-j .ct-line,\n .ct-series-j .ct-bar,\n .ct-series-j .ct-slice-donut {\n stroke: var(--chartist-color-10, #dda458);\n }\n\n .ct-series-j .ct-slice-pie,\n .ct-series-j .ct-slice-donut-solid,\n .ct-series-j .ct-area {\n fill: var(--chartist-color-10, #dda458);\n }\n\n .ct-series-k .ct-point,\n .ct-series-k .ct-line,\n .ct-series-k .ct-bar,\n .ct-series-k .ct-slice-donut {\n stroke: var(--chartist-color-11, #eacf7d);\n }\n\n .ct-series-k .ct-slice-pie,\n .ct-series-k .ct-slice-donut-solid,\n .ct-series-k .ct-area {\n fill: var(--chartist-color-11, #eacf7d);\n }\n\n .ct-series-l .ct-point,\n .ct-series-l .ct-line,\n .ct-series-l .ct-bar,\n .ct-series-l .ct-slice-donut {\n stroke: var(--chartist-color-12, #86797d);\n }\n\n .ct-series-l .ct-slice-pie,\n .ct-series-l .ct-slice-donut-solid,\n .ct-series-l .ct-area {\n fill: var(--chartist-color-12, #86797d);\n }\n\n .ct-series-m .ct-point,\n .ct-series-m .ct-line,\n .ct-series-m .ct-bar,\n .ct-series-m .ct-slice-donut {\n stroke: var(--chartist-color-13, #b2c326);\n }\n\n .ct-series-m .ct-slice-pie,\n .ct-series-m .ct-slice-donut-solid,\n .ct-series-m .ct-area {\n fill: var(--chartist-color-13, #b2c326);\n }\n\n .ct-series-n .ct-point,\n .ct-series-n .ct-line,\n .ct-series-n .ct-bar,\n .ct-series-n .ct-slice-donut {\n stroke: var(--chartist-color-14, #6188e2);\n }\n\n .ct-series-n .ct-slice-pie,\n .ct-series-n .ct-slice-donut-solid,\n .ct-series-n .ct-area {\n fill: var(--chartist-color-14, #6188e2);\n }\n\n .ct-series-o .ct-point,\n .ct-series-o .ct-line,\n .ct-series-o .ct-bar,\n .ct-series-o .ct-slice-donut {\n stroke: var(--chartist-color-15, #a748ca);\n }\n\n .ct-series-o .ct-slice-pie,\n .ct-series-o .ct-slice-donut-solid,\n .ct-series-o .ct-area {\n fill: var(--chartist-color-15, #a748ca);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1106b1401e5811ed81a80d03c17d190b || (_templateObject2_1106b1401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n .ct-label {\n fill: rgba(0, 0, 0, 0.4);\n color: rgba(0, 0, 0, 0.4);\n font-size: 0.75rem;\n line-height: 1;\n }\n\n .ct-chart-line .ct-label,\n .ct-chart-bar .ct-label {\n display: block;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n\n .ct-chart-pie .ct-label,\n .ct-chart-donut .ct-label {\n dominant-baseline: central;\n }\n\n .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-label.ct-vertical.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-end;\n -webkit-justify-content: flex-end;\n -ms-flex-pack: flex-end;\n justify-content: flex-end;\n text-align: right;\n text-anchor: end;\n }\n\n .ct-label.ct-vertical.ct-end {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n text-align: center;\n text-anchor: start;\n }\n\n .ct-chart-bar .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n -ms-flex-pack: center;\n justify-content: center;\n text-align: center;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start {\n -webkit-box-align: flex-end;\n -webkit-align-items: flex-end;\n -ms-flex-align: flex-end;\n align-items: flex-end;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end {\n -webkit-box-align: flex-start;\n -webkit-align-items: flex-start;\n -ms-flex-align: flex-start;\n align-items: flex-start;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: start;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: flex-end;\n -webkit-justify-content: flex-end;\n -ms-flex-pack: flex-end;\n justify-content: flex-end;\n text-align: right;\n text-anchor: end;\n }\n\n .ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end {\n -webkit-box-align: center;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: flex-start;\n -webkit-justify-content: flex-start;\n -ms-flex-pack: flex-start;\n justify-content: flex-start;\n text-align: left;\n text-anchor: end;\n }\n\n .ct-grid {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-width: 1px;\n stroke-dasharray: 2px;\n }\n\n .ct-grid-background {\n fill: none;\n }\n\n .ct-point {\n stroke-width: 10px;\n stroke-linecap: round;\n }\n\n .ct-line {\n fill: none;\n stroke-width: 4px;\n }\n\n .ct-area {\n stroke: none;\n fill-opacity: 0.1;\n }\n\n .ct-bar {\n fill: none;\n stroke-width: 10px;\n }\n\n .ct-slice-donut {\n fill: none;\n stroke-width: 60px;\n }\n\n .ct-series-a .ct-point,\n .ct-series-a .ct-line,\n .ct-series-a .ct-bar,\n .ct-series-a .ct-slice-donut {\n stroke: #d70206;\n }\n\n .ct-series-a .ct-slice-pie,\n .ct-series-a .ct-slice-donut-solid,\n .ct-series-a .ct-area {\n fill: #d70206;\n }\n\n .ct-series-b .ct-point,\n .ct-series-b .ct-line,\n .ct-series-b .ct-bar,\n .ct-series-b .ct-slice-donut {\n stroke: #f05b4f;\n }\n\n .ct-series-b .ct-slice-pie,\n .ct-series-b .ct-slice-donut-solid,\n .ct-series-b .ct-area {\n fill: #f05b4f;\n }\n\n .ct-series-c .ct-point,\n .ct-series-c .ct-line,\n .ct-series-c .ct-bar,\n .ct-series-c .ct-slice-donut {\n stroke: #f4c63d;\n }\n\n .ct-series-c .ct-slice-pie,\n .ct-series-c .ct-slice-donut-solid,\n .ct-series-c .ct-area {\n fill: #f4c63d;\n }\n\n .ct-series-d .ct-point,\n .ct-series-d .ct-line,\n .ct-series-d .ct-bar,\n .ct-series-d .ct-slice-donut {\n stroke: #d17905;\n }\n\n .ct-series-d .ct-slice-pie,\n .ct-series-d .ct-slice-donut-solid,\n .ct-series-d .ct-area {\n fill: #d17905;\n }\n\n .ct-series-e .ct-point,\n .ct-series-e .ct-line,\n .ct-series-e .ct-bar,\n .ct-series-e .ct-slice-donut {\n stroke: #453d3f;\n }\n\n .ct-series-e .ct-slice-pie,\n .ct-series-e .ct-slice-donut-solid,\n .ct-series-e .ct-area {\n fill: #453d3f;\n }\n\n .ct-series-f .ct-point,\n .ct-series-f .ct-line,\n .ct-series-f .ct-bar,\n .ct-series-f .ct-slice-donut {\n stroke: #59922b;\n }\n\n .ct-series-f .ct-slice-pie,\n .ct-series-f .ct-slice-donut-solid,\n .ct-series-f .ct-area {\n fill: #59922b;\n }\n\n .ct-series-g .ct-point,\n .ct-series-g .ct-line,\n .ct-series-g .ct-bar,\n .ct-series-g .ct-slice-donut {\n stroke: #0544d3;\n }\n\n .ct-series-g .ct-slice-pie,\n .ct-series-g .ct-slice-donut-solid,\n .ct-series-g .ct-area {\n fill: #0544d3;\n }\n\n .ct-series-h .ct-point,\n .ct-series-h .ct-line,\n .ct-series-h .ct-bar,\n .ct-series-h .ct-slice-donut {\n stroke: #6b0392;\n }\n\n .ct-series-h .ct-slice-pie,\n .ct-series-h .ct-slice-donut-solid,\n .ct-series-h .ct-area {\n fill: #6b0392;\n }\n\n .ct-series-i .ct-point,\n .ct-series-i .ct-line,\n .ct-series-i .ct-bar,\n .ct-series-i .ct-slice-donut {\n stroke: #f05b4f;\n }\n\n .ct-series-i .ct-slice-pie,\n .ct-series-i .ct-slice-donut-solid,\n .ct-series-i .ct-area {\n fill: #f05b4f;\n }\n\n .ct-series-j .ct-point,\n .ct-series-j .ct-line,\n .ct-series-j .ct-bar,\n .ct-series-j .ct-slice-donut {\n stroke: #dda458;\n }\n\n .ct-series-j .ct-slice-pie,\n .ct-series-j .ct-slice-donut-solid,\n .ct-series-j .ct-area {\n fill: #dda458;\n }\n\n .ct-series-k .ct-point,\n .ct-series-k .ct-line,\n .ct-series-k .ct-bar,\n .ct-series-k .ct-slice-donut {\n stroke: #eacf7d;\n }\n\n .ct-series-k .ct-slice-pie,\n .ct-series-k .ct-slice-donut-solid,\n .ct-series-k .ct-area {\n fill: #eacf7d;\n }\n\n .ct-series-l .ct-point,\n .ct-series-l .ct-line,\n .ct-series-l .ct-bar,\n .ct-series-l .ct-slice-donut {\n stroke: #86797d;\n }\n\n .ct-series-l .ct-slice-pie,\n .ct-series-l .ct-slice-donut-solid,\n .ct-series-l .ct-area {\n fill: #86797d;\n }\n\n .ct-series-m .ct-point,\n .ct-series-m .ct-line,\n .ct-series-m .ct-bar,\n .ct-series-m .ct-slice-donut {\n stroke: #b2c326;\n }\n\n .ct-series-m .ct-slice-pie,\n .ct-series-m .ct-slice-donut-solid,\n .ct-series-m .ct-area {\n fill: #b2c326;\n }\n\n .ct-series-n .ct-point,\n .ct-series-n .ct-line,\n .ct-series-n .ct-bar,\n .ct-series-n .ct-slice-donut {\n stroke: #6188e2;\n }\n\n .ct-series-n .ct-slice-pie,\n .ct-series-n .ct-slice-donut-solid,\n .ct-series-n .ct-area {\n fill: #6188e2;\n }\n\n .ct-series-o .ct-point,\n .ct-series-o .ct-line,\n .ct-series-o .ct-bar,\n .ct-series-o .ct-slice-donut {\n stroke: #a748ca;\n }\n\n .ct-series-o .ct-slice-pie,\n .ct-series-o .ct-slice-donut-solid,\n .ct-series-o .ct-area {\n fill: #a748ca;\n }\n\n .ct-square {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-square:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 100%;\n }\n .ct-square:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-square > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-second {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-second:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 93.75%;\n }\n .ct-minor-second:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-second > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-second {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-second:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 88.88889%;\n }\n .ct-major-second:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-second > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-third {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-third:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 83.33333%;\n }\n .ct-minor-third:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-third > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-third {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-third:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 80%;\n }\n .ct-major-third:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-third > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-perfect-fourth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-perfect-fourth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 75%;\n }\n .ct-perfect-fourth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-perfect-fourth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-perfect-fifth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-perfect-fifth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 66.66667%;\n }\n .ct-perfect-fifth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-perfect-fifth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-sixth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-sixth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 62.5%;\n }\n .ct-minor-sixth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-sixth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-golden-section {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-golden-section:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 61.8047%;\n }\n .ct-golden-section:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-golden-section > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-sixth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-sixth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 60%;\n }\n .ct-major-sixth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-sixth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-minor-seventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-minor-seventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 56.25%;\n }\n .ct-minor-seventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-minor-seventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-seventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-seventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 53.33333%;\n }\n .ct-major-seventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-seventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-octave {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-octave:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 50%;\n }\n .ct-octave:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-octave > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-tenth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-tenth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 40%;\n }\n .ct-major-tenth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-tenth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-eleventh {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-eleventh:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 37.5%;\n }\n .ct-major-eleventh:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-eleventh > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-major-twelfth {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-major-twelfth:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 33.33333%;\n }\n .ct-major-twelfth:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-major-twelfth > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .ct-double-octave {\n display: block;\n position: relative;\n width: 100%;\n }\n .ct-double-octave:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: 25%;\n }\n .ct-double-octave:after {\n content: \"\";\n display: table;\n clear: both;\n }\n .ct-double-octave > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n :host {\n display: block;\n width: 100%;\n padding: var(--chartist-padding, 0px);\n margin: var(--chartist-margin, 15px 0);\n background-color: var(--chartist-bg-color, transparent);\n color: var(--chartist-text-color, #000);\n }\n\n .sr-only {\n position: absolute;\n left: -999999px;\n height: 0;\n overflow: hidden;\n }\n\n .ct-axis-title {\n fill: var(--chartist-text-color);\n }\n\n ::slotted(table) {\n border: 1px solid var(--chartist-text-color);\n border-collapse: collapse;\n width: 100%;\n max-width: 100%;\n overflow: auto;\n }\n\n .ct-label {\n fill: var(--chartist-text-color, #000);\n color: var(--chartist-text-color, #000);\n font-size: var(--chartist-text-size, 0.75rem);\n line-height: var(--chartist-line-height, 1);\n }\n\n .ct-grid {\n stroke: var(--chartist-grid-color, rgba(0, 0, 0, 0.2));\n stroke-width: 1px;\n stroke-dasharray: 2px;\n }\n\n .ct-series-a .ct-point,\n .ct-series-a .ct-line,\n .ct-series-a .ct-bar,\n .ct-series-a .ct-slice-donut {\n stroke: var(--chartist-color-1, #d70206);\n }\n\n .ct-series-a .ct-slice-pie,\n .ct-series-a .ct-slice-donut-solid,\n .ct-series-a .ct-area {\n fill: var(--chartist-color-1, #d70206);\n }\n\n .ct-series-b .ct-point,\n .ct-series-b .ct-line,\n .ct-series-b .ct-bar,\n .ct-series-b .ct-slice-donut {\n stroke: var(--chartist-color-2, #f05b4f);\n }\n\n .ct-series-b .ct-slice-pie,\n .ct-series-b .ct-slice-donut-solid,\n .ct-series-b .ct-area {\n fill: var(--chartist-color-2, #f05b4f);\n }\n\n .ct-series-c .ct-point,\n .ct-series-c .ct-line,\n .ct-series-c .ct-bar,\n .ct-series-c .ct-slice-donut {\n stroke: var(--chartist-color-3, #f4c63d);\n }\n\n .ct-series-c .ct-slice-pie,\n .ct-series-c .ct-slice-donut-solid,\n .ct-series-c .ct-area {\n fill: var(--chartist-color-3, #f4c63d);\n }\n\n .ct-series-d .ct-point,\n .ct-series-d .ct-line,\n .ct-series-d .ct-bar,\n .ct-series-d .ct-slice-donut {\n stroke: var(--chartist-color-4, #d17905);\n }\n\n .ct-series-d .ct-slice-pie,\n .ct-series-d .ct-slice-donut-solid,\n .ct-series-d .ct-area {\n fill: var(--chartist-color-4, #d17905);\n }\n\n .ct-series-e .ct-point,\n .ct-series-e .ct-line,\n .ct-series-e .ct-bar,\n .ct-series-e .ct-slice-donut {\n stroke: var(--chartist-color-5, #453d3f);\n }\n\n .ct-series-e .ct-slice-pie,\n .ct-series-e .ct-slice-donut-solid,\n .ct-series-e .ct-area {\n fill: var(--chartist-color-5, #453d3f);\n }\n\n .ct-series-f .ct-point,\n .ct-series-f .ct-line,\n .ct-series-f .ct-bar,\n .ct-series-f .ct-slice-donut {\n stroke: var(--chartist-color-6, #59922b);\n }\n\n .ct-series-f .ct-slice-pie,\n .ct-series-f .ct-slice-donut-solid,\n .ct-series-f .ct-area {\n fill: var(--chartist-color-6, #59922b);\n }\n\n .ct-series-g .ct-point,\n .ct-series-g .ct-line,\n .ct-series-g .ct-bar,\n .ct-series-g .ct-slice-donut {\n stroke: var(--chartist-color-7, #0544d3);\n }\n\n .ct-series-g .ct-slice-pie,\n .ct-series-g .ct-slice-donut-solid,\n .ct-series-g .ct-area {\n fill: var(--chartist-color-7, #0544d3);\n }\n\n .ct-series-h .ct-point,\n .ct-series-h .ct-line,\n .ct-series-h .ct-bar,\n .ct-series-h .ct-slice-donut {\n stroke: var(--chartist-color-8, #6b0392);\n }\n\n .ct-series-h .ct-slice-pie,\n .ct-series-h .ct-slice-donut-solid,\n .ct-series-h .ct-area {\n fill: var(--chartist-color-8, #6b0392);\n }\n\n .ct-series-i .ct-point,\n .ct-series-i .ct-line,\n .ct-series-i .ct-bar,\n .ct-series-i .ct-slice-donut {\n stroke: var(--chartist-color-9, #f05b4f);\n }\n\n .ct-series-i .ct-slice-pie,\n .ct-series-i .ct-slice-donut-solid,\n .ct-series-i .ct-area {\n fill: var(--chartist-color-9, #f05b4f);\n }\n\n .ct-series-j .ct-point,\n .ct-series-j .ct-line,\n .ct-series-j .ct-bar,\n .ct-series-j .ct-slice-donut {\n stroke: var(--chartist-color-10, #dda458);\n }\n\n .ct-series-j .ct-slice-pie,\n .ct-series-j .ct-slice-donut-solid,\n .ct-series-j .ct-area {\n fill: var(--chartist-color-10, #dda458);\n }\n\n .ct-series-k .ct-point,\n .ct-series-k .ct-line,\n .ct-series-k .ct-bar,\n .ct-series-k .ct-slice-donut {\n stroke: var(--chartist-color-11, #eacf7d);\n }\n\n .ct-series-k .ct-slice-pie,\n .ct-series-k .ct-slice-donut-solid,\n .ct-series-k .ct-area {\n fill: var(--chartist-color-11, #eacf7d);\n }\n\n .ct-series-l .ct-point,\n .ct-series-l .ct-line,\n .ct-series-l .ct-bar,\n .ct-series-l .ct-slice-donut {\n stroke: var(--chartist-color-12, #86797d);\n }\n\n .ct-series-l .ct-slice-pie,\n .ct-series-l .ct-slice-donut-solid,\n .ct-series-l .ct-area {\n fill: var(--chartist-color-12, #86797d);\n }\n\n .ct-series-m .ct-point,\n .ct-series-m .ct-line,\n .ct-series-m .ct-bar,\n .ct-series-m .ct-slice-donut {\n stroke: var(--chartist-color-13, #b2c326);\n }\n\n .ct-series-m .ct-slice-pie,\n .ct-series-m .ct-slice-donut-solid,\n .ct-series-m .ct-area {\n fill: var(--chartist-color-13, #b2c326);\n }\n\n .ct-series-n .ct-point,\n .ct-series-n .ct-line,\n .ct-series-n .ct-bar,\n .ct-series-n .ct-slice-donut {\n stroke: var(--chartist-color-14, #6188e2);\n }\n\n .ct-series-n .ct-slice-pie,\n .ct-series-n .ct-slice-donut-solid,\n .ct-series-n .ct-area {\n fill: var(--chartist-color-14, #6188e2);\n }\n\n .ct-series-o .ct-point,\n .ct-series-o .ct-line,\n .ct-series-o .ct-bar,\n .ct-series-o .ct-slice-donut {\n stroke: var(--chartist-color-15, #a748ca);\n }\n\n .ct-series-o .ct-slice-pie,\n .ct-series-o .ct-slice-donut-solid,\n .ct-series-o .ct-area {\n fill: var(--chartist-color-15, #a748ca);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/check-it-out/check-it-out.js b/build/es5-amd/node_modules/@lrnwebcomponents/check-it-out/check-it-out.js index b2504a90149..77fe8542c3e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/check-it-out/check-it-out.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/check-it-out/check-it-out.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/lib/simple-i _exports.CheckItOut = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3f1455a01da511ed9d313b9780b2ae17, _templateObject2_3f1455a01da511ed9d313b9780b2ae17, _templateObject3_3f1455a01da511ed9d313b9780b2ae17, _templateObject4_3f1455a01da511ed9d313b9780b2ae17, _templateObject5_3f1455a01da511ed9d313b9780b2ae17, _templateObject6_3f1455a01da511ed9d313b9780b2ae17, _templateObject7_3f1455a01da511ed9d313b9780b2ae17, _templateObject8_3f1455a01da511ed9d313b9780b2ae17, _templateObject9_3f1455a01da511ed9d313b9780b2ae17, _templateObject10_3f1455a01da511ed9d313b9780b2ae17; + var _templateObject_1129f0b01e5811ed81a80d03c17d190b, _templateObject2_1129f0b01e5811ed81a80d03c17d190b, _templateObject3_1129f0b01e5811ed81a80d03c17d190b, _templateObject4_1129f0b01e5811ed81a80d03c17d190b, _templateObject5_1129f0b01e5811ed81a80d03c17d190b, _templateObject6_1129f0b01e5811ed81a80d03c17d190b, _templateObject7_1129f0b01e5811ed81a80d03c17d190b, _templateObject8_1129f0b01e5811ed81a80d03c17d190b, _templateObject9_1129f0b01e5811ed81a80d03c17d190b, _templateObject10_1129f0b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -59,12 +59,12 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/lib/simple-i key: "render", value: function render() { this.icon = this.icon ? this.icon : this.typeIconObj[this.type]; - return (0, _index.html)(_templateObject_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ""])), this.elementVisible ? (0, _index.html)(_templateObject2_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject2_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n ", "\n "])), this._handleClick, this.icon, this.label, this.modal ? (0, _index.html)(_templateObject3_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject3_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n ", "\n
    \n \n "])), this.modalTitle, this._handleClick, this.renderLogic()) : (0, _index.html)(_templateObject4_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject4_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), this.renderLogic())) : ""); + return (0, _index.html)(_templateObject_1129f0b01e5811ed81a80d03c17d190b || (_templateObject_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ""])), this.elementVisible ? (0, _index.html)(_templateObject2_1129f0b01e5811ed81a80d03c17d190b || (_templateObject2_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n ", "\n "])), this._handleClick, this.icon, this.label, this.modal ? (0, _index.html)(_templateObject3_1129f0b01e5811ed81a80d03c17d190b || (_templateObject3_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n ", "\n
    \n \n "])), this.modalTitle, this._handleClick, this.renderLogic()) : (0, _index.html)(_templateObject4_1129f0b01e5811ed81a80d03c17d190b || (_templateObject4_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), this.renderLogic())) : ""); } }, { key: "renderLogic", value: function renderLogic() { - return (0, _index.html)(_templateObject5_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject5_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), ["code", "pdf"].includes(this.type) ? (0, _index.html)(_templateObject6_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject6_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n \n ", "\n \n
    "])), this.__computedSource, !this.modal ? (0, _index.html)(_templateObject7_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject7_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this._handleClick) : "") : (0, _index.html)(_templateObject8_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject8_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n ", "\n
    \n "])), this.__computedSource, !this.modal ? (0, _index.html)(_templateObject9_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject9_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this._handleClick) : "")); + return (0, _index.html)(_templateObject5_1129f0b01e5811ed81a80d03c17d190b || (_templateObject5_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), ["code", "pdf"].includes(this.type) ? (0, _index.html)(_templateObject6_1129f0b01e5811ed81a80d03c17d190b || (_templateObject6_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n \n \n ", "\n \n
    "])), this.__computedSource, !this.modal ? (0, _index.html)(_templateObject7_1129f0b01e5811ed81a80d03c17d190b || (_templateObject7_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this._handleClick) : "") : (0, _index.html)(_templateObject8_1129f0b01e5811ed81a80d03c17d190b || (_templateObject8_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n ", "\n
    \n "])), this.__computedSource, !this.modal ? (0, _index.html)(_templateObject9_1129f0b01e5811ed81a80d03c17d190b || (_templateObject9_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this._handleClick) : "")); } }, { key: "_handleClick", @@ -358,7 +358,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/lib/simple-i }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject10_3f1455a01da511ed9d313b9780b2ae17 || (_templateObject10_3f1455a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --check-it-out-content-width: var(\n --check-it-out-container-width,\n 800px\n );\n --check-it-out-content-height: 500px;\n }\n\n .container {\n display: none;\n position: relative;\n width: var(--check-it-out-container-width, 800px);\n }\n\n :host([checked-out]) .container {\n display: flex;\n }\n\n .check-it-out-btn {\n display: inline-flex;\n background-color: transparent;\n font-size: var(--check-it-out-modal-button-font-size, 18px);\n border: 2px solid var(--check-it-out-button-border-color, #000);\n font-weight: 700;\n padding: 10px 25px;\n }\n\n .check-it-out-btn:active,\n .check-it-out-btn:focus,\n .check-it-out-btn:hover {\n outline: 2px dashed var(--check-it-out-button-border-color, #000);\n outline-offset: 2px;\n }\n\n :host([checked-out]) .check-it-out-btn {\n display: none;\n }\n\n :host([checked-out]) .close-btn {\n display: flex;\n }\n\n .close-btn {\n display: none;\n border-radius: 50%;\n padding: 0.5em;\n width: 30px;\n height: 30px;\n border: 2px solid black;\n color: grey;\n position: absolute;\n top: -10px;\n right: -10px;\n z-index: 2;\n }\n\n .close-btn:hover {\n border: 2px solid black;\n background-color: grey;\n color: #ffffff;\n }\n\n .close-btn::before {\n content: \" \";\n position: absolute;\n background-color: black;\n width: 2px;\n left: 12px;\n top: 5px;\n bottom: 5px;\n transform: rotate(45deg);\n }\n\n .close-btn::after {\n content: \" \";\n position: absolute;\n background-color: black;\n height: 2px;\n top: 12px;\n left: 5px;\n right: 5px;\n transform: rotate(45deg);\n }\n simple-modal-template[modal-id=\"m1\"] {\n --simple-modal-width: var(--check-it-out-modal-width, 80vw);\n --simple-modal-height: var(--check-it-out-modal-height, 55vh);\n --simple-modal-min-width: var(--check-it-out-modal-width, 80vw);\n --simple-modal-min-height: var(--check-it-out-modal-height, 55vh);\n }\n\n .iframe-container {\n width: var(--check-it-out-content-width, 800px);\n height: var(--check-it-out-content-height, 500px);\n }\n\n .video-player {\n width: var(--check-it-out-content-width, 800px);\n height: var(--check-it-out-content-height, 500px);\n }\n iframe-loader {\n text-align: center;\n display: block;\n width: var(--check-it-out-content-width, 800px);\n }\n "])))]; + return [(0, _index.css)(_templateObject10_1129f0b01e5811ed81a80d03c17d190b || (_templateObject10_1129f0b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --check-it-out-content-width: var(\n --check-it-out-container-width,\n 800px\n );\n --check-it-out-content-height: 500px;\n }\n\n .container {\n display: none;\n position: relative;\n width: var(--check-it-out-container-width, 800px);\n }\n\n :host([checked-out]) .container {\n display: flex;\n }\n\n .check-it-out-btn {\n display: inline-flex;\n background-color: transparent;\n font-size: var(--check-it-out-modal-button-font-size, 18px);\n border: 2px solid var(--check-it-out-button-border-color, #000);\n font-weight: 700;\n padding: 10px 25px;\n }\n\n .check-it-out-btn:active,\n .check-it-out-btn:focus,\n .check-it-out-btn:hover {\n outline: 2px dashed var(--check-it-out-button-border-color, #000);\n outline-offset: 2px;\n }\n\n :host([checked-out]) .check-it-out-btn {\n display: none;\n }\n\n :host([checked-out]) .close-btn {\n display: flex;\n }\n\n .close-btn {\n display: none;\n border-radius: 50%;\n padding: 0.5em;\n width: 30px;\n height: 30px;\n border: 2px solid black;\n color: grey;\n position: absolute;\n top: -10px;\n right: -10px;\n z-index: 2;\n }\n\n .close-btn:hover {\n border: 2px solid black;\n background-color: grey;\n color: #ffffff;\n }\n\n .close-btn::before {\n content: \" \";\n position: absolute;\n background-color: black;\n width: 2px;\n left: 12px;\n top: 5px;\n bottom: 5px;\n transform: rotate(45deg);\n }\n\n .close-btn::after {\n content: \" \";\n position: absolute;\n background-color: black;\n height: 2px;\n top: 12px;\n left: 5px;\n right: 5px;\n transform: rotate(45deg);\n }\n simple-modal-template[modal-id=\"m1\"] {\n --simple-modal-width: var(--check-it-out-modal-width, 80vw);\n --simple-modal-height: var(--check-it-out-modal-height, 55vh);\n --simple-modal-min-width: var(--check-it-out-modal-width, 80vw);\n --simple-modal-min-height: var(--check-it-out-modal-height, 55vh);\n }\n\n .iframe-container {\n width: var(--check-it-out-content-width, 800px);\n height: var(--check-it-out-content-height, 500px);\n }\n\n .video-player {\n width: var(--check-it-out-content-width, 800px);\n height: var(--check-it-out-content-height, 500px);\n }\n iframe-loader {\n text-align: center;\n display: block;\n width: var(--check-it-out-content-width, 800px);\n }\n "])))]; } /** * Convention we use diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/circle-progress/circle-progress.js b/build/es5-amd/node_modules/@lrnwebcomponents/circle-progress/circle-progress.js index 8219e8e3390..2f336fd0725 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/circle-progress/circle-progress.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/circle-progress/circle-progress.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.CircleProgress = void 0; - var _templateObject_3f7e3b001da511ed9d313b9780b2ae17; + var _templateObject_11316ac01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -71,7 +71,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_3f7e3b001da511ed9d313b9780b2ae17 || (_templateObject_3f7e3b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_11316ac01e5811ed81a80d03c17d190b || (_templateObject_11316ac01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/citation-element/citation-element.js b/build/es5-amd/node_modules/@lrnwebcomponents/citation-element/citation-element.js index ac8f53646c8..3039dd6928e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/citation-element/citation-element.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/citation-element/citation-element.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.CitationElement = void 0; - var _templateObject_3f9df8001da511ed9d313b9780b2ae17, _templateObject2_3f9df8001da511ed9d313b9780b2ae17; + var _templateObject_112eaba01e5811ed81a80d03c17d190b, _templateObject2_112eaba01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -52,7 +52,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement render */ function render() { - return (0, _index.html)(_templateObject_3f9df8001da511ed9d313b9780b2ae17 || (_templateObject_3f9df8001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n by ", ", licensed under\n ", ". Accessed ", ".\n "])), this.relatedResource, this.source, this.relatedResource, this.title, this.licenseLink, this.licenseName, this.source, this.title, this.creator, this.licenseLink, this.licenseName, this.licenseImage, !this.licenseImage, this.licenseName, this.date); + return (0, _index.html)(_templateObject_112eaba01e5811ed81a80d03c17d190b || (_templateObject_112eaba01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n by ", ", licensed under\n ", ". Accessed ", ".\n "])), this.relatedResource, this.source, this.relatedResource, this.title, this.licenseLink, this.licenseName, this.source, this.title, this.creator, this.licenseLink, this.licenseName, this.licenseImage, !this.licenseImage, this.licenseName, this.date); } /** * convention @@ -191,7 +191,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3f9df8001da511ed9d313b9780b2ae17 || (_templateObject2_3f9df8001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n color: var(--license-text-color);\n }\n :host([display-method=\"footnote\"]) {\n visibility: hidden;\n opacity: 0;\n }\n :host([display-method=\"popup\"]) {\n display: block;\n }\n .license-link {\n font-size: 16px;\n line-height: 16px;\n font-style: italic;\n }\n .citation-date {\n font-size: 16px;\n line-height: 16px;\n font-style: italic;\n }\n .license-link img {\n margin-right: 8px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_112eaba01e5811ed81a80d03c17d190b || (_templateObject2_112eaba01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n color: var(--license-text-color);\n }\n :host([display-method=\"footnote\"]) {\n visibility: hidden;\n opacity: 0;\n }\n :host([display-method=\"popup\"]) {\n display: block;\n }\n .license-link {\n font-size: 16px;\n line-height: 16px;\n font-style: italic;\n }\n .citation-date {\n font-size: 16px;\n line-height: 16px;\n font-style: italic;\n }\n .license-link img {\n margin-right: 8px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/clean-one.js b/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/clean-one.js index cd45401fc63..8cfbb5af587 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/clean-one.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/clean-one.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.CleanOne = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3fb6fe401da511ed9d313b9780b2ae17, _templateObject2_3fb6fe401da511ed9d313b9780b2ae17, _templateObject3_3fb6fe401da511ed9d313b9780b2ae17, _templateObject4_3fb6fe401da511ed9d313b9780b2ae17; + var _templateObject_1136e9001e5811ed81a80d03c17d190b, _templateObject2_1136e9001e5811ed81a80d03c17d190b, _templateObject3_1136e9001e5811ed81a80d03c17d190b, _templateObject4_1136e9001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -80,7 +80,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_3fb6fe401da511ed9d313b9780b2ae17 || (_templateObject_3fb6fe401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n
    \n \n
    \n ", "\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ", "\n ", "\n ", "\n
    \n
    \n ", "\n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n "])), this.searchChanged, this.searchTerm, this.HAXCMSMobileMenu(), this.HAXCMSMobileMenuButton(), this.HAXCMSUserStylesMenu(), _microFrontendRegistry.MicroFrontendRegistry.has('@haxcms/siteToHtml') ? this.PrintBranchButton() : (0, _index.html)(_templateObject2_3fb6fe401da511ed9d313b9780b2ae17 || (_templateObject2_3fb6fe401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "]))), this.QRCodeButton(), this.editMode ? "edit-mode-active" : "", this.searchTerm, this.searchTerm != "" ? false : true, this.searchTerm != "" ? true : false, this.editMode ? "edit-mode-active" : ""); + return (0, _index.html)(_templateObject_1136e9001e5811ed81a80d03c17d190b || (_templateObject_1136e9001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n
    \n \n
    \n ", "\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ", "\n ", "\n ", "\n
    \n
    \n ", "\n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n "])), this.searchChanged, this.searchTerm, this.HAXCMSMobileMenu(), this.HAXCMSMobileMenuButton(), this.HAXCMSUserStylesMenu(), _microFrontendRegistry.MicroFrontendRegistry.has('@haxcms/siteToHtml') ? this.PrintBranchButton() : (0, _index.html)(_templateObject2_1136e9001e5811ed81a80d03c17d190b || (_templateObject2_1136e9001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "]))), this.QRCodeButton(), this.editMode ? "edit-mode-active" : "", this.searchTerm, this.searchTerm != "" ? false : true, this.searchTerm != "" ? true : false, this.editMode ? "edit-mode-active" : ""); } }, { key: "searchChanged", @@ -115,7 +115,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core }, { key: "HAXCMSGlobalStyleSheetContent", value: function HAXCMSGlobalStyleSheetContent() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanOne.prototype), "HAXCMSGlobalStyleSheetContent", this).call(this)), [(0, _index.css)(_templateObject3_3fb6fe401da511ed9d313b9780b2ae17 || (_templateObject3_3fb6fe401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n clean-one a {\n text-decoration-thickness: 3px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanOne.prototype), "HAXCMSGlobalStyleSheetContent", this).call(this)), [(0, _index.css)(_templateObject3_1136e9001e5811ed81a80d03c17d190b || (_templateObject3_1136e9001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n clean-one a {\n text-decoration-thickness: 3px;\n }\n "])))]); } /** * life cycle, element is removed from the DOM @@ -152,7 +152,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanOne), "styles", this)), [(0, _index.css)(_templateObject4_3fb6fe401da511ed9d313b9780b2ae17 || (_templateObject4_3fb6fe401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n color: #242A31;\n width: 100%;\n margin: 0;\n display: flex;\n padding: 0;\n background: #F5F7F9;\n min-height: 100vh;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n --haxcms-base-styles-body-font-size:14px;\n --hax-base-styles-a-font-size: 14px;\n --hax-base-styles-p-font-size: 14px;\n --hax-base-styles-list-font-size: 14px;\n --haxcms-base-styles-body-font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif\n --haxcms-base-styles-body-line-height: 1.7;\n --hax-base-styles-list-line-height: 1.7;\n --hax-base-styles-p-line-height: 1.7;\n --hax-base-styles-p-letter-spacing: .2px;\n --haxcms-base-styles-body-letter-spacing : .2px;\n --hax-base-styles-p-min-height: auto;\n --hax-base-styles-list-max-width: auto;\n --haxcms-base-styles-p-min-height: auto;\n --hax-base-styles-list-padding-bottom: auto;\n --hax-base-styles-h1-font-size: inherit;\n --hax-base-styles-h2-font-size: inherit;\n --hax-base-styles-h3-font-size: inherit;\n --hax-base-styles-h4-font-size: inherit;\n --hax-base-styles-h5-font-size: inherit;\n --hax-base-styles-h6-font-size: inherit;\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n site-git-corner {\n --site-git-corner-background: black;\n }\n simple-tooltip {\n --simple-tooltip-background: var(\n --haxcms-tooltip-background-color,\n #000000\n );\n --simple-tooltip-text-color: var(\n --haxcms-tooltip-color,\n #ffffff\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n \n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n site-menu-button:not(:defined) {\n display: none;\n }\n .btn-container {\n z-index: 2;\n height: 50px;\n padding: 6px;\n }\n .btn-container .btn {\n padding: 8px 4px;\n }\n simple-tooltip {\n --simple-tooltip-background: var(--haxcms-user-styles-color-theme-color-1);\n --simple-tooltip-text-color: var(--haxcms-user-styles-color-theme-color-2);\n }\n site-menu {\n height: var(--clean-one-site-menu-height, calc(100vh - 60px));\n --site-menu-active-color: var(--haxcms-user-styles-color-theme-color-3);\n --site-menu-item-active-item-color: var(--haxcms-user-styles-color-theme-color-4);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n }\n scroll-button {\n --scroll-button-color: var(--haxcms-user-styles-color-theme-color-1);\n --scroll-button-background-color: var(--haxcms-user-styles-color-theme-color-2);\n --scroll-button-tooltip-background-color:var(--haxcms-user-styles-color-theme-color-1);\n --scroll-button-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n }\n simple-icon-button,\n simple-icon-button-lite,\n site-rss-button,\n site-print-button,\n site-git-corner {\n color: var(--site-print-button-color, black);\n --site-git-corner-background: var(--haxcms-user-styles-color-theme-color-1);\n --site-git-corner-color: var(--haxcms-user-styles-color-theme-color-2);\n --simple-icon-fill-color: var(--haxcms-user-styles-color-theme-color-1);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n }\n .pdf-page-btn,\n .print-branch-btn {\n padding: 8px 4px;\n display: inline-flex;\n }\n site-menu-button {\n --site-menu-button-icon-fill-color: var(--haxcms-user-styles-color-theme-color-1);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n --site-menu-button-button-hover-background-color: rgba(0,0,0,.1);\n }\n scroll-button,\n site-breadcrumb {\n color: var(--haxcms-user-styles-color-theme-color-1);\n }\n * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n -webkit-tap-highlight-color: transparent;\n -webkit-text-size-adjust: none;\n -webkit-touch-callout: none;\n -webkit-font-smoothing: antialiased;\n }\n /* links */\n \n a {\n text-decoration: none;\n }\n a:hover,\n a:focus,\n a:active {\n outline: thin dotted;\n }\n a:-webkit-any-link {\n color: -webkit-link;\n cursor: pointer;\n text-decoration: underline;\n }\n :host([menu-open]) .menu-outline {\n left: 0;\n }\n .menu-outline {\n font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif;\n position: absolute;\n top: 0;\n left: -300px;\n bottom: 0;\n z-index: 1;\n overflow-y: hidden;\n width: 300px;\n color: #364149;\n background: #fafafa;\n border-right: 1px solid rgba(0,0,0,.07);\n transition: left 250ms ease;\n }\n /* content */\n .main-section h1 {\n font-size: 2em;\n }\n :host([edit-mode]) .main-section {\n outline: 1px solid grey;\n outline-offset: 20px;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {\n margin-top: 1.275em;\n margin-bottom: .85em;\n font-weight: 700;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5 {\n page-break-after: avoid;\n }\n :host([responsive-size=\"xs\"][menu-open]) .pull-right {\n display: none;\n }\n .pull-right {\n top: 0px;\n right: 16px;\n position: fixed;\n }\n .main-content *,\n .main-content ::slotted(*) {\n box-sizing: border-box;\n -webkit-box-sizing: border-box;\n font-size: inherit;\n }\n @media (prefers-reduced-motion: reduce) {\n #site-search-input,\n .site-body,\n .navigation,\n .menu-outline {\n transition: none !important;\n }\n }\n \n :host([menu-open]) .site-body {\n left: 300px;\n }\n .site-body {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n min-width: 400px;\n overflow-y: auto;\n transition: left 250ms ease;\n }\n\n :host([responsive-size=\"sm\"]) .page-inner,\n :host([responsive-size=\"md\"]) .page-inner,\n :host([responsive-size=\"lg\"]) .page-inner {\n padding: 48px 15px;\n }\n :host([responsive-size=\"sm\"]) .site-inner {\n padding: 0px 24px;\n }\n :host([responsive-size=\"xs\"]) .site-inner {\n max-width: 100vw;\n padding: 0px 24px;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n h1 {\n font-size: 2em;\n margin: .67em 0;\n }\n .main-content h2 {\n font-size: 1.75em;\n }\n .main-content h3 {\n font-size: 1.5em;\n }\n .main-content h4 {\n font-size: 1.25em;\n }\n .main-content h5 {\n font-size: 1em;\n }\n .main-content h6 {\n font-size: 1em;\n color: #777;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {\n margin-top: 1.275em;\n margin-bottom: .85em;\n font-weight: 700;\n }\n \n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5 {\n page-break-after: avoid;\n }\n .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content p {\n orphans: 3;\n widows: 3;\n }\n .main-content blockquote, .main-content dl, .main-content ol, .main-content p, .main-content table, .main-content ul {\n margin-top: 0;\n margin-bottom: .85em;\n }\n .main-content ol, .main-content ul {\n padding: 0;\n margin: 0;\n margin-bottom: .85em;\n padding-left: 2em;\n }\n .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content p {\n orphans: 3;\n widows: 3;\n }\n article, aside, details, figcaption, figure, header, hgroup, main, nav, section, summary {\n display: block;\n }\n footer {\n display: flex;\n }\n .site-header {\n overflow: visible;\n z-index: 2;\n background: transparent;\n position: fixed;\n display: block;\n padding: 0 16px;\n }\n @media (max-width: 1200px) {\n .site-header {\n height: 50px;\n position: fixed;\n width: 100vw;\n background-color: white;\n }\n } \n @media (max-width: 900px) {\n footer {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n }\n :host([menu-open]) footer {\n left: 300px;\n }\n }\n \n @media (max-width: 700px){\n .link-actions {\n display: none;\n }\n }\n @media (max-width: 1240px){\n .site-body .body-inner {\n position: static;\n min-height: calc(100% - 98px);\n }\n }\n @media (max-width: 1240px){\n .site-body {\n transition: transform 200ms ease;\n padding-bottom: 20px;\n }\n }\n .site-body .site-inner {\n position: relative;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n overflow-y: auto;\n }\n .main-content * {\n box-sizing: border-box;\n -webkit-box-sizing: border-box;\n font-size: inherit;\n }\n .page-wrapper {\n position: relative;\n outline: 0;\n }\n .page-inner {\n position: relative;\n max-width: 840px;\n margin: 0 auto;\n min-height: 90vh;\n padding: 20px 15px 40px 15px;\n }\n .main-section {\n display: block;\n word-wrap: break-word;\n color: var(--haxcms-user-styles-color-theme-color-color);\n line-height: 1.7;\n text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n -moz-text-size-adjust: 100%;\n }\n /* Navigation arrows */\n site-menu-button {\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n }\n :host([menu-open]) site-menu-button[type=\"prev\"] {\n left: 300px;\n }\n site-menu-button[type=\"prev\"] {\n left: 0;\n }\n site-menu-button[type=\"next\"] {\n right: 0;\n }\n .main-content site-active-title h1 {\n font-size: 36px;\n margin: 20px 0;\n text-rendering: optimizeLegibility;\n }\n .navigation {\n position: fixed;\n top: 40vh;\n bottom: 20vh;\n margin: 0 20px;\n max-width: 150px;\n min-width: 90px;\n display: flex;\n justify-content: center;\n align-content: center;\n flex-direction: column;\n font-size: 40px;\n color: #ccc;\n text-align: center;\n transition: all .35s ease;\n }\n \n @media (max-width: 1240px) {\n .navigation {\n position: static;\n margin: 0 auto;\n display: inline-flex;\n }\n }\n /* color,font,size switchers */\n \n .site-header .font-settings .font-enlarge {\n line-height: 30px;\n font-size: 1.4em;\n }\n .site-header .font-settings .font-reduce {\n line-height: 30px;\n font-size: 1em;\n }\n .site-header .font-settings .font-reduce {\n line-height: 30px;\n font-size: 1em;\n }\n \n .site-body {\n overflow-y: scroll;\n color: var(--haxcms-user-styles-color-theme-color-color);\n background: var(--haxcms-user-styles-color-theme-color-background);\n }\n :host([color-theme=\"1\"]) .site-header {\n color: #afa790;\n background: transparent;\n }\n :host([color-theme=\"1\"]) .site-header .btn {\n color: black;\n }\n :host([color-theme=\"1\"]) .site-header .btn:hover,\n :host([color-theme=\"1\"]) .site-header .btn:focus,\n :host([color-theme=\"1\"]) .site-header .btn:active {\n color: #704214;\n background: none;\n }\n :host([color-theme=\"1\"]) site-active-title {\n color: #704214;\n }\n :host([color-theme=\"2\"]) .site-header {\n color: #7e888b;\n background: transparent;\n }\n :host([color-theme=\"2\"]) .site-header .btn {\n color: white;\n }\n :host([color-theme=\"2\"]) .site-header .btn:hover,\n :host([color-theme=\"2\"]) .site-header .btn:focus,\n :host([color-theme=\"2\"]) .site-header .btn:active {\n color: #fffff5;\n background: none;\n }\n :host([color-theme=\"2\"]) site-active-title {\n color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n }\n :host([color-theme=\"1\"]) .site-body .navigation {\n color: #afa790;\n }\n :host([color-theme=\"1\"]) .site-body .navigation:hover,\n :host([color-theme=\"1\"]) .site-body .navigation:focus,\n :host([color-theme=\"1\"]) .site-body .navigation:active {\n color: #eee8e0;\n }\n :host([color-theme=\"2\"]) .site-body .navigation {\n color: #383f52;\n }\n :host([color-theme=\"2\"]) .site-body .navigation:hover,\n :host([color-theme=\"2\"]) .site-body .navigation:focus,\n :host([color-theme=\"2\"]) .site-body .navigation:active {\n color: #fffff5;\n }\n :host([color-theme=\"2\"]) #site-search-input {\n color: #fffff5;\n background-color: #383f52;\n }\n \n /*\n * Theme 1\n */\n :host([color-theme=\"1\"]) .menu-outline {\n color: #afa790;\n background: #111111;\n border-right: 1px solid rgba(0, 0, 0, 0.07);\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.divider {\n background: #7e888b;\n box-shadow: none;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.done > a {\n color: #877f6a;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li span {\n color: #877f6a;\n background: transparent;\n font-weight: normal;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.active > a,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:hover,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:focus,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:active {\n color: #704214;\n background: transparent;\n font-weight: normal;\n }\n :host([color-theme=\"1\"]) #site-search-input {\n color: #afa790;\n background-color: #111111;\n }\n /*\n * Theme 2\n */\n :host([color-theme=\"2\"]) .menu-outline {\n color: #bcc1d2;\n background: #2d3143;\n border-right: none;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.divider {\n background: #272a3a;\n box-shadow: none;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.done > a {\n color: #62687f;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li span {\n color: #c1c6d7;\n background: transparent;\n font-weight: 600;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.active > a,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:hover,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:focus,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:active {\n color: #f4f4f5;\n background: #252737;\n font-weight: 600;\n }\n button, select {\n text-transform: none;\n }\n button, input {\n line-height: normal;\n }\n button, input, select, textarea {\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n scroll-button {\n position: absolute;\n bottom: 0;\n right: 16px;\n }\n #site-search-input {\n padding: 6px;\n background: 0 0;\n transition: top .5s ease;\n background: #fff;\n border-bottom: 1px solid rgba(0,0,0,.07);\n border-top: 1px solid rgba(0,0,0,.07);\n margin-bottom: 10px;\n margin-top: -1px;\n }\n site-search {\n height: auto;\n width: auto;\n font-size: inherit;\n }\n :host([color-theme=\"0\"]) #site-search-input {\n color: #252737;\n }\n :host([color-theme=\"0\"]) site-search {\n color: #252737;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #F5F5F5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n :host([color-theme=\"1\"]) site-search {\n color: #704214;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: transparent;\n --site-search-link-color-hover: #704214;\n --site-search-link-text-color: #704214;\n --site-search-link-color: #704214;\n --site-search-result-color: #704214;\n }\n :host([color-theme=\"2\"]) site-search {\n color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: transparent;\n --site-search-link-color-hover: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-link-text-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-link-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-result-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanOne), "styles", this)), [(0, _index.css)(_templateObject4_1136e9001e5811ed81a80d03c17d190b || (_templateObject4_1136e9001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n color: #242A31;\n width: 100%;\n margin: 0;\n display: flex;\n padding: 0;\n background: #F5F7F9;\n min-height: 100vh;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n --haxcms-base-styles-body-font-size:14px;\n --hax-base-styles-a-font-size: 14px;\n --hax-base-styles-p-font-size: 14px;\n --hax-base-styles-list-font-size: 14px;\n --haxcms-base-styles-body-font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif\n --haxcms-base-styles-body-line-height: 1.7;\n --hax-base-styles-list-line-height: 1.7;\n --hax-base-styles-p-line-height: 1.7;\n --hax-base-styles-p-letter-spacing: .2px;\n --haxcms-base-styles-body-letter-spacing : .2px;\n --hax-base-styles-p-min-height: auto;\n --hax-base-styles-list-max-width: auto;\n --haxcms-base-styles-p-min-height: auto;\n --hax-base-styles-list-padding-bottom: auto;\n --hax-base-styles-h1-font-size: inherit;\n --hax-base-styles-h2-font-size: inherit;\n --hax-base-styles-h3-font-size: inherit;\n --hax-base-styles-h4-font-size: inherit;\n --hax-base-styles-h5-font-size: inherit;\n --hax-base-styles-h6-font-size: inherit;\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n site-git-corner {\n --site-git-corner-background: black;\n }\n simple-tooltip {\n --simple-tooltip-background: var(\n --haxcms-tooltip-background-color,\n #000000\n );\n --simple-tooltip-text-color: var(\n --haxcms-tooltip-color,\n #ffffff\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n \n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n site-menu-button:not(:defined) {\n display: none;\n }\n .btn-container {\n z-index: 2;\n height: 50px;\n padding: 6px;\n }\n .btn-container .btn {\n padding: 8px 4px;\n }\n simple-tooltip {\n --simple-tooltip-background: var(--haxcms-user-styles-color-theme-color-1);\n --simple-tooltip-text-color: var(--haxcms-user-styles-color-theme-color-2);\n }\n site-menu {\n height: var(--clean-one-site-menu-height, calc(100vh - 60px));\n --site-menu-active-color: var(--haxcms-user-styles-color-theme-color-3);\n --site-menu-item-active-item-color: var(--haxcms-user-styles-color-theme-color-4);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n }\n scroll-button {\n --scroll-button-color: var(--haxcms-user-styles-color-theme-color-1);\n --scroll-button-background-color: var(--haxcms-user-styles-color-theme-color-2);\n --scroll-button-tooltip-background-color:var(--haxcms-user-styles-color-theme-color-1);\n --scroll-button-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n }\n simple-icon-button,\n simple-icon-button-lite,\n site-rss-button,\n site-print-button,\n site-git-corner {\n color: var(--site-print-button-color, black);\n --site-git-corner-background: var(--haxcms-user-styles-color-theme-color-1);\n --site-git-corner-color: var(--haxcms-user-styles-color-theme-color-2);\n --simple-icon-fill-color: var(--haxcms-user-styles-color-theme-color-1);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n }\n .pdf-page-btn,\n .print-branch-btn {\n padding: 8px 4px;\n display: inline-flex;\n }\n site-menu-button {\n --site-menu-button-icon-fill-color: var(--haxcms-user-styles-color-theme-color-1);\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(--haxcms-user-styles-color-theme-color-1);\n --site-menu-button-button-hover-background-color: rgba(0,0,0,.1);\n }\n scroll-button,\n site-breadcrumb {\n color: var(--haxcms-user-styles-color-theme-color-1);\n }\n * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n -webkit-tap-highlight-color: transparent;\n -webkit-text-size-adjust: none;\n -webkit-touch-callout: none;\n -webkit-font-smoothing: antialiased;\n }\n /* links */\n \n a {\n text-decoration: none;\n }\n a:hover,\n a:focus,\n a:active {\n outline: thin dotted;\n }\n a:-webkit-any-link {\n color: -webkit-link;\n cursor: pointer;\n text-decoration: underline;\n }\n :host([menu-open]) .menu-outline {\n left: 0;\n }\n .menu-outline {\n font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif;\n position: absolute;\n top: 0;\n left: -300px;\n bottom: 0;\n z-index: 1;\n overflow-y: hidden;\n width: 300px;\n color: #364149;\n background: #fafafa;\n border-right: 1px solid rgba(0,0,0,.07);\n transition: left 250ms ease;\n }\n /* content */\n .main-section h1 {\n font-size: 2em;\n }\n :host([edit-mode]) .main-section {\n outline: 1px solid grey;\n outline-offset: 20px;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {\n margin-top: 1.275em;\n margin-bottom: .85em;\n font-weight: 700;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5 {\n page-break-after: avoid;\n }\n :host([responsive-size=\"xs\"][menu-open]) .pull-right {\n display: none;\n }\n .pull-right {\n top: 0px;\n right: 16px;\n position: fixed;\n }\n .main-content *,\n .main-content ::slotted(*) {\n box-sizing: border-box;\n -webkit-box-sizing: border-box;\n font-size: inherit;\n }\n @media (prefers-reduced-motion: reduce) {\n #site-search-input,\n .site-body,\n .navigation,\n .menu-outline {\n transition: none !important;\n }\n }\n \n :host([menu-open]) .site-body {\n left: 300px;\n }\n .site-body {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n min-width: 400px;\n overflow-y: auto;\n transition: left 250ms ease;\n }\n\n :host([responsive-size=\"sm\"]) .page-inner,\n :host([responsive-size=\"md\"]) .page-inner,\n :host([responsive-size=\"lg\"]) .page-inner {\n padding: 48px 15px;\n }\n :host([responsive-size=\"sm\"]) .site-inner {\n padding: 0px 24px;\n }\n :host([responsive-size=\"xs\"]) .site-inner {\n max-width: 100vw;\n padding: 0px 24px;\n }\n :host([responsive-size=\"xs\"]) .page-inner {\n overflow-x: auto;\n }\n h1 {\n font-size: 2em;\n margin: .67em 0;\n }\n .main-content h2 {\n font-size: 1.75em;\n }\n .main-content h3 {\n font-size: 1.5em;\n }\n .main-content h4 {\n font-size: 1.25em;\n }\n .main-content h5 {\n font-size: 1em;\n }\n .main-content h6 {\n font-size: 1em;\n color: #777;\n }\n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {\n margin-top: 1.275em;\n margin-bottom: .85em;\n font-weight: 700;\n }\n \n .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5 {\n page-break-after: avoid;\n }\n .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content p {\n orphans: 3;\n widows: 3;\n }\n .main-content blockquote, .main-content dl, .main-content ol, .main-content p, .main-content table, .main-content ul {\n margin-top: 0;\n margin-bottom: .85em;\n }\n .main-content ol, .main-content ul {\n padding: 0;\n margin: 0;\n margin-bottom: .85em;\n padding-left: 2em;\n }\n .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content p {\n orphans: 3;\n widows: 3;\n }\n article, aside, details, figcaption, figure, header, hgroup, main, nav, section, summary {\n display: block;\n }\n footer {\n display: flex;\n }\n .site-header {\n overflow: visible;\n z-index: 2;\n background: transparent;\n position: fixed;\n display: block;\n padding: 0 16px;\n }\n @media (max-width: 1200px) {\n .site-header {\n height: 50px;\n position: fixed;\n width: 100vw;\n background-color: white;\n }\n } \n @media (max-width: 900px) {\n footer {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n }\n :host([menu-open]) footer {\n left: 300px;\n }\n }\n \n @media (max-width: 700px){\n .link-actions {\n display: none;\n }\n }\n @media (max-width: 1240px){\n .site-body .body-inner {\n position: static;\n min-height: calc(100% - 98px);\n }\n }\n @media (max-width: 1240px){\n .site-body {\n transition: transform 200ms ease;\n padding-bottom: 20px;\n }\n }\n .site-body .site-inner {\n position: relative;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n overflow-y: auto;\n }\n .main-content * {\n box-sizing: border-box;\n -webkit-box-sizing: border-box;\n font-size: inherit;\n }\n .page-wrapper {\n position: relative;\n outline: 0;\n }\n .page-inner {\n position: relative;\n max-width: 840px;\n margin: 0 auto;\n min-height: 90vh;\n padding: 20px 15px 40px 15px;\n }\n .main-section {\n display: block;\n word-wrap: break-word;\n color: var(--haxcms-user-styles-color-theme-color-color);\n line-height: 1.7;\n text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n -moz-text-size-adjust: 100%;\n }\n /* Navigation arrows */\n site-menu-button {\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n }\n :host([menu-open]) site-menu-button[type=\"prev\"] {\n left: 300px;\n }\n site-menu-button[type=\"prev\"] {\n left: 0;\n }\n site-menu-button[type=\"next\"] {\n right: 0;\n }\n .main-content site-active-title h1 {\n font-size: 36px;\n margin: 20px 0;\n text-rendering: optimizeLegibility;\n }\n .navigation {\n position: fixed;\n top: 40vh;\n bottom: 20vh;\n margin: 0 20px;\n max-width: 150px;\n min-width: 90px;\n display: flex;\n justify-content: center;\n align-content: center;\n flex-direction: column;\n font-size: 40px;\n color: #ccc;\n text-align: center;\n transition: all .35s ease;\n }\n \n @media (max-width: 1240px) {\n .navigation {\n position: static;\n margin: 0 auto;\n display: inline-flex;\n }\n }\n /* color,font,size switchers */\n \n .site-header .font-settings .font-enlarge {\n line-height: 30px;\n font-size: 1.4em;\n }\n .site-header .font-settings .font-reduce {\n line-height: 30px;\n font-size: 1em;\n }\n .site-header .font-settings .font-reduce {\n line-height: 30px;\n font-size: 1em;\n }\n \n .site-body {\n overflow-y: scroll;\n color: var(--haxcms-user-styles-color-theme-color-color);\n background: var(--haxcms-user-styles-color-theme-color-background);\n }\n :host([color-theme=\"1\"]) .site-header {\n color: #afa790;\n background: transparent;\n }\n :host([color-theme=\"1\"]) .site-header .btn {\n color: black;\n }\n :host([color-theme=\"1\"]) .site-header .btn:hover,\n :host([color-theme=\"1\"]) .site-header .btn:focus,\n :host([color-theme=\"1\"]) .site-header .btn:active {\n color: #704214;\n background: none;\n }\n :host([color-theme=\"1\"]) site-active-title {\n color: #704214;\n }\n :host([color-theme=\"2\"]) .site-header {\n color: #7e888b;\n background: transparent;\n }\n :host([color-theme=\"2\"]) .site-header .btn {\n color: white;\n }\n :host([color-theme=\"2\"]) .site-header .btn:hover,\n :host([color-theme=\"2\"]) .site-header .btn:focus,\n :host([color-theme=\"2\"]) .site-header .btn:active {\n color: #fffff5;\n background: none;\n }\n :host([color-theme=\"2\"]) site-active-title {\n color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n }\n :host([color-theme=\"1\"]) .site-body .navigation {\n color: #afa790;\n }\n :host([color-theme=\"1\"]) .site-body .navigation:hover,\n :host([color-theme=\"1\"]) .site-body .navigation:focus,\n :host([color-theme=\"1\"]) .site-body .navigation:active {\n color: #eee8e0;\n }\n :host([color-theme=\"2\"]) .site-body .navigation {\n color: #383f52;\n }\n :host([color-theme=\"2\"]) .site-body .navigation:hover,\n :host([color-theme=\"2\"]) .site-body .navigation:focus,\n :host([color-theme=\"2\"]) .site-body .navigation:active {\n color: #fffff5;\n }\n :host([color-theme=\"2\"]) #site-search-input {\n color: #fffff5;\n background-color: #383f52;\n }\n \n /*\n * Theme 1\n */\n :host([color-theme=\"1\"]) .menu-outline {\n color: #afa790;\n background: #111111;\n border-right: 1px solid rgba(0, 0, 0, 0.07);\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.divider {\n background: #7e888b;\n box-shadow: none;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.done > a {\n color: #877f6a;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li span {\n color: #877f6a;\n background: transparent;\n font-weight: normal;\n }\n :host([color-theme=\"1\"]) .menu-outline ul.summary li.active > a,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:hover,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:focus,\n :host([color-theme=\"1\"]) .menu-outline ul.summary li a:active {\n color: #704214;\n background: transparent;\n font-weight: normal;\n }\n :host([color-theme=\"1\"]) #site-search-input {\n color: #afa790;\n background-color: #111111;\n }\n /*\n * Theme 2\n */\n :host([color-theme=\"2\"]) .menu-outline {\n color: #bcc1d2;\n background: #2d3143;\n border-right: none;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.divider {\n background: #272a3a;\n box-shadow: none;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.done > a {\n color: #62687f;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li span {\n color: #c1c6d7;\n background: transparent;\n font-weight: 600;\n }\n :host([color-theme=\"2\"]) .menu-outline ul.summary li.active > a,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:hover,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:focus,\n :host([color-theme=\"2\"]) .menu-outline ul.summary li a:active {\n color: #f4f4f5;\n background: #252737;\n font-weight: 600;\n }\n button, select {\n text-transform: none;\n }\n button, input {\n line-height: normal;\n }\n button, input, select, textarea {\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n scroll-button {\n position: absolute;\n bottom: 0;\n right: 16px;\n }\n #site-search-input {\n padding: 6px;\n background: 0 0;\n transition: top .5s ease;\n background: #fff;\n border-bottom: 1px solid rgba(0,0,0,.07);\n border-top: 1px solid rgba(0,0,0,.07);\n margin-bottom: 10px;\n margin-top: -1px;\n }\n site-search {\n height: auto;\n width: auto;\n font-size: inherit;\n }\n :host([color-theme=\"0\"]) #site-search-input {\n color: #252737;\n }\n :host([color-theme=\"0\"]) site-search {\n color: #252737;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #F5F5F5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n :host([color-theme=\"1\"]) site-search {\n color: #704214;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: transparent;\n --site-search-link-color-hover: #704214;\n --site-search-link-text-color: #704214;\n --site-search-link-color: #704214;\n --site-search-result-color: #704214;\n }\n :host([color-theme=\"2\"]) site-search {\n color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: transparent;\n --site-search-link-color-hover: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-link-text-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-link-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n --site-search-result-color: var(--simple-colors-default-theme-light-blue-1,#CFD4E3);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/lib/clean-one-search-box.js b/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/lib/clean-one-search-box.js index b00d064631d..4c55743685a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/lib/clean-one-search-box.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/clean-one/lib/clean-one-search-box.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../i18n-manager/lib/I18N _exports.CleanOneSearchBox = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_83bb68601da511ed9d313b9780b2ae17, _templateObject2_83bb68601da511ed9d313b9780b2ae17; + var _templateObject_4cfeb6701e5811ed81a80d03c17d190b, _templateObject2_4cfeb6701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -46,7 +46,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../i18n-manager/lib/I18N babelHelpers.createClass(CleanOneSearchBox, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83bb68601da511ed9d313b9780b2ae17 || (_templateObject_83bb68601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.t.searchSiteContent, this.t.typeToSearch, this.value, this.searchChanged); + return (0, _index.html)(_templateObject_4cfeb6701e5811ed81a80d03c17d190b || (_templateObject_4cfeb6701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.t.searchSiteContent, this.t.typeToSearch, this.value, this.searchChanged); } }, { key: "searchChanged", @@ -70,7 +70,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../i18n-manager/lib/I18N }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83bb68601da511ed9d313b9780b2ae17 || (_templateObject2_83bb68601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n input {\n line-height: normal;\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n input,\n input:focus,\n input:hover {\n background: 0 0;\n border: 1px solid transparent;\n box-shadow: none;\n outline: 0;\n line-height: 22px;\n padding: 7px 7px;\n color: inherit;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4cfeb6701e5811ed81a80d03c17d190b || (_templateObject2_4cfeb6701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n input {\n line-height: normal;\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n }\n input,\n input:focus,\n input:hover {\n background: 0 0;\n border: 1px solid transparent;\n box-shadow: none;\n outline: 0;\n line-height: 22px;\n padding: 7px 7px;\n color: inherit;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/clean-two/clean-two.js b/build/es5-amd/node_modules/@lrnwebcomponents/clean-two/clean-two.js index e74aebe687e..5ad2145aa1f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/clean-two/clean-two.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/clean-two/clean-two.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.CleanTwo = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3fd3d5101da511ed9d313b9780b2ae17, _templateObject2_3fd3d5101da511ed9d313b9780b2ae17, _templateObject3_3fd3d5101da511ed9d313b9780b2ae17, _templateObject4_3fd3d5101da511ed9d313b9780b2ae17, _templateObject5_3fd3d5101da511ed9d313b9780b2ae17; + var _templateObject_113cb5601e5811ed81a80d03c17d190b, _templateObject2_113cb5601e5811ed81a80d03c17d190b, _templateObject3_113cb5601e5811ed81a80d03c17d190b, _templateObject4_113cb5601e5811ed81a80d03c17d190b, _templateObject5_113cb5601e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -113,7 +113,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_3fd3d5101da511ed9d313b9780b2ae17 || (_templateObject_3fd3d5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    ", "
    \n
    \n
    \n
    \n ", "\n ", "\n \n \n \n ", "\n ", "\n \n \n ", "\n
    \n \n
    \n
    \n \n \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n Last updated\n \n \n
    \n
    \n
    \n
    \n
    \n ", "\n
    \n "])), this.HAXCMSMobileMenu(), !["lg", "xl"].includes(this.responsiveSize) ? (0, _index.html)(_templateObject2_3fd3d5101da511ed9d313b9780b2ae17 || (_templateObject2_3fd3d5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.editMode ? "edit-mode-active" : "") : "", this.HAXCMSMobileMenuButton(), this.siteModalClick, this.editMode, _microFrontendRegistry.MicroFrontendRegistry.has('@haxcms/siteToHtml') ? this.PrintBranchButton() : (0, _index.html)(_templateObject3_3fd3d5101da511ed9d313b9780b2ae17 || (_templateObject3_3fd3d5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.PDFPageButton(), this.QRCodeButton('right'), this.searchTerm, this.searchItemSelected, this.searchTerm != "" ? false : true, this.searchTerm != "" ? true : false, this.__prevPageLabelChanged, this.prevPage, this.__nextPageLabelChanged, this.nextPage, this.pageTimestamp, ["lg", "xl"].includes(this.responsiveSize) ? (0, _index.html)(_templateObject4_3fd3d5101da511ed9d313b9780b2ae17 || (_templateObject4_3fd3d5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n
    \n "])), this.editMode ? "edit-mode-active" : "") : ""); + return (0, _index.html)(_templateObject_113cb5601e5811ed81a80d03c17d190b || (_templateObject_113cb5601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    ", "
    \n
    \n
    \n
    \n ", "\n ", "\n \n \n \n ", "\n ", "\n \n \n ", "\n
    \n \n
    \n
    \n \n \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n Last updated\n \n \n
    \n
    \n
    \n
    \n
    \n ", "\n
    \n "])), this.HAXCMSMobileMenu(), !["lg", "xl"].includes(this.responsiveSize) ? (0, _index.html)(_templateObject2_113cb5601e5811ed81a80d03c17d190b || (_templateObject2_113cb5601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.editMode ? "edit-mode-active" : "") : "", this.HAXCMSMobileMenuButton(), this.siteModalClick, this.editMode, _microFrontendRegistry.MicroFrontendRegistry.has('@haxcms/siteToHtml') ? this.PrintBranchButton() : (0, _index.html)(_templateObject3_113cb5601e5811ed81a80d03c17d190b || (_templateObject3_113cb5601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.PDFPageButton(), this.QRCodeButton('right'), this.searchTerm, this.searchItemSelected, this.searchTerm != "" ? false : true, this.searchTerm != "" ? true : false, this.__prevPageLabelChanged, this.prevPage, this.__nextPageLabelChanged, this.nextPage, this.pageTimestamp, ["lg", "xl"].includes(this.responsiveSize) ? (0, _index.html)(_templateObject4_113cb5601e5811ed81a80d03c17d190b || (_templateObject4_113cb5601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n
    \n
    \n "])), this.editMode ? "edit-mode-active" : "") : ""); } }, { key: "__prevPageLabelChanged", @@ -154,7 +154,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanTwo), "styles", this)), [(0, _index.css)(_templateObject5_3fd3d5101da511ed9d313b9780b2ae17 || (_templateObject5_3fd3d5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n background-color: white;\n --haxcms-base-styles-body-font-size:16px;\n --hax-base-styles-a-font-size: 16px;\n --hax-base-styles-p-font-size: 16px;\n --hax-base-styles-list-font-size: 16px;\n --haxcms-base-styles-body-font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif\n --haxcms-base-styles-body-line-height: 1.7;\n --hax-base-styles-list-line-height: 1.7;\n --hax-base-styles-p-line-height: 1.7;\n --hax-base-styles-p-letter-spacing: .2px;\n --haxcms-base-styles-body-letter-spacing : .2px;\n --hax-base-styles-p-min-height: auto;\n --hax-base-styles-list-max-width: auto;\n --haxcms-base-styles-p-min-height: auto;\n --hax-base-styles-list-padding-bottom: auto;\n --hax-base-styles-h1-font-size: inherit;\n --hax-base-styles-h2-font-size: inherit;\n --hax-base-styles-h3-font-size: inherit;\n --hax-base-styles-h4-font-size: inherit;\n --hax-base-styles-h5-font-size: inherit;\n --hax-base-styles-h6-font-size: inherit;\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n --hax-base-styles-a-color-visited: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n --hax-base-styles-a-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n --hax-base-styles-a-color-active: #000000;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #F5F5F5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n .link-actions {\n margin: 0;\n display: block;\n padding: 0;\n border-top: 2px solid #E6ECF1;\n margin-top: 24px;\n align-items: center;\n padding-top: 24px;\n flex-direction: row;\n -webkit-box-align: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n }\n .link-actions .inner {\n width: auto;\n margin: 0;\n display: grid;\n padding: 0;\n -ms-grid-rows: auto;\n grid-column-gap: 24px;\n -ms-grid-columns: 1fr 1fr;\n grid-template-rows: auto;\n grid-template-areas: \"previous next\";\n grid-template-columns: 1fr 1fr;\n }\n site-menu-button {\n --site-menu-button-link-decoration: none;\n --site-menu-button-button-hover-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n color: #242A31;\n border: 1px solid #E6ECF1;\n margin: 0;\n display: block;\n padding: 0;\n position: relative;\n align-self: stretch;\n box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);\n transition: border 250ms ease;\n align-items: center;\n justify-self: stretch;\n text-overflow: ellipsis;\n border-radius: 3px;\n flex-direction: row;\n -moz-transition: border 250ms ease;\n text-decoration: none;\n background-color: #FFFFFF;\n -webkit-box-align: center;\n page-break-inside: avoid;\n -ms-grid-row-align: stretch;\n -webkit-box-orient: horizontal;\n -webkit-transition: border 250ms ease;\n -ms-grid-column-align: stretch;\n -webkit-box-direction: normal;\n }\n replace-tag[with=\"site-git-corner\"],\n site-git-corner {\n height: 40px;\n width: 40px;\n margin-left: -66px;\n padding:0;\n --github-corner-size: 40px;\n --site-git-corner-color: black;\n --site-git-corner-background: transparent;\n background-color: transparent;\n color: black;\n padding: 8px;\n display: block;\n float: unset;\n }\n .print-branch-btn simple-icon-button-lite,\n .pdf-page-btn simple-icon-button-lite {\n --simple-icon-height: 24px;\n --simple-icon-width: 24px;\n color: black;\n padding: 8px;\n display: block;\n width: 36px;\n margin-left: -60px;\n }\n site-menu-button[edit-mode][disabled] {\n display: block;\n }\n site-menu-button[type=\"prev\"] {\n grid-area: previous;\n }\n site-menu-button[type=\"next\"] {\n grid-area: next;\n }\n site-menu-button div.wrapper {\n flex: 1;\n margin: 0;\n display: block;\n padding: 16px;\n text-overflow: ellipsis;\n text-decoration: none;\n font-size: 16px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n text-transform: none;\n }\n site-menu-button div .top {\n font-size: 12px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 400;\n line-height: 1.625;\n color: #444444;\n }\n simple-datetime {\n color: #444444;\n }\n site-menu-button div .bottom {\n font-size: 16px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n max-height: 50px;\n overflow: hidden;\n }\n site-menu-button[type=\"next\"] div {\n text-align: left; \n }\n site-menu-button[type=\"prev\"] div {\n text-align: right; \n }\n site-active-title {\n display: block;\n padding: 0;\n flex-wrap: wrap;\n align-items: baseline;\n flex-direction: row;\n -webkit-box-align: baseline;\n -webkit-box-lines: multiple;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex: auto;\n margin: 0;\n background-color: white;\n }\n site-active-title h1 {\n margin: 0;\n }\n \n .body-wrapper {\n flex: 1;\n height: auto;\n height: 100vh;\n font-size: 16px;\n color: #3B454E;\n background-color: #ffffff;\n width: 100%;\n margin: 0 auto;\n display: flex;\n padding: 0;\n transition: margin-bottom 250ms ease;\n align-items: stretch;\n -moz-transition: margin-bottom 250ms ease;\n -webkit-box-align: stretch;\n -webkit-transition: margin-bottom 250ms ease;\n overflow-x: hidden;\n }\n :host([is-logged-in]) .body-wrapper {\n height: calc(100vh - 48px);\n }\n :host([menu-open]) .body-wrapper .left-col {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n .body-wrapper .content-wrapper .content {\n margin: 0;\n padding: 0 64px 32px;\n }\n \n nav {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n flex: 0 0 auto;\n display: flex;\n z-index: 15;\n min-width: 300px;\n background: #F5F7F9;\n align-items: stretch;\n border-right: 1px solid #E6ECF1;\n flex-direction: column;\n -webkit-box-align: stretch;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .left-col {\n flex: 1;\n margin: 0;\n padding: 0;\n display: none;\n background-color: #F5F7F9;\n }\n @media screen and (min-width: 900px){\n .left-col {\n flex: 0 0 auto;\n width: auto;\n z-index: 15;\n width: 300px;\n align-items: stretch;\n border-right: 1px solid #E6ECF1;\n flex-direction: column;\n -webkit-box-align: stretch;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n }\n site-menu {\n --site-menu-font-size: 15px;\n --site-menu-color: #000000;\n --site-menu-active-color: #E6ECF1;\n --site-menu-item-active-item-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n overflow-y: auto;\n flex: 1 1 auto;\n height: 100vh;\n width: 300px;\n left: 0;\n margin: 32px 0 32px 0;\n display: block;\n padding: 0;\n position: sticky;\n font-size: 15px;\n overflow-x: hidden;\n -webkit-overflow-scrolling: touch;\n }\n\n .qr-code-btn {\n padding: 8px;\n display: block;\n margin-left: -60px;\n width: 36px;\n }\n .content-wrapper {\n max-width: 100%;\n margin: 0;\n display: flex;\n padding: 0;\n background-color: #ffffff;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n :host([menu-open]) .content-wrapper {\n width: calc(100% - 300px);\n }\n .header {\n position: sticky;\n top: 0;\n width: 100%;\n padding: 0;\n margin: 0;\n z-index: 2;\n height: 40px;\n }\n .header #haxcmsmobilemenubutton {\n margin-left: -52px;\n padding: 8px;\n }\n .header site-menu-content {\n display: inline-flex;\n float: right;\n color: black;\n font-size: 1.5em;\n margin-right: -52px;\n }\n .content {\n flex: 1 1 auto;\n margin: 0px 16px;\n display: block;\n padding: 0;\n }\n \n @media screen and (max-width: 1200px) {\n .content {\n width: 80vw;\n }\n :host([menu-open]) .content {\n width: calc(80vw - 300px);\n }\n }\n @media screen and (max-width: 400px) {\n .content {\n width: 200px;\n }\n .body-wrapper {\n overflow-x: hidden;\n }\n .header site-menu-content {\n margin-right: -40px;\n }\n site-menu {\n width: 250px;\n }\n #haxcmsmobilemenunav {\n min-width: 250px;\n margin-left: 0px;\n }\n :host([menu-open]) #haxcmsmobilemenubutton{\n margin-left: -52px;\n }\n .link-actions .inner {\n display: block;\n }\n site-menu-button {\n margin: 10px 0;\n }\n #slot ::slotted(iframe) {\n width: auto;\n } \n }\n @media screen and (max-width: 600px) {\n .header site-menu-content {\n margin-right: -40px;\n }\n .link-actions .inner {\n display: block;\n }\n site-menu-button {\n margin: 10px 0;\n }\n #slot ::slotted(iframe) {\n width: auto;\n }\n .content {\n width: 300px;\n }\n #slot ::slotted(*) {\n word-break: break-all;\n }\n #slot ::slotted(replace-tag) {\n overflow: hidden;\n }\n }\n .right-col {\n margin: 0;\n padding: 0;\n position: relative;\n margin-right: auto;\n max-width: 100%;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n min-height: 100%;\n color: #3B454E;\n }\n .site-menu-content-wrapper {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n flex: 0 0 auto;\n padding-right: 0;\n min-width: 240px;\n flex: 1;\n margin: 0;\n display: block;\n max-width: 100%;\n max-height: 976px;\n z-index: 1;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n height: 100%;\n margin: 0;\n display: flex;\n padding-top: 40px;\n flex-direction: column;\n padding-bottom: 40px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .right-col site-menu-content {\n flex: 1;\n max-width: 240px;\n margin: 0;\n display: flex;\n padding: 0;\n background-color: #ffffff;\n overflow: hidden;\n position: fixed;\n min-width: 224px;\n counter-reset: toc;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .right-col site-menu-content::before {\n top: 0;\n left: 0;\n height: 100%;\n content: \" \";\n position: absolute;\n border-left: 1px solid #E6ECF1;\n }\n .footer {\n margin: 0;\n display: flex;\n padding: 0;\n border-top: 2px solid #E6ECF1;\n margin-top: 24px;\n align-items: center;\n padding-top: 24px;\n flex-direction: row;\n -webkit-box-align: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n }\n .footer-left {\n flex: 1;\n margin: 0;\n display: block;\n padding: 0;\n font-size: 12px;\n color: #444444;\n }\n simple-icon-button,\n site-rss-button,\n replace-tag[with=\"site-rss-button\"],\n replace-tag[with=\"site-print-button\"],\n site-print-button {\n color: black;\n --haxcms-tooltip-color: #F5F5F5;\n --haxcms-tooltip-background-color: #252737;\n }\n site-rss-button,\n site-print-button,\n site-modal {\n --simple-icon-height: 24px;\n --simple-icon-width: 24px;\n padding: 8px;\n display: block;\n margin-left: -52px;\n width: 36px;\n }\n site-breadcrumb {\n --site-breadcrumb-font-size: 12px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CleanTwo), "styles", this)), [(0, _index.css)(_templateObject5_113cb5601e5811ed81a80d03c17d190b || (_templateObject5_113cb5601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n background-color: white;\n --haxcms-base-styles-body-font-size:16px;\n --hax-base-styles-a-font-size: 16px;\n --hax-base-styles-p-font-size: 16px;\n --hax-base-styles-list-font-size: 16px;\n --haxcms-base-styles-body-font-family: \"Helvetica Neue\",Helvetica,Arial,sans-serif\n --haxcms-base-styles-body-line-height: 1.7;\n --hax-base-styles-list-line-height: 1.7;\n --hax-base-styles-p-line-height: 1.7;\n --hax-base-styles-p-letter-spacing: .2px;\n --haxcms-base-styles-body-letter-spacing : .2px;\n --hax-base-styles-p-min-height: auto;\n --hax-base-styles-list-max-width: auto;\n --haxcms-base-styles-p-min-height: auto;\n --hax-base-styles-list-padding-bottom: auto;\n --hax-base-styles-h1-font-size: inherit;\n --hax-base-styles-h2-font-size: inherit;\n --hax-base-styles-h3-font-size: inherit;\n --hax-base-styles-h4-font-size: inherit;\n --hax-base-styles-h5-font-size: inherit;\n --hax-base-styles-h6-font-size: inherit;\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n --hax-base-styles-a-color-visited: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n --hax-base-styles-a-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n --hax-base-styles-a-color-active: #000000;\n --site-search-result-background-color: transparent;\n --site-search-result-background-color-hover: #F5F5F5;\n --site-search-link-color-hover: #252737;\n --site-search-link-text-color: #252737;\n --site-search-link-color: #252737;\n --site-search-result-color: #252737;\n }\n .link-actions {\n margin: 0;\n display: block;\n padding: 0;\n border-top: 2px solid #E6ECF1;\n margin-top: 24px;\n align-items: center;\n padding-top: 24px;\n flex-direction: row;\n -webkit-box-align: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n }\n .link-actions .inner {\n width: auto;\n margin: 0;\n display: grid;\n padding: 0;\n -ms-grid-rows: auto;\n grid-column-gap: 24px;\n -ms-grid-columns: 1fr 1fr;\n grid-template-rows: auto;\n grid-template-areas: \"previous next\";\n grid-template-columns: 1fr 1fr;\n }\n site-menu-button {\n --site-menu-button-link-decoration: none;\n --site-menu-button-button-hover-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n color: #242A31;\n border: 1px solid #E6ECF1;\n margin: 0;\n display: block;\n padding: 0;\n position: relative;\n align-self: stretch;\n box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);\n transition: border 250ms ease;\n align-items: center;\n justify-self: stretch;\n text-overflow: ellipsis;\n border-radius: 3px;\n flex-direction: row;\n -moz-transition: border 250ms ease;\n text-decoration: none;\n background-color: #FFFFFF;\n -webkit-box-align: center;\n page-break-inside: avoid;\n -ms-grid-row-align: stretch;\n -webkit-box-orient: horizontal;\n -webkit-transition: border 250ms ease;\n -ms-grid-column-align: stretch;\n -webkit-box-direction: normal;\n }\n replace-tag[with=\"site-git-corner\"],\n site-git-corner {\n height: 40px;\n width: 40px;\n margin-left: -66px;\n padding:0;\n --github-corner-size: 40px;\n --site-git-corner-color: black;\n --site-git-corner-background: transparent;\n background-color: transparent;\n color: black;\n padding: 8px;\n display: block;\n float: unset;\n }\n .print-branch-btn simple-icon-button-lite,\n .pdf-page-btn simple-icon-button-lite {\n --simple-icon-height: 24px;\n --simple-icon-width: 24px;\n color: black;\n padding: 8px;\n display: block;\n width: 36px;\n margin-left: -60px;\n }\n site-menu-button[edit-mode][disabled] {\n display: block;\n }\n site-menu-button[type=\"prev\"] {\n grid-area: previous;\n }\n site-menu-button[type=\"next\"] {\n grid-area: next;\n }\n site-menu-button div.wrapper {\n flex: 1;\n margin: 0;\n display: block;\n padding: 16px;\n text-overflow: ellipsis;\n text-decoration: none;\n font-size: 16px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n text-transform: none;\n }\n site-menu-button div .top {\n font-size: 12px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 400;\n line-height: 1.625;\n color: #444444;\n }\n simple-datetime {\n color: #444444;\n }\n site-menu-button div .bottom {\n font-size: 16px;\n font-family: Content-font, Roboto, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n max-height: 50px;\n overflow: hidden;\n }\n site-menu-button[type=\"next\"] div {\n text-align: left; \n }\n site-menu-button[type=\"prev\"] div {\n text-align: right; \n }\n site-active-title {\n display: block;\n padding: 0;\n flex-wrap: wrap;\n align-items: baseline;\n flex-direction: row;\n -webkit-box-align: baseline;\n -webkit-box-lines: multiple;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex: auto;\n margin: 0;\n background-color: white;\n }\n site-active-title h1 {\n margin: 0;\n }\n \n .body-wrapper {\n flex: 1;\n height: auto;\n height: 100vh;\n font-size: 16px;\n color: #3B454E;\n background-color: #ffffff;\n width: 100%;\n margin: 0 auto;\n display: flex;\n padding: 0;\n transition: margin-bottom 250ms ease;\n align-items: stretch;\n -moz-transition: margin-bottom 250ms ease;\n -webkit-box-align: stretch;\n -webkit-transition: margin-bottom 250ms ease;\n overflow-x: hidden;\n }\n :host([is-logged-in]) .body-wrapper {\n height: calc(100vh - 48px);\n }\n :host([menu-open]) .body-wrapper .left-col {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n .body-wrapper .content-wrapper .content {\n margin: 0;\n padding: 0 64px 32px;\n }\n \n nav {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n flex: 0 0 auto;\n display: flex;\n z-index: 15;\n min-width: 300px;\n background: #F5F7F9;\n align-items: stretch;\n border-right: 1px solid #E6ECF1;\n flex-direction: column;\n -webkit-box-align: stretch;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .left-col {\n flex: 1;\n margin: 0;\n padding: 0;\n display: none;\n background-color: #F5F7F9;\n }\n @media screen and (min-width: 900px){\n .left-col {\n flex: 0 0 auto;\n width: auto;\n z-index: 15;\n width: 300px;\n align-items: stretch;\n border-right: 1px solid #E6ECF1;\n flex-direction: column;\n -webkit-box-align: stretch;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n }\n site-menu {\n --site-menu-font-size: 15px;\n --site-menu-color: #000000;\n --site-menu-active-color: #E6ECF1;\n --site-menu-item-active-item-color: var(--haxcms-color, var(--simple-colors-default-theme-purple-7));\n overflow-y: auto;\n flex: 1 1 auto;\n height: 100vh;\n width: 300px;\n left: 0;\n margin: 32px 0 32px 0;\n display: block;\n padding: 0;\n position: sticky;\n font-size: 15px;\n overflow-x: hidden;\n -webkit-overflow-scrolling: touch;\n }\n\n .qr-code-btn {\n padding: 8px;\n display: block;\n margin-left: -60px;\n width: 36px;\n }\n .content-wrapper {\n max-width: 100%;\n margin: 0;\n display: flex;\n padding: 0;\n background-color: #ffffff;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n :host([menu-open]) .content-wrapper {\n width: calc(100% - 300px);\n }\n .header {\n position: sticky;\n top: 0;\n width: 100%;\n padding: 0;\n margin: 0;\n z-index: 2;\n height: 40px;\n }\n .header #haxcmsmobilemenubutton {\n margin-left: -52px;\n padding: 8px;\n }\n .header site-menu-content {\n display: inline-flex;\n float: right;\n color: black;\n font-size: 1.5em;\n margin-right: -52px;\n }\n .content {\n flex: 1 1 auto;\n margin: 0px 16px;\n display: block;\n padding: 0;\n }\n \n @media screen and (max-width: 1200px) {\n .content {\n width: 80vw;\n }\n :host([menu-open]) .content {\n width: calc(80vw - 300px);\n }\n }\n @media screen and (max-width: 400px) {\n .content {\n width: 200px;\n }\n .body-wrapper {\n overflow-x: hidden;\n }\n .header site-menu-content {\n margin-right: -40px;\n }\n site-menu {\n width: 250px;\n }\n #haxcmsmobilemenunav {\n min-width: 250px;\n margin-left: 0px;\n }\n :host([menu-open]) #haxcmsmobilemenubutton{\n margin-left: -52px;\n }\n .link-actions .inner {\n display: block;\n }\n site-menu-button {\n margin: 10px 0;\n }\n #slot ::slotted(iframe) {\n width: auto;\n } \n }\n @media screen and (max-width: 600px) {\n .header site-menu-content {\n margin-right: -40px;\n }\n .link-actions .inner {\n display: block;\n }\n site-menu-button {\n margin: 10px 0;\n }\n #slot ::slotted(iframe) {\n width: auto;\n }\n .content {\n width: 300px;\n }\n #slot ::slotted(*) {\n word-break: break-all;\n }\n #slot ::slotted(replace-tag) {\n overflow: hidden;\n }\n }\n .right-col {\n margin: 0;\n padding: 0;\n position: relative;\n margin-right: auto;\n max-width: 100%;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n min-height: 100%;\n color: #3B454E;\n }\n .site-menu-content-wrapper {\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n flex: 0 0 auto;\n padding-right: 0;\n min-width: 240px;\n flex: 1;\n margin: 0;\n display: block;\n max-width: 100%;\n max-height: 976px;\n z-index: 1;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n height: 100%;\n margin: 0;\n display: flex;\n padding-top: 40px;\n flex-direction: column;\n padding-bottom: 40px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .right-col site-menu-content {\n flex: 1;\n max-width: 240px;\n margin: 0;\n display: flex;\n padding: 0;\n background-color: #ffffff;\n overflow: hidden;\n position: fixed;\n min-width: 224px;\n counter-reset: toc;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n }\n .right-col site-menu-content::before {\n top: 0;\n left: 0;\n height: 100%;\n content: \" \";\n position: absolute;\n border-left: 1px solid #E6ECF1;\n }\n .footer {\n margin: 0;\n display: flex;\n padding: 0;\n border-top: 2px solid #E6ECF1;\n margin-top: 24px;\n align-items: center;\n padding-top: 24px;\n flex-direction: row;\n -webkit-box-align: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n }\n .footer-left {\n flex: 1;\n margin: 0;\n display: block;\n padding: 0;\n font-size: 12px;\n color: #444444;\n }\n simple-icon-button,\n site-rss-button,\n replace-tag[with=\"site-rss-button\"],\n replace-tag[with=\"site-print-button\"],\n site-print-button {\n color: black;\n --haxcms-tooltip-color: #F5F5F5;\n --haxcms-tooltip-background-color: #252737;\n }\n site-rss-button,\n site-print-button,\n site-modal {\n --simple-icon-height: 24px;\n --simple-icon-width: 24px;\n padding: 8px;\n display: block;\n margin-left: -52px;\n width: 36px;\n }\n site-breadcrumb {\n --site-breadcrumb-font-size: 12px;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/cms-hax.js b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/cms-hax.js index ffb9f4b11d3..a5ca5dfacd3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/cms-hax.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/cms-hax.js @@ -7,12 +7,14 @@ define(["exports", "require", "../../lit/index.js", "../../@polymer/iron-ajax/ir _exports.CmsHax = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3fe031201da511ed9d313b9780b2ae17, _templateObject2_3fe031201da511ed9d313b9780b2ae17; + var _templateObject_114ba9801e5811ed81a80d03c17d190b, _templateObject2_114ba9801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -77,7 +79,7 @@ define(["exports", "require", "../../lit/index.js", "../../@polymer/iron-ajax/ir babelHelpers.createClass(CmsHax, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3fe031201da511ed9d313b9780b2ae17 || (_templateObject_3fe031201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.endPoint, this.method, this._handleUpdateResponse, this.__appStore); + return (0, _index.html)(_templateObject_114ba9801e5811ed81a80d03c17d190b || (_templateObject_114ba9801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.endPoint, this.method, this._handleUpdateResponse, this.__appStore); } }, { key: "decodeHTMLEntities", @@ -246,18 +248,18 @@ define(["exports", "require", "../../lit/index.js", "../../@polymer/iron-ajax/ir }, { key: "__applyMO", value: function () { - var _applyMO = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var _applyMO = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var _this7 = this; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: // notice ANY change to body and bubble up, only when we are attached though if (!this._observer && this.syncBody && _haxStore.HAXStore.activeHaxBody) { this._observer = new MutationObserver( /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(mutations) { - return regeneratorRuntime.wrap(function _callee$(_context) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(mutations) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -348,8 +350,8 @@ define(["exports", "require", "../../lit/index.js", "../../@polymer/iron-ajax/ir }, { key: "_saveFired", value: function () { - var _saveFired2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(e) { - return regeneratorRuntime.wrap(function _callee3$(_context3) { + var _saveFired2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(e) { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: @@ -424,7 +426,7 @@ define(["exports", "require", "../../lit/index.js", "../../@polymer/iron-ajax/ir * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3fe031201da511ed9d313b9780b2ae17 || (_templateObject2_3fe031201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n box-sizing: content-box;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_114ba9801e5811ed81a80d03c17d190b || (_templateObject2_114ba9801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n box-sizing: content-box;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-block.js b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-block.js index 2265a296c5e..e08036e42d4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-block.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-block.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.CMSBlock = void 0; - var _templateObject_83c071701da511ed9d313b9780b2ae17; + var _templateObject_4d0323401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -179,7 +179,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_83c071701da511ed9d313b9780b2ae17 || (_templateObject_83c071701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d0323401e5811ed81a80d03c17d190b || (_templateObject_4d0323401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-entity.js b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-entity.js index 0f30738b087..8d8d51084a8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-entity.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-entity.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.CMSEntity = void 0; - var _templateObject_83c5c8a01da511ed9d313b9780b2ae17; + var _templateObject_4d06f3d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -180,7 +180,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_83c5c8a01da511ed9d313b9780b2ae17 || (_templateObject_83c5c8a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d06f3d01e5811ed81a80d03c17d190b || (_templateObject_4d06f3d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-token.js b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-token.js index 372d6f8da35..992511fafaf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-token.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-token.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.CMSToken = void 0; - var _templateObject_83cc7f601da511ed9d313b9780b2ae17; + var _templateObject_4d0c4b001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -251,7 +251,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_83cc7f601da511ed9d313b9780b2ae17 || (_templateObject_83cc7f601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d0c4b001e5811ed81a80d03c17d190b || (_templateObject_4d0c4b001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-views.js b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-views.js index 63a62a823a6..3eb0b6366ea 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-views.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/cms-hax/lib/cms-views.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.CMSViews = void 0; - var _templateObject_83d299e01da511ed9d313b9780b2ae17; + var _templateObject_4d101b901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -179,7 +179,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_83d299e01da511ed9d313b9780b2ae17 || (_templateObject_83d299e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d101b901e5811ed81a80d03c17d190b || (_templateObject_4d101b901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/code-editor/code-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/code-editor/code-editor.js index 53c4ecaa04f..fa4233beb74 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/code-editor/code-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/code-editor/code-editor.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_406ba8401da511ed9d313b9780b2ae17, _templateObject2_406ba8401da511ed9d313b9780b2ae17, _templateObject3_406ba8401da511ed9d313b9780b2ae17; + var _templateObject_1152d5701e5811ed81a80d03c17d190b, _templateObject2_1152d5701e5811ed81a80d03c17d190b, _templateObject3_1152d5701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -92,9 +92,9 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_406ba8401da511ed9d313b9780b2ae17 || (_templateObject_406ba8401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n
    \n \n \n \n
    \n
    \n "])), this.companyLink, this.company, this.organizationLink, this.organization); + return (0, _index.html)(_templateObject_4d1c02701e5811ed81a80d03c17d190b || (_templateObject_4d1c02701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n "])), this.companyLink, this.company, this.organizationLink, this.organization); } }], [{ key: "tag", @@ -74,7 +74,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83e49b401da511ed9d313b9780b2ae17 || (_templateObject2_83e49b401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n @media screen and (min-width: 320px) {\n #footer-container {\n min-height: 150px;\n border-top: solid 3px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #footer-container {\n min-height: 200px;\n border-top: solid 4px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #footer-container {\n min-height: 250px;\n border-top: solid 5px;\n }\n }\n\n #footer-container {\n background-color: #000;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n @media screen and (min-width: 320px) {\n #company-logo img {\n height: 70px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #company-logo img {\n height: 80px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #company-logo img {\n height: 100px;\n }\n }\n\n @media screen and (min-width: 1120px) {\n #company-logo img {\n height: 120px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #organization-logo img {\n height: 70px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #organization-logo img {\n height: 80px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #organization-logo img {\n height: 100px;\n }\n }\n\n @media screen and (min-width: 1120px) {\n #organization-logo img {\n height: 120px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d1c02701e5811ed81a80d03c17d190b || (_templateObject2_4d1c02701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n @media screen and (min-width: 320px) {\n #footer-container {\n min-height: 150px;\n border-top: solid 3px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #footer-container {\n min-height: 200px;\n border-top: solid 4px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #footer-container {\n min-height: 250px;\n border-top: solid 5px;\n }\n }\n\n #footer-container {\n background-color: #000;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n @media screen and (min-width: 320px) {\n #company-logo img {\n height: 70px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #company-logo img {\n height: 80px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #company-logo img {\n height: 100px;\n }\n }\n\n @media screen and (min-width: 1120px) {\n #company-logo img {\n height: 120px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #organization-logo img {\n height: 70px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #organization-logo img {\n height: 80px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #organization-logo img {\n height: 100px;\n }\n }\n\n @media screen and (min-width: 1120px) {\n #organization-logo img {\n height: 120px;\n }\n }\n "])))]; } }]); return CourseIntroFooter; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-header.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-header.js index fb63d54ae17..28c73d801f1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-header.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-header.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-store.js", "../../simple-icon/simple-icon.js", "../../simple-icon/lib/simple-icons.js", "../../simple-icon/lib/simple-icon-button.js", "../../../mobx/dist/mobx.esm.js"], function (_index, _haxcmsSiteStore, _simpleIcon, _simpleIcons, _simpleIconButton, _mobxEsm) { "use strict"; - var _templateObject_83e81db01da511ed9d313b9780b2ae17, _templateObject2_83e81db01da511ed9d313b9780b2ae17; + var _templateObject_4d1f36c01e5811ed81a80d03c17d190b, _templateObject2_4d1f36c01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -45,7 +45,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_83e81db01da511ed9d313b9780b2ae17 || (_templateObject_83e81db01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon, this.title, this.description); + return (0, _index.html)(_templateObject_4d1f36c01e5811ed81a80d03c17d190b || (_templateObject_4d1f36c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon, this.title, this.description); } }], [{ key: "properties", @@ -65,7 +65,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83e81db01da511ed9d313b9780b2ae17 || (_templateObject2_83e81db01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n h1,\n h2,\n h3 {\n margin: 0;\n color: #fff;\n }\n\n @media screen and (min-width: 320px) {\n h1 {\n font-size: 2.5em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h1 {\n font-size: 3em;\n }\n }\n\n @media screen and (min-width: 920px) {\n h1 {\n font-size: 5em;\n }\n }\n\n @media screen and (min-width: 320px) {\n h2 {\n font-size: 1.5em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h2 {\n font-size: 2em;\n }\n }\n\n @media screen and (min-width: 920px) {\n h2 {\n font-size: 2.5em;\n }\n }\n\n @media screen and (min-width: 320px) {\n h3 {\n font-size: 1.2em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h3 {\n font-size: 1.5em;\n }\n }\n\n #header-container {\n display: flex;\n flex-direction: column;\n background-color: var(\n --course-intro-header--header--background-color,\n #1e1e1e\n );\n }\n\n #header {\n display: flex;\n justify-content: center;\n width: 100%;\n background-image: var(\n --course-intro-header--header--background-image\n );\n background-size: var(\n --course-intro-header--header--background-size,\n cover\n );\n background-repeat: var(\n --course-intro-header--header--background-repeat,\n no-repeat\n );\n background-position: var(\n --course-intro-header--header--background-position,\n top center\n );\n min-height: 28vw;\n }\n\n @media screen and (min-width: 320px) {\n #header-icon {\n background-color: #fff;\n width: 100px;\n height: 100px;\n border-radius: 50%;\n border: 6px solid\n var(--course-intro-header--header--background-color, #1e1e1e);\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n bottom: 64px;\n margin-left: auto;\n margin-right: auto;\n }\n }\n\n @media screen and (min-width: 320px) {\n simple-icon#course-icon {\n --simple-icon-width: 90px;\n --simple-icon-height: 90px;\n --simple-icon-color: var(\n --course-intro-header--icon--color,\n #1e1e1e\n );\n }\n }\n\n @media screen and (min-width: 620px) {\n #header-icon {\n width: 140px;\n height: 140px;\n bottom: 86px;\n }\n }\n\n @media screen and (min-width: 620px) {\n simple-icon#course-icon {\n --simple-icon-width: 110px;\n --simple-icon-height: 110px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #header-icon {\n width: 210px;\n height: 210px;\n border: 8px solid\n var(--course-intro-header--icon--border-color, #1e1e1e);\n bottom: 128px;\n }\n }\n\n @media screen and (min-width: 920px) {\n simple-icon#course-icon {\n --simple-icon-width: 190px;\n --simple-icon-height: 190px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #header-icon {\n width: 250px;\n height: 250px;\n bottom: 150px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n simple-icon#course-icon {\n --simple-icon-width: 200px;\n --simple-icon-height: 200px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #info {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 40px 0;\n text-transform: uppercase;\n font-family: Open Sans;\n margin-top: -110px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #info {\n margin-top: -130px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #info {\n margin-top: -160px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #info {\n margin-top: -190px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #sub-heading {\n margin-top: -20px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #sub-heading {\n margin-top: -30px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #sub-heading {\n margin-top: -40px;\n }\n }\n\n #lesson {\n padding: 10px 0 0;\n margin-bottom: -15px;\n }\n\n #header-shield {\n width: 100%;\n }\n\n @media screen and (min-width: 320px) {\n svg#psu-logo {\n width: 45px;\n height: 45px;\n padding: 10px 0 0 10px;\n }\n }\n\n @media screen and (min-width: 620px) {\n svg#psu-logo {\n width: 55px;\n height: 55px;\n padding: 12px 0 0 12px;\n }\n }\n\n @media screen and (min-width: 920px) {\n svg#psu-logo {\n width: 80px;\n height: 80px;\n padding: 15px 0 0 15px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d1f36c01e5811ed81a80d03c17d190b || (_templateObject2_4d1f36c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n h1,\n h2,\n h3 {\n margin: 0;\n color: #fff;\n }\n\n @media screen and (min-width: 320px) {\n h1 {\n font-size: 2.5em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h1 {\n font-size: 3em;\n }\n }\n\n @media screen and (min-width: 920px) {\n h1 {\n font-size: 5em;\n }\n }\n\n @media screen and (min-width: 320px) {\n h2 {\n font-size: 1.5em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h2 {\n font-size: 2em;\n }\n }\n\n @media screen and (min-width: 920px) {\n h2 {\n font-size: 2.5em;\n }\n }\n\n @media screen and (min-width: 320px) {\n h3 {\n font-size: 1.2em;\n font-weight: 300;\n }\n }\n\n @media screen and (min-width: 620px) {\n h3 {\n font-size: 1.5em;\n }\n }\n\n #header-container {\n display: flex;\n flex-direction: column;\n background-color: var(\n --course-intro-header--header--background-color,\n #1e1e1e\n );\n }\n\n #header {\n display: flex;\n justify-content: center;\n width: 100%;\n background-image: var(\n --course-intro-header--header--background-image\n );\n background-size: var(\n --course-intro-header--header--background-size,\n cover\n );\n background-repeat: var(\n --course-intro-header--header--background-repeat,\n no-repeat\n );\n background-position: var(\n --course-intro-header--header--background-position,\n top center\n );\n min-height: 28vw;\n }\n\n @media screen and (min-width: 320px) {\n #header-icon {\n background-color: #fff;\n width: 100px;\n height: 100px;\n border-radius: 50%;\n border: 6px solid\n var(--course-intro-header--header--background-color, #1e1e1e);\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n bottom: 64px;\n margin-left: auto;\n margin-right: auto;\n }\n }\n\n @media screen and (min-width: 320px) {\n simple-icon#course-icon {\n --simple-icon-width: 90px;\n --simple-icon-height: 90px;\n --simple-icon-color: var(\n --course-intro-header--icon--color,\n #1e1e1e\n );\n }\n }\n\n @media screen and (min-width: 620px) {\n #header-icon {\n width: 140px;\n height: 140px;\n bottom: 86px;\n }\n }\n\n @media screen and (min-width: 620px) {\n simple-icon#course-icon {\n --simple-icon-width: 110px;\n --simple-icon-height: 110px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #header-icon {\n width: 210px;\n height: 210px;\n border: 8px solid\n var(--course-intro-header--icon--border-color, #1e1e1e);\n bottom: 128px;\n }\n }\n\n @media screen and (min-width: 920px) {\n simple-icon#course-icon {\n --simple-icon-width: 190px;\n --simple-icon-height: 190px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #header-icon {\n width: 250px;\n height: 250px;\n bottom: 150px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n simple-icon#course-icon {\n --simple-icon-width: 200px;\n --simple-icon-height: 200px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #info {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 40px 0;\n text-transform: uppercase;\n font-family: Open Sans;\n margin-top: -110px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #info {\n margin-top: -130px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #info {\n margin-top: -160px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #info {\n margin-top: -190px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #sub-heading {\n margin-top: -20px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #sub-heading {\n margin-top: -30px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #sub-heading {\n margin-top: -40px;\n }\n }\n\n #lesson {\n padding: 10px 0 0;\n margin-bottom: -15px;\n }\n\n #header-shield {\n width: 100%;\n }\n\n @media screen and (min-width: 320px) {\n svg#psu-logo {\n width: 45px;\n height: 45px;\n padding: 10px 0 0 10px;\n }\n }\n\n @media screen and (min-width: 620px) {\n svg#psu-logo {\n width: 55px;\n height: 55px;\n padding: 12px 0 0 12px;\n }\n }\n\n @media screen and (min-width: 920px) {\n svg#psu-logo {\n width: 80px;\n height: 80px;\n padding: 15px 0 0 15px;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plan.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plan.js index f30c6a0cdc2..b075d7f900e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plan.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plan.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js"], function (_index) { "use strict"; - var _templateObject_83e9f2701da511ed9d313b9780b2ae17, _templateObject2_83e9f2701da511ed9d313b9780b2ae17; + var _templateObject_4d2096501e5811ed81a80d03c17d190b, _templateObject2_4d2096501e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -25,7 +25,7 @@ define(["../../../lit/index.js"], function (_index) { babelHelpers.createClass(CourseIntroLessonPlan, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83e9f2701da511ed9d313b9780b2ae17 || (_templateObject_83e9f2701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    ", "
    \n
    \n "])), this.link, this.title); + return (0, _index.html)(_templateObject_4d2096501e5811ed81a80d03c17d190b || (_templateObject_4d2096501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    ", "
    \n
    \n "])), this.link, this.title); } }], [{ key: "properties", @@ -42,7 +42,7 @@ define(["../../../lit/index.js"], function (_index) { }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83e9f2701da511ed9d313b9780b2ae17 || (_templateObject2_83e9f2701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n a:hover {\n background-color: #f5f5f5;\n }\n\n #container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n font-weight: 100;\n cursor: pointer;\n font-family: \"Lato\";\n }\n\n @media screen and (min-width: 320px) {\n #container {\n min-height: 40px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #container {\n min-height: 60px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #container {\n min-height: 80px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #title {\n font-size: 20px;\n color: rgb(77, 87, 104);\n }\n }\n\n @media screen and (min-width: 620px) {\n #title {\n font-size: 24px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #title {\n font-size: 26px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #title {\n font-size: 28px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d2096501e5811ed81a80d03c17d190b || (_templateObject2_4d2096501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n a:hover {\n background-color: #f5f5f5;\n }\n\n #container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n font-weight: 100;\n cursor: pointer;\n font-family: \"Lato\";\n }\n\n @media screen and (min-width: 320px) {\n #container {\n min-height: 40px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #container {\n min-height: 60px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #container {\n min-height: 80px;\n }\n }\n\n @media screen and (min-width: 320px) {\n #title {\n font-size: 20px;\n color: rgb(77, 87, 104);\n }\n }\n\n @media screen and (min-width: 620px) {\n #title {\n font-size: 24px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #title {\n font-size: 26px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #title {\n font-size: 28px;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plans.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plans.js index 89d42b58ea0..464e4a8134c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plans.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro-lesson-plans.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-store.js", "../../../mobx/dist/mobx.esm.js", "./course-intro-lesson-plan.js"], function (_index, _haxcmsSiteStore, _mobxEsm, _courseIntroLessonPlan) { "use strict"; - var _templateObject_83ec15501da511ed9d313b9780b2ae17, _templateObject2_83ec15501da511ed9d313b9780b2ae17, _templateObject3_83ec15501da511ed9d313b9780b2ae17; + var _templateObject_4d22b9301e5811ed81a80d03c17d190b, _templateObject2_4d22b9301e5811ed81a80d03c17d190b, _templateObject3_4d22b9301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -37,8 +37,8 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_83ec15501da511ed9d313b9780b2ae17 || (_templateObject_83ec15501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n ", "\n
    \n "])), this.items.map(function (plan) { - return (0, _index.html)(_templateObject2_83ec15501da511ed9d313b9780b2ae17 || (_templateObject2_83ec15501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), plan.title, plan.slug); + return (0, _index.html)(_templateObject_4d22b9301e5811ed81a80d03c17d190b || (_templateObject_4d22b9301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n ", "\n
    \n "])), this.items.map(function (plan) { + return (0, _index.html)(_templateObject2_4d22b9301e5811ed81a80d03c17d190b || (_templateObject2_4d22b9301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), plan.title, plan.slug); })); } }], [{ @@ -53,7 +53,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_83ec15501da511ed9d313b9780b2ae17 || (_templateObject3_83ec15501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: var(\n --course-intro-header--header--background-color,\n #1e1e1e\n );\n padding-bottom: 40px;\n min-height: 60vh;\n }\n\n @media screen and (min-width: 320px) {\n #plans-container {\n background: white;\n margin: 0 auto;\n max-width: 400px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #plans-container {\n max-width: 500px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #plans-container {\n max-width: 700px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #plans-container {\n max-width: 900px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject3_4d22b9301e5811ed81a80d03c17d190b || (_templateObject3_4d22b9301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: var(\n --course-intro-header--header--background-color,\n #1e1e1e\n );\n padding-bottom: 40px;\n min-height: 60vh;\n }\n\n @media screen and (min-width: 320px) {\n #plans-container {\n background: white;\n margin: 0 auto;\n max-width: 400px;\n }\n }\n\n @media screen and (min-width: 620px) {\n #plans-container {\n max-width: 500px;\n }\n }\n\n @media screen and (min-width: 920px) {\n #plans-container {\n max-width: 700px;\n }\n }\n\n @media screen and (min-width: 1220px) {\n #plans-container {\n max-width: 900px;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro.js index 06cba8f7c64..2fd1aeb1390 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/course-intro.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js", "./course-intro-header.js", "./course-intro-lesson-plans.js", "./course-intro-footer.js"], function (_index, _courseIntroHeader, _courseIntroLessonPlans, _courseIntroFooter) { "use strict"; - var _templateObject_83ee86501da511ed9d313b9780b2ae17, _templateObject2_83ee86501da511ed9d313b9780b2ae17; + var _templateObject_4d243fd01e5811ed81a80d03c17d190b, _templateObject2_4d243fd01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -28,7 +28,7 @@ define(["../../../lit/index.js", "./course-intro-header.js", "./course-intro-les babelHelpers.createClass(CourseIntro, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83ee86501da511ed9d313b9780b2ae17 || (_templateObject_83ee86501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); + return (0, _index.html)(_templateObject_4d243fd01e5811ed81a80d03c17d190b || (_templateObject_4d243fd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); } }], [{ key: "tag", @@ -38,7 +38,7 @@ define(["../../../lit/index.js", "./course-intro-header.js", "./course-intro-les }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83ee86501da511ed9d313b9780b2ae17 || (_templateObject2_83ee86501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d243fd01e5811ed81a80d03c17d190b || (_templateObject2_4d243fd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n }\n "])))]; } }]); return CourseIntro; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/ebook-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/ebook-button.js index 7b98deab0d2..7e20665d519 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/ebook-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/ebook-button.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js", "../../simple-icon/lib/simple-icons.js", "../../simple-icon/lib/simple-icon-lite.js"], function (_index, _simpleIcons, _simpleIconLite) { "use strict"; - var _templateObject_83f0f7501da511ed9d313b9780b2ae17, _templateObject2_83f0f7501da511ed9d313b9780b2ae17; + var _templateObject_4d26b0d01e5811ed81a80d03c17d190b, _templateObject2_4d26b0d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -75,7 +75,7 @@ define(["../../../lit/index.js", "../../simple-icon/lib/simple-icons.js", "../.. }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_83f0f7501da511ed9d313b9780b2ae17 || (_templateObject_83f0f7501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.link, this._clickLink, this.icon, this.title); + return (0, _index.html)(_templateObject_4d26b0d01e5811ed81a80d03c17d190b || (_templateObject_4d26b0d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.link, this._clickLink, this.icon, this.title); } }], [{ key: "properties", @@ -150,7 +150,7 @@ define(["../../../lit/index.js", "../../simple-icon/lib/simple-icons.js", "../.. }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83f0f7501da511ed9d313b9780b2ae17 || (_templateObject2_83f0f7501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --paper-button-click-state: #000;\n --paper-button-title: #000;\n --link-color: #aeaeae;\n }\n\n button {\n min-height: 48px;\n text-transform: none;\n padding: 10px 25px 10px 0;\n }\n\n button:active,\n button:focus,\n button:hover {\n color: var(--paper-button-click-state);\n outline: 2px solid black;\n cursor: pointer;\n }\n\n simple-icon-lite {\n height: 55px;\n width: 55px;\n margin-right: 5px;\n }\n\n .title {\n color: var(--paper-button-title);\n font-size: 16px;\n font-weight: bold;\n display: inline-flex;\n }\n a,\n a:-webkit-any-link {\n display: block;\n color: var(--link-color);\n text-decoration: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d26b0d01e5811ed81a80d03c17d190b || (_templateObject2_4d26b0d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --paper-button-click-state: #000;\n --paper-button-title: #000;\n --link-color: #aeaeae;\n }\n\n button {\n min-height: 48px;\n text-transform: none;\n padding: 10px 25px 10px 0;\n }\n\n button:active,\n button:focus,\n button:hover {\n color: var(--paper-button-click-state);\n outline: 2px solid black;\n cursor: pointer;\n }\n\n simple-icon-lite {\n height: 55px;\n width: 55px;\n margin-right: 5px;\n }\n\n .title {\n color: var(--paper-button-title);\n font-size: 16px;\n font-weight: bold;\n display: inline-flex;\n }\n a,\n a:-webkit-any-link {\n display: block;\n color: var(--link-color);\n text-decoration: none;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/lrn-h5p.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/lrn-h5p.js index cae4dab6e78..5c6e9542539 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/lrn-h5p.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/lrn-h5p.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-store.js", "../../../mobx/dist/mobx.esm.js"], function (_index, _haxcmsSiteStore, _mobxEsm) { "use strict"; - var _templateObject_83f4c7e01da511ed9d313b9780b2ae17, _templateObject2_83f4c7e01da511ed9d313b9780b2ae17, _templateObject3_83f4c7e01da511ed9d313b9780b2ae17, _templateObject4_83f4c7e01da511ed9d313b9780b2ae17; + var _templateObject_4d2a5a501e5811ed81a80d03c17d190b, _templateObject2_4d2a5a501e5811ed81a80d03c17d190b, _templateObject3_4d2a5a501e5811ed81a80d03c17d190b, _templateObject4_4d2a5a501e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -39,10 +39,10 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto if (this.querySelector("iframe")) { var matches = /(https?:\/\/[^\/]*).*embed\/([0-9]*)/g.exec(this.querySelector("iframe").src); var editUrl = "".concat(matches[1], "/node/").concat(matches[2], "/edit"); - return (0, _index.html)(_templateObject_83f4c7e01da511ed9d313b9780b2ae17 || (_templateObject_83f4c7e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n ", "\n \n
    \n "])), this._editing ? (0, _index.html)(_templateObject2_83f4c7e01da511ed9d313b9780b2ae17 || (_templateObject2_83f4c7e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["edit"])), editUrl) : ""); + return (0, _index.html)(_templateObject_4d2a5a501e5811ed81a80d03c17d190b || (_templateObject_4d2a5a501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n ", "\n \n
    \n "])), this._editing ? (0, _index.html)(_templateObject2_4d2a5a501e5811ed81a80d03c17d190b || (_templateObject2_4d2a5a501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["edit"])), editUrl) : ""); } - return (0, _index.html)(_templateObject3_83f4c7e01da511ed9d313b9780b2ae17 || (_templateObject3_83f4c7e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n
    "]))); + return (0, _index.html)(_templateObject3_4d2a5a501e5811ed81a80d03c17d190b || (_templateObject3_4d2a5a501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n \n
    "]))); } /** * Implements getHaxJSONSchema post processing callback. @@ -122,7 +122,7 @@ define(["../../../lit/index.js", "../../haxcms-elements/lib/core/haxcms-site-sto }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_83f4c7e01da511ed9d313b9780b2ae17 || (_templateObject4_83f4c7e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n position: relative;\n overflow: hidden;\n }\n #edit {\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n transform: translateY(-100%);\n transition: transform 0.2s ease-in-out;\n background: #2196f3;\n color: white;\n text-decoration: none;\n text-transform: uppercase;\n padding: 0.5em 1em;\n }\n #container:focus #edit,\n #container:hover #edit {\n transform: translateY(0);\n }\n "])))]; + return [(0, _index.css)(_templateObject4_4d2a5a501e5811ed81a80d03c17d190b || (_templateObject4_4d2a5a501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n position: relative;\n overflow: hidden;\n }\n #edit {\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n transform: translateY(-100%);\n transition: transform 0.2s ease-in-out;\n background: #2196f3;\n color: white;\n text-decoration: none;\n text-transform: uppercase;\n padding: 0.5em 1em;\n }\n #container:focus #edit,\n #container:hover #edit {\n transform: translateY(0);\n }\n "])))]; } }]); return LrnH5p; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/responsive-iframe.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/responsive-iframe.js index 1e3914f6b79..c43c889ca51 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/responsive-iframe.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/responsive-iframe.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js"], function (_index) { "use strict"; - var _templateObject_83f6eac01da511ed9d313b9780b2ae17, _templateObject2_83f6eac01da511ed9d313b9780b2ae17; + var _templateObject_4d2bb9e01e5811ed81a80d03c17d190b, _templateObject2_4d2bb9e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -20,12 +20,12 @@ define(["../../../lit/index.js"], function (_index) { babelHelpers.createClass(ResponsiveIframe, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_83f6eac01da511ed9d313b9780b2ae17 || (_templateObject_83f6eac01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n
    \n "]))); + return (0, _index.html)(_templateObject_4d2bb9e01e5811ed81a80d03c17d190b || (_templateObject_4d2bb9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n
    \n "]))); } }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83f6eac01da511ed9d313b9780b2ae17 || (_templateObject2_83f6eac01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n position: relative;\n padding-top: 60%;\n height: 0;\n width: 100%;\n }\n #container ::slotted(iframe) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d2bb9e01e5811ed81a80d03c17d190b || (_templateObject2_4d2bb9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n position: relative;\n padding-top: 60%;\n height: 0;\n width: 100%;\n }\n #container ::slotted(iframe) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/worksheet-download.js b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/worksheet-download.js index 9bd48d25998..a8b1f446f0c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/worksheet-download.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/course-design/lib/worksheet-download.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icons. }); _exports.WorksheetDownload = void 0; - var _templateObject_83f934b01da511ed9d313b9780b2ae17, _templateObject2_83f934b01da511ed9d313b9780b2ae17; + var _templateObject_4d6010501e5811ed81a80d03c17d190b, _templateObject2_4d6010501e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -79,7 +79,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icons. }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_83f934b01da511ed9d313b9780b2ae17 || (_templateObject_83f934b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.link, this._clickLink, this.title); + return (0, _index.html)(_templateObject_4d6010501e5811ed81a80d03c17d190b || (_templateObject_4d6010501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n \n \n \n
    \n "])), this.link, this._clickLink, this.title); } }], [{ key: "properties", @@ -143,7 +143,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icons. }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_83f934b01da511ed9d313b9780b2ae17 || (_templateObject2_83f934b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n text-decoration: none;\n color: #0c7cd5;\n display: block;\n }\n\n button {\n text-transform: none;\n border: solid 2px #dcdcdc;\n width: 100%;\n margin: 0 auto 0;\n min-height: 48px;\n text-align: center;\n }\n\n button:active,\n button:focus,\n button:hover {\n cursor: pointer;\n background-color: #0c7cd5;\n color: #fff;\n }\n\n simple-icon {\n margin-right: 5px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_4d6010501e5811ed81a80d03c17d190b || (_templateObject2_4d6010501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n text-decoration: none;\n color: #0c7cd5;\n display: block;\n }\n\n button {\n text-transform: none;\n border: solid 2px #dcdcdc;\n width: 100%;\n margin: 0 auto 0;\n min-height: 48px;\n text-align: center;\n }\n\n button:active,\n button:focus,\n button:hover {\n cursor: pointer;\n background-color: #0c7cd5;\n color: #fff;\n }\n\n simple-icon {\n margin-right: 5px;\n }\n "])))]; } }]); return WorksheetDownload; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/csv-render/csv-render.js b/build/es5-amd/node_modules/@lrnwebcomponents/csv-render/csv-render.js index 67495f325ec..90a4144a2f5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/csv-render/csv-render.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/csv-render/csv-render.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col _exports.CsvRender = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_409020301da511ed9d313b9780b2ae17, _templateObject2_409020301da511ed9d313b9780b2ae17, _templateObject3_409020301da511ed9d313b9780b2ae17, _templateObject4_409020301da511ed9d313b9780b2ae17, _templateObject5_409020301da511ed9d313b9780b2ae17, _templateObject6_409020301da511ed9d313b9780b2ae17; + var _templateObject_116a06f01e5811ed81a80d03c17d190b, _templateObject2_116a06f01e5811ed81a80d03c17d190b, _templateObject3_116a06f01e5811ed81a80d03c17d190b, _templateObject4_116a06f01e5811ed81a80d03c17d190b, _templateObject5_116a06f01e5811ed81a80d03c17d190b, _templateObject6_116a06f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -17,6 +17,8 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -90,11 +92,11 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_409020301da511ed9d313b9780b2ae17 || (_templateObject_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n Download table data\n \n ", "\n \n \n ", "\n \n \n \n ", "\n \n
    \n "])), this.accentColor, this.loading, this.dataSource, this.summary, this.caption ? (0, _index.html)(_templateObject2_409020301da511ed9d313b9780b2ae17 || (_templateObject2_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.caption) : "", this.tableHeadings.map(function (heading) { - return (0, _index.html)(_templateObject3_409020301da511ed9d313b9780b2ae17 || (_templateObject3_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), heading); + return (0, _index.html)(_templateObject_116a06f01e5811ed81a80d03c17d190b || (_templateObject_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n Download table data\n \n ", "\n \n \n ", "\n \n \n \n ", "\n \n
    \n "])), this.accentColor, this.loading, this.dataSource, this.summary, this.caption ? (0, _index.html)(_templateObject2_116a06f01e5811ed81a80d03c17d190b || (_templateObject2_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.caption) : "", this.tableHeadings.map(function (heading) { + return (0, _index.html)(_templateObject3_116a06f01e5811ed81a80d03c17d190b || (_templateObject3_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), heading); }), this.table.map(function (row) { - return (0, _index.html)(_templateObject4_409020301da511ed9d313b9780b2ae17 || (_templateObject4_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), row.map(function (col) { - return (0, _index.html)(_templateObject5_409020301da511ed9d313b9780b2ae17 || (_templateObject5_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), col); + return (0, _index.html)(_templateObject4_116a06f01e5811ed81a80d03c17d190b || (_templateObject4_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), row.map(function (col) { + return (0, _index.html)(_templateObject5_116a06f01e5811ed81a80d03c17d190b || (_templateObject5_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), col); })); })); } @@ -148,10 +150,10 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col }, { key: "loadCSVData", value: function () { - var _loadCSVData = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _loadCSVData = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var _this3 = this; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -187,7 +189,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-colors/simple-col * LitElement style construction */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CsvRender), "styles", this)), [(0, _index.css)(_templateObject6_409020301da511ed9d313b9780b2ae17 || (_templateObject6_409020301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .table {\n width: 100%;\n border: 1px solid var(--simple-colors-default-theme-accent-6);\n border-collapse: collapse;\n white-space: nowrap;\n font-size: 16px;\n background-color: var(--simple-colors-default-theme-grey-1);\n }\n .table thead {\n padding-bottom: 0.16px;\n position: sticky;\n }\n .table caption {\n background-color: var(--simple-colors-default-theme-accent-1);\n font-weight: bold;\n padding: 8px;\n border: 1px solid var(--simple-colors-default-theme-accent-6);\n border-bottom: none;\n }\n :host(:not([accent-color])) .table caption,\n :host([accent-color=\"grey\"]) .table caption {\n background-color: var(--simple-colors-default-theme-accent-2);\n }\n .table tbody tr {\n position: relative;\n height: 48px;\n -webkit-transition-duration: 0.28s;\n transition-duration: 0.28s;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transition-property: background-color;\n transition-property: background-color;\n }\n .table tbody tr:hover {\n background-color: var(--simple-colors-default-theme-accent-1);\n }\n :host(:not([accent-color])) .table tbody tr:hover,\n :host([accent-color=\"grey\"]) .table tbody tr:hover {\n background-color: var(--simple-colors-default-theme-accent-2);\n }\n .table td,\n .table thead th,\n .table th {\n padding: 0 1.125em;\n text-align: left;\n }\n .table td {\n border-top: 1px solid var(--simple-colors-default-theme-accent-6);\n border-bottom: 1px solid var(--simple-colors-default-theme-accent-6);\n }\n .table th {\n position: relative;\n vertical-align: bottom;\n text-overflow: ellipsis;\n font-size: 16px;\n font-weight: bold;\n line-height: 24px;\n letter-spacing: 0;\n color: rgba(0, 0, 0, 0.54);\n height: 48px;\n padding-bottom: 8px;\n box-sizing: border-box;\n }\n #loading {\n position: absolute;\n left: calc(50% - 70px);\n }\n simple-icon-lite {\n display: inline-flex;\n margin: 0;\n padding: 0;\n }\n #download button:hover,\n #download button:focus,\n #download button:active {\n color: var(--simple-colors-default-theme-accent-8);\n outline: 2px solid var(--simple-colors-default-theme-accent-6);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CsvRender), "styles", this)), [(0, _index.css)(_templateObject6_116a06f01e5811ed81a80d03c17d190b || (_templateObject6_116a06f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .table {\n width: 100%;\n border: 1px solid var(--simple-colors-default-theme-accent-6);\n border-collapse: collapse;\n white-space: nowrap;\n font-size: 16px;\n background-color: var(--simple-colors-default-theme-grey-1);\n }\n .table thead {\n padding-bottom: 0.16px;\n position: sticky;\n }\n .table caption {\n background-color: var(--simple-colors-default-theme-accent-1);\n font-weight: bold;\n padding: 8px;\n border: 1px solid var(--simple-colors-default-theme-accent-6);\n border-bottom: none;\n }\n :host(:not([accent-color])) .table caption,\n :host([accent-color=\"grey\"]) .table caption {\n background-color: var(--simple-colors-default-theme-accent-2);\n }\n .table tbody tr {\n position: relative;\n height: 48px;\n -webkit-transition-duration: 0.28s;\n transition-duration: 0.28s;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transition-property: background-color;\n transition-property: background-color;\n }\n .table tbody tr:hover {\n background-color: var(--simple-colors-default-theme-accent-1);\n }\n :host(:not([accent-color])) .table tbody tr:hover,\n :host([accent-color=\"grey\"]) .table tbody tr:hover {\n background-color: var(--simple-colors-default-theme-accent-2);\n }\n .table td,\n .table thead th,\n .table th {\n padding: 0 1.125em;\n text-align: left;\n }\n .table td {\n border-top: 1px solid var(--simple-colors-default-theme-accent-6);\n border-bottom: 1px solid var(--simple-colors-default-theme-accent-6);\n }\n .table th {\n position: relative;\n vertical-align: bottom;\n text-overflow: ellipsis;\n font-size: 16px;\n font-weight: bold;\n line-height: 24px;\n letter-spacing: 0;\n color: rgba(0, 0, 0, 0.54);\n height: 48px;\n padding-bottom: 8px;\n box-sizing: border-box;\n }\n #loading {\n position: absolute;\n left: calc(50% - 70px);\n }\n simple-icon-lite {\n display: inline-flex;\n margin: 0;\n padding: 0;\n }\n #download button:hover,\n #download button:focus,\n #download button:active {\n color: var(--simple-colors-default-theme-accent-8);\n outline: 2px solid var(--simple-colors-default-theme-accent-6);\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/data-viz/data-viz.js b/build/es5-amd/node_modules/@lrnwebcomponents/data-viz/data-viz.js index 19a9676a69c..9af3e5f90ec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/data-viz/data-viz.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/data-viz/data-viz.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" }); _exports.DataViz = void 0; - var _templateObject_40aea4b01da511ed9d313b9780b2ae17, _templateObject2_40aea4b01da511ed9d313b9780b2ae17; + var _templateObject_116c77f01e5811ed81a80d03c17d190b, _templateObject2_116c77f01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,7 +56,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_40aea4b01da511ed9d313b9780b2ae17 || (_templateObject_40aea4b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "]))); + return (0, _index.html)(_templateObject_116c77f01e5811ed81a80d03c17d190b || (_templateObject_116c77f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "]))); } // properties available to the custom element for data binding }, { @@ -110,7 +110,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_40aea4b01da511ed9d313b9780b2ae17 || (_templateObject2_40aea4b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_116c77f01e5811ed81a80d03c17d190b || (_templateObject2_116c77f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/date-card/date-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/date-card/date-card.js index fe4862452f7..5fc490c0f5c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/date-card/date-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/date-card/date-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }); _exports.DateCard = void 0; - var _templateObject_40b471101da511ed9d313b9780b2ae17, _templateObject2_40b471101da511ed9d313b9780b2ae17, _templateObject3_40b471101da511ed9d313b9780b2ae17, _templateObject4_40b471101da511ed9d313b9780b2ae17, _templateObject5_40b471101da511ed9d313b9780b2ae17, _templateObject6_40b471101da511ed9d313b9780b2ae17, _templateObject7_40b471101da511ed9d313b9780b2ae17, _templateObject8_40b471101da511ed9d313b9780b2ae17, _templateObject9_40b471101da511ed9d313b9780b2ae17, _templateObject10_40b471101da511ed9d313b9780b2ae17, _templateObject11_40b471101da511ed9d313b9780b2ae17, _templateObject12_40b471101da511ed9d313b9780b2ae17, _templateObject13_40b471101da511ed9d313b9780b2ae17, _templateObject14_40b471101da511ed9d313b9780b2ae17; + var _templateObject_11ebe1201e5811ed81a80d03c17d190b, _templateObject2_11ebe1201e5811ed81a80d03c17d190b, _templateObject3_11ebe1201e5811ed81a80d03c17d190b, _templateObject4_11ebe1201e5811ed81a80d03c17d190b, _templateObject5_11ebe1201e5811ed81a80d03c17d190b, _templateObject6_11ebe1201e5811ed81a80d03c17d190b, _templateObject7_11ebe1201e5811ed81a80d03c17d190b, _templateObject8_11ebe1201e5811ed81a80d03c17d190b, _templateObject9_11ebe1201e5811ed81a80d03c17d190b, _templateObject10_11ebe1201e5811ed81a80d03c17d190b, _templateObject11_11ebe1201e5811ed81a80d03c17d190b, _templateObject12_11ebe1201e5811ed81a80d03c17d190b, _templateObject13_11ebe1201e5811ed81a80d03c17d190b, _templateObject14_11ebe1201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -64,7 +64,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_40b471101da511ed9d313b9780b2ae17 || (_templateObject_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n

    ", "

    \n
    \n
    \n

    \n ", "", "\n

    \n ", "\n
    \n
    \n ", "\n "])), this.borderSpacing, this.month, this.date, this.nth(this.date), this.day ? (0, _index.html)(_templateObject2_40b471101da511ed9d313b9780b2ae17 || (_templateObject2_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

    ", "

    "])), this.day) : (0, _index.html)(_templateObject3_40b471101da511ed9d313b9780b2ae17 || (_templateObject3_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.title ? (0, _index.html)(_templateObject4_40b471101da511ed9d313b9780b2ae17 || (_templateObject4_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n

    ", "

    \n

    \n ", "", "\n ", "", "\n ", "\n

    \n ", "\n
    \n "])), this.borderSpacing, this.title, this.day ? (0, _index.html)(_templateObject5_40b471101da511ed9d313b9780b2ae17 || (_templateObject5_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ", "])), this.day) : (0, _index.html)(_templateObject6_40b471101da511ed9d313b9780b2ae17 || (_templateObject6_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.month, this.date, this.nth(this.date), this.startTime ? (0, _index.html)(_templateObject7_40b471101da511ed9d313b9780b2ae17 || (_templateObject7_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.endTime ? (0, _index.html)(_templateObject8_40b471101da511ed9d313b9780b2ae17 || (_templateObject8_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" from ", " - ", " "])), this.startTime, this.endTime) : (0, _index.html)(_templateObject9_40b471101da511ed9d313b9780b2ae17 || (_templateObject9_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" at ", " "])), this.startTime)) : (0, _index.html)(_templateObject10_40b471101da511ed9d313b9780b2ae17 || (_templateObject10_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.location ? (0, _index.html)(_templateObject11_40b471101da511ed9d313b9780b2ae17 || (_templateObject11_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

    ", "

    "])), this.location) : (0, _index.html)(_templateObject12_40b471101da511ed9d313b9780b2ae17 || (_templateObject12_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])))) : (0, _index.html)(_templateObject13_40b471101da511ed9d313b9780b2ae17 || (_templateObject13_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])))); + return (0, _index.html)(_templateObject_11ebe1201e5811ed81a80d03c17d190b || (_templateObject_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
    \n
    \n

    ", "

    \n
    \n
    \n

    \n ", "", "\n

    \n ", "\n
    \n
    \n ", "\n "])), this.borderSpacing, this.month, this.date, this.nth(this.date), this.day ? (0, _index.html)(_templateObject2_11ebe1201e5811ed81a80d03c17d190b || (_templateObject2_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

    ", "

    "])), this.day) : (0, _index.html)(_templateObject3_11ebe1201e5811ed81a80d03c17d190b || (_templateObject3_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.title ? (0, _index.html)(_templateObject4_11ebe1201e5811ed81a80d03c17d190b || (_templateObject4_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n

    ", "

    \n

    \n ", "", "\n ", "", "\n ", "\n

    \n ", "\n
    \n "])), this.borderSpacing, this.title, this.day ? (0, _index.html)(_templateObject5_11ebe1201e5811ed81a80d03c17d190b || (_templateObject5_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ", "])), this.day) : (0, _index.html)(_templateObject6_11ebe1201e5811ed81a80d03c17d190b || (_templateObject6_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.month, this.date, this.nth(this.date), this.startTime ? (0, _index.html)(_templateObject7_11ebe1201e5811ed81a80d03c17d190b || (_templateObject7_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.endTime ? (0, _index.html)(_templateObject8_11ebe1201e5811ed81a80d03c17d190b || (_templateObject8_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" from ", " - ", " "])), this.startTime, this.endTime) : (0, _index.html)(_templateObject9_11ebe1201e5811ed81a80d03c17d190b || (_templateObject9_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" at ", " "])), this.startTime)) : (0, _index.html)(_templateObject10_11ebe1201e5811ed81a80d03c17d190b || (_templateObject10_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.location ? (0, _index.html)(_templateObject11_11ebe1201e5811ed81a80d03c17d190b || (_templateObject11_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

    ", "

    "])), this.location) : (0, _index.html)(_templateObject12_11ebe1201e5811ed81a80d03c17d190b || (_templateObject12_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])))) : (0, _index.html)(_templateObject13_11ebe1201e5811ed81a80d03c17d190b || (_templateObject13_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])))); } }], [{ key: "tag", @@ -180,7 +180,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(DateCard), "styles", this)), [(0, _index.css)(_templateObject14_40b471101da511ed9d313b9780b2ae17 || (_templateObject14_40b471101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n .card {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n width: var(--date-card-card-width, 100px);\n border-radius: 10px;\n }\n .card:hover {\n box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n }\n .month,\n .dateNumber,\n .dayName {\n text-align: center;\n vertical-align: middle;\n font-family: roboto;\n line-height: 16px;\n margin-bottom: 8px;\n margin-top: 15px;\n margin-bottom: 15px;\n }\n .month {\n color: var(--simple-colors-default-theme-accent-12);\n font-weight: 400;\n font-size: 1em;\n text-transform: uppercase;\n }\n .dateNumber {\n font-size: 20px;\n }\n .dayName {\n text-transform: uppercase;\n }\n .monthSection {\n background-color: var(--simple-colors-default-theme-accent-5);\n border: 1px solid var(--simple-colors-default-theme-accent-1);\n border-radius: 10px 10px 0px 0px;\n }\n .details {\n border: 2px solid var(--simple-colors-default-theme-accent-5);\n padding: 4px 16px;\n background-color: var(--simple-colors-default-theme-accent-1);\n }\n .title,\n .time,\n .location {\n vertical-align: middle;\n font-family: roboto;\n line-height: 16px;\n margin-bottom: 8px;\n }\n .title {\n font-size: 20px;\n color: var(--simple-colors-default-theme-accent-11);\n }\n .time {\n font-size: 16px;\n color: var(--simple-colors-default-theme-accent-10);\n }\n .location {\n font-size: 16px;\n color: var(--simple-colors-default-theme-accent-10);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(DateCard), "styles", this)), [(0, _index.css)(_templateObject14_11ebe1201e5811ed81a80d03c17d190b || (_templateObject14_11ebe1201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n .card {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n width: var(--date-card-card-width, 100px);\n border-radius: 10px;\n }\n .card:hover {\n box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n }\n .month,\n .dateNumber,\n .dayName {\n text-align: center;\n vertical-align: middle;\n font-family: roboto;\n line-height: 16px;\n margin-bottom: 8px;\n margin-top: 15px;\n margin-bottom: 15px;\n }\n .month {\n color: var(--simple-colors-default-theme-accent-12);\n font-weight: 400;\n font-size: 1em;\n text-transform: uppercase;\n }\n .dateNumber {\n font-size: 20px;\n }\n .dayName {\n text-transform: uppercase;\n }\n .monthSection {\n background-color: var(--simple-colors-default-theme-accent-5);\n border: 1px solid var(--simple-colors-default-theme-accent-1);\n border-radius: 10px 10px 0px 0px;\n }\n .details {\n border: 2px solid var(--simple-colors-default-theme-accent-5);\n padding: 4px 16px;\n background-color: var(--simple-colors-default-theme-accent-1);\n }\n .title,\n .time,\n .location {\n vertical-align: middle;\n font-family: roboto;\n line-height: 16px;\n margin-bottom: 8px;\n }\n .title {\n font-size: 20px;\n color: var(--simple-colors-default-theme-accent-11);\n }\n .time {\n font-size: 16px;\n color: var(--simple-colors-default-theme-accent-10);\n }\n .location {\n font-size: 16px;\n color: var(--simple-colors-default-theme-accent-10);\n }\n "])))]); } }]); return DateCard; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/drawing-icons/drawing-icons.js b/build/es5-amd/node_modules/@lrnwebcomponents/drawing-icons/drawing-icons.js index af37e21b246..1fea68c18be 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/drawing-icons/drawing-icons.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/drawing-icons/drawing-icons.js @@ -1,8 +1,8 @@ define(["../../@polymer/iron-icon/iron-icon.js", "../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_413190501da511ed9d313b9780b2ae17; + var _templateObject_11f4e1d01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_413190501da511ed9d313b9780b2ae17 || (_templateObject_413190501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_11f4e1d01e5811ed81a80d03c17d190b || (_templateObject_11f4e1d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/dropdown-select/dropdown-select.js b/build/es5-amd/node_modules/@lrnwebcomponents/dropdown-select/dropdown-select.js index 5c51441d46d..898dc341383 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/dropdown-select/dropdown-select.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/dropdown-select/dropdown-select.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-picker/simple-pic _exports.DropdownSelect = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_4172df101da511ed9d313b9780b2ae17, _templateObject2_4172df101da511ed9d313b9780b2ae17; + var _templateObject_11f94ea01e5811ed81a80d03c17d190b, _templateObject2_11f94ea01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -55,7 +55,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-picker/simple-pic babelHelpers.createClass(DropdownSelect, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4172df101da511ed9d313b9780b2ae17 || (_templateObject_4172df101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n "])), this.errorMessage, this.label, this.value, this._onOpen, this.onClose, this._dropDownChanged); + return (0, _index.html)(_templateObject_11f94ea01e5811ed81a80d03c17d190b || (_templateObject_11f94ea01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n "])), this.errorMessage, this.label, this.value, this._onOpen, this.onClose, this._dropDownChanged); } }, { key: "disconnectedCallback", @@ -224,7 +224,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-picker/simple-pic }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4172df101da511ed9d313b9780b2ae17 || (_templateObject2_4172df101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-picker-border-width: 0;\n --simple-picker-options-border-width: 1px;\n --simple-picker-options-border-color: var(\n --simple-fields-accent-color\n );\n --simple-picker-background-color: rgba(255, 255, 255, 0);\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_11f94ea01e5811ed81a80d03c17d190b || (_templateObject2_11f94ea01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-picker-border-width: 0;\n --simple-picker-options-border-width: 1px;\n --simple-picker-options-border-color: var(\n --simple-fields-accent-color\n );\n --simple-picker-background-color: rgba(255, 255, 255, 0);\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js b/build/es5-amd/node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js index 582d1cbc27a..514e7439a08 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js @@ -12,6 +12,8 @@ define(["exports", "meta", "require"], function (_exports, meta, _require) { function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -107,10 +109,10 @@ define(["exports", "meta", "require"], function (_exports, meta, _require) { }, { key: "loadDefinition", value: function () { - var _loadDefinition = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(tag) { + var _loadDefinition = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(tag) { var _this2 = this; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-array.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-array.js index 968a0d053f6..b2bed622aa8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-array.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-array.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". _exports.EcoJsonSchemaArray = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_83ff28201da511ed9d313b9780b2ae17; + var _templateObject_4d658e901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -205,7 +205,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_83ff28201da511ed9d313b9780b2ae17 || (_templateObject_83ff28201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n [[schema.title]]\n \n \n \n \n \n Add an item\n \n \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d658e901e5811ed81a80d03c17d190b || (_templateObject_4d658e901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n [[schema.title]]\n \n \n \n \n \n Add an item\n \n \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-boolean.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-boolean.js index 58c17f2e51f..489c746bd65 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-boolean.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-boolean.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaBoolean = void 0; - var _templateObject_840346d01da511ed9d313b9780b2ae17; + var _templateObject_4d67b1701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -88,7 +88,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_840346d01da511ed9d313b9780b2ae17 || (_templateObject_840346d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n [[_label]]\n "]))); + return (0, _polymerElement.html)(_templateObject_4d67b1701e5811ed81a80d03c17d190b || (_templateObject_4d67b1701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n [[_label]]\n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-enum.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-enum.js index dbf8c3cbd5c..ebb209a594b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-enum.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-enum.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaEnum = void 0; - var _templateObject_840654101da511ed9d313b9780b2ae17; + var _templateObject_4d69fb601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -96,7 +96,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_840654101da511ed9d313b9780b2ae17 || (_templateObject_840654101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d69fb601e5811ed81a80d03c17d190b || (_templateObject_4d69fb601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-fieldset.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-fieldset.js index c4a9edb70d8..40addc0bfec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-fieldset.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-fieldset.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaFieldset = void 0; - var _templateObject_840988601da511ed9d313b9780b2ae17; + var _templateObject_4d6c6c601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -75,7 +75,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_840988601da511ed9d313b9780b2ae17 || (_templateObject_840988601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n [[schema.title]]\n \n
    [[item.description]]
    \n
    \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d6c6c601e5811ed81a80d03c17d190b || (_templateObject_4d6c6c601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n [[schema.title]]\n \n
    [[item.description]]
    \n
    \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-file.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-file.js index 5f31682f3e4..dc63684b976 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-file.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-file.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaFile = void 0; - var _templateObject_84108d401da511ed9d313b9780b2ae17; + var _templateObject_4d7286e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -372,7 +372,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_84108d401da511ed9d313b9780b2ae17 || (_templateObject_84108d401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n
    \n
    \n \n {{paperButtonTitle}}\n \n
    \n
    {{dropText}}
    \n \n
    \n
    \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d7286e01e5811ed81a80d03c17d190b || (_templateObject_4d7286e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n
    \n
    \n \n {{paperButtonTitle}}\n \n
    \n
    {{dropText}}
    \n \n
    \n
    \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-input.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-input.js index 3578caac253..56e248c76a6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-input.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-input.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaInput = void 0; - var _templateObject_8416a7c01da511ed9d313b9780b2ae17; + var _templateObject_4d75bb301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -182,7 +182,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_8416a7c01da511ed9d313b9780b2ae17 || (_templateObject_8416a7c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d75bb301e5811ed81a80d03c17d190b || (_templateObject_4d75bb301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-markup.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-markup.js index c7f02268f2a..309ad7de9fc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-markup.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-markup.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaMarkup = void 0; - var _templateObject_84193fd01da511ed9d313b9780b2ae17; + var _templateObject_4d7741d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -55,7 +55,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_84193fd01da511ed9d313b9780b2ae17 || (_templateObject_84193fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d7741d01e5811ed81a80d03c17d190b || (_templateObject_4d7741d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-object.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-object.js index b585dcf8835..1af6cd88733 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-object.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-object.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaObject = void 0; - var _templateObject_842611101da511ed9d313b9780b2ae17; + var _templateObject_4d84fd701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -845,7 +845,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_842611101da511ed9d313b9780b2ae17 || (_templateObject_842611101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n
    \n \n \n
    \n \n "]))); + return (0, _polymerElement.html)(_templateObject_4d84fd701e5811ed81a80d03c17d190b || (_templateObject_4d84fd701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n
    \n \n \n
    \n \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-tabs.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-tabs.js index 6045414a705..9bbb2b3576f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-tabs.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-tabs.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaTabs = void 0; - var _templateObject_842bdd701da511ed9d313b9780b2ae17; + var _templateObject_4d86d2301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -79,7 +79,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_842bdd701da511ed9d313b9780b2ae17 || (_templateObject_842bdd701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n
    [[item.description]]
    \n \n \n \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d86d2301e5811ed81a80d03c17d190b || (_templateObject_4d86d2301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n
    [[item.description]]
    \n \n \n \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-wizard.js b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-wizard.js index be51867b758..456f67fefe9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-wizard.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/eco-json-schema-form/lib/eco-json-schema-wizard.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.EcoJsonSchemaWizard = void 0; - var _templateObject_843468f01da511ed9d313b9780b2ae17; + var _templateObject_4d8f36a01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -630,7 +630,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }, { key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_843468f01da511ed9d313b9780b2ae17 || (_templateObject_843468f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n {{localize('prev')}}[[title]]\n {{localize('next')}}\n {{localize('submit')}}\n \n \n \n
    \n {{localize('prev')}}\n {{localize('prev')}}\n
    \n \n
    \n {{localize('next')}}\n {{localize('next')}}\n
    \n
    \n
    \n "]))); + return (0, _polymerElement.html)(_templateObject_4d8f36a01e5811ed81a80d03c17d190b || (_templateObject_4d8f36a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
    \n \n \n {{localize('prev')}}[[title]]\n {{localize('next')}}\n {{localize('submit')}}\n \n \n \n
    \n {{localize('prev')}}\n {{localize('prev')}}\n
    \n \n
    \n {{localize('next')}}\n {{localize('next')}}\n
    \n
    \n
    \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/editable-list.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/editable-list.js index f9e984faf94..08ca0a1c510 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/editable-list.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/editable-list.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-modal/simple-moda _exports.EditableList = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_417f3b201da511ed9d313b9780b2ae17, _templateObject2_417f3b201da511ed9d313b9780b2ae17, _templateObject3_417f3b201da511ed9d313b9780b2ae17; + var _templateObject_12eb76d01e5811ed81a80d03c17d190b, _templateObject2_12eb76d01e5811ed81a80d03c17d190b, _templateObject3_12eb76d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -60,8 +60,8 @@ define(["exports", "require", "../../lit/index.js", "../simple-modal/simple-moda key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_417f3b201da511ed9d313b9780b2ae17 || (_templateObject_417f3b201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n ", "\n
    "])), this.items.map(function (item) { - return (0, _index.html)(_templateObject2_417f3b201da511ed9d313b9780b2ae17 || (_templateObject2_417f3b201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.metadata.canEdit, item.metadata.canEdit, item.metadata.canDelete, item.title); + return (0, _index.html)(_templateObject_12eb76d01e5811ed81a80d03c17d190b || (_templateObject_12eb76d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
    \n ", "\n
    "])), this.items.map(function (item) { + return (0, _index.html)(_templateObject2_12eb76d01e5811ed81a80d03c17d190b || (_templateObject2_12eb76d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.metadata.canEdit, item.metadata.canEdit, item.metadata.canDelete, item.title); })); } // properties available to the custom element for data binding @@ -172,7 +172,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-modal/simple-moda key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject3_417f3b201da511ed9d313b9780b2ae17 || (_templateObject3_417f3b201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #list {\n height: 100%;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_12eb76d01e5811ed81a80d03c17d190b || (_templateObject3_12eb76d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #list {\n height: 100%;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/lib/editable-list-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/lib/editable-list-item.js index 1bf31144b0b..93643045dd7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/lib/editable-list-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-list/lib/editable-list-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.EditableListItem = void 0; - var _templateObject_843a0e401da511ed9d313b9780b2ae17, _templateObject2_843a0e401da511ed9d313b9780b2ae17; + var _templateObject_4d92e0201e5811ed81a80d03c17d190b, _templateObject2_4d92e0201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -44,7 +44,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_843a0e401da511ed9d313b9780b2ae17 || (_templateObject_843a0e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n
    ", "
    \n
    \n \n \n \n \n
    \n "])), this.value, this.valueChanged, !this.editing, !this.editing, this.value, !this.editMode, this._editToggle, this._editToggle, this._editToggle, this._deleteModal); + return (0, _index.html)(_templateObject_4d92e0201e5811ed81a80d03c17d190b || (_templateObject_4d92e0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n
    ", "
    \n
    \n \n \n \n \n
    \n "])), this.value, this.valueChanged, !this.editing, !this.editing, this.value, !this.editMode, this._editToggle, this._editToggle, this._editToggle, this._deleteModal); } }, { key: "valueChanged", @@ -120,7 +120,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(EditableListItem), "styles", this)), [(0, _index.css)(_templateObject2_843a0e401da511ed9d313b9780b2ae17 || (_templateObject2_843a0e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n :host([can-edit]) #edit {\n visibility: visible;\n opacity: 1;\n }\n :host([can-delete]) #delete {\n visibility: visible;\n opacity: 1;\n }\n :host #add,\n #duplicate {\n visibility: visible;\n opacity: 1;\n }\n simple-icon-button {\n visibility: hidden;\n opacity: 0;\n transition: 0.3s all linear;\n }\n .input {\n display: block;\n height: 40px;\n padding: 0;\n margin: 0;\n line-height: 40px;\n }\n .input[hidden] {\n display: none;\n }\n div.input {\n z-index: 1;\n }\n .ops {\n position: absolute;\n display: block;\n right: 0;\n top: 0;\n z-index: 2;\n background-color: white;\n }\n .ops simple-icon-button {\n border-radius: 50%;\n --simple-icon-height: 32px;\n --simple-icon-width: 32px;\n padding: 4px;\n margin: 0px;\n }\n .ops[hidden] {\n display: none;\n }\n #edit {\n color: white;\n background-color: var(--simple-colors-default-theme-green-8, #ddffdd);\n }\n #delete {\n color: white;\n background-color: var(--simple-colors-default-theme-red-6, #ff5555);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(EditableListItem), "styles", this)), [(0, _index.css)(_templateObject2_4d92e0201e5811ed81a80d03c17d190b || (_templateObject2_4d92e0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n :host([can-edit]) #edit {\n visibility: visible;\n opacity: 1;\n }\n :host([can-delete]) #delete {\n visibility: visible;\n opacity: 1;\n }\n :host #add,\n #duplicate {\n visibility: visible;\n opacity: 1;\n }\n simple-icon-button {\n visibility: hidden;\n opacity: 0;\n transition: 0.3s all linear;\n }\n .input {\n display: block;\n height: 40px;\n padding: 0;\n margin: 0;\n line-height: 40px;\n }\n .input[hidden] {\n display: none;\n }\n div.input {\n z-index: 1;\n }\n .ops {\n position: absolute;\n display: block;\n right: 0;\n top: 0;\n z-index: 2;\n background-color: white;\n }\n .ops simple-icon-button {\n border-radius: 50%;\n --simple-icon-height: 32px;\n --simple-icon-width: 32px;\n padding: 4px;\n margin: 0px;\n }\n .ops[hidden] {\n display: none;\n }\n #edit {\n color: white;\n background-color: var(--simple-colors-default-theme-green-8, #ddffdd);\n }\n #delete {\n color: white;\n background-color: var(--simple-colors-default-theme-red-6, #ff5555);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-outline/editable-outline.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-outline/editable-outline.js index 9173dca5452..6b29063854c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-outline/editable-outline.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-outline/editable-outline.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../utils/utils.js", "../json-outline-s }); _exports.EditableOutline = void 0; - var _templateObject_418dba101da511ed9d313b9780b2ae17, _templateObject2_418dba101da511ed9d313b9780b2ae17; + var _templateObject_12f821001e5811ed81a80d03c17d190b, _templateObject2_12f821001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -50,7 +50,7 @@ define(["exports", "../../lit/index.js", "../utils/utils.js", "../json-outline-s key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_418dba101da511ed9d313b9780b2ae17 || (_templateObject_418dba101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
    \n \n \n Toggle active\n \n \n Collapse all\n \n \n Expand all\n \n \n Move down\n \n \n Move up\n \n \n Outdent\n \n \n Indent\n \n \n Duplicate\n \n
    \n
      "])), this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents); + return (0, _index.html)(_templateObject_12f821001e5811ed81a80d03c17d190b || (_templateObject_12f821001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
      \n \n \n Toggle active\n \n \n Collapse all\n \n \n Expand all\n \n \n Move down\n \n \n Move up\n \n \n Outdent\n \n \n Indent\n \n \n Duplicate\n \n
      \n
        "])), this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents, this.buttonEvents); } // properties available to the custom element for data binding }, { @@ -693,7 +693,7 @@ define(["exports", "../../lit/index.js", "../utils/utils.js", "../json-outline-s key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_418dba101da511ed9d313b9780b2ae17 || (_templateObject2_418dba101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: \"Noto Serif\", serif;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .button-wrapper {\n line-height: 36px;\n position: -webkit-sticky;\n position: sticky;\n top: 0px;\n background-color: white;\n display: block;\n justify-content: space-evenly;\n }\n @media (max-width: 1000px) {\n button span {\n opacity: 0;\n visibility: hidden;\n position: absolute;\n left: -9999px;\n }\n }\n\n button {\n height: 32px;\n font-size: 10px;\n margin: 0;\n padding: 0 8px;\n }\n\n button span {\n padding-left: 4px;\n pointer-events: none;\n }\n\n #outline {\n margin: 0;\n }\n\n ul {\n font-size: 16px;\n line-height: 32px;\n padding-left: 32px;\n visibility: visible;\n opacity: 1;\n overflow: hidden;\n height: auto;\n transition: 0.2s ease-in-out all;\n }\n\n li {\n font-size: 16px;\n line-height: 32px;\n padding: 4px;\n transition: 0.2s linear all;\n }\n\n ul:hover {\n outline: 1px solid #eeeeee;\n }\n\n li.collapsed-title {\n background-color: #dddddd;\n }\n\n li.collapsed-title:after {\n content: \" ( Double-click to expand )\";\n }\n\n li:after {\n transition: 0.4s ease-in-out all;\n opacity: 0;\n font-size: 11px;\n visibility: hidden;\n }\n\n li.collapsed-title:hover:after {\n font-style: italic;\n opacity: 1;\n visibility: visible;\n }\n\n ul.collapsed-content {\n visibility: hidden;\n opacity: 0;\n height: 0;\n }\n\n li:focus,\n li:active,\n li:hover {\n background-color: #eeeeee;\n outline: 1px solid #cccccc;\n }\n\n simple-icon {\n pointer-events: none;\n }\n\n li[data-jos-published=\"false\"] {\n text-decoration: line-through;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_12f821001e5811ed81a80d03c17d190b || (_templateObject2_12f821001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: \"Noto Serif\", serif;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .button-wrapper {\n line-height: 36px;\n position: -webkit-sticky;\n position: sticky;\n top: 0px;\n background-color: white;\n display: block;\n justify-content: space-evenly;\n }\n @media (max-width: 1000px) {\n button span {\n opacity: 0;\n visibility: hidden;\n position: absolute;\n left: -9999px;\n }\n }\n\n button {\n height: 32px;\n font-size: 10px;\n margin: 0;\n padding: 0 8px;\n }\n\n button span {\n padding-left: 4px;\n pointer-events: none;\n }\n\n #outline {\n margin: 0;\n }\n\n ul {\n font-size: 16px;\n line-height: 32px;\n padding-left: 32px;\n visibility: visible;\n opacity: 1;\n overflow: hidden;\n height: auto;\n transition: 0.2s ease-in-out all;\n }\n\n li {\n font-size: 16px;\n line-height: 32px;\n padding: 4px;\n transition: 0.2s linear all;\n }\n\n ul:hover {\n outline: 1px solid #eeeeee;\n }\n\n li.collapsed-title {\n background-color: #dddddd;\n }\n\n li.collapsed-title:after {\n content: \" ( Double-click to expand )\";\n }\n\n li:after {\n transition: 0.4s ease-in-out all;\n opacity: 0;\n font-size: 11px;\n visibility: hidden;\n }\n\n li.collapsed-title:hover:after {\n font-style: italic;\n opacity: 1;\n visibility: visible;\n }\n\n ul.collapsed-content {\n visibility: hidden;\n opacity: 0;\n height: 0;\n }\n\n li:focus,\n li:active,\n li:hover {\n background-color: #eeeeee;\n outline: 1px solid #cccccc;\n }\n\n simple-icon {\n pointer-events: none;\n }\n\n li[data-jos-published=\"false\"] {\n text-decoration: line-through;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/editable-table.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/editable-table.js index de9d6810f8a..5e0786fc086 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/editable-table.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/editable-table.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "./lib/editable-table-behaviors _exports.EditableTable = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_4195f7701da511ed9d313b9780b2ae17, _templateObject2_4195f7701da511ed9d313b9780b2ae17; + var _templateObject_12fba3701e5811ed81a80d03c17d190b, _templateObject2_12fba3701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -102,7 +102,7 @@ define(["exports", "meta", "../../lit/index.js", "./lib/editable-table-behaviors babelHelpers.createClass(EditableTable, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4195f7701da511ed9d313b9780b2ae17 || (_templateObject_4195f7701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n "])), this.bordered, this.caption, this.columnHeader, this.columnStriped, this.condensed, this.data, this.disabled, this.editMode, this.downloadable, this.filter, this.footer, this.numericStyles, this.printable, this.responsive, this.rowHeader, this.sort, this.striped, this.bordered, this.caption, this._handleSync, this.config, this.columnHeader, this.columnStriped, this.condensed, this.data, this.disabled, !this.editMode || this.hidden, this.downloadable, this.filter, this.footer, this.hideBordered, this.hideCondensed, this.hideDownloadable, this.hideFilter, this.hideResponsive, this.hidePrintable, this.hideSort, this.hideStriped, this.numericStyles, this.printable, this.responsive, this.rowHeader, this.sort, this.striped); + return (0, _index.html)(_templateObject_12fba3701e5811ed81a80d03c17d190b || (_templateObject_12fba3701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n "])), this.bordered, this.caption, this.columnHeader, this.columnStriped, this.condensed, this.data, this.disabled, this.editMode, this.downloadable, this.filter, this.footer, this.numericStyles, this.printable, this.responsive, this.rowHeader, this.sort, this.striped, this.bordered, this.caption, this._handleSync, this.config, this.columnHeader, this.columnStriped, this.condensed, this.data, this.disabled, !this.editMode || this.hidden, this.downloadable, this.filter, this.footer, this.hideBordered, this.hideCondensed, this.hideDownloadable, this.hideFilter, this.hideResponsive, this.hidePrintable, this.hideSort, this.hideStriped, this.numericStyles, this.printable, this.responsive, this.rowHeader, this.sort, this.striped); } }, { key: "display", @@ -158,7 +158,7 @@ define(["exports", "meta", "../../lit/index.js", "./lib/editable-table-behaviors }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4195f7701da511ed9d313b9780b2ae17 || (_templateObject2_4195f7701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none !important;\n margin: 15px 0;\n }\n\n :host > * {\n margin: 0px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_12fba3701e5811ed81a80d03c17d190b || (_templateObject2_12fba3701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none !important;\n margin: 15px 0;\n }\n\n :host > * {\n margin: 0px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-behaviors.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-behaviors.dev.js index 0a75572cae8..4637b67fcae 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-behaviors.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-behaviors.dev.js @@ -191,30 +191,30 @@ function _getPrototypeOf(o) { return _getPrototypeOf(o); } -function _templateObject3_90c14cf01da511ed9d313b9780b2ae17() { +function _templateObject3_58cd7a901e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n table[sort] .thead .th,\n table[filter] .tbody .td,\n table[filter] .tfoot .td {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n }\n caption {\n padding-top: var(--editable-table-cell-vertical-padding, 10px);\n padding-bottom: var(--editable-table-cell-vertical-padding, 10px);\n padding: 0;\n }\n caption > div {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n }\n caption > div > *:not(:last-child) {\n padding: 0 0 5px;\n }\n #column {\n width: calc(var(--simple-picker-option-size) + 6px);\n overflow: visible;\n display: none;\n margin-left: 10px;\n --simple-picker-border-width: 1px;\n --simple-picker-focus-border-width: 1px;\n --simple-picker-border-color: var(--editable-table-border-color, #999);\n }\n .th,\n .td {\n padding-top: var(--editable-table-cell-vertical-padding, 10px);\n padding-bottom: var(--editable-table-cell-vertical-padding, 10px);\n padding-left: var(--editable-table-cell-horizontal-padding, 6px);\n padding-right: var(--editable-table-cell-horizontal-padding, 6px);\n }\n span.cell {\n display: block;\n }\n @media screen {\n :host([responsive][responsive-size="xs"]) #column {\n display: inline-flex;\n }\n :host([responsive][responsive-size="xs"]) .th[xs-hidden],\n :host([responsive][responsive-size="xs"]) .td[xs-hidden] {\n display: none;\n }\n }\n ']); - _templateObject3_90c14cf01da511ed9d313b9780b2ae17 = function _templateObject3_90c14cf01da511ed9d313b9780b2ae17() { + _templateObject3_58cd7a901e5811ed81a80d03c17d190b = function _templateObject3_58cd7a901e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_90c14cf01da511ed9d313b9780b2ae17() { +function _templateObject2_58cd7a901e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n display: block;\n width: 100%;\n max-width: 100%;\n margin: 15px 0;\n font-size: var(--editable-table-font-size, unset);\n font-family: var(--editable-table-font-family, inherit);\n font-weight: var(--editable-table-medium-weight, 300);\n color: var(--editable-table-color, #222);\n background-color: var(--editable-table-bg-color, #fff);\n\n --simple-picker-font-family: var(\n --editable-table-secondary-font-family,\n "Roboto",\n "Noto",\n sans-serif\n );\n --simple-picker-font-size: var(\n --editable-table-secondary-font-size,\n 12px\n );\n --simple-picker-color: var(--editable-table-color, #222);\n --simple-picker-background-color: var(--editable-table-bg-color, #fff);\n --paper-font-caption: {\n font-family: var(\n --editable-table-secondary-font-family,\n "Roboto",\n "Noto",\n sans-serif\n );\n }\n }\n :host([hidden]) {\n display: none;\n }\n .offscreen {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n margin: 0;\n padding: 0;\n }\n table {\n width: calc(100% - 2 * var(--editable-table-border-width, 1px));\n display: table;\n border-collapse: collapse;\n border-width: var(--editable-table-border-width, 1px);\n border-style: var(--editable-table-border-style, solid);\n border-color: var(--editable-table-border-color, #999);\n font-weight: var(--editable-table-light-weight, 200);\n color: var(--editable-table-color, #222);\n background-color: var(--editable-table-bg-color, #fff);\n }\n .th,\n .td {\n font-weight: var(--editable-table-light-weight, 200);\n color: var(--editable-table-color, #222);\n background-color: var(--editable-table-bg-color, #fff);\n }\n caption {\n font-size: var(\n --editable-table-caption-font-size,\n var(--editable-table-font-size, unset)\n );\n font-weight: var(--editable-table-heavy-weight, 600);\n color: var(\n --editable-table-caption-color,\n var(--editable-table-color, #222)\n );\n background-color: var(\n --editable-table-caption-bg-color,\n var(--editable-table-bg-color, #fff)\n );\n width: 100%;\n }\n .tr {\n display: table-row;\n }\n .th-or-td {\n display: table-cell;\n }\n .thead-tr .th {\n background-color: var(--editable-table-heading-bg-color, #e0e0e0);\n font-weight: var(--editable-table-heavy-weight, 600);\n color: var(--editable-table-heading-color, #000);\n }\n .tbody-tr .th {\n font-weight: var(--editable-table-heavy-weight, 600);\n color: var(--editable-table-heading-color, #000);\n background-color: var(--editable-table-bg-color, #fff);\n text-align: left;\n }\n *[bordered] .th,\n *[bordered] .td {\n border-width: var(--editable-table-border-width, 1px);\n border-style: var(--editable-table-border-style, solid);\n border-color: var(--editable-table-border-color, #999);\n }\n *[condensed] {\n --editable-table-cell-vertical-padding: var(\n --editable-table-cell-vertical-padding-condensed,\n 2px\n );\n --editable-table-cell-horizontal-padding: var(\n --editable-table-cell-horizontal-padding-condensed,\n 4px\n );\n }\n *[striped] .tbody-tr:nth-child(2n + 1) .th-or-td {\n background-color: var(--editable-table-stripe-bg-color, #f0f0f0);\n }\n *[column-striped] .tbody-tr .th-or-td:nth-child(2n),\n *[column-striped] .tfoot-tr .th-or-td:nth-child(2n) {\n background-color: var(--editable-table-stripe-bg-color, #f0f0f0);\n }\n .tfoot-tr .th,\n .tfoot-tr .td {\n border-top: 2px solid var(--editable-table-color, #222);\n font-weight: var(--editable-table-heavy-weight, 600);\n color: var(--editable-table-heading-color, #000);\n }\n caption,\n .th-or-td {\n text-align: left;\n }\n *[numeric-styles] .thead-tr .th-or-td[numeric],\n *[numeric-styles] .tfoot-tr .th-or-td[numeric],\n *[numeric-styles] .th-or-td[numeric] .cell {\n text-align: right;\n --editable-table-cell-justify: flex-end;\n }\n *[numeric-styles] .tfoot-tr .th-or-td[negative],\n *[numeric-styles] .td[negative] .cell {\n color: var(--editable-table-negative-color, red);\n --editable-table-cell-color: var(--editable-table-negative-color, red);\n }\n editable-table-sort {\n width: 100%;\n }\n button {\n background-color: transparent;\n border: none;\n border-radius: 0;\n }\n ::slotted(table) {\n display: none;\n }\n @media screen {\n :host {\n overflow-x: auto;\n width: 100%;\n max-width: 100%;\n }\n :host([responsive]) {\n overflow-x: visible;\n }\n }\n ']); - _templateObject2_90c14cf01da511ed9d313b9780b2ae17 = function _templateObject2_90c14cf01da511ed9d313b9780b2ae17() { + _templateObject2_58cd7a901e5811ed81a80d03c17d190b = function _templateObject2_58cd7a901e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_90c14cf01da511ed9d313b9780b2ae17() { +function _templateObject_58cd7a901e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n .cell-button {\n padding-top: var(--editable-table-cell-vertical-padding, 10px);\n padding-bottom: var(--editable-table-cell-vertical-padding, 10px);\n padding-left: var(--editable-table-cell-horizontal-padding, 6px);\n padding-right: var(--editable-table-cell-horizontal-padding, 6px);\n margin: 0;\n width: 100%;\n display: flex;\n justify-content: var(--editable-table-cell-justify, space-between);\n align-items: center;\n align-content: stretch;\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n background-color: transparent;\n border: none;\n border-radius: 0;\n color: var(--editable-table-cell-color);\n }\n .offscreen {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n margin: 0;\n padding: 0;\n }\n "]); - _templateObject_90c14cf01da511ed9d313b9780b2ae17 = function _templateObject_90c14cf01da511ed9d313b9780b2ae17() { + _templateObject_58cd7a901e5811ed81a80d03c17d190b = function _templateObject_58cd7a901e5811ed81a80d03c17d190b() { return data; }; @@ -247,7 +247,7 @@ function _taggedTemplateLiteral(strings, raw) { */ -var editableTableCellStyles = [(0, _litElement.css)(_templateObject_90c14cf01da511ed9d313b9780b2ae17())]; +var editableTableCellStyles = [(0, _litElement.css)(_templateObject_58cd7a901e5811ed81a80d03c17d190b())]; /** * styling for table * @const @@ -256,7 +256,7 @@ var editableTableCellStyles = [(0, _litElement.css)(_templateObject_90c14cf01da5 */ exports.editableTableCellStyles = editableTableCellStyles; -var editableTableStyles = [(0, _litElement.css)(_templateObject2_90c14cf01da511ed9d313b9780b2ae17())]; +var editableTableStyles = [(0, _litElement.css)(_templateObject2_58cd7a901e5811ed81a80d03c17d190b())]; /** * styling for table in display mode * @const @@ -265,7 +265,7 @@ var editableTableStyles = [(0, _litElement.css)(_templateObject2_90c14cf01da511e */ exports.editableTableStyles = editableTableStyles; -var editableTableDisplayStyles = [].concat(editableTableStyles, [(0, _litElement.css)(_templateObject3_90c14cf01da511ed9d313b9780b2ae17())]); +var editableTableDisplayStyles = [].concat(editableTableStyles, [(0, _litElement.css)(_templateObject3_58cd7a901e5811ed81a80d03c17d190b())]); /** * List of display-only properties * @const diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-display.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-display.dev.js index 05bd03741c9..1877dd2f92b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-display.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-display.dev.js @@ -13,50 +13,50 @@ var _responsiveUtilityBehaviors = require("@lrnwebcomponents/responsive-utility/ require("@lrnwebcomponents/simple-picker/simple-picker.js"); -function _templateObject11_90c767701da511ed9d313b9780b2ae17() { +function _templateObject11_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['', ""]); - _templateObject11_90c767701da511ed9d313b9780b2ae17 = function _templateObject11_90c767701da511ed9d313b9780b2ae17() { + _templateObject11_58d2aab01e5811ed81a80d03c17d190b = function _templateObject11_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject10_90c767701da511ed9d313b9780b2ae17() { +function _templateObject10_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject10_90c767701da511ed9d313b9780b2ae17 = function _templateObject10_90c767701da511ed9d313b9780b2ae17() { + _templateObject10_58d2aab01e5811ed81a80d03c17d190b = function _templateObject10_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject9_90c767701da511ed9d313b9780b2ae17() { +function _templateObject9_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n ', "\n "]); - _templateObject9_90c767701da511ed9d313b9780b2ae17 = function _templateObject9_90c767701da511ed9d313b9780b2ae17() { + _templateObject9_58d2aab01e5811ed81a80d03c17d190b = function _templateObject9_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject8_90c767701da511ed9d313b9780b2ae17() { +function _templateObject8_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n ', "\n "]); - _templateObject8_90c767701da511ed9d313b9780b2ae17 = function _templateObject8_90c767701da511ed9d313b9780b2ae17() { + _templateObject8_58d2aab01e5811ed81a80d03c17d190b = function _templateObject8_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject7_90c767701da511ed9d313b9780b2ae17() { +function _templateObject7_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject7_90c767701da511ed9d313b9780b2ae17 = function _templateObject7_90c767701da511ed9d313b9780b2ae17() { + _templateObject7_58d2aab01e5811ed81a80d03c17d190b = function _templateObject7_58d2aab01e5811ed81a80d03c17d190b() { return data; }; @@ -200,60 +200,60 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject6_90c767701da511ed9d313b9780b2ae17() { +function _templateObject6_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject6_90c767701da511ed9d313b9780b2ae17 = function _templateObject6_90c767701da511ed9d313b9780b2ae17() { + _templateObject6_58d2aab01e5811ed81a80d03c17d190b = function _templateObject6_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject5_90c767701da511ed9d313b9780b2ae17() { +function _templateObject5_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject5_90c767701da511ed9d313b9780b2ae17 = function _templateObject5_90c767701da511ed9d313b9780b2ae17() { + _templateObject5_58d2aab01e5811ed81a80d03c17d190b = function _templateObject5_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject4_90c767701da511ed9d313b9780b2ae17() { +function _templateObject4_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject4_90c767701da511ed9d313b9780b2ae17 = function _templateObject4_90c767701da511ed9d313b9780b2ae17() { + _templateObject4_58d2aab01e5811ed81a80d03c17d190b = function _templateObject4_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_90c767701da511ed9d313b9780b2ae17() { +function _templateObject3_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n
        \n ']); - _templateObject3_90c767701da511ed9d313b9780b2ae17 = function _templateObject3_90c767701da511ed9d313b9780b2ae17() { + _templateObject3_58d2aab01e5811ed81a80d03c17d190b = function _templateObject3_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_90c767701da511ed9d313b9780b2ae17() { +function _templateObject2_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n
        \n ']); - _templateObject2_90c767701da511ed9d313b9780b2ae17 = function _templateObject2_90c767701da511ed9d313b9780b2ae17() { + _templateObject2_58d2aab01e5811ed81a80d03c17d190b = function _templateObject2_58d2aab01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_90c767701da511ed9d313b9780b2ae17() { +function _templateObject_58d2aab01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n
        \n
        ', '
        \n \n \n ', "\n ", '\n
        \n \n \n \n ', '\n \n \n \n ', "\n \n ", '\n \n \n ']); - _templateObject_90c767701da511ed9d313b9780b2ae17 = function _templateObject_90c767701da511ed9d313b9780b2ae17() { + _templateObject_58d2aab01e5811ed81a80d03c17d190b = function _templateObject_58d2aab01e5811ed81a80d03c17d190b() { return data; }; @@ -391,11 +391,11 @@ var EditableTableDisplay = /*#__PURE__*/function (_displayBehaviors) { value: function render() { var _this2 = this; - return (0, _litElement.html)(_templateObject_90c767701da511ed9d313b9780b2ae17(), this.bordered, this.columnHeader, this.columnStriped, this.condensed, this.filter, this.footer, this.hidden, this.numericStyles, this.rowHeader, this.sort, this.striped, this.getHTML(this.caption), this._selectedChanged, this.options, this.selected, !this.downloadable ? "" : (0, _litElement.html)(_templateObject2_90c767701da511ed9d313b9780b2ae17(), this.download), !this.printable ? "" : (0, _litElement.html)(_templateObject3_90c767701da511ed9d313b9780b2ae17(), this.print), !this.columnHeader, (this.thead[0] || []).map(function (th, index) { - return (0, _litElement.html)(_templateObject4_90c767701da511ed9d313b9780b2ae17(), index, _this2._isNumericColumn(index), _this2._isColHidden(index, 1), !_this2.sort ? _this2.getHTML(_this2._replaceBlankCell(th)) : (0, _litElement.html)(_templateObject5_90c767701da511ed9d313b9780b2ae17(), index, _this2.sortColumn, _this2.getHTML(_this2._replaceBlankCell(th)))); + return (0, _litElement.html)(_templateObject_58d2aab01e5811ed81a80d03c17d190b(), this.bordered, this.columnHeader, this.columnStriped, this.condensed, this.filter, this.footer, this.hidden, this.numericStyles, this.rowHeader, this.sort, this.striped, this.getHTML(this.caption), this._selectedChanged, this.options, this.selected, !this.downloadable ? "" : (0, _litElement.html)(_templateObject2_58d2aab01e5811ed81a80d03c17d190b(), this.download), !this.printable ? "" : (0, _litElement.html)(_templateObject3_58d2aab01e5811ed81a80d03c17d190b(), this.print), !this.columnHeader, (this.thead[0] || []).map(function (th, index) { + return (0, _litElement.html)(_templateObject4_58d2aab01e5811ed81a80d03c17d190b(), index, _this2._isNumericColumn(index), _this2._isColHidden(index, 1), !_this2.sort ? _this2.getHTML(_this2._replaceBlankCell(th)) : (0, _litElement.html)(_templateObject5_58d2aab01e5811ed81a80d03c17d190b(), index, _this2.sortColumn, _this2.getHTML(_this2._replaceBlankCell(th)))); }), this.tbody.map(function (tr) { return _this2._isRowFiltered(tr) ? "" : _this2._tbodyTr(tr); - }), !this.footer ? "" : (0, _litElement.html)(_templateObject6_90c767701da511ed9d313b9780b2ae17(), this._tbodyTr(this.tfoot[0], true, true))); + }), !this.footer ? "" : (0, _litElement.html)(_templateObject6_58d2aab01e5811ed81a80d03c17d190b(), this._tbodyTr(this.tfoot[0], true, true))); } }], [{ key: "styles", @@ -706,7 +706,7 @@ var EditableTableDisplay = /*#__PURE__*/function (_displayBehaviors) { var row = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var noFilter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var tfoot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - return (0, _litElement.html)(_templateObject7_90c767701da511ed9d313b9780b2ae17(), tfoot ? "tfoot-tr" : "tbody-tr", row.map(function (cell, index) { + return (0, _litElement.html)(_templateObject7_58d2aab01e5811ed81a80d03c17d190b(), tfoot ? "tfoot-tr" : "tbody-tr", row.map(function (cell, index) { return _this4._isRowHeader(_this4.rowHeader, index) ? _this4._tbodyTh(cell, index) : _this4._tbodyTd(cell, index, noFilter); })); } @@ -722,7 +722,7 @@ var EditableTableDisplay = /*#__PURE__*/function (_displayBehaviors) { }, { key: "_tbodyTh", value: function _tbodyTh(cell, index) { - return (0, _litElement.html)(_templateObject8_90c767701da511ed9d313b9780b2ae17(), index, this._isNumericColumn(index), this._isColHidden(index, 1), this.getHTML(this._replaceBlankCell(cell))); + return (0, _litElement.html)(_templateObject8_58d2aab01e5811ed81a80d03c17d190b(), index, this._isNumericColumn(index), this._isColHidden(index, 1), this.getHTML(this._replaceBlankCell(cell))); } /** * table cell template @@ -738,7 +738,7 @@ var EditableTableDisplay = /*#__PURE__*/function (_displayBehaviors) { key: "_tbodyTd", value: function _tbodyTd(cell, index) { var noFilter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - return (0, _litElement.html)(_templateObject9_90c767701da511ed9d313b9780b2ae17(), index, this._isNumericColumn(index), this._isNegative(cell), this._isColHidden(index, 1), this.filter ? (0, _litElement.html)(_templateObject10_90c767701da511ed9d313b9780b2ae17(), index, this._isCellFiltered(index, this.filterColumn, this.filtered), this.getHTML(this._replaceBlankCell(cell))) : !noFilter ? (0, _litElement.html)(_templateObject11_90c767701da511ed9d313b9780b2ae17(), this.getHTML(this._replaceBlankCell(cell))) : this.getHTML(this._replaceBlankCell(cell))); + return (0, _litElement.html)(_templateObject9_58d2aab01e5811ed81a80d03c17d190b(), index, this._isNumericColumn(index), this._isNegative(cell), this._isColHidden(index, 1), this.filter ? (0, _litElement.html)(_templateObject10_58d2aab01e5811ed81a80d03c17d190b(), index, this._isCellFiltered(index, this.filterColumn, this.filtered), this.getHTML(this._replaceBlankCell(cell))) : !noFilter ? (0, _litElement.html)(_templateObject11_58d2aab01e5811ed81a80d03c17d190b(), this.getHTML(this._replaceBlankCell(cell))) : this.getHTML(this._replaceBlankCell(cell))); } /** * update responsive columns menu diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-rowcol.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-rowcol.dev.js index 5ede1542eb9..743a8abafc9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-rowcol.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-rowcol.dev.js @@ -82,10 +82,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject4_90cd81f01da511ed9d313b9780b2ae17() { +function _templateObject4_58d765a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n display: block;\n height: 100%;\n width: 100%;\n --paper-item-min-height: 24px;\n --a11y-menu-button-border: none;\n --a11y-menu-button-list-border: 1px solid\n var(--editable-table-border-color, #999);\n --a11y-menu-button-vertical-padding: var(\n --editable-table-cell-vertical-padding,\n 10px\n );\n --a11y-menu-button-horizontal-padding: var(\n --editable-table-cell-horizontal-padding,\n 6px\n );\n --a11y-menu-button-item-focus-bg-color: var(\n --editable-table-heading-bg-color,\n #e8e8e8\n );\n --a11y-menu-button-list-bg-color: var(\n --editable-table-bg-color,\n #fff\n );\n }\n a11y-menu-button {\n display: block;\n height: 100%;\n width: 100%;\n }\n a11y-menu-button::part(button) {\n height: 100%;\n width: 100%;\n }\n a11y-menu-button::part(menu-outer) {\n min-width: 150px;\n }\n a11y-menu-button-item {\n font-family: var(\n --editable-table-secondary-font-family,\n "Roboto",\n "Noto",\n sans-serif\n );\n color: var(--editable-table-color, #222);\n font-size: var(--editable-table-secondary-font-size, 12px);\n line-height: 150%;\n }\n ']); - _templateObject4_90cd81f01da511ed9d313b9780b2ae17 = function _templateObject4_90cd81f01da511ed9d313b9780b2ae17() { + _templateObject4_58d765a01e5811ed81a80d03c17d190b = function _templateObject4_58d765a01e5811ed81a80d03c17d190b() { return data; }; @@ -114,30 +114,30 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject3_90cd81f01da511ed9d313b9780b2ae17() { +function _templateObject3_58d765a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['', ""]); - _templateObject3_90cd81f01da511ed9d313b9780b2ae17 = function _templateObject3_90cd81f01da511ed9d313b9780b2ae17() { + _templateObject3_58d765a01e5811ed81a80d03c17d190b = function _templateObject3_58d765a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_90cd81f01da511ed9d313b9780b2ae17() { +function _templateObject2_58d765a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n ', "\n ", "", "\n ", "\n "]); - _templateObject2_90cd81f01da511ed9d313b9780b2ae17 = function _templateObject2_90cd81f01da511ed9d313b9780b2ae17() { + _templateObject2_58d765a01e5811ed81a80d03c17d190b = function _templateObject2_58d765a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_90cd81f01da511ed9d313b9780b2ae17() { +function _templateObject_58d765a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', '\n ', ' \n Menu\n \n ', " \n ", "\n ", "\n \n \n "]); - _templateObject_90cd81f01da511ed9d313b9780b2ae17 = function _templateObject_90cd81f01da511ed9d313b9780b2ae17() { + _templateObject_58d765a01e5811ed81a80d03c17d190b = function _templateObject_58d765a01e5811ed81a80d03c17d190b() { return data; }; @@ -277,7 +277,7 @@ var EditableTableEditorRowcol = /*#__PURE__*/function (_cellBehaviors) { _createClass(EditableTableEditorRowcol, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_90cd81f01da511ed9d313b9780b2ae17(), this.row ? "right" : "bottom", this._onOpen, this.type, this.label || "", this._getItem(), this._getItem(false, true), this._getItem(true)); + return (0, _litElement.html)(_templateObject_58d765a01e5811ed81a80d03c17d190b(), this.row ? "right" : "bottom", this._onOpen, this.type, this.label || "", this._getItem(), this._getItem(false, true), this._getItem(true)); } }, { key: "rowColAction", @@ -307,7 +307,7 @@ var EditableTableEditorRowcol = /*#__PURE__*/function (_cellBehaviors) { value: function _getItem() { var deleteItem = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var after = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - return (0, _litElement.html)(_templateObject2_90cd81f01da511ed9d313b9780b2ae17(), deleteItem ? this._onDelete : after ? this._onInsertAfter : this._onInsertBefore, deleteItem ? "Delete" : "Insert", this.type, deleteItem ? " " : after ? " After " : " Before ", this.labelInfo); + return (0, _litElement.html)(_templateObject2_58d765a01e5811ed81a80d03c17d190b(), deleteItem ? this._onDelete : after ? this._onInsertAfter : this._onInsertBefore, deleteItem ? "Delete" : "Insert", this.type, deleteItem ? " " : after ? " After " : " Before ", this.labelInfo); } }, { key: "_onOpen", @@ -387,7 +387,7 @@ var EditableTableEditorRowcol = /*#__PURE__*/function (_cellBehaviors) { }, { key: "labelInfo", get: function get() { - return (0, _litElement.html)(_templateObject3_90cd81f01da511ed9d313b9780b2ae17(), this.label); + return (0, _litElement.html)(_templateObject3_58d765a01e5811ed81a80d03c17d190b(), this.label); } /** * @@ -404,7 +404,7 @@ var EditableTableEditorRowcol = /*#__PURE__*/function (_cellBehaviors) { }], [{ key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(EditableTableEditorRowcol), "styles", this) || []), _toConsumableArray(_editableTableBehaviors.editableTableCellStyles), [(0, _litElement.css)(_templateObject4_90cd81f01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(EditableTableEditorRowcol), "styles", this) || []), _toConsumableArray(_editableTableBehaviors.editableTableCellStyles), [(0, _litElement.css)(_templateObject4_58d765a01e5811ed81a80d03c17d190b())]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-toggle.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-toggle.dev.js index 888b850613e..5d3018195bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-toggle.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/editable-table/lib/dist/editable-table-editor-toggle.dev.js @@ -29,10 +29,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_90cfa4d01da511ed9d313b9780b2ae17() { +function _templateObject2_58d93a601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host([hidden]) {\n display: none;\n }\n button {\n padding: 2px;\n margin: 0;\n width: 100%;\n min-width: unset;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n align-content: stretch;\n text-transform: unset;\n font-family: var(\n --editable-table-secondary-font-family,\n "Roboto",\n "Noto",\n sans-serif\n );\n background-color: var(\n --editable-table-button-bg-color,\n var(--editable-table-bg-color, #fff)\n );\n color: var(--editable-table-border-color, #999);\n border: none;\n border-radius: 0;\n }\n :host([toggled]) button {\n background-color: var(--editable-table-button-toggled-bg-color);\n color: var(\n --editable-table-button-toggled-color,\n var(--editable-table-color, #222)\n );\n }\n :host(:not([disabled])) button:focus,\n :host(:not([disabled])) button:hover {\n background-color: var(\n --editable-table-button-hover-bg-color,\n var(--editable-table-heading-bg-color, #e8e8e8)\n );\n color: var(\n --editable-table-button-hover-color,\n var(--editable-table-border-color, #999)\n );\n cursor: pointer;\n }\n :host([toggled]:not([disabled])) button:focus,\n :host([toggled]:not([disabled])) button:hover {\n background-color: var(\n --editable-table-button-toggled-hover-bg-color,\n var(--editable-table-heading-bg-color, #e8e8e8)\n );\n color: var(\n --editable-table-button-toggled-hover-color,\n var(--editable-table-heading-color)\n );\n cursor: pointer;\n }\n :host([disabled]) button {\n background-color: var(\n --editable-table-button-disabled-bg-color,\n var(--editable-table-bg-color, #fff)\n );\n color: var(--editable-table-button-disabled-color);\n cursor: not-allowed;\n }\n button > div {\n flex-grow: 1;\n }\n .offscreen {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n #filter-off {\n opacity: 0.25;\n }\n ']); - _templateObject2_90cfa4d01da511ed9d313b9780b2ae17 = function _templateObject2_90cfa4d01da511ed9d313b9780b2ae17() { + _templateObject2_58d93a601e5811ed81a80d03c17d190b = function _templateObject2_58d93a601e5811ed81a80d03c17d190b() { return data; }; @@ -61,10 +61,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_90cfa4d01da511ed9d313b9780b2ae17() { +function _templateObject_58d93a601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', '\n
        \n "])), this.disabled, this.href, this.type, this.editMode ? "edit-mode-active" : "", this.icon, this._link.title, this.print, this.disabled, this.editMode ? "edit-mode-active" : "", this.type, this.position, this._link.title); + return (0, _index.html)(_templateObject_75843f701e5811ed81a80d03c17d190b || (_templateObject_75843f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n ", "\n
        \n "])), this.disabled, this.href, this.type, this.editMode ? "edit-mode-active" : "", this.icon, this._link.title, this.print, this.disabled, this.editMode ? "edit-mode-active" : "", this.type, this.position, this._link.title); } /** * Mix in an opened status @@ -114,7 +114,7 @@ define(["exports", "../../../../../lit/index.js", "../../core/utils/HAXCMSThemeP * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SiteRSSButton), "styles", this)), [(0, _index.css)(_templateObject2_b65bc3f01da511ed9d313b9780b2ae17 || (_templateObject2_b65bc3f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n color: var(--site-rss-button-color, inherit);\n }\n a {\n text-decoration: var(--site-rss-text-decoration);\n outline: none;\n color: var(--site-rss-button-color, inherit);\n }\n simple-icon-button-lite {\n color: var(--site-rss-button-color, inherit);\n }\n simple-tooltip {\n --simple-tooltip-background: var(\n --haxcms-tooltip-background-color,\n #000000\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: var(--haxcms-tooltip-color, #ffffff);\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SiteRSSButton), "styles", this)), [(0, _index.css)(_templateObject2_75843f701e5811ed81a80d03c17d190b || (_templateObject2_75843f701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n color: var(--site-rss-button-color, inherit);\n }\n a {\n text-decoration: var(--site-rss-text-decoration);\n outline: none;\n color: var(--site-rss-button-color, inherit);\n }\n simple-icon-button-lite {\n color: var(--site-rss-button-color, inherit);\n }\n simple-tooltip {\n --simple-tooltip-background: var(\n --haxcms-tooltip-background-color,\n #000000\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: var(--haxcms-tooltip-color, #ffffff);\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-search.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-search.js index d3128bf0ced..c40b7ead25b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-search.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-search.js @@ -7,12 +7,14 @@ define(["exports", "require", "../../../../../lit/index.js", "../../../../simple _exports.SiteSearch = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_b66365101da511ed9d313b9780b2ae17, _templateObject2_b66365101da511ed9d313b9780b2ae17, _templateObject3_b66365101da511ed9d313b9780b2ae17, _templateObject4_b66365101da511ed9d313b9780b2ae17, _templateObject5_b66365101da511ed9d313b9780b2ae17, _templateObject6_b66365101da511ed9d313b9780b2ae17, _templateObject7_b66365101da511ed9d313b9780b2ae17, _templateObject8_b66365101da511ed9d313b9780b2ae17; + var _templateObject_759249301e5811ed81a80d03c17d190b, _templateObject2_759249301e5811ed81a80d03c17d190b, _templateObject3_759249301e5811ed81a80d03c17d190b, _templateObject4_759249301e5811ed81a80d03c17d190b, _templateObject5_759249301e5811ed81a80d03c17d190b, _templateObject6_759249301e5811ed81a80d03c17d190b, _templateObject7_759249301e5811ed81a80d03c17d190b, _templateObject8_759249301e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } @@ -67,9 +69,9 @@ define(["exports", "require", "../../../../../lit/index.js", "../../../../simple value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_b66365101da511ed9d313b9780b2ae17 || (_templateObject_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n \n \n ", "\n "])), this.hideInput, this.t.search, this.t.typeAtLeast3LettersToStartSearch, this._searchValueChanged, this.search.length > 0 ? (0, _index.html)(_templateObject2_b66365101da511ed9d313b9780b2ae17 || (_templateObject2_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        \n ", " ", " ", ".\n

        \n "])), this.t.found, this.__results.length, this.t.results) : (0, _index.html)(_templateObject3_b66365101da511ed9d313b9780b2ae17 || (_templateObject3_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.whileLoading, this.__results.map(function (item) { - return (0, _index.html)(_templateObject4_b66365101da511ed9d313b9780b2ae17 || (_templateObject4_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "(", ")\n
        \n
        \n ", "\n
        \n ", "\n
        ", "..
        \n \n "])), item.location, _this2.selectionMade, item.title, !_this2.showPath, item.location, !_this2.showDate, item.created, item.created, item.breadcrumb ? (0, _index.html)(_templateObject5_b66365101da511ed9d313b9780b2ae17 || (_templateObject5_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), item.breadcrumb.map(function (crumb, i) { - return (0, _index.html)(_templateObject6_b66365101da511ed9d313b9780b2ae17 || (_templateObject6_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", "", ""])), i != 0 ? (0, _index.html)(_templateObject7_b66365101da511ed9d313b9780b2ae17 || (_templateObject7_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : "", crumb.title); + return (0, _index.html)(_templateObject_759249301e5811ed81a80d03c17d190b || (_templateObject_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n \n \n ", "\n "])), this.hideInput, this.t.search, this.t.typeAtLeast3LettersToStartSearch, this._searchValueChanged, this.search.length > 0 ? (0, _index.html)(_templateObject2_759249301e5811ed81a80d03c17d190b || (_templateObject2_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        \n ", " ", " ", ".\n

        \n "])), this.t.found, this.__results.length, this.t.results) : (0, _index.html)(_templateObject3_759249301e5811ed81a80d03c17d190b || (_templateObject3_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.whileLoading, this.__results.map(function (item) { + return (0, _index.html)(_templateObject4_759249301e5811ed81a80d03c17d190b || (_templateObject4_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "(", ")\n
        \n
        \n ", "\n
        \n ", "\n
        ", "..
        \n \n "])), item.location, _this2.selectionMade, item.title, !_this2.showPath, item.location, !_this2.showDate, item.created, item.created, item.breadcrumb ? (0, _index.html)(_templateObject5_759249301e5811ed81a80d03c17d190b || (_templateObject5_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), item.breadcrumb.map(function (crumb, i) { + return (0, _index.html)(_templateObject6_759249301e5811ed81a80d03c17d190b || (_templateObject6_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", "", ""])), i != 0 ? (0, _index.html)(_templateObject7_759249301e5811ed81a80d03c17d190b || (_templateObject7_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : "", crumb.title); })) : "", item.description); })); } @@ -96,11 +98,11 @@ define(["exports", "require", "../../../../../lit/index.js", "../../../../simple }, { key: "__resultsChanged", value: function () { - var _resultsChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(e) { + var _resultsChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) { var _this3 = this; var results; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -115,9 +117,9 @@ define(["exports", "require", "../../../../../lit/index.js", "../../../../simple results = e.detail.value; _context2.next = 5; return results.map( /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(item) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(item) { var fullItem, breadcrumb, itemBuilder; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -249,7 +251,7 @@ define(["exports", "require", "../../../../../lit/index.js", "../../../../simple * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject8_b66365101da511ed9d313b9780b2ae17 || (_templateObject8_b66365101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n color: var(--site-search-color, #383f45);\n }\n [hidden] {\n display: none;\n }\n .result {\n display: block;\n background-color: var(--site-search-result-background-color, #eeeeee);\n color: var(--site-search-result-color, #222222);\n padding: 12px;\n margin: 4px 0;\n }\n .result:hover,\n .result:focus {\n background-color: var(\n --site-search-result-background-color-hover,\n #dddddd\n );\n color: var(--site-search-link-color-hover, #000000);\n text-decoration: none;\n outline: 4px solid grey;\n }\n .result .title {\n font-size: 28px;\n margin: 0 0 8px 0;\n line-height: 1;\n }\n .result {\n color: var(--site-search-link-color, #444444);\n text-decoration: none;\n }\n simple-datetime {\n color: var(--site-search-link-color, #444444);\n }\n simple-icon-lite {\n --simple-icon-height: 12px;\n --simple-icon-width: 12px;\n vertical-align: baseline;\n }\n .result .link-text {\n font-size: 12px;\n color: var(--site-search-link-text-color, #999999);\n font-style: italic;\n padding-left: 8px;\n }\n .results-found-text {\n margin-bottom: 1.5rem;\n padding-bottom: 0.5rem;\n }\n #search {\n flex-grow: 2;\n margin-right: 4px;\n --simple-fields-accent-color: var(--site-search-text-color, #000);\n color: var(--site-search-placeholder-color, #222);\n }\n "])))]; + return [(0, _index.css)(_templateObject8_759249301e5811ed81a80d03c17d190b || (_templateObject8_759249301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n color: var(--site-search-color, #383f45);\n }\n [hidden] {\n display: none;\n }\n .result {\n display: block;\n background-color: var(--site-search-result-background-color, #eeeeee);\n color: var(--site-search-result-color, #222222);\n padding: 12px;\n margin: 4px 0;\n }\n .result:hover,\n .result:focus {\n background-color: var(\n --site-search-result-background-color-hover,\n #dddddd\n );\n color: var(--site-search-link-color-hover, #000000);\n text-decoration: none;\n outline: 4px solid grey;\n }\n .result .title {\n font-size: 28px;\n margin: 0 0 8px 0;\n line-height: 1;\n }\n .result {\n color: var(--site-search-link-color, #444444);\n text-decoration: none;\n }\n simple-datetime {\n color: var(--site-search-link-color, #444444);\n }\n simple-icon-lite {\n --simple-icon-height: 12px;\n --simple-icon-width: 12px;\n vertical-align: baseline;\n }\n .result .link-text {\n font-size: 12px;\n color: var(--site-search-link-text-color, #999999);\n font-style: italic;\n padding-left: 8px;\n }\n .results-found-text {\n margin-bottom: 1.5rem;\n padding-bottom: 0.5rem;\n }\n #search {\n flex-grow: 2;\n margin-right: 4px;\n --simple-fields-accent-color: var(--site-search-text-color, #000);\n color: var(--site-search-placeholder-color, #222);\n }\n "])))]; } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-title.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-title.js index fdbff89388c..5a6539c50ab 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-title.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/site/site-title.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../../lit/index.js", "../../core/haxcms- _exports.SiteTitle = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_b66624301da511ed9d313b9780b2ae17, _templateObject2_b66624301da511ed9d313b9780b2ae17, _templateObject3_b66624301da511ed9d313b9780b2ae17, _templateObject4_b66624301da511ed9d313b9780b2ae17; + var _templateObject_75952f601e5811ed81a80d03c17d190b, _templateObject2_75952f601e5811ed81a80d03c17d190b, _templateObject3_75952f601e5811ed81a80d03c17d190b, _templateObject4_75952f601e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -65,7 +65,7 @@ define(["exports", "require", "../../../../../lit/index.js", "../../core/haxcms- babelHelpers.createClass(SiteTitle, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_b66624301da511ed9d313b9780b2ae17 || (_templateObject_b66624301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n "])), this.homeLink, this.t.home, this.disabled, this.icon ? false : true, this.icon, this.notitle ? (0, _index.html)(_templateObject2_b66624301da511ed9d313b9780b2ae17 || (_templateObject2_b66624301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_b66624301da511ed9d313b9780b2ae17 || (_templateObject3_b66624301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.siteTitle)); + return (0, _index.html)(_templateObject_75952f601e5811ed81a80d03c17d190b || (_templateObject_75952f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n "])), this.homeLink, this.t.home, this.disabled, this.icon ? false : true, this.icon, this.notitle ? (0, _index.html)(_templateObject2_75952f601e5811ed81a80d03c17d190b || (_templateObject2_75952f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_75952f601e5811ed81a80d03c17d190b || (_templateObject3_75952f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.siteTitle)); } /** * Props @@ -87,7 +87,7 @@ define(["exports", "require", "../../../../../lit/index.js", "../../core/haxcms- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_b66624301da511ed9d313b9780b2ae17 || (_templateObject4_b66624301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n text-rendering: optimizelegibility;\n position: relative;\n color: inherit;\n }\n a {\n color: inherit;\n display: var(--site-title-link-display, block);\n text-decoration: var(--site-title-link-text-decoration);\n }\n a h1 {\n color: inherit;\n text-rendering: optimizelegibility;\n font-family: var(--site-title-heading-font-family);\n font-size: var(--site-title-heading-font-size);\n margin: var(--site-title-heading-margin);\n padding: var(--site-title-heading-padding);\n text-align: var(--site-title-heading-text-align);\n text-rendering: var(--site-title-heading-text-rendering);\n font-weight: var(--site-title-heading-font-weight);\n }\n "])))]; + return [(0, _index.css)(_templateObject4_75952f601e5811ed81a80d03c17d190b || (_templateObject4_75952f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n text-rendering: optimizelegibility;\n position: relative;\n color: inherit;\n }\n a {\n color: inherit;\n display: var(--site-title-link-display, block);\n text-decoration: var(--site-title-link-text-decoration);\n }\n a h1 {\n color: inherit;\n text-rendering: optimizelegibility;\n font-family: var(--site-title-heading-font-family);\n font-size: var(--site-title-heading-font-size);\n margin: var(--site-title-heading-margin);\n padding: var(--site-title-heading-padding);\n text-align: var(--site-title-heading-text-align);\n text-rendering: var(--site-title-heading-text-rendering);\n font-weight: var(--site-title-heading-font-weight);\n }\n "])))]; } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/basic-template.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/basic-template.js index 4820b939c56..e097dc81162 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/basic-template.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/basic-template.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../../@polymer/polymer/polymer-element.j _exports.BasicTemplate = _exports.Basic = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_b66a42e01da511ed9d313b9780b2ae17; + var _templateObject_759975201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -124,7 +124,7 @@ define(["exports", "require", "../../../../../@polymer/polymer/polymer-element.j babelHelpers.createClass(_class, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_b66a42e01da511ed9d313b9780b2ae17 || (_templateObject_b66a42e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n
        \n \n \n
        \n
        \n \n \n
        \n \n \n\n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_759975201e5811ed81a80d03c17d190b || (_templateObject_759975201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n
        \n \n \n
        \n
        \n \n \n
        \n \n \n\n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n \n \n "]))); } }]); return _class; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/minimalist-template.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/minimalist-template.js index 4b352afa8d8..745e488227d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/minimalist-template.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxcms-elements/lib/ui-components/templates/minimalist-template.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../../@polymer/polymer/polymer-element.j _exports.MinimalistTemplate = _exports.Minimalist = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_b66d29101da511ed9d313b9780b2ae17; + var _templateObject_759cf7901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -90,7 +90,7 @@ define(["exports", "require", "../../../../../@polymer/polymer/polymer-element.j babelHelpers.createClass(_class, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_b66d29101da511ed9d313b9780b2ae17 || (_templateObject_b66d29101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n

        [[activeItemFields.title]]

        \n

        [[activeItemFields.subtitle]]

        \n \n
        \n
        \n
        \n
        \n \n
        \n
        \n
        \n
        \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n
        \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_759cf7901e5811ed81a80d03c17d190b || (_templateObject_759cf7901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n

        [[activeItemFields.title]]

        \n

        [[activeItemFields.subtitle]]

        \n \n
        \n
        \n
        \n
        \n \n
        \n
        \n
        \n
        \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n
        \n \n \n "]))); } }]); return _class; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxor-slevin/haxor-slevin.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxor-slevin/haxor-slevin.js index 50dc1176e3d..a4ac8b263a4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxor-slevin/haxor-slevin.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxor-slevin/haxor-slevin.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.HaxorSlevin = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_45dcc8e01da511ed9d313b9780b2ae17, _templateObject2_45dcc8e01da511ed9d313b9780b2ae17, _templateObject3_45dcc8e01da511ed9d313b9780b2ae17, _templateObject4_45dcc8e01da511ed9d313b9780b2ae17, _templateObject5_45dcc8e01da511ed9d313b9780b2ae17; + var _templateObject_16c3a7f01e5811ed81a80d03c17d190b, _templateObject2_16c3a7f01e5811ed81a80d03c17d190b, _templateObject3_16c3a7f01e5811ed81a80d03c17d190b, _templateObject4_16c3a7f01e5811ed81a80d03c17d190b, _templateObject5_16c3a7f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -107,12 +107,12 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_45dcc8e01da511ed9d313b9780b2ae17 || (_templateObject_45dcc8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n \n \n
        \n
        \n \n \n ", "\n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n \n
        \n ", "\n
        \n \n
        \n ", "\n
        \n
        \n
        \n
        \n \n \n

        \n ", "\n

        \n
        \n \n
        \n
        \n \n
        \n ", "\n
        \n \n
        \n
        \n \n \n Never miss a story from ", " use RSS\n today!\n \n \n \n \n \n \n
        \n
        \n
        \n
        \n
        \n "])), this.siteModalClick, this._goBack, this.icon, this.title, this.image, this.selectedPage, this.__mainPostsChanged, this.__mainPosts.map(function (post) { - return (0, _index.html)(_templateObject2_45dcc8e01da511ed9d313b9780b2ae17 || (_templateObject2_45dcc8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); + return (0, _index.html)(_templateObject_16c3a7f01e5811ed81a80d03c17d190b || (_templateObject_16c3a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n \n \n
        \n
        \n \n \n ", "\n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n \n
        \n ", "\n
        \n \n
        \n ", "\n
        \n
        \n
        \n
        \n \n \n

        \n ", "\n

        \n
        \n \n
        \n
        \n \n
        \n ", "\n
        \n \n
        \n
        \n \n \n Never miss a story from ", " use RSS\n today!\n \n \n \n \n \n \n
        \n
        \n
        \n
        \n
        \n "])), this.siteModalClick, this._goBack, this.icon, this.title, this.image, this.selectedPage, this.__mainPostsChanged, this.__mainPosts.map(function (post) { + return (0, _index.html)(_templateObject2_16c3a7f01e5811ed81a80d03c17d190b || (_templateObject2_16c3a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); }), this.__extraPostsChanged, this.__extraPosts.map(function (post) { - return (0, _index.html)(_templateObject3_45dcc8e01da511ed9d313b9780b2ae17 || (_templateObject3_45dcc8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); + return (0, _index.html)(_templateObject3_16c3a7f01e5811ed81a80d03c17d190b || (_templateObject3_16c3a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); }), !this.subtitle, this.subtitle, this.__followUpPostsChanged, this.activeManifestIndexCounter, this.__followUpPosts.map(function (post) { - return (0, _index.html)(_templateObject4_45dcc8e01da511ed9d313b9780b2ae17 || (_templateObject4_45dcc8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); + return (0, _index.html)(_templateObject4_16c3a7f01e5811ed81a80d03c17d190b || (_templateObject4_16c3a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : "", _this2.color, post.title, post.slug, _this2._showImage(post.metadata.fields && post.metadata.fields.images && post.metadata.fields.images[0] && post.metadata.fields.images[0].alt ? post.metadata.fields.images[0].alt : false), _this2.author.name, post.metadata.created, post.metadata.readtime, _this2.author.image, _this2.image, _this2.author.socialLink, post.description); }), this.stateClass, this.shareMsg, this.shareMsg, this.shareUrl, this.shareUrl, this.shareMsg, this.shareMsg, this.activeImage, this.shareUrl, this.stateClass, this.icon, this.title); } /** @@ -297,7 +297,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject5_45dcc8e01da511ed9d313b9780b2ae17 || (_templateObject5_45dcc8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: #ffffff;\n color: rgba(0, 0, 0, 0.84);\n --hax-base-styles-a-color: var(--haxcms-color, #2196f3);\n --hax-base-styles-a-color-visited: var(--haxcms-color, #2196f3);\n --hax-base-styles-a-color-active: var(--haxcms-color, #2196f3);\n }\n site-modal:not(:defined),\n site-rss-button:not(:defined),\n iron-pages:not(:defined),\n site-share-widget:not(:defined),\n site-active-title:not(:defined),\n site-git-corner:not(:defined),\n social-share-link:not(:defined),\n simple-blog-card:not(:defined) {\n display: none;\n }\n :host([hidden]) {\n display: none;\n }\n\n /**\n * Hide the slotted content during edit mode. This must be here to work.\n */\n :host([edit-mode]) #slot {\n display: none;\n }\n :host([edit-mode]) .contentcontainer-wrapper simple-blog-card {\n opacity: 0.2;\n pointer-events: none;\n }\n #slot {\n min-height: 50vh;\n }\n site-active-title {\n font-size: 36px;\n }\n .wrapper {\n padding-bottom: 80px;\n }\n #home {\n max-width: 1032px;\n padding-left: 20px;\n padding-right: 20px;\n margin: 0 auto;\n }\n .contentcontainer-wrapper {\n max-width: 900px;\n margin: 0 auto;\n box-sizing: border-box;\n padding-left: 20px;\n padding-right: 20px;\n }\n simple-blog-card {\n padding: 16px;\n min-height: 100px;\n border: 2px solid lightgray;\n margin: 8px;\n text-align: center;\n }\n .simple-blog-card-wrapper {\n display: flex;\n justify-content: space-evenly;\n }\n simple-blog-card[size=\"micro\"] {\n padding: 4px;\n }\n iron-pages {\n padding-top: 64px;\n }\n dom-repeat {\n padding-bottom: 16px;\n min-height: 300px;\n }\n .header-wrapper {\n padding: 0 20px;\n height: 54px;\n width: 100%;\n display: flex;\n margin: 0 auto;\n z-index: 100;\n color: #ffffff;\n justify-content: center;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);\n background-color: var(--haxcms-color, rgba(255, 0, 116, 1));\n }\n .header-wrapper div {\n display: inline-flex;\n }\n .header-image {\n max-width: 600px;\n width: 100%;\n }\n .header-image img.image {\n max-width: 800px;\n }\n .backbutton {\n height: 54px;\n cursor: pointer;\n text-align: center;\n line-height: 32px;\n background-color: transparent;\n border: none;\n display: inline-flex;\n color: white;\n min-width: 100px;\n text-transform: unset;\n margin: 0px 16px;\n }\n\n .social-float {\n top: 160px;\n position: fixed;\n z-index: 99;\n margin-left: -10vw;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n .social-float.disable-items {\n pointer-events: none;\n opacity: 0.2 !important;\n }\n .social-float ul {\n padding: 0;\n margin: 0;\n list-style: none;\n }\n\n site-share-widget {\n --site-share-widget-bg: var(--haxcms-color, rgba(255, 0, 116, 1));\n }\n site-share-widget:hover,\n site-share-widget:focus,\n site-share-widget:active {\n --site-share-widget-bg: var(--haxcms-system-action-color, blue);\n }\n\n social-share-link {\n --social-share-button-bg: var(--haxcms-color, rgba(255, 0, 116, 1));\n --social-share-button-padding: 8px;\n --social-share-button-border-radius: 50%;\n }\n\n .annoy-user {\n background-color: rgba(255, 255, 255, 0.9);\n display: block;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.0785);\n padding: 10px 0;\n height: 50px;\n z-index: 100;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n .annoy-user.disable-items {\n pointer-events: none;\n opacity: 0 !important;\n }\n simple-icon-lite {\n height: 40px;\n width: 40px;\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n display: flex;\n padding-right: 20px;\n }\n .annoy-user simple-icon-lite {\n color: black;\n }\n .annoy-user span {\n flex: 1 1 auto;\n height: 40px;\n display: flex;\n vertical-align: middle;\n line-height: 40px;\n }\n .annoy-inner strong {\n padding: 0 4px;\n }\n .annoy-user .rss {\n margin-left: 50px;\n }\n .annoy-inner {\n max-width: 800px;\n margin: 0 auto;\n display: flex;\n }\n .subtitle {\n font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\",\n Geneva, Arial, sans-serif;\n letter-spacing: -0.02em;\n font-weight: 300;\n font-style: normal;\n letter-spacing: 0;\n font-size: 28px;\n line-height: 1.22;\n letter-spacing: -0.012em;\n }\n site-rss-button {\n margin: 0 4px;\n padding: 0;\n color: black;\n --site-rss-color: #000000;\n --site-rss-bg-color: var(--haxcms-color, rgba(255, 0, 116, 1));\n --site-rss-simple-icon-button-padding: 0 4px;\n --site-rss-simple-icon-button-margin: 0;\n }\n\n @media screen and (max-width: 800px) {\n .header-image {\n max-width: 200px;\n width: 100%;\n }\n .header-image img.image {\n max-width: 200px;\n }\n .simple-blog-card-wrapper simple-blog-card {\n margin: 0 10vw;\n }\n .simple-blog-card-wrapper {\n text-align: center;\n }\n #contentcontainer,\n #home {\n padding-left: 8px;\n padding-right: 8px;\n transition: 0.5s opacity ease-in-out;\n }\n simple-blog-card {\n padding: 0;\n }\n .hide-small {\n display: none !important;\n }\n .annoy-user .rss {\n margin-left: unset;\n }\n .annoy-user {\n position: relative;\n bottom: unset;\n left: unset;\n right: unset;\n padding: 0;\n height: unset;\n }\n .annoy-user span {\n height: unset;\n line-height: unset;\n }\n .annoy-inner {\n max-width: unset;\n margin: 0;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject5_16c3a7f01e5811ed81a80d03c17d190b || (_templateObject5_16c3a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: #ffffff;\n color: rgba(0, 0, 0, 0.84);\n --hax-base-styles-a-color: var(--haxcms-color, #2196f3);\n --hax-base-styles-a-color-visited: var(--haxcms-color, #2196f3);\n --hax-base-styles-a-color-active: var(--haxcms-color, #2196f3);\n }\n site-modal:not(:defined),\n site-rss-button:not(:defined),\n iron-pages:not(:defined),\n site-share-widget:not(:defined),\n site-active-title:not(:defined),\n site-git-corner:not(:defined),\n social-share-link:not(:defined),\n simple-blog-card:not(:defined) {\n display: none;\n }\n :host([hidden]) {\n display: none;\n }\n\n /**\n * Hide the slotted content during edit mode. This must be here to work.\n */\n :host([edit-mode]) #slot {\n display: none;\n }\n :host([edit-mode]) .contentcontainer-wrapper simple-blog-card {\n opacity: 0.2;\n pointer-events: none;\n }\n #slot {\n min-height: 50vh;\n }\n site-active-title {\n font-size: 36px;\n }\n .wrapper {\n padding-bottom: 80px;\n }\n #home {\n max-width: 1032px;\n padding-left: 20px;\n padding-right: 20px;\n margin: 0 auto;\n }\n .contentcontainer-wrapper {\n max-width: 900px;\n margin: 0 auto;\n box-sizing: border-box;\n padding-left: 20px;\n padding-right: 20px;\n }\n simple-blog-card {\n padding: 16px;\n min-height: 100px;\n border: 2px solid lightgray;\n margin: 8px;\n text-align: center;\n }\n .simple-blog-card-wrapper {\n display: flex;\n justify-content: space-evenly;\n }\n simple-blog-card[size=\"micro\"] {\n padding: 4px;\n }\n iron-pages {\n padding-top: 64px;\n }\n dom-repeat {\n padding-bottom: 16px;\n min-height: 300px;\n }\n .header-wrapper {\n padding: 0 20px;\n height: 54px;\n width: 100%;\n display: flex;\n margin: 0 auto;\n z-index: 100;\n color: #ffffff;\n justify-content: center;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);\n background-color: var(--haxcms-color, rgba(255, 0, 116, 1));\n }\n .header-wrapper div {\n display: inline-flex;\n }\n .header-image {\n max-width: 600px;\n width: 100%;\n }\n .header-image img.image {\n max-width: 800px;\n }\n .backbutton {\n height: 54px;\n cursor: pointer;\n text-align: center;\n line-height: 32px;\n background-color: transparent;\n border: none;\n display: inline-flex;\n color: white;\n min-width: 100px;\n text-transform: unset;\n margin: 0px 16px;\n }\n\n .social-float {\n top: 160px;\n position: fixed;\n z-index: 99;\n margin-left: -10vw;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n .social-float.disable-items {\n pointer-events: none;\n opacity: 0.2 !important;\n }\n .social-float ul {\n padding: 0;\n margin: 0;\n list-style: none;\n }\n\n site-share-widget {\n --site-share-widget-bg: var(--haxcms-color, rgba(255, 0, 116, 1));\n }\n site-share-widget:hover,\n site-share-widget:focus,\n site-share-widget:active {\n --site-share-widget-bg: var(--haxcms-system-action-color, blue);\n }\n\n social-share-link {\n --social-share-button-bg: var(--haxcms-color, rgba(255, 0, 116, 1));\n --social-share-button-padding: 8px;\n --social-share-button-border-radius: 50%;\n }\n\n .annoy-user {\n background-color: rgba(255, 255, 255, 0.9);\n display: block;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.0785);\n padding: 10px 0;\n height: 50px;\n z-index: 100;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n .annoy-user.disable-items {\n pointer-events: none;\n opacity: 0 !important;\n }\n simple-icon-lite {\n height: 40px;\n width: 40px;\n --simple-icon-height: 40px;\n --simple-icon-width: 40px;\n display: flex;\n padding-right: 20px;\n }\n .annoy-user simple-icon-lite {\n color: black;\n }\n .annoy-user span {\n flex: 1 1 auto;\n height: 40px;\n display: flex;\n vertical-align: middle;\n line-height: 40px;\n }\n .annoy-inner strong {\n padding: 0 4px;\n }\n .annoy-user .rss {\n margin-left: 50px;\n }\n .annoy-inner {\n max-width: 800px;\n margin: 0 auto;\n display: flex;\n }\n .subtitle {\n font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\",\n Geneva, Arial, sans-serif;\n letter-spacing: -0.02em;\n font-weight: 300;\n font-style: normal;\n letter-spacing: 0;\n font-size: 28px;\n line-height: 1.22;\n letter-spacing: -0.012em;\n }\n site-rss-button {\n margin: 0 4px;\n padding: 0;\n color: black;\n --site-rss-color: #000000;\n --site-rss-bg-color: var(--haxcms-color, rgba(255, 0, 116, 1));\n --site-rss-simple-icon-button-padding: 0 4px;\n --site-rss-simple-icon-button-margin: 0;\n }\n\n @media screen and (max-width: 800px) {\n .header-image {\n max-width: 200px;\n width: 100%;\n }\n .header-image img.image {\n max-width: 200px;\n }\n .simple-blog-card-wrapper simple-blog-card {\n margin: 0 10vw;\n }\n .simple-blog-card-wrapper {\n text-align: center;\n }\n #contentcontainer,\n #home {\n padding-left: 8px;\n padding-right: 8px;\n transition: 0.5s opacity ease-in-out;\n }\n simple-blog-card {\n padding: 0;\n }\n .hide-small {\n display: none !important;\n }\n .annoy-user .rss {\n margin-left: unset;\n }\n .annoy-user {\n position: relative;\n bottom: unset;\n left: unset;\n right: unset;\n padding: 0;\n height: unset;\n }\n .annoy-user span {\n height: unset;\n line-height: unset;\n }\n .annoy-inner {\n max-width: unset;\n margin: 0;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/haxschema-builder.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/haxschema-builder.js index 408d9beb281..0dac2e15ef9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/haxschema-builder.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/haxschema-builder.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../json-editor/json-editor.js", "../co }); _exports.HaxschemaBuilder = void 0; - var _templateObject_45e8d6d01da511ed9d313b9780b2ae17, _templateObject2_45e8d6d01da511ed9d313b9780b2ae17; + var _templateObject_16c79f901e5811ed81a80d03c17d190b, _templateObject2_16c79f901e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -41,7 +41,7 @@ define(["exports", "../../lit/index.js", "../json-editor/json-editor.js", "../co key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_45e8d6d01da511ed9d313b9780b2ae17 || (_templateObject_45e8d6d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n \n \n \n \n
        \n
        \n \n
        \n
        "])), this.addConfigure, this.addAdvanced, this._editorDataChanged, this.__haxSchemaChanged, this.haxSchema, this.value, this.__valueChanged); + return (0, _index.html)(_templateObject_16c79f901e5811ed81a80d03c17d190b || (_templateObject_16c79f901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n \n \n \n \n
        \n
        \n \n
        \n
        "])), this.addConfigure, this.addAdvanced, this._editorDataChanged, this.__haxSchemaChanged, this.haxSchema, this.value, this.__valueChanged); } // haxProperty definition }, { @@ -160,7 +160,7 @@ define(["exports", "../../lit/index.js", "../json-editor/json-editor.js", "../co key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_45e8d6d01da511ed9d313b9780b2ae17 || (_templateObject2_45e8d6d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n code-editor {\n height: 500px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_16c79f901e5811ed81a80d03c17d190b || (_templateObject2_16c79f901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n code-editor {\n height: 500px;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/lib/hax-schema-form.js b/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/lib/hax-schema-form.js index 2305406ec6e..93924c13611 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/lib/hax-schema-form.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/haxschema-builder/lib/hax-schema-form.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". _exports.HaxSchemaForm = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_87c976901da511ed9d313b9780b2ae17; + var _templateObject_513386801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -164,7 +164,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_87c976901da511ed9d313b9780b2ae17 || (_templateObject_87c976901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n
        \n \n
        \n "])), _HAXFields.HaxSchematizer, _HAXFields.HaxElementizer); + return (0, _polymerElement.html)(_templateObject_513386801e5811ed81a80d03c17d190b || (_templateObject_513386801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n
        \n \n
        \n "])), _HAXFields.HaxSchematizer, _HAXFields.HaxElementizer); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/hero-banner/hero-banner.js b/build/es5-amd/node_modules/@lrnwebcomponents/hero-banner/hero-banner.js index 07a302baeb2..80e87bbd5cc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/hero-banner/hero-banner.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/hero-banner/hero-banner.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }); _exports.HeroBanner = void 0; - var _templateObject_3a6ffae01da511ed9d313b9780b2ae17, _templateObject2_3a6ffae01da511ed9d313b9780b2ae17; + var _templateObject_0dd8f0f01e5811ed81a80d03c17d190b, _templateObject2_0dd8f0f01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -35,12 +35,12 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f babelHelpers.createClass(HeroBanner, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3a6ffae01da511ed9d313b9780b2ae17 || (_templateObject_3a6ffae01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        ", "
        \n
        ", "
        \n \n
        \n "])), this.image, this.ariaDescribedby || "", this.title, this.details, this.buttonLink || "", !this.buttonLink, this.buttonText || "Find out more"); + return (0, _index.html)(_templateObject_0dd8f0f01e5811ed81a80d03c17d190b || (_templateObject_0dd8f0f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        ", "
        \n
        ", "
        \n \n
        \n "])), this.image, this.ariaDescribedby || "", this.title, this.details, this.buttonLink || "", !this.buttonLink, this.buttonText || "Find out more"); } }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(HeroBanner), "styles", this)), [(0, _index.css)(_templateObject2_3a6ffae01da511ed9d313b9780b2ae17 || (_templateObject2_3a6ffae01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n min-height: 600px;\n height: 100%;\n max-height: 600px;\n overflow: hidden;\n position: relative;\n --hero-banner-font-family: \"Roboto\";\n --hero-banner-title-weight: 500;\n --hero-banner-text: var(--simple-colors-default-theme-grey-12);\n --hero-banner-rgba: rgba(255, 255, 255, 0.65);\n --hero-banner-image-bg: var(--simple-colors-default-theme-grey-3);\n --hero-banner-button-weight: bold;\n --hero-banner-button-color: var(\n --simple-colors-default-theme-accent-5\n );\n --hero-banner-button-hover-color: var(\n --simple-colors-default-theme-accent-4\n );\n }\n :host([dark]) {\n --hero-banner-rgba: rgba(0, 0, 0, 0.65);\n }\n .image {\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background-color: var(--hero-banner-image-bg);\n }\n .itemwrapper {\n position: absolute;\n bottom: 10%;\n left: 10%;\n width: 50%;\n }\n .title {\n background-color: var(--hero-banner-rgba);\n padding: 10px 16px;\n font-size: 32px;\n color: var(--hero-banner-text);\n margin: 4px 0;\n font-family: var(--hero-banner-font-family);\n font-weight: var(--hero-banner-title-weight);\n }\n .details {\n background-color: var(--hero-banner-rgba);\n padding: 10px 16px;\n font-size: 16px;\n color: var(--hero-banner-text);\n margin: 4px 0;\n font-family: var(--hero-banner-font-family);\n }\n .linkbutton {\n padding: 0;\n margin: 8px 0;\n text-decoration: none;\n font-family: var(--hero-banner-font-family);\n }\n .linkbutton button {\n text-transform: none;\n font-weight: var(--hero-banner-button-weight);\n color: var(--hero-banner-text);\n background-color: var(--hero-banner-button-color);\n font-size: 16px;\n margin: 0;\n }\n .linkbutton:focus button,\n .linkbutton:hover button {\n background-color: var(--hero-banner-button-hover-color);\n }\n @media screen and (max-width: 720px) {\n .title {\n font-size: 20px;\n }\n .details {\n font-size: 12px;\n }\n .itemwrapper {\n left: 5%;\n width: 50%;\n }\n }\n @media screen and (max-width: 500px) {\n .title {\n font-size: 16px;\n }\n .details {\n display: none;\n }\n .itemwrapper {\n left: 0;\n width: 300px;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(HeroBanner), "styles", this)), [(0, _index.css)(_templateObject2_0dd8f0f01e5811ed81a80d03c17d190b || (_templateObject2_0dd8f0f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n min-height: 600px;\n height: 100%;\n max-height: 600px;\n overflow: hidden;\n position: relative;\n --hero-banner-font-family: \"Roboto\";\n --hero-banner-title-weight: 500;\n --hero-banner-text: var(--simple-colors-default-theme-grey-12);\n --hero-banner-rgba: rgba(255, 255, 255, 0.65);\n --hero-banner-image-bg: var(--simple-colors-default-theme-grey-3);\n --hero-banner-button-weight: bold;\n --hero-banner-button-color: var(\n --simple-colors-default-theme-accent-5\n );\n --hero-banner-button-hover-color: var(\n --simple-colors-default-theme-accent-4\n );\n }\n :host([dark]) {\n --hero-banner-rgba: rgba(0, 0, 0, 0.65);\n }\n .image {\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background-color: var(--hero-banner-image-bg);\n }\n .itemwrapper {\n position: absolute;\n bottom: 10%;\n left: 10%;\n width: 50%;\n }\n .title {\n background-color: var(--hero-banner-rgba);\n padding: 10px 16px;\n font-size: 32px;\n color: var(--hero-banner-text);\n margin: 4px 0;\n font-family: var(--hero-banner-font-family);\n font-weight: var(--hero-banner-title-weight);\n }\n .details {\n background-color: var(--hero-banner-rgba);\n padding: 10px 16px;\n font-size: 16px;\n color: var(--hero-banner-text);\n margin: 4px 0;\n font-family: var(--hero-banner-font-family);\n }\n .linkbutton {\n padding: 0;\n margin: 8px 0;\n text-decoration: none;\n font-family: var(--hero-banner-font-family);\n }\n .linkbutton button {\n text-transform: none;\n font-weight: var(--hero-banner-button-weight);\n color: var(--hero-banner-text);\n background-color: var(--hero-banner-button-color);\n font-size: 16px;\n margin: 0;\n }\n .linkbutton:focus button,\n .linkbutton:hover button {\n background-color: var(--hero-banner-button-hover-color);\n }\n @media screen and (max-width: 720px) {\n .title {\n font-size: 20px;\n }\n .details {\n font-size: 12px;\n }\n .itemwrapper {\n left: 5%;\n width: 50%;\n }\n }\n @media screen and (max-width: 500px) {\n .title {\n font-size: 16px;\n }\n .details {\n display: none;\n }\n .itemwrapper {\n left: 0;\n width: 300px;\n }\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/hex-picker/hex-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/hex-picker/hex-picker.js index 0be6241ff13..ad4a46f2625 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/hex-picker/hex-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/hex-picker/hex-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.HexPicker = void 0; - var _templateObject_460b04d01da511ed9d313b9780b2ae17, _templateObject2_460b04d01da511ed9d313b9780b2ae17, _templateObject3_460b04d01da511ed9d313b9780b2ae17, _templateObject4_460b04d01da511ed9d313b9780b2ae17; + var _templateObject_16ccf6c01e5811ed81a80d03c17d190b, _templateObject2_16ccf6c01e5811ed81a80d03c17d190b, _templateObject3_16ccf6c01e5811ed81a80d03c17d190b, _templateObject4_16ccf6c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,7 +47,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(HexPicker, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_460b04d01da511ed9d313b9780b2ae17 || (_templateObject_460b04d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n \n \n
        \n
        \n
        \n ", "\n ", "\n ", "\n ", "\n
        \n "])), this.largeDisplay ? (0, _index.html)(_templateObject2_460b04d01da511ed9d313b9780b2ae17 || (_templateObject2_460b04d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))) : "", this._inputChanged, this._validateInput, this.disabled, this.renderFieldSet("R"), this.renderFieldSet("G"), this.renderFieldSet("B"), this.renderFieldSet("O")); + return (0, _index.html)(_templateObject_16ccf6c01e5811ed81a80d03c17d190b || (_templateObject_16ccf6c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n \n \n
        \n
        \n
        \n ", "\n ", "\n ", "\n ", "\n
        \n "])), this.largeDisplay ? (0, _index.html)(_templateObject2_16ccf6c01e5811ed81a80d03c17d190b || (_templateObject2_16ccf6c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))) : "", this._inputChanged, this._validateInput, this.disabled, this.renderFieldSet("R"), this.renderFieldSet("G"), this.renderFieldSet("B"), this.renderFieldSet("O")); } }, { key: "_validateInput", @@ -192,7 +192,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "renderFieldSet", value: function renderFieldSet(value) { - return (0, _index.html)(_templateObject3_460b04d01da511ed9d313b9780b2ae17 || (_templateObject3_460b04d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n 0\n
        \n "])), value, value, this._fieldSetChange, value, value, value); + return (0, _index.html)(_templateObject3_16ccf6c01e5811ed81a80d03c17d190b || (_templateObject3_16ccf6c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n 0\n
        \n "])), value, value, this._fieldSetChange, value, value, value); } /** * LitElement life cycle - property changed @@ -292,7 +292,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_460b04d01da511ed9d313b9780b2ae17 || (_templateObject4_460b04d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --color-picker-width: 200px;\n --color-picker-input-margin: 5px;\n --color-picker-input-padding: 5px;\n display: flex;\n flex-direction: column;\n }\n\n .input-container {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n width: var(--color-picker-width);\n }\n\n .color-square {\n background-color: #000000ff;\n border: 1px dotted black;\n width: var(--color-picker-square-width, 15px);\n height: var(--color-picker-square-height, 15px);\n margin-left: -35px;\n }\n\n .slider-container {\n width: var(--color-picker-width);\n }\n\n fieldset {\n border: none;\n display: flex;\n align-items: center;\n }\n\n .text-input {\n margin-top: var(--color-picker-input-margin);\n margin-bottom: var(--color-picker-input-margin);\n padding: var(--color-picker-input-padding);\n width: calc(\n var(--color-picker-width) - 8px - var(--color-picker-input-margin)\n );\n }\n\n .large-display {\n width: var(--color-picker-width);\n height: var(--color-picker-lg-block-height, 100px);\n background-color: #000000ff;\n border: 1px dotted black;\n border-radius: 2px;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_16ccf6c01e5811ed81a80d03c17d190b || (_templateObject4_16ccf6c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --color-picker-width: 200px;\n --color-picker-input-margin: 5px;\n --color-picker-input-padding: 5px;\n display: flex;\n flex-direction: column;\n }\n\n .input-container {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n width: var(--color-picker-width);\n }\n\n .color-square {\n background-color: #000000ff;\n border: 1px dotted black;\n width: var(--color-picker-square-width, 15px);\n height: var(--color-picker-square-height, 15px);\n margin-left: -35px;\n }\n\n .slider-container {\n width: var(--color-picker-width);\n }\n\n fieldset {\n border: none;\n display: flex;\n align-items: center;\n }\n\n .text-input {\n margin-top: var(--color-picker-input-margin);\n margin-bottom: var(--color-picker-input-margin);\n padding: var(--color-picker-input-padding);\n width: calc(\n var(--color-picker-width) - 8px - var(--color-picker-input-margin)\n );\n }\n\n .large-display {\n width: var(--color-picker-width);\n height: var(--color-picker-lg-block-height, 100px);\n background-color: #000000ff;\n border: 1px dotted black;\n border-radius: 2px;\n }\n "])))]; } /** * Convention we use diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/hexagon-loader/hexagon-loader.js b/build/es5-amd/node_modules/@lrnwebcomponents/hexagon-loader/hexagon-loader.js index 45263721ad1..1ee3969d7f6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/hexagon-loader/hexagon-loader.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/hexagon-loader/hexagon-loader.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/hex-a-gon.js"], function (_expor }); _exports.HexagonLoader = void 0; - var _templateObject_462606e01da511ed9d313b9780b2ae17, _templateObject2_462606e01da511ed9d313b9780b2ae17, _templateObject3_462606e01da511ed9d313b9780b2ae17; + var _templateObject_16d052201e5811ed81a80d03c17d190b, _templateObject2_16d052201e5811ed81a80d03c17d190b, _templateObject3_16d052201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -52,8 +52,8 @@ define(["exports", "../../lit/index.js", "./lib/hex-a-gon.js"], function (_expor key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_462606e01da511ed9d313b9780b2ae17 || (_templateObject_462606e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), this.items.map(function (item) { - return (0, _index.html)(_templateObject2_462606e01da511ed9d313b9780b2ae17 || (_templateObject2_462606e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_16d052201e5811ed81a80d03c17d190b || (_templateObject_16d052201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), this.items.map(function (item) { + return (0, _index.html)(_templateObject2_16d052201e5811ed81a80d03c17d190b || (_templateObject2_16d052201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); })); } // properties available to the custom element for data binding @@ -112,7 +112,7 @@ define(["exports", "../../lit/index.js", "./lib/hex-a-gon.js"], function (_expor key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject3_462606e01da511ed9d313b9780b2ae17 || (_templateObject3_462606e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([loading]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: center;\n margin: 0 auto;\n padding: 0 0 0 0 !important;\n width: var(--hexagon-loader-width, 255px);\n height: var(--hexagon-loader-height, 232.5px);\n }\n\n :host([size=\"small\"]) {\n width: calc(0.5 * var(--hexagon-loader-width, 255px));\n height: calc(0.5 * var(--hexagon-loader-height, 232.5px));\n }\n\n :host([size=\"large\"]) {\n width: calc(1.25 * var(--hexagon-loader-width, 255px));\n height: calc(1.25 * var(--hexagon-loader-height, 232.5px));\n }\n\n :host([size=\"epic\"]) {\n width: calc(2.5 * var(--hexagon-loader-width, 255px));\n height: calc(2.5 * var(--hexagon-loader-height, 232.5px));\n }\n\n div {\n position: relative;\n margin: 0 auto;\n flex: 1 1 100%;\n width: 100%;\n }\n\n hex-a-gon {\n display: none;\n position: absolute;\n top: 9px;\n left: 15px;\n width: var(--hexagon-width, 30px);\n height: var(--hexagon-height, 18px);\n color: #9fb475;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n }\n\n :host([size=\"small\"]) hex-a-gon {\n --hexagon-width: calc(0.5 * 30px);\n --hexagon-height: calc(0.5 * 18px);\n top: calc(0.1 * 9px);\n left: calc(0.5 * 15px);\n }\n\n :host([size=\"large\"]) hex-a-gon {\n --hexagon-width: calc(1.25 * 30px);\n --hexagon-height: calc(1.25 * 18px);\n top: calc(1.5 * 9px);\n left: calc(1.25 * 15px);\n }\n\n :host([size=\"epic\"]) hex-a-gon {\n --hexagon-width: calc(2.5 * 30px);\n --hexagon-height: calc(2.5 * 18px);\n top: calc(4 * 9px);\n left: calc(2.5 * 15px);\n }\n\n hex-a-gon:nth-of-type(1) {\n display: block;\n margin-left: calc(100% * 1.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(2) {\n display: block;\n margin-left: calc(100% * 2.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(3) {\n display: block;\n margin-left: calc(100% * 3.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(4) {\n display: block;\n margin-left: calc(100% * 4.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(5) {\n display: block;\n margin-left: calc(100% * 1 / 7);\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(6) {\n display: block;\n margin-left: calc(100% * 2 / 7);\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(7) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(8) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(9) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(10) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 0.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(11) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(12) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(13) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(14) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(15) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(16) {\n display: block;\n margin-left: 0%;\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(17) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(18) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(19) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(20) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(21) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(22) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 6 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s;\n }\n\n hex-a-gon:nth-of-type(23) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 0.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(24) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(25) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(26) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(27) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(28) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(29) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(30) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(31) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(32) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(33) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(34) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(35) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(36) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(37) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n :host([item-count=\"1\"]) hex-a-gon:nth-of-type(1),\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(2) {\n margin-left: calc(100% * 3 / 7);\n }\n\n :host([item-count=\"2\"]) hex-a-gon:nth-of-type(1) {\n margin-left: calc(100% * 2.5 / 7);\n }\n\n :host([item-count=\"2\"]) hex-a-gon:nth-of-type(2) {\n margin-left: calc(100% * 3.5 / 7);\n }\n\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(1) {\n margin-left: calc(100% * 2 / 7);\n }\n\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(3) {\n margin-left: calc(100% * 4 / 7);\n }\n\n @-webkit-keyframes scaleIt {\n 25%,\n 100% {\n -webkit-transform: scale(1) translate(-50%, -50%);\n transform: scale(1) translate(-50%, -50%);\n }\n\n 50% {\n -webkit-transform: scale(0) translate(-50%, -50%);\n transform: scale(0) translate(-50%, -50%);\n }\n }\n\n @keyframes scaleIt {\n 25%,\n 100% {\n -webkit-transform: scale(1) translate(-50%, -50%);\n transform: scale(1) translate(-50%, -50%);\n }\n\n 50% {\n -webkit-transform: scale(0) translate(-50%, -50%);\n transform: scale(0) translate(-50%, -50%);\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject3_16d052201e5811ed81a80d03c17d190b || (_templateObject3_16d052201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([loading]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: center;\n margin: 0 auto;\n padding: 0 0 0 0 !important;\n width: var(--hexagon-loader-width, 255px);\n height: var(--hexagon-loader-height, 232.5px);\n }\n\n :host([size=\"small\"]) {\n width: calc(0.5 * var(--hexagon-loader-width, 255px));\n height: calc(0.5 * var(--hexagon-loader-height, 232.5px));\n }\n\n :host([size=\"large\"]) {\n width: calc(1.25 * var(--hexagon-loader-width, 255px));\n height: calc(1.25 * var(--hexagon-loader-height, 232.5px));\n }\n\n :host([size=\"epic\"]) {\n width: calc(2.5 * var(--hexagon-loader-width, 255px));\n height: calc(2.5 * var(--hexagon-loader-height, 232.5px));\n }\n\n div {\n position: relative;\n margin: 0 auto;\n flex: 1 1 100%;\n width: 100%;\n }\n\n hex-a-gon {\n display: none;\n position: absolute;\n top: 9px;\n left: 15px;\n width: var(--hexagon-width, 30px);\n height: var(--hexagon-height, 18px);\n color: #9fb475;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n }\n\n :host([size=\"small\"]) hex-a-gon {\n --hexagon-width: calc(0.5 * 30px);\n --hexagon-height: calc(0.5 * 18px);\n top: calc(0.1 * 9px);\n left: calc(0.5 * 15px);\n }\n\n :host([size=\"large\"]) hex-a-gon {\n --hexagon-width: calc(1.25 * 30px);\n --hexagon-height: calc(1.25 * 18px);\n top: calc(1.5 * 9px);\n left: calc(1.25 * 15px);\n }\n\n :host([size=\"epic\"]) hex-a-gon {\n --hexagon-width: calc(2.5 * 30px);\n --hexagon-height: calc(2.5 * 18px);\n top: calc(4 * 9px);\n left: calc(2.5 * 15px);\n }\n\n hex-a-gon:nth-of-type(1) {\n display: block;\n margin-left: calc(100% * 1.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(2) {\n display: block;\n margin-left: calc(100% * 2.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(3) {\n display: block;\n margin-left: calc(100% * 3.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(4) {\n display: block;\n margin-left: calc(100% * 4.5 / 7);\n margin-top: 0%;\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(5) {\n display: block;\n margin-left: calc(100% * 1 / 7);\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(6) {\n display: block;\n margin-left: calc(100% * 2 / 7);\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(7) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(8) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(9) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 1 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(10) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 0.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(11) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(12) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(13) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(14) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(15) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5.5 / 7));\n margin-top: calc(100% * 2 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(16) {\n display: block;\n margin-left: 0%;\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(17) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(18) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(19) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(20) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(21) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(22) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 6 / 7));\n margin-top: calc(100% * 3 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s;\n }\n\n hex-a-gon:nth-of-type(23) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 0.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(24) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(25) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(26) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(27) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(28) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5.5 / 7));\n margin-top: calc(100% * 4 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.25s;\n animation-delay: 0.25s;\n }\n\n hex-a-gon:nth-of-type(29) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(30) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(31) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(32) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n hex-a-gon:nth-of-type(33) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 5 / 7));\n margin-top: calc(100% * 5 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s;\n }\n\n hex-a-gon:nth-of-type(34) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 1.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0s;\n animation-delay: 0s;\n }\n\n hex-a-gon:nth-of-type(35) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 2.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.05s;\n animation-delay: 0.05s;\n }\n\n hex-a-gon:nth-of-type(36) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 3.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.1s;\n animation-delay: 0.1s;\n }\n\n hex-a-gon:nth-of-type(37) {\n display: block;\n margin-left: var(--hexagon-margin-left, calc(100% * 4.5 / 7));\n margin-top: calc(100% * 6 / 7);\n -webkit-animation: scaleIt 1.5s ease-in-out infinite both;\n animation: scaleIt 1.5s ease-in-out infinite both;\n -webkit-animation-delay: 0.15s;\n animation-delay: 0.15s;\n }\n\n :host([item-count=\"1\"]) hex-a-gon:nth-of-type(1),\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(2) {\n margin-left: calc(100% * 3 / 7);\n }\n\n :host([item-count=\"2\"]) hex-a-gon:nth-of-type(1) {\n margin-left: calc(100% * 2.5 / 7);\n }\n\n :host([item-count=\"2\"]) hex-a-gon:nth-of-type(2) {\n margin-left: calc(100% * 3.5 / 7);\n }\n\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(1) {\n margin-left: calc(100% * 2 / 7);\n }\n\n :host([item-count=\"3\"]) hex-a-gon:nth-of-type(3) {\n margin-left: calc(100% * 4 / 7);\n }\n\n @-webkit-keyframes scaleIt {\n 25%,\n 100% {\n -webkit-transform: scale(1) translate(-50%, -50%);\n transform: scale(1) translate(-50%, -50%);\n }\n\n 50% {\n -webkit-transform: scale(0) translate(-50%, -50%);\n transform: scale(0) translate(-50%, -50%);\n }\n }\n\n @keyframes scaleIt {\n 25%,\n 100% {\n -webkit-transform: scale(1) translate(-50%, -50%);\n transform: scale(1) translate(-50%, -50%);\n }\n\n 50% {\n -webkit-transform: scale(0) translate(-50%, -50%);\n transform: scale(0) translate(-50%, -50%);\n }\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/i18n-manager/i18n-manager.js b/build/es5-amd/node_modules/@lrnwebcomponents/i18n-manager/i18n-manager.js index bfec37baf85..39fb7184743 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/i18n-manager/i18n-manager.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/i18n-manager/i18n-manager.js @@ -6,6 +6,8 @@ define(["exports"], function (_exports) { }); _exports.I18NManagerStore = _exports.I18NManager = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } @@ -221,14 +223,14 @@ define(["exports"], function (_exports) { * Return language file for a specific context */ function () { - var _loadNamespaceFile = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ns) { + var _loadNamespaceFile = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(ns) { var lang, langPieces, nsMatch, el, fetchTarget, _args = arguments; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -298,10 +300,10 @@ define(["exports"], function (_exports) { }, { key: "updateLanguage", value: function () { - var _updateLanguage = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(lang) { + var _updateLanguage = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(lang) { var langPieces, processList, fallBack, i, el, _el, fetchTarget, data, id; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -336,7 +338,7 @@ define(["exports"], function (_exports) { } // run through and match exact matches - _context2.t0 = regeneratorRuntime.keys(processList); + _context2.t0 = _regeneratorRuntime().keys(processList); case 6: if ((_context2.t1 = _context2.t0()).done) { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/iconset-demo/iconset-demo.js b/build/es5-amd/node_modules/@lrnwebcomponents/iconset-demo/iconset-demo.js index 88c35c1d645..8d3c98009a0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/iconset-demo/iconset-demo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/iconset-demo/iconset-demo.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.IconsetDemo = void 0; - var _templateObject_3a73a4601da511ed9d313b9780b2ae17; + var _templateObject_0ddcc1801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -93,7 +93,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ key: "template", get: // render function function get() { - return (0, _polymerElement.html)(_templateObject_3a73a4601da511ed9d313b9780b2ae17 || (_templateObject_3a73a4601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "]))); + return (0, _polymerElement.html)(_templateObject_0ddcc1801e5811ed81a80d03c17d190b || (_templateObject_0ddcc1801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "]))); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/iframe-loader.js b/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/iframe-loader.js index 8e52bc05106..28f3d67d068 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/iframe-loader.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/iframe-loader.js @@ -1,7 +1,7 @@ define(["../../lit/index.js", "../../@polymer/polymer/lib/utils/flattened-nodes-observer.js", "./lib/loading-indicator.js"], function (_index, _flattenedNodesObserver, _loadingIndicator) { "use strict"; - var _templateObject_466029b01da511ed9d313b9780b2ae17, _templateObject2_466029b01da511ed9d313b9780b2ae17; + var _templateObject_16e672301e5811ed81a80d03c17d190b, _templateObject2_16e672301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -101,7 +101,7 @@ define(["../../lit/index.js", "../../@polymer/polymer/lib/utils/flattened-nodes- }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_466029b01da511ed9d313b9780b2ae17 || (_templateObject_466029b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n \n
        \n
        \n "])), this.loading ? "loading" : "loaded", this.__iframeHeight, this.loading ? "none" : "block"); + return (0, _index.html)(_templateObject_16e672301e5811ed81a80d03c17d190b || (_templateObject_16e672301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n \n
        \n
        \n "])), this.loading ? "loading" : "loaded", this.__iframeHeight, this.loading ? "none" : "block"); } }], [{ key: "properties", @@ -118,7 +118,7 @@ define(["../../lit/index.js", "../../@polymer/polymer/lib/utils/flattened-nodes- }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_466029b01da511ed9d313b9780b2ae17 || (_templateObject2_466029b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n position: relative;\n }\n #loading-screen {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .loaded #loading-screen {\n display: none;\n }\n "]))); + return (0, _index.css)(_templateObject2_16e672301e5811ed81a80d03c17d190b || (_templateObject2_16e672301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n position: relative;\n }\n #loading-screen {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .loaded #loading-screen {\n display: none;\n }\n "]))); } }]); return IframeLoader; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/lib/loading-indicator.js b/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/lib/loading-indicator.js index 5ea35f29dc9..9727ff2f948 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/lib/loading-indicator.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/iframe-loader/lib/loading-indicator.js @@ -1,7 +1,7 @@ define(["../../../lit/index.js"], function (_index) { "use strict"; - var _templateObject_87d2ec701da511ed9d313b9780b2ae17, _templateObject2_87d2ec701da511ed9d313b9780b2ae17; + var _templateObject_513b00901e5811ed81a80d03c17d190b, _templateObject2_513b00901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -25,12 +25,12 @@ define(["../../../lit/index.js"], function (_index) { babelHelpers.createClass(LoadingIndicator, [{ key: "render", value: function render() { - return this.loading ? (0, _index.html)(_templateObject_87d2ec701da511ed9d313b9780b2ae17 || (_templateObject_87d2ec701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))) : _index.nothing; + return this.loading ? (0, _index.html)(_templateObject_513b00901e5811ed81a80d03c17d190b || (_templateObject_513b00901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))) : _index.nothing; } }], [{ key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_87d2ec701da511ed9d313b9780b2ae17 || (_templateObject2_87d2ec701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .progress-line,\n .progress-line:before {\n height: 5px;\n width: 100%;\n margin: auto;\n }\n :host([full]) .progress-line {\n --loading-indicator-width: 100%;\n }\n .progress-line {\n background-color: var(\n --loading-indicator-background-color,\n rgba(0, 0, 0, 0.05)\n );\n display: -webkit-flex;\n display: flex;\n width: var(--loading-indicator-width, 300px);\n }\n .progress-line:before {\n background-color: var(--loading-indicator-color, black);\n content: \"\";\n animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n }\n @keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n }\n @keyframes fade-out {\n 0% {\n opacity: 1;\n }\n 99% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n "]))); + return (0, _index.css)(_templateObject2_513b00901e5811ed81a80d03c17d190b || (_templateObject2_513b00901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .progress-line,\n .progress-line:before {\n height: 5px;\n width: 100%;\n margin: auto;\n }\n :host([full]) .progress-line {\n --loading-indicator-width: 100%;\n }\n .progress-line {\n background-color: var(\n --loading-indicator-background-color,\n rgba(0, 0, 0, 0.05)\n );\n display: -webkit-flex;\n display: flex;\n width: var(--loading-indicator-width, 300px);\n }\n .progress-line:before {\n background-color: var(--loading-indicator-color, black);\n content: \"\";\n animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n }\n @keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n }\n @keyframes fade-out {\n 0% {\n opacity: 1;\n }\n 99% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/image-compare-slider/image-compare-slider.js b/build/es5-amd/node_modules/@lrnwebcomponents/image-compare-slider/image-compare-slider.js index c09f531119c..a300de26eb7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/image-compare-slider/image-compare-slider.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/image-compare-slider/image-compare-slider.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_466978801da511ed9d313b9780b2ae17, _templateObject2_466978801da511ed9d313b9780b2ae17, _templateObject3_466978801da511ed9d313b9780b2ae17, _templateObject4_466978801da511ed9d313b9780b2ae17; + var _templateObject_170481801e5811ed81a80d03c17d190b, _templateObject2_170481801e5811ed81a80d03c17d190b, _templateObject3_170481801e5811ed81a80d03c17d190b, _templateObject4_170481801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -57,7 +57,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors babelHelpers.createClass(ImageCompareSlider, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_466978801da511ed9d313b9780b2ae17 || (_templateObject_466978801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.elementVisible ? (0, _index.html)(_templateObject2_466978801da511ed9d313b9780b2ae17 || (_templateObject2_466978801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "\n \n
        \n
        \n \n \n \n "])), this.t.slideToCompareImages, this.accentColor, this.dark, this.opacity, this.position, this.title ? (0, _index.html)(_templateObject3_466978801da511ed9d313b9780b2ae17 || (_templateObject3_466978801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : "", this.bottomSrc, this.bottomAlt, this.bottomDescriptionId || "description", this.topSrc, this.topAlt, this.topDescriptionId || "description") : ""); + return (0, _index.html)(_templateObject_170481801e5811ed81a80d03c17d190b || (_templateObject_170481801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.elementVisible ? (0, _index.html)(_templateObject2_170481801e5811ed81a80d03c17d190b || (_templateObject2_170481801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "\n \n
        \n
        \n \n \n \n "])), this.t.slideToCompareImages, this.accentColor, this.dark, this.opacity, this.position, this.title ? (0, _index.html)(_templateObject3_170481801e5811ed81a80d03c17d190b || (_templateObject3_170481801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : "", this.bottomSrc, this.bottomAlt, this.bottomDescriptionId || "description", this.topSrc, this.topAlt, this.topDescriptionId || "description") : ""); } }, { key: "updated", @@ -83,7 +83,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_466978801da511ed9d313b9780b2ae17 || (_templateObject4_466978801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([hidden]) {\n display: none !important;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_170481801e5811ed81a80d03c17d190b || (_templateObject4_170481801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([hidden]) {\n display: none !important;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/image-inspector/image-inspector.js b/build/es5-amd/node_modules/@lrnwebcomponents/image-inspector/image-inspector.js index 95f3477fd39..20027e05697 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/image-inspector/image-inspector.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/image-inspector/image-inspector.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../exif-data/exif-data.js", "../simple }); _exports.ImageInspector = void 0; - var _templateObject_468bcd901da511ed9d313b9780b2ae17, _templateObject2_468bcd901da511ed9d313b9780b2ae17; + var _templateObject_170740a01e5811ed81a80d03c17d190b, _templateObject2_170740a01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -37,7 +37,7 @@ define(["exports", "../../lit/index.js", "../exif-data/exif-data.js", "../simple babelHelpers.createClass(ImageInspector, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_468bcd901da511ed9d313b9780b2ae17 || (_templateObject_468bcd901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n \n \n
        \n \n \n \n \n "])), this.zoomIn, this.zoomOut, this.rotateRight, this.rotateLeft, this.mirrorImage, this.src, this.exifDataEvent, this.hideData, this.noLeft, this.src, this.src); + return (0, _index.html)(_templateObject_170740a01e5811ed81a80d03c17d190b || (_templateObject_170740a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n \n \n
        \n \n \n \n \n "])), this.zoomIn, this.zoomOut, this.rotateRight, this.rotateLeft, this.mirrorImage, this.src, this.exifDataEvent, this.hideData, this.noLeft, this.src, this.src); } }, { key: "exifDataEvent", @@ -138,7 +138,7 @@ define(["exports", "../../lit/index.js", "../exif-data/exif-data.js", "../simple * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_468bcd901da511ed9d313b9780b2ae17 || (_templateObject2_468bcd901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n background-color: var(--image-inspector-background-color, #fdfdfd);\n }\n\n simple-icon-button {\n display: inline-flex;\n --simple-icon-width: 36px;\n --simple-icon-height: 36px;\n margin: 0 8px;\n background-color: var(--image-inspector-background-color, #fdfdfd);\n transition: 0.2s all ease-in-out;\n }\n simple-icon-button:hover,\n simple-icon-button:focus,\n simple-icon-button:active {\n background-color: var(\n --image-inspector-background-color-active,\n #eeeeee\n );\n }\n\n .top-rotated {\n top: 150px;\n pointer-events: none; /** disable pointer events when rotated bc of HTML canvas issue */\n }\n .showData {\n display: block;\n z-index: 2;\n }\n exif-data {\n margin: 0 auto;\n justify-content: space-evenly;\n position: absolute;\n display: none;\n margin: 0;\n padding: 0;\n }\n exif-data img {\n margin: 0;\n opacity: 0;\n padding: 0;\n height: 500px;\n pointer-events: none;\n }\n .wrap {\n border-bottom: 1px solid black;\n justify-content: center;\n display: flex;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_170740a01e5811ed81a80d03c17d190b || (_templateObject2_170740a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n background-color: var(--image-inspector-background-color, #fdfdfd);\n }\n\n simple-icon-button {\n display: inline-flex;\n --simple-icon-width: 36px;\n --simple-icon-height: 36px;\n margin: 0 8px;\n background-color: var(--image-inspector-background-color, #fdfdfd);\n transition: 0.2s all ease-in-out;\n }\n simple-icon-button:hover,\n simple-icon-button:focus,\n simple-icon-button:active {\n background-color: var(\n --image-inspector-background-color-active,\n #eeeeee\n );\n }\n\n .top-rotated {\n top: 150px;\n pointer-events: none; /** disable pointer events when rotated bc of HTML canvas issue */\n }\n .showData {\n display: block;\n z-index: 2;\n }\n exif-data {\n margin: 0 auto;\n justify-content: space-evenly;\n position: absolute;\n display: none;\n margin: 0;\n padding: 0;\n }\n exif-data img {\n margin: 0;\n opacity: 0;\n padding: 0;\n height: 500px;\n pointer-events: none;\n }\n .wrap {\n border-bottom: 1px solid black;\n justify-content: center;\n display: flex;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/img-pan-zoom.js b/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/img-pan-zoom.js index e2f6bddaf5b..ba2b1f38e2d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/img-pan-zoom.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/img-pan-zoom.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../es-global-bridge meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_4695dfb01da511ed9d313b9780b2ae17, _templateObject2_4695dfb01da511ed9d313b9780b2ae17, _templateObject3_4695dfb01da511ed9d313b9780b2ae17, _templateObject4_4695dfb01da511ed9d313b9780b2ae17; + var _templateObject_17112bb01e5811ed81a80d03c17d190b, _templateObject2_17112bb01e5811ed81a80d03c17d190b, _templateObject3_17112bb01e5811ed81a80d03c17d190b, _templateObject4_17112bb01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -85,7 +85,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../es-global-bridge babelHelpers.createClass(ImgPanZoom, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4695dfb01da511ed9d313b9780b2ae17 || (_templateObject_4695dfb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n\n \n
        \n "])), !this.dzi ? (0, _index.html)(_templateObject2_4695dfb01da511ed9d313b9780b2ae17 || (_templateObject2_4695dfb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n "])), this.hideSpinner || this.loaded ? "" : (0, _index.html)(_templateObject3_4695dfb01da511ed9d313b9780b2ae17 || (_templateObject3_4695dfb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.loading || !this.loaded), this.loaded, this.loadedChangedEvent, this.loading, this.loadingChangedEvent, this.src || (this.sources || [])[0], this.describedBy || "") : ""); + return (0, _index.html)(_templateObject_17112bb01e5811ed81a80d03c17d190b || (_templateObject_17112bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n\n \n
        \n "])), !this.dzi ? (0, _index.html)(_templateObject2_17112bb01e5811ed81a80d03c17d190b || (_templateObject2_17112bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n "])), this.hideSpinner || this.loaded ? "" : (0, _index.html)(_templateObject3_17112bb01e5811ed81a80d03c17d190b || (_templateObject3_17112bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.loading || !this.loaded), this.loaded, this.loadedChangedEvent, this.loading, this.loadingChangedEvent, this.src || (this.sources || [])[0], this.describedBy || "") : ""); } }, { key: "updated", @@ -486,7 +486,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../es-global-bridge * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_4695dfb01da511ed9d313b9780b2ae17 || (_templateObject4_4695dfb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n height: var(--img-pan-zoom-height, 500px);\n }\n #viewer {\n position: relative;\n height: 100%;\n width: 100%;\n }\n #loader {\n display: none;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n height: calc(var(--img-pan-zoom-height, 500px) - 100px);\n margin-bottom: calc(100px - var(--img-pan-zoom-height, 500px));\n z-index: 1;\n }\n hexagon-loader {\n position: absolute;\n opacity: 0;\n transition: opacity 700ms;\n margin: auto;\n }\n hexagon-loader[hidden] {\n display: none;\n }\n hexagon-loader[loading] {\n opacity: 1;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_17112bb01e5811ed81a80d03c17d190b || (_templateObject4_17112bb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n height: var(--img-pan-zoom-height, 500px);\n }\n #viewer {\n position: relative;\n height: 100%;\n width: 100%;\n }\n #loader {\n display: none;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n height: calc(var(--img-pan-zoom-height, 500px) - 100px);\n margin-bottom: calc(100px - var(--img-pan-zoom-height, 500px));\n z-index: 1;\n }\n hexagon-loader {\n position: absolute;\n opacity: 0;\n transition: opacity 700ms;\n margin: auto;\n }\n hexagon-loader[hidden] {\n display: none;\n }\n hexagon-loader[loading] {\n opacity: 1;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/lib/img-loader.js b/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/lib/img-loader.js index 83ed0f09d3f..d31067788d9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/lib/img-loader.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/img-pan-zoom/lib/img-loader.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.ImgLoader = void 0; - var _templateObject_87d55d701da511ed9d313b9780b2ae17; + var _templateObject_513cfc601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -45,7 +45,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { * LitElement render */ function render() { - return (0, _index.html)(_templateObject_87d55d701da511ed9d313b9780b2ae17 || (_templateObject_87d55d701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_513cfc601e5811ed81a80d03c17d190b || (_templateObject_513cfc601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } /** * convention diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/img-view-modal.js b/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/img-view-modal.js index a9e592f7ac7..b15d0ed76ea 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/img-view-modal.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/img-view-modal.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-modal/simple-modal.js", "./l }); _exports.ImgViewModal = void 0; - var _templateObject_469962201da511ed9d313b9780b2ae17, _templateObject2_469962201da511ed9d313b9780b2ae17; + var _templateObject_195883a01e5811ed81a80d03c17d190b, _templateObject2_195883a01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -55,7 +55,7 @@ define(["exports", "../../lit/index.js", "../simple-modal/simple-modal.js", "./l babelHelpers.createClass(ImgViewModal, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_469962201da511ed9d313b9780b2ae17 || (_templateObject_469962201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_195883a01e5811ed81a80d03c17d190b || (_templateObject_195883a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }, { key: "_getCssVar", @@ -143,7 +143,7 @@ define(["exports", "../../lit/index.js", "../simple-modal/simple-modal.js", "./l }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_469962201da511ed9d313b9780b2ae17 || (_templateObject2_469962201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-modal-width: var(--img-view-modal-width, 90%);\n --simple-modal-height: var(--img-view-modal-height, 90vh);\n --simple-modal-titlebar-height: 40px;\n --simple-modal-titlebar-line-height: 40px;\n --simple-modal-titlebar-height: 40px;\n --simple-modal-titlebar-padding: 0px 5px 0px 15px;\n --simple-modal-titlebar-background: var(\n --img-view-modal-backgroundColor,\n white\n );\n --simple-modal-header-background: var(\n --img-view-modal-backgroundColor,\n white\n );\n --simple-modal-header-color: var(--img-view-modal-color, black);\n --simple-modal-header-padding: 0px;\n --simple-modal-content-padding: 0px;\n --simple-modal-buttons-padding: 0px;\n --img-view-viewer-height: calc(\n var(--simple-modal-height) - var(--simple-modal-titlebar-height)\n );\n --img-view-viewer-backgroundColor: var(\n --img-view-modal-backgroundColor,\n white\n );\n --img-view-viewer-color: var(--img-view-modal-color, black);\n --img-view-viewer-borderColor: var(--img-view-modal-borderColor, #ddd);\n --img-view-viewer-toggled-backgroundColor: var(\n --img-view-modal-toggled-backgroundColor,\n #eee\n );\n }\n :host([hidden]) {\n display: none;\n }\n "]))); + return (0, _index.css)(_templateObject2_195883a01e5811ed81a80d03c17d190b || (_templateObject2_195883a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-modal-width: var(--img-view-modal-width, 90%);\n --simple-modal-height: var(--img-view-modal-height, 90vh);\n --simple-modal-titlebar-height: 40px;\n --simple-modal-titlebar-line-height: 40px;\n --simple-modal-titlebar-height: 40px;\n --simple-modal-titlebar-padding: 0px 5px 0px 15px;\n --simple-modal-titlebar-background: var(\n --img-view-modal-backgroundColor,\n white\n );\n --simple-modal-header-background: var(\n --img-view-modal-backgroundColor,\n white\n );\n --simple-modal-header-color: var(--img-view-modal-color, black);\n --simple-modal-header-padding: 0px;\n --simple-modal-content-padding: 0px;\n --simple-modal-buttons-padding: 0px;\n --img-view-viewer-height: calc(\n var(--simple-modal-height) - var(--simple-modal-titlebar-height)\n );\n --img-view-viewer-backgroundColor: var(\n --img-view-modal-backgroundColor,\n white\n );\n --img-view-viewer-color: var(--img-view-modal-color, black);\n --img-view-viewer-borderColor: var(--img-view-modal-borderColor, #ddd);\n --img-view-viewer-toggled-backgroundColor: var(\n --img-view-modal-toggled-backgroundColor,\n #eee\n );\n }\n :host([hidden]) {\n display: none;\n }\n "]))); } }]); return ImgViewModal; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/lib/img-view-viewer.js b/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/lib/img-view-viewer.js index 7ba31d6f9c0..6804ecb5301 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/lib/img-view-viewer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/img-view-modal/lib/img-view-viewer.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p _exports.ImgViewViewer = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_87e49fb01da511ed9d313b9780b2ae17, _templateObject2_87e49fb01da511ed9d313b9780b2ae17, _templateObject3_87e49fb01da511ed9d313b9780b2ae17, _templateObject4_87e49fb01da511ed9d313b9780b2ae17, _templateObject5_87e49fb01da511ed9d313b9780b2ae17, _templateObject6_87e49fb01da511ed9d313b9780b2ae17, _templateObject7_87e49fb01da511ed9d313b9780b2ae17, _templateObject8_87e49fb01da511ed9d313b9780b2ae17, _templateObject9_87e49fb01da511ed9d313b9780b2ae17, _templateObject10_87e49fb01da511ed9d313b9780b2ae17, _templateObject11_87e49fb01da511ed9d313b9780b2ae17, _templateObject12_87e49fb01da511ed9d313b9780b2ae17, _templateObject13_87e49fb01da511ed9d313b9780b2ae17; + var _templateObject_516322001e5811ed81a80d03c17d190b, _templateObject2_516322001e5811ed81a80d03c17d190b, _templateObject3_516322001e5811ed81a80d03c17d190b, _templateObject4_516322001e5811ed81a80d03c17d190b, _templateObject5_516322001e5811ed81a80d03c17d190b, _templateObject6_516322001e5811ed81a80d03c17d190b, _templateObject7_516322001e5811ed81a80d03c17d190b, _templateObject8_516322001e5811ed81a80d03c17d190b, _templateObject9_516322001e5811ed81a80d03c17d190b, _templateObject10_516322001e5811ed81a80d03c17d190b, _templateObject11_516322001e5811ed81a80d03c17d190b, _templateObject12_516322001e5811ed81a80d03c17d190b, _templateObject13_516322001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -61,7 +61,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p babelHelpers.createClass(ImgViewViewer, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n ", "\n
        \n
        \n
        \n
        \n
        ", "
        \n
        \n ", "\n \n "])), !this.dzi ? (0, _index.html)(_templateObject2_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject2_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.hideSpinner ? "" : (0, _index.html)(_templateObject3_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject3_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n "])), this.loaded, this.loading || !this.loaded, this.loaded, this.loadedChangedEvent, this.loading, this.loadingChangedEvent, this.loadSrc, this.describedBy || "")) : "", this.getToolbars("top"), this.toolbarsHeight, !this.info, this.info, this.getToolbars("bottom")); + return (0, _index.html)(_templateObject_516322001e5811ed81a80d03c17d190b || (_templateObject_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n ", "\n
        \n
        \n
        \n
        \n
        ", "
        \n
        \n ", "\n \n "])), !this.dzi ? (0, _index.html)(_templateObject2_516322001e5811ed81a80d03c17d190b || (_templateObject2_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.hideSpinner ? "" : (0, _index.html)(_templateObject3_516322001e5811ed81a80d03c17d190b || (_templateObject3_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n "])), this.loaded, this.loading || !this.loaded, this.loaded, this.loadedChangedEvent, this.loading, this.loadingChangedEvent, this.loadSrc, this.describedBy || "")) : "", this.getToolbars("top"), this.toolbarsHeight, !this.info, this.info, this.getToolbars("bottom")); } }, { key: "toolbarsHeight", @@ -112,7 +112,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p icon: "fullscreen", toggleProp: "__fullscreen", enabledProp: "fullscreenEnabled", - text: (0, _index.html)(_templateObject4_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject4_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" toggle fullscreen "]))) + text: (0, _index.html)(_templateObject4_516322001e5811ed81a80d03c17d190b || (_templateObject4_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" toggle fullscreen "]))) }; } /** @@ -179,7 +179,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p icon: "help-outline", toggleProp: "kbdToggled", text: "toggle keyboard shorcuts help", - details: (0, _index.html)(_templateObject5_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject5_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
        \n Keyboard Shortcuts (when image has focus)\n
        pan\xA0upw or
        pan\xA0downs or
        pan lefta or
        pan\xA0rightd or
        home0
        zoom out- or _
        zoom in+ or =
        rotate clockwiser
        rotate counterclockwiseshift+r
        \n "]))) + details: (0, _index.html)(_templateObject5_516322001e5811ed81a80d03c17d190b || (_templateObject5_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
        \n Keyboard Shortcuts (when image has focus)\n
        pan\xA0upw or
        pan\xA0downs or
        pan lefta or
        pan\xA0rightd or
        home0
        zoom out- or _
        zoom in+ or =
        rotate clockwiser
        rotate counterclockwiseshift+r
        \n "]))) }; } /** @@ -459,7 +459,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p return { id: "navXofY", type: "misc-item", - contents: (0, _index.html)(_templateObject6_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject6_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        \n \n \n of ", "\n

        \n "])), this.disabled, this.pages.length, this.page + 1, function (e) { + contents: (0, _index.html)(_templateObject6_516322001e5811ed81a80d03c17d190b || (_templateObject6_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        \n \n \n of ", "\n

        \n "])), this.disabled, this.pages.length, this.page + 1, function (e) { return _this2._xOfYClick(e, _this2.disabled); }, this.pages.length) }; @@ -505,7 +505,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p if (typeof config === "string" && this[config]) config = this[config]; if (babelHelpers.typeof(config) !== "object") { - return (0, _index.html)(_templateObject7_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject7_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), config); + return (0, _index.html)(_templateObject7_516322001e5811ed81a80d03c17d190b || (_templateObject7_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), config); } else if (config && babelHelpers.typeof(config.contents) === (typeof undefined === "undefined" ? "undefined" : babelHelpers.typeof(undefined))) { return this._button(config, top); } else { @@ -533,7 +533,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; if (typeof config === "string" && this[config]) config = this[config]; - return !config ? "" : (0, _index.html)(_templateObject8_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject8_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), config.id || undefined, config.type || "", !Array.isArray(config.contents) ? config.contents : (config.contents || []).map(function (item) { + return !config ? "" : (0, _index.html)(_templateObject8_516322001e5811ed81a80d03c17d190b || (_templateObject8_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), config.id || undefined, config.type || "", !Array.isArray(config.contents) ? config.contents : (config.contents || []).map(function (item) { return _this3._item(item, top); })); } @@ -566,9 +566,9 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; if (typeof config === "string" && this[config]) config = this[config]; //if (config) this._bindButton(config.id, config.tooltip || config.text); - return !config ? "" : !config.toggleProp || !this[config.toggleProp] ? (0, _index.html)(_templateObject9_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject9_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n "])), config.id || undefined, this._buttonClass(config), function (e) { + return !config ? "" : !config.toggleProp || !this[config.toggleProp] ? (0, _index.html)(_templateObject9_516322001e5811ed81a80d03c17d190b || (_templateObject9_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n "])), config.id || undefined, this._buttonClass(config), function (e) { return _this4._toolbarButtonClick(config.id, e, _this4._buttonDisabled(config)); - }, this._buttonDisabled(config), this._buttonHidden(config), this._buttonInner(config), this._buttonTooltip(config, top)) : (0, _index.html)(_templateObject10_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject10_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", " ", "\n \n "])), config.id || undefined, this[config.toggleProp] ? "true" : "false", this._buttonClass(config), function (e) { + }, this._buttonDisabled(config), this._buttonHidden(config), this._buttonInner(config), this._buttonTooltip(config, top)) : (0, _index.html)(_templateObject10_516322001e5811ed81a80d03c17d190b || (_templateObject10_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", " ", "\n \n "])), config.id || undefined, this[config.toggleProp] ? "true" : "false", this._buttonClass(config), function (e) { return _this4._toolbarButtonClick(config.id, e, _this4._buttonDisabled(config)); }, this._buttonDisabled(config), this._buttonHidden(config), this._buttonInner(config), this._buttonTooltip(config)); } @@ -590,13 +590,13 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p }, { key: "_buttonInner", value: function _buttonInner(config) { - return !config ? "" : (0, _index.html)(_templateObject11_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject11_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        \n \n ", "\n

        \n "])), config.icon, config.icon && !config.showText ? "sr-only" : "", config.text); + return !config ? "" : (0, _index.html)(_templateObject11_516322001e5811ed81a80d03c17d190b || (_templateObject11_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        \n \n ", "\n

        \n "])), config.icon, config.icon && !config.showText ? "sr-only" : "", config.text); } }, { key: "_buttonTooltip", value: function _buttonTooltip(config) { var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - return !config || !config.id ? "" : (0, _index.html)(_templateObject12_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject12_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), config.id, top ? "bottom" : "top", config.text); + return !config || !config.id ? "" : (0, _index.html)(_templateObject12_516322001e5811ed81a80d03c17d190b || (_templateObject12_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), config.id, top ? "bottom" : "top", config.text); } }, { key: "src", @@ -731,7 +731,7 @@ define(["exports", "require", "../../../lit/index.js", "../../img-pan-zoom/img-p * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject13_87e49fb01da511ed9d313b9780b2ae17 || (_templateObject13_87e49fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: var(--img-view-viewer-height, 500px);\n --hexagon-color: var(--img-view-viewer-focus-borderColor, blue);\n }\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n .sr-only {\n position: absolute;\n left: -9999999px;\n width: 0;\n overflow: hidden;\n }\n #viewer {\n display: block;\n position: relative;\n height: calc(var(--img-view-viewer-height, 500px) - 104px);\n width: auto;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n #loader {\n display: none;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n height: var(--img-view-viewer-height, 500px);\n margin-bottom: calc(0px - var(--img-view-viewer-height, 104px));\n z-index: 1;\n }\n hexagon-loader {\n position: absolute;\n opacity: 0;\n transition: opacity 700ms;\n margin: auto;\n }\n hexagon-loader[loading] {\n opacity: 1;\n }\n #container {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: space-between;\n height: 100%;\n background-color: var(--img-view-viewer-backgroundColor, white);\n color: var(--img-view-viewer-color, black);\n }\n #container > * {\n flex: 1 1 auto;\n }\n .misc-item,\n .button-group {\n display: flex;\n align-items: stretch;\n justify-content: center;\n }\n .misc-item {\n align-items: center;\n padding: 5px;\n }\n #top,\n #bottom {\n margin: 0;\n flex: 1 0 46px;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n #top > *,\n #bottom > * {\n margin: 0;\n }\n #top > *:not(:first-child),\n #bottom > *:not(:first-child) {\n border-left: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n button {\n border: none;\n background-color: transparent;\n color: var(--img-view-viewer-color);\n }\n button[disabled] {\n opacity: 0.5;\n cursor: not-allowed;\n }\n button.flex-grow {\n flex: 1 0 auto;\n }\n button p {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n button.icon-right p {\n flex-direction: row-reverse;\n justify-content: end;\n }\n button[aria-pressed=\"true\"] {\n --img-view-viewer-backgroundColor: var(\n --img-view-viewer-toggled-backgroundColor,\n #eee\n );\n }\n\n button:focus,\n button:hover,\n #viewer:focus-within {\n outline: 1px solid var(--img-view-viewer-focus-borderColor, blue);\n z-index: 2;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n #placeholder {\n position: relative;\n max-height: 0;\n overflow: visible;\n }\n #info {\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 5px;\n background-color: var(--img-view-viewer-backgroundColor, white);\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n table {\n border-collapse: collapse;\n }\n th,\n td {\n padding: 2px 5px;\n line-height: 140%;\n border-top: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n th {\n font-weight: normal;\n text-align: left;\n }\n kbd {\n border-radius: 2px;\n padding: 1px 3px;\n font-family: sans-serif;\n font-size: 80%;\n background: var(--img-view-viewer-toggled-backgroundColor, #eee);\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n input[type=\"number\"] {\n max-width: 4em;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n "])))]; + return [(0, _index.css)(_templateObject13_516322001e5811ed81a80d03c17d190b || (_templateObject13_516322001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n height: var(--img-view-viewer-height, 500px);\n --hexagon-color: var(--img-view-viewer-focus-borderColor, blue);\n }\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n .sr-only {\n position: absolute;\n left: -9999999px;\n width: 0;\n overflow: hidden;\n }\n #viewer {\n display: block;\n position: relative;\n height: calc(var(--img-view-viewer-height, 500px) - 104px);\n width: auto;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n #loader {\n display: none;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n width: 100%;\n height: var(--img-view-viewer-height, 500px);\n margin-bottom: calc(0px - var(--img-view-viewer-height, 104px));\n z-index: 1;\n }\n hexagon-loader {\n position: absolute;\n opacity: 0;\n transition: opacity 700ms;\n margin: auto;\n }\n hexagon-loader[loading] {\n opacity: 1;\n }\n #container {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: space-between;\n height: 100%;\n background-color: var(--img-view-viewer-backgroundColor, white);\n color: var(--img-view-viewer-color, black);\n }\n #container > * {\n flex: 1 1 auto;\n }\n .misc-item,\n .button-group {\n display: flex;\n align-items: stretch;\n justify-content: center;\n }\n .misc-item {\n align-items: center;\n padding: 5px;\n }\n #top,\n #bottom {\n margin: 0;\n flex: 1 0 46px;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n #top > *,\n #bottom > * {\n margin: 0;\n }\n #top > *:not(:first-child),\n #bottom > *:not(:first-child) {\n border-left: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n button {\n border: none;\n background-color: transparent;\n color: var(--img-view-viewer-color);\n }\n button[disabled] {\n opacity: 0.5;\n cursor: not-allowed;\n }\n button.flex-grow {\n flex: 1 0 auto;\n }\n button p {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n button.icon-right p {\n flex-direction: row-reverse;\n justify-content: end;\n }\n button[aria-pressed=\"true\"] {\n --img-view-viewer-backgroundColor: var(\n --img-view-viewer-toggled-backgroundColor,\n #eee\n );\n }\n\n button:focus,\n button:hover,\n #viewer:focus-within {\n outline: 1px solid var(--img-view-viewer-focus-borderColor, blue);\n z-index: 2;\n }\n simple-tooltip:not(:defined) {\n display: none;\n }\n #placeholder {\n position: relative;\n max-height: 0;\n overflow: visible;\n }\n #info {\n position: absolute;\n bottom: 0;\n right: 0;\n padding: 5px;\n background-color: var(--img-view-viewer-backgroundColor, white);\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n table {\n border-collapse: collapse;\n }\n th,\n td {\n padding: 2px 5px;\n line-height: 140%;\n border-top: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n th {\n font-weight: normal;\n text-align: left;\n }\n kbd {\n border-radius: 2px;\n padding: 1px 3px;\n font-family: sans-serif;\n font-size: 80%;\n background: var(--img-view-viewer-toggled-backgroundColor, #eee);\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n input[type=\"number\"] {\n max-width: 4em;\n border: 1px solid var(--img-view-viewer-borderColor, #ddd);\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/item-overlay-ops/item-overlay-ops.js b/build/es5-amd/node_modules/@lrnwebcomponents/item-overlay-ops/item-overlay-ops.js index 1873b0176f0..d58793f9093 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/item-overlay-ops/item-overlay-ops.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/item-overlay-ops/item-overlay-ops.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-icon/ }); _exports.ItemOverlayOps = void 0; - var _templateObject_469e44201da511ed9d313b9780b2ae17; + var _templateObject_171942001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -221,7 +221,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-icon/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_469e44201da511ed9d313b9780b2ae17 || (_templateObject_469e44201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n \n \n
        \n
        [[activeTitle]]
        \n
        \n \n \n
        \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_171942001e5811ed81a80d03c17d190b || (_templateObject_171942001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n \n \n
        \n
        [[activeTitle]]
        \n
        \n \n \n
        \n
        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/json-editor/json-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/json-editor/json-editor.js index 0d94c461a6a..1d603e2a205 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/json-editor/json-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/json-editor/json-editor.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.JsonEditor = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_46a2b0f01da511ed9d313b9780b2ae17, _templateObject2_46a2b0f01da511ed9d313b9780b2ae17; + var _templateObject_171d12901e5811ed81a80d03c17d190b, _templateObject2_171d12901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -52,7 +52,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_46a2b0f01da511ed9d313b9780b2ae17 || (_templateObject_46a2b0f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), this.label, this.value, this.valueEvent, this.disabled, this.error, this.maxRows); + return (0, _index.html)(_templateObject_171d12901e5811ed81a80d03c17d190b || (_templateObject_171d12901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), this.label, this.value, this.valueEvent, this.disabled, this.error, this.maxRows); } // properties available to the custom element for data binding }, { @@ -128,7 +128,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_46a2b0f01da511ed9d313b9780b2ae17 || (_templateObject2_46a2b0f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_171d12901e5811ed81a80d03c17d190b || (_templateObject2_171d12901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/json-outline-schema.js b/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/json-outline-schema.js index 8072740ff0a..d560f108e8d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/json-outline-schema.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/json-outline-schema.js @@ -12,6 +12,8 @@ define(["exports", "./lib/json-outline-schema-item.js"], function (_exports, _js }); _exports.JsonOutlineSchema = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } @@ -293,9 +295,9 @@ define(["exports", "./lib/json-outline-schema-item.js"], function (_exports, _js }, { key: "load", value: function () { - var _load = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(location) { + var _load = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(location) { var data, fileData, key, item, newItem; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/lib/jos-render.js b/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/lib/jos-render.js index f0c53fd8e1c..b73207a2334 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/lib/jos-render.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/json-outline-schema/lib/jos-render.js @@ -6,7 +6,9 @@ define(["exports", "../../../lit/index.js", "../json-outline-schema.js", "../../ }); _exports.JosRender = void 0; - var _templateObject_87ecdd101da511ed9d313b9780b2ae17, _templateObject2_87ecdd101da511ed9d313b9780b2ae17; + var _templateObject_51712bc01e5811ed81a80d03c17d190b, _templateObject2_51712bc01e5811ed81a80d03c17d190b; + + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -35,7 +37,7 @@ define(["exports", "../../../lit/index.js", "../json-outline-schema.js", "../../ babelHelpers.createClass(JosRender, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_87ecdd101da511ed9d313b9780b2ae17 || (_templateObject_87ecdd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject_51712bc01e5811ed81a80d03c17d190b || (_templateObject_51712bc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } }, { key: "updated", @@ -43,9 +45,9 @@ define(["exports", "../../../lit/index.js", "../json-outline-schema.js", "../../ var _this2 = this; changedProperties.forEach( /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(oldValue, propName) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(oldValue, propName) { var site; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -131,7 +133,7 @@ define(["exports", "../../../lit/index.js", "../json-outline-schema.js", "../../ }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_87ecdd101da511ed9d313b9780b2ae17 || (_templateObject2_87ecdd101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .children {\n display: block;\n margin: 16px auto;\n }\n .children ::slotted(*) {\n display: inline-flex;\n margin: var(--jos-render-margin, 8px);\n padding: var(--jos-render-padding, 8px);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51712bc01e5811ed81a80d03c17d190b || (_templateObject2_51712bc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .children {\n display: block;\n margin: 16px auto;\n }\n .children ::slotted(*) {\n display: inline-flex;\n margin: var(--jos-render-margin, 8px);\n padding: var(--jos-render-padding, 8px);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/layout-builder/layout-builder.js b/build/es5-amd/node_modules/@lrnwebcomponents/layout-builder/layout-builder.js index a3e618e1da6..2226c30beef 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/layout-builder/layout-builder.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/layout-builder/layout-builder.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }); _exports.LayoutBuilder = void 0; - var _templateObject_46b946301da511ed9d313b9780b2ae17; + var _templateObject_1738d7f01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -42,7 +42,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo key: "render", value: // render function function render() { - return (0, _polymerElement.html)(_templateObject_46b946301da511ed9d313b9780b2ae17 || (_templateObject_46b946301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n
        \n \n
        \n
        \n
        \n
        \n \n
        "]))); + return (0, _polymerElement.html)(_templateObject_1738d7f01e5811ed81a80d03c17d190b || (_templateObject_1738d7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n
        \n \n
        \n
        \n
        \n
        \n \n
        "]))); } // haxProperty definition }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lazy-image-helpers/lazy-image-helpers.js b/build/es5-amd/node_modules/@lrnwebcomponents/lazy-image-helpers/lazy-image-helpers.js index 99a8110712b..53c9afa198a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lazy-image-helpers/lazy-image-helpers.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lazy-image-helpers/lazy-image-helpers.js @@ -6,7 +6,7 @@ define(["exports", "../simple-icon/lib/simple-iconset.js", "../../lit/index.js", }); _exports.lazyImageLoader = _exports.lazyImage = void 0; - var _templateObject_46bdb3001da511ed9d313b9780b2ae17, _templateObject2_46bdb3001da511ed9d313b9780b2ae17, _templateObject3_46bdb3001da511ed9d313b9780b2ae17, _templateObject4_46bdb3001da511ed9d313b9780b2ae17, _templateObject5_46bdb3001da511ed9d313b9780b2ae17; + var _templateObject_1803f0201e5811ed81a80d03c17d190b, _templateObject2_1803f0201e5811ed81a80d03c17d190b, _templateObject3_1803f0201e5811ed81a80d03c17d190b, _templateObject4_1803f0201e5811ed81a80d03c17d190b, _templateObject5_1803f0201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -102,7 +102,7 @@ define(["exports", "../simple-icon/lib/simple-iconset.js", "../../lit/index.js", }, { key: "renderSVGLoader", value: function renderSVGLoader() { - return (0, _index.html)(_templateObject_46bdb3001da511ed9d313b9780b2ae17 || (_templateObject_46bdb3001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), !this.imageLoaded ? (0, _index.svg)(_templateObject2_46bdb3001da511ed9d313b9780b2ae17 || (_templateObject2_46bdb3001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))) : ""); + return (0, _index.html)(_templateObject_1803f0201e5811ed81a80d03c17d190b || (_templateObject_1803f0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), !this.imageLoaded ? (0, _index.svg)(_templateObject2_1803f0201e5811ed81a80d03c17d190b || (_templateObject2_1803f0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))) : ""); } }], [{ key: "styles", @@ -113,7 +113,7 @@ define(["exports", "../simple-icon/lib/simple-iconset.js", "../../lit/index.js", styles = babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)); } - return [styles, (0, _index.css)(_templateObject3_46bdb3001da511ed9d313b9780b2ae17 || (_templateObject3_46bdb3001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n img[loading=\"lazy\"] {\n width: 100%;\n margin-top: -200px;\n min-height: 200px;\n float: left;\n opacity: 0;\n transition: opacity 0.3s ease-in-out;\n }\n :host([image-loaded]) img[loading=\"lazy\"] {\n margin-top: unset;\n float: unset;\n opacity: 1;\n }\n "])))]; + return [styles, (0, _index.css)(_templateObject3_1803f0201e5811ed81a80d03c17d190b || (_templateObject3_1803f0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n img[loading=\"lazy\"] {\n width: 100%;\n margin-top: -200px;\n min-height: 200px;\n float: left;\n opacity: 0;\n transition: opacity 0.3s ease-in-out;\n }\n :host([image-loaded]) img[loading=\"lazy\"] {\n margin-top: unset;\n float: unset;\n opacity: 1;\n }\n "])))]; } }, { key: "properties", @@ -155,7 +155,7 @@ define(["exports", "../simple-icon/lib/simple-iconset.js", "../../lit/index.js", babelHelpers.createClass(lazyImage, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject4_46bdb3001da511ed9d313b9780b2ae17 || (_templateObject4_46bdb3001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n \n
        "])), this.renderSVGLoader(), this.src, this.alt, this.describedBy || ""); + return (0, _index.html)(_templateObject4_1803f0201e5811ed81a80d03c17d190b || (_templateObject4_1803f0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n \n
        "])), this.renderSVGLoader(), this.src, this.alt, this.describedBy || ""); } }], [{ key: "tag", @@ -191,7 +191,7 @@ define(["exports", "../simple-icon/lib/simple-iconset.js", "../../lit/index.js", }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(lazyImage), "styles", this)), [(0, _index.css)(_templateObject5_46bdb3001da511ed9d313b9780b2ae17 || (_templateObject5_46bdb3001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .image-wrap {\n min-height: 250px;\n max-height: 400px;\n overflow: hidden;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(lazyImage), "styles", this)), [(0, _index.css)(_templateObject5_1803f0201e5811ed81a80d03c17d190b || (_templateObject5_1803f0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .image-wrap {\n min-height: 250px;\n max-height: 400px;\n overflow: hidden;\n }\n "])))]); } }]); return lazyImage; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/learn-two-theme/learn-two-theme.js b/build/es5-amd/node_modules/@lrnwebcomponents/learn-two-theme/learn-two-theme.js index 8495a8028c7..5cd13b2ce60 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/learn-two-theme/learn-two-theme.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/learn-two-theme/learn-two-theme.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.LearnTwoTheme = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_46c469c01da511ed9d313b9780b2ae17, _templateObject2_46c469c01da511ed9d313b9780b2ae17; + var _templateObject_180a0aa01e5811ed81a80d03c17d190b, _templateObject2_180a0aa01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -95,7 +95,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_46c469c01da511ed9d313b9780b2ae17 || (_templateObject_46c469c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n
        \n
        \n \n \n \n \n \n \n \n
        \n
        \n \n \n \n
        \n \n
        \n \n \n \n
        \n \n
        \n
        \n \n
        \n
        "])), this.toggleDrawer, this.opened, this.__openedChanged, this.toggleDrawer, this.editMode, this.siteModalClick, this.editMode, this.editMode, this.editMode, this.editMode); + return (0, _index.html)(_templateObject_180a0aa01e5811ed81a80d03c17d190b || (_templateObject_180a0aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n
        \n
        \n \n \n \n \n \n \n \n
        \n
        \n \n \n \n
        \n \n
        \n \n \n \n
        \n \n
        \n
        \n \n
        \n
        "])), this.toggleDrawer, this.opened, this.__openedChanged, this.toggleDrawer, this.editMode, this.siteModalClick, this.editMode, this.editMode, this.editMode, this.editMode); } /** * Mix in an opened status @@ -121,7 +121,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core styles = babelHelpers.get(babelHelpers.getPrototypeOf(LearnTwoTheme), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_46c469c01da511ed9d313b9780b2ae17 || (_templateObject2_46c469c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --__learn-two-theme-default-font-family: var(\n --learn-two-theme-default-font-family,\n \"Muli, Helvetica, Tahoma, Geneva, Arial, sans-serif\"\n );\n --__learn-two-theme-default-background: var(\n --learn-two-theme-default-background,\n #ffffff\n );\n display: block;\n font-family: var(\n --learn-two-theme-font-family,\n var(--__learn-two-theme-default-font-family)\n );\n letter-spacing: var(--learn-two-theme-letter-spacing, -0.03rem);\n font-weight: var(--learn-two-theme-font-weight, 400);\n background: var(\n --learn-two-theme-background,\n var(--__learn-two-theme-default-background)\n );\n }\n\n html,\n body {\n background: var(\n --learn-two-theme-html-body-background,\n var(--__learn-two-theme-default-background)\n );\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-family: var(\n --learn-two-theme-headers-font-family,\n var(--__learn-two-theme-default-font-family)\n );\n font-weight: var(--learn-two-theme-headers-font-weight, 400);\n text-rendering: var(\n --learn-two-theme-headers-text-rendering,\n optimizeLegibility\n );\n line-height: var(--learn-two-theme-headers-line-height, 150%);\n letter-spacing: var(--learn-two-theme-headers-letter-spacing, 150%);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([edit-mode]) #slot {\n display: none;\n }\n\n #contentcontainer {\n padding: var(--learn-two-theme-contentcontainer-padding, 48px 96px);\n max-width: var(--learn-two-theme-contentcontainer-max-width, 900px);\n margin: var(--learn-two-theme-contentcontainer-margin, auto);\n }\n\n .header {\n background: #747474;\n color: #fafafa;\n text-align: center;\n padding: 0 0 16px;\n }\n :host([is-logged-in]) app-drawer {\n top: 48px;\n }\n site-git-corner {\n top: 0;\n right: 0;\n position: absolute;\n z-index: 1000;\n }\n\n simple-icon-button:not(:defined),\n site-breadcrumb:not(:defined),\n site-rss-button:not(:defined),\n site-print-button:not(:defined),\n site-modal:not(:defined),\n site-git-corner:not(:defined),\n site-menu-button:not(:defined) {\n display: none;\n }\n site-breadcrumb {\n display: block;\n }\n :host([responsive-size=\"xs\"]) site-breadcrumb,\n :host([responsive-size=\"sm\"]) site-breadcrumb {\n display: none;\n }\n site-rss-button {\n color: white;\n }\n\n site-print-button {\n color: var(--site-print-button-color, white);\n margin: 4px;\n }\n site-modal {\n margin: 4px;\n display: inline-flex;\n }\n\n simple-icon-button,\n site-rss-button,\n site-print-button {\n color: white;\n --simple-icon-fill-color: white;\n --haxcms-tooltip-color: #f5f5f5;\n --haxcms-tooltip-background-color: #252737;\n }\n\n h-a-x {\n padding: 0 !important;\n }\n\n :host([edit-mode]) {\n opacity: 1;\n }\n\n :host([edit-mode]) app-drawer {\n opacity: 0.2;\n pointer-events: none;\n }\n\n git-corner {\n float: right;\n }\n\n app-drawer {\n opacity: 1;\n position: fixed;\n top: 0;\n transition: 0.2s linear all;\n box-shadow: 0 0 6px -3px var(--haxcms-color, black);\n overflow: hidden;\n width: 300px;\n --app-drawer-content-padding: 0;\n }\n\n app-drawer-layout[narrow] #contentcontainer {\n padding: 0 16px;\n }\n\n #menubutton,\n #menubutton2 {\n display: none;\n }\n\n app-drawer-layout[narrow] #menubutton {\n display: inline-flex;\n margin: 12px;\n }\n\n app-drawer-layout[narrow] #menubutton2 {\n display: inline-flex;\n position: absolute;\n z-index: 1;\n margin: 12px;\n }\n\n site-menu-button:not([disabled]):hover,\n site-menu-button:not([disabled]):active,\n site-menu-button:not([disabled]):focus {\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.1);\n }\n site-menu-button {\n --site-menu-button-icon-fill-color: var(\n --haxcms-user-styles-color-theme-color-1\n );\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(\n --haxcms-user-styles-color-theme-color-1\n );\n --site-menu-button-button-hover-background-color: rgba(0, 0, 0, 0.1);\n }\n site-menu-button {\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n }\n site-menu-button[type=\"next\"] {\n right: 0;\n }\n\n :host([is-logged-in]) app-drawer-layout[narrow] site-menu {\n height: calc(100vh - 146px);\n }\n app-drawer-layout[narrow] site-menu {\n height: calc(100vh - 98px);\n }\n\n site-menu-button[type=\"next\"] {\n right: 0;\n left: unset;\n }\n\n :host([opened]) app-drawer-layout[narrow] site-menu-button[type=\"prev\"],\n :host([opened])\n app-drawer-layout[narrow]\n site-menu-button[type=\"next\"] {\n display: none;\n }\n\n app-drawer-layout[narrow] site-menu-button[type=\"prev\"] {\n left: 0;\n }\n\n site-title {\n position: relative;\n overflow: hidden;\n color: white;\n }\n\n site-menu {\n background-color: var(--learn-two-theme-menu-color, #383f45);\n color: #ffffff;\n padding: 0;\n height: calc(100vh - 98px);\n --site-menu-active-color: #ffffff;\n --site-menu-item-active-item-color: goldenrod;\n overflow: auto;\n }\n\n :host([is-logged-in]) site-menu {\n height: calc(100vh - 146px);\n }\n\n app-drawer-layout {\n min-height: -moz-available;\n min-height: -webkit-fill-available;\n min-height: fill-available;\n --app-drawer-width: 300px;\n --app-drawer-scrim-background: rgba(80, 80, 80, 0.8);\n }\n\n site-menu-button {\n position: fixed;\n top: 40vh;\n bottom: 20vh;\n margin: 0 20px;\n max-width: 150px;\n min-width: 90px;\n justify-content: center;\n align-content: center;\n flex-direction: column;\n font-size: 40px;\n text-align: center;\n transition: all 0.35s ease;\n display: flex;\n align-items: center;\n left: 300px;\n z-index: 1;\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n --site-menu-button-icon-fill-color: #2d3237;\n }\n\n app-drawer-layout[narrow] site-menu-button {\n bottom: 0;\n top: unset;\n }\n\n site-title {\n color: #fafafa;\n --site-title-link-display: inline-block;\n --site-title-link-text-decoration: none;\n --site-title-heading-font-family: var(\n --__learn-two-theme-default-font-family\n );\n --site-title-heading-font-size: 28px;\n --site-title-heading-margin: 0;\n --site-title-heading-padding: 0;\n --site-title-heading-text-align: center;\n --site-title-heading-text-rendering: optimizelegibility;\n --site-title-heading-font-weight: 100;\n }\n site-active-title {\n --site-active-title-margin: 0px;\n --site-active-title-padding: 0px;\n margin: 0;\n padding: 0;\n display: block;\n }\n site-active-title h1 {\n margin: 16px 0;\n padding: 0;\n font-size: 36px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_180a0aa01e5811ed81a80d03c17d190b || (_templateObject2_180a0aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --__learn-two-theme-default-font-family: var(\n --learn-two-theme-default-font-family,\n \"Muli, Helvetica, Tahoma, Geneva, Arial, sans-serif\"\n );\n --__learn-two-theme-default-background: var(\n --learn-two-theme-default-background,\n #ffffff\n );\n display: block;\n font-family: var(\n --learn-two-theme-font-family,\n var(--__learn-two-theme-default-font-family)\n );\n letter-spacing: var(--learn-two-theme-letter-spacing, -0.03rem);\n font-weight: var(--learn-two-theme-font-weight, 400);\n background: var(\n --learn-two-theme-background,\n var(--__learn-two-theme-default-background)\n );\n }\n\n html,\n body {\n background: var(\n --learn-two-theme-html-body-background,\n var(--__learn-two-theme-default-background)\n );\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-family: var(\n --learn-two-theme-headers-font-family,\n var(--__learn-two-theme-default-font-family)\n );\n font-weight: var(--learn-two-theme-headers-font-weight, 400);\n text-rendering: var(\n --learn-two-theme-headers-text-rendering,\n optimizeLegibility\n );\n line-height: var(--learn-two-theme-headers-line-height, 150%);\n letter-spacing: var(--learn-two-theme-headers-letter-spacing, 150%);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([edit-mode]) #slot {\n display: none;\n }\n\n #contentcontainer {\n padding: var(--learn-two-theme-contentcontainer-padding, 48px 96px);\n max-width: var(--learn-two-theme-contentcontainer-max-width, 900px);\n margin: var(--learn-two-theme-contentcontainer-margin, auto);\n }\n\n .header {\n background: #747474;\n color: #fafafa;\n text-align: center;\n padding: 0 0 16px;\n }\n :host([is-logged-in]) app-drawer {\n top: 48px;\n }\n site-git-corner {\n top: 0;\n right: 0;\n position: absolute;\n z-index: 1000;\n }\n\n simple-icon-button:not(:defined),\n site-breadcrumb:not(:defined),\n site-rss-button:not(:defined),\n site-print-button:not(:defined),\n site-modal:not(:defined),\n site-git-corner:not(:defined),\n site-menu-button:not(:defined) {\n display: none;\n }\n site-breadcrumb {\n display: block;\n }\n :host([responsive-size=\"xs\"]) site-breadcrumb,\n :host([responsive-size=\"sm\"]) site-breadcrumb {\n display: none;\n }\n site-rss-button {\n color: white;\n }\n\n site-print-button {\n color: var(--site-print-button-color, white);\n margin: 4px;\n }\n site-modal {\n margin: 4px;\n display: inline-flex;\n }\n\n simple-icon-button,\n site-rss-button,\n site-print-button {\n color: white;\n --simple-icon-fill-color: white;\n --haxcms-tooltip-color: #f5f5f5;\n --haxcms-tooltip-background-color: #252737;\n }\n\n h-a-x {\n padding: 0 !important;\n }\n\n :host([edit-mode]) {\n opacity: 1;\n }\n\n :host([edit-mode]) app-drawer {\n opacity: 0.2;\n pointer-events: none;\n }\n\n git-corner {\n float: right;\n }\n\n app-drawer {\n opacity: 1;\n position: fixed;\n top: 0;\n transition: 0.2s linear all;\n box-shadow: 0 0 6px -3px var(--haxcms-color, black);\n overflow: hidden;\n width: 300px;\n --app-drawer-content-padding: 0;\n }\n\n app-drawer-layout[narrow] #contentcontainer {\n padding: 0 16px;\n }\n\n #menubutton,\n #menubutton2 {\n display: none;\n }\n\n app-drawer-layout[narrow] #menubutton {\n display: inline-flex;\n margin: 12px;\n }\n\n app-drawer-layout[narrow] #menubutton2 {\n display: inline-flex;\n position: absolute;\n z-index: 1;\n margin: 12px;\n }\n\n site-menu-button:not([disabled]):hover,\n site-menu-button:not([disabled]):active,\n site-menu-button:not([disabled]):focus {\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.1);\n }\n site-menu-button {\n --site-menu-button-icon-fill-color: var(\n --haxcms-user-styles-color-theme-color-1\n );\n --haxcms-tooltip-color: var(--haxcms-user-styles-color-theme-color-2);\n --haxcms-tooltip-background-color: var(\n --haxcms-user-styles-color-theme-color-1\n );\n --site-menu-button-button-hover-background-color: rgba(0, 0, 0, 0.1);\n }\n site-menu-button {\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n }\n site-menu-button[type=\"next\"] {\n right: 0;\n }\n\n :host([is-logged-in]) app-drawer-layout[narrow] site-menu {\n height: calc(100vh - 146px);\n }\n app-drawer-layout[narrow] site-menu {\n height: calc(100vh - 98px);\n }\n\n site-menu-button[type=\"next\"] {\n right: 0;\n left: unset;\n }\n\n :host([opened]) app-drawer-layout[narrow] site-menu-button[type=\"prev\"],\n :host([opened])\n app-drawer-layout[narrow]\n site-menu-button[type=\"next\"] {\n display: none;\n }\n\n app-drawer-layout[narrow] site-menu-button[type=\"prev\"] {\n left: 0;\n }\n\n site-title {\n position: relative;\n overflow: hidden;\n color: white;\n }\n\n site-menu {\n background-color: var(--learn-two-theme-menu-color, #383f45);\n color: #ffffff;\n padding: 0;\n height: calc(100vh - 98px);\n --site-menu-active-color: #ffffff;\n --site-menu-item-active-item-color: goldenrod;\n overflow: auto;\n }\n\n :host([is-logged-in]) site-menu {\n height: calc(100vh - 146px);\n }\n\n app-drawer-layout {\n min-height: -moz-available;\n min-height: -webkit-fill-available;\n min-height: fill-available;\n --app-drawer-width: 300px;\n --app-drawer-scrim-background: rgba(80, 80, 80, 0.8);\n }\n\n site-menu-button {\n position: fixed;\n top: 40vh;\n bottom: 20vh;\n margin: 0 20px;\n max-width: 150px;\n min-width: 90px;\n justify-content: center;\n align-content: center;\n flex-direction: column;\n font-size: 40px;\n text-align: center;\n transition: all 0.35s ease;\n display: flex;\n align-items: center;\n left: 300px;\n z-index: 1;\n --site-menu-button-icon-width: 64px;\n --site-menu-button-icon-height: 64px;\n --site-menu-button-icon-fill-color: #2d3237;\n }\n\n app-drawer-layout[narrow] site-menu-button {\n bottom: 0;\n top: unset;\n }\n\n site-title {\n color: #fafafa;\n --site-title-link-display: inline-block;\n --site-title-link-text-decoration: none;\n --site-title-heading-font-family: var(\n --__learn-two-theme-default-font-family\n );\n --site-title-heading-font-size: 28px;\n --site-title-heading-margin: 0;\n --site-title-heading-padding: 0;\n --site-title-heading-text-align: center;\n --site-title-heading-text-rendering: optimizelegibility;\n --site-title-heading-font-weight: 100;\n }\n site-active-title {\n --site-active-title-margin: 0px;\n --site-active-title-padding: 0px;\n margin: 0;\n padding: 0;\n display: block;\n }\n site-active-title h1 {\n margin: 16px 0;\n padding: 0;\n font-size: 36px;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/license-element/license-element.js b/build/es5-amd/node_modules/@lrnwebcomponents/license-element/license-element.js index 57d9e213b27..bc7f49bc47b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/license-element/license-element.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/license-element/license-element.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.licenseList = _exports.LicenseElement = void 0; - var _templateObject_46d189201da511ed9d313b9780b2ae17, _templateObject2_46d189201da511ed9d313b9780b2ae17, _templateObject3_46d189201da511ed9d313b9780b2ae17, _templateObject4_46d189201da511ed9d313b9780b2ae17; + var _templateObject_180e9e801e5811ed81a80d03c17d190b, _templateObject2_180e9e801e5811ed81a80d03c17d190b, _templateObject3_180e9e801e5811ed81a80d03c17d190b, _templateObject4_180e9e801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -94,7 +94,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j babelHelpers.createClass(LicenseElement, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_46d189201da511ed9d313b9780b2ae17 || (_templateObject_46d189201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n ", "\n by\n ", "\n is licensed under a\n ", "
        . \n ", "\n \n "])), this.licenseLink, this.licenseName, this.licenseLink, this.licenseImage ? (0, _index.html)(_templateObject2_46d189201da511ed9d313b9780b2ae17 || (_templateObject2_46d189201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.licenseLink, this.licenseName, this.licenseImage) : "", this.title, this.source, this.creator, this.licenseLink, this.licenseName, this.source, this.hasMore ? (0, _index.html)(_templateObject3_46d189201da511ed9d313b9780b2ae17 || (_templateObject3_46d189201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n Permissions beyond the scope of this license are available\n ", ".\n "])), this.moreLink, this.moreLabel) : ""); + return (0, _index.html)(_templateObject_180e9e801e5811ed81a80d03c17d190b || (_templateObject_180e9e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n ", "\n by\n ", "\n is licensed under a\n ", "
        . \n ", "\n \n "])), this.licenseLink, this.licenseName, this.licenseLink, this.licenseImage ? (0, _index.html)(_templateObject2_180e9e801e5811ed81a80d03c17d190b || (_templateObject2_180e9e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.licenseLink, this.licenseName, this.licenseImage) : "", this.title, this.source, this.creator, this.licenseLink, this.licenseName, this.source, this.hasMore ? (0, _index.html)(_templateObject3_180e9e801e5811ed81a80d03c17d190b || (_templateObject3_180e9e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n Permissions beyond the scope of this license are available\n ", ".\n "])), this.moreLink, this.moreLabel) : ""); } }, { key: "updated", @@ -145,7 +145,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_46d189201da511ed9d313b9780b2ae17 || (_templateObject4_46d189201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n line-height: 32px;\n --license-text-color: #222222;\n --license-background-color: #f2f2f2;\n background-color: var(--license-background-color);\n }\n :host:after {\n content: \"License\";\n position: relative;\n float: right;\n bottom: 36px;\n right: 8px;\n font-size: 28px;\n color: #dddddd;\n font-style: italic;\n }\n .license-body {\n padding: 32px;\n font-style: italic;\n background-color: var(--license-background-color);\n color: var(--license-text-color);\n }\n\n :host([display-method=\"footnote\"]) {\n visibility: hidden;\n opacity: 0;\n }\n :host([display-method=\"popup\"]) {\n display: block;\n }\n .license-link {\n font-style: italic;\n }\n .big-license-link img {\n margin-right: 8px;\n margin-bottom: 8px;\n width: 88px;\n height: 31px;\n vertical-align: middle;\n }\n .work-title {\n font-weight: bold;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_180e9e801e5811ed81a80d03c17d190b || (_templateObject4_180e9e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 16px;\n line-height: 32px;\n --license-text-color: #222222;\n --license-background-color: #f2f2f2;\n background-color: var(--license-background-color);\n }\n :host:after {\n content: \"License\";\n position: relative;\n float: right;\n bottom: 36px;\n right: 8px;\n font-size: 28px;\n color: #dddddd;\n font-style: italic;\n }\n .license-body {\n padding: 32px;\n font-style: italic;\n background-color: var(--license-background-color);\n color: var(--license-text-color);\n }\n\n :host([display-method=\"footnote\"]) {\n visibility: hidden;\n opacity: 0;\n }\n :host([display-method=\"popup\"]) {\n display: block;\n }\n .license-link {\n font-style: italic;\n }\n .big-license-link img {\n margin-right: 8px;\n margin-bottom: 8px;\n width: 88px;\n height: 31px;\n vertical-align: middle;\n }\n .work-title {\n font-weight: bold;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lorem-data/lorem-data.js b/build/es5-amd/node_modules/@lrnwebcomponents/lorem-data/lorem-data.js index e5694061a01..7acd74a8cf1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lorem-data/lorem-data.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lorem-data/lorem-data.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/lorem-data-behaviors.js"], funct }); _exports.LoremData = void 0; - var _templateObject_46df1db01da511ed9d313b9780b2ae17, _templateObject2_46df1db01da511ed9d313b9780b2ae17, _templateObject3_46df1db01da511ed9d313b9780b2ae17; + var _templateObject_1834eb301e5811ed81a80d03c17d190b, _templateObject2_1834eb301e5811ed81a80d03c17d190b, _templateObject3_1834eb301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -48,8 +48,8 @@ define(["exports", "../../lit/index.js", "./lib/lorem-data-behaviors.js"], funct var _this2 = this; console.warn(this.data); - return (0, _index.html)(_templateObject_46df1db01da511ed9d313b9780b2ae17 || (_templateObject_46df1db01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.saveAll, Object.keys(this.schemas || []).map(function (key) { - return (0, _index.html)(_templateObject2_46df1db01da511ed9d313b9780b2ae17 || (_templateObject2_46df1db01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        \n \n

        \n "])), _this2.saveDataUrl(_this2.schemas[key]), key, key, _this2.getJson(_this2.schemas[key])); + return (0, _index.html)(_templateObject_1834eb301e5811ed81a80d03c17d190b || (_templateObject_1834eb301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.saveAll, Object.keys(this.schemas || []).map(function (key) { + return (0, _index.html)(_templateObject2_1834eb301e5811ed81a80d03c17d190b || (_templateObject2_1834eb301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        \n \n

        \n "])), _this2.saveDataUrl(_this2.schemas[key]), key, key, _this2.getJson(_this2.schemas[key])); }), this.saveAll); } /** @@ -825,7 +825,7 @@ define(["exports", "../../lit/index.js", "./lib/lorem-data-behaviors.js"], funct }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_46df1db01da511ed9d313b9780b2ae17 || (_templateObject3_46df1db01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n label {\n font-size: 80%;\n font-family: sans-serif;\n }\n textarea {\n width: 100%;\n height: 200px;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_1834eb301e5811ed81a80d03c17d190b || (_templateObject3_1834eb301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n label {\n font-size: 80%;\n font-family: sans-serif;\n }\n textarea {\n width: 100%;\n height: 200px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-aside/lrn-aside.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-aside/lrn-aside.js index d15f52bb3b5..90aa8f04387 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-aside/lrn-aside.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-aside/lrn-aside.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.LrnAside = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3a824a601da511ed9d313b9780b2ae17, _templateObject2_3a824a601da511ed9d313b9780b2ae17; + var _templateObject_0ddf80a01e5811ed81a80d03c17d190b, _templateObject2_0ddf80a01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -47,12 +47,12 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir babelHelpers.createClass(LrnAside, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3a824a601da511ed9d313b9780b2ae17 || (_templateObject_3a824a601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title); + return (0, _index.html)(_templateObject_0ddf80a01e5811ed81a80d03c17d190b || (_templateObject_0ddf80a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title); } }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_3a824a601da511ed9d313b9780b2ae17 || (_templateObject2_3a824a601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n padding: 8px;\n }\n :host([sticky]) {\n top: 0;\n position: sticky;\n }\n :host([direction=\"left\"]) {\n float: left;\n max-width: 480px;\n }\n :host([direction=\"right\"]) {\n float: right;\n max-width: 480px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0ddf80a01e5811ed81a80d03c17d190b || (_templateObject2_0ddf80a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n padding: 8px;\n }\n :host([sticky]) {\n top: 0;\n position: sticky;\n }\n :host([direction=\"left\"]) {\n float: left;\n max-width: 480px;\n }\n :host([direction=\"right\"]) {\n float: right;\n max-width: 480px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lib/lrn-assignment-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lib/lrn-assignment-button.js index 8bef6b5f5f1..233789b832c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lib/lrn-assignment-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lib/lrn-assignment-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }); _exports.LrnAssignmentButton = void 0; - var _templateObject_88014f701da511ed9d313b9780b2ae17, _templateObject2_88014f701da511ed9d313b9780b2ae17, _templateObject3_88014f701da511ed9d313b9780b2ae17, _templateObject4_88014f701da511ed9d313b9780b2ae17; + var _templateObject_518095101e5811ed81a80d03c17d190b, _templateObject2_518095101e5811ed81a80d03c17d190b, _templateObject3_518095101e5811ed81a80d03c17d190b, _templateObject4_518095101e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -34,7 +34,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l * LitElement render */ function render() { - return (0, _index.html)(_templateObject_88014f701da511ed9d313b9780b2ae17 || (_templateObject_88014f701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n ", "\n \n "])), this.url, this.open ? (0, _index.html)(_templateObject2_88014f701da511ed9d313b9780b2ae17 || (_templateObject2_88014f701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title) : "", this.complete ? (0, _index.html)(_templateObject3_88014f701da511ed9d313b9780b2ae17 || (_templateObject3_88014f701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title) : ""); + return (0, _index.html)(_templateObject_518095101e5811ed81a80d03c17d190b || (_templateObject_518095101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n ", "\n \n "])), this.url, this.open ? (0, _index.html)(_templateObject2_518095101e5811ed81a80d03c17d190b || (_templateObject2_518095101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title) : "", this.complete ? (0, _index.html)(_templateObject3_518095101e5811ed81a80d03c17d190b || (_templateObject3_518095101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.title) : ""); } }], [{ key: "styles", @@ -43,7 +43,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_88014f701da511ed9d313b9780b2ae17 || (_templateObject4_88014f701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n a {\n color: inherit;\n text-decoration: inherit;\n }\n button {\n background: #b0e6f9;\n }\n button[complete] {\n background: #e7ffe7;\n }\n simple-icon-lite {\n margin-left: 8px;\n opacity: 0.8;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_518095101e5811ed81a80d03c17d190b || (_templateObject4_518095101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n a {\n color: inherit;\n text-decoration: inherit;\n }\n button {\n background: #b0e6f9;\n }\n button[complete] {\n background: #e7ffe7;\n }\n simple-icon-lite {\n margin-left: 8px;\n opacity: 0.8;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lrn-assignment.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lrn-assignment.js index 69ff2abdbf9..6e6293ab2b4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lrn-assignment.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-assignment/lrn-assignment.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.LrnAssignments = _exports.LrnAssignment = void 0; - var _templateObject_46e167a01da511ed9d313b9780b2ae17, _templateObject2_46e167a01da511ed9d313b9780b2ae17; + var _templateObject_1837d1601e5811ed81a80d03c17d190b, _templateObject2_1837d1601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -30,7 +30,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ babelHelpers.createClass(LrnAssignment, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_46e167a01da511ed9d313b9780b2ae17 || (_templateObject_46e167a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n

        [[title]]

        \n
        [[details]]
        \n
        \n \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1837d1601e5811ed81a80d03c17d190b || (_templateObject_1837d1601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n

        [[title]]

        \n
        [[details]]
        \n
        \n \n
        \n
        \n "]))); } }, { key: "tag", @@ -120,7 +120,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject2_46e167a01da511ed9d313b9780b2ae17 || (_templateObject2_46e167a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n\n \n "]))); + return (0, _polymerElement.html)(_templateObject2_1837d1601e5811ed81a80d03c17d190b || (_templateObject2_1837d1601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n\n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-button/lrn-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-button/lrn-button.js index 740cdd315a3..650dcc7cb46 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-button/lrn-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-button/lrn-button.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-tooltip/simple-tooltip.js", }); _exports.LrnButton = void 0; - var _templateObject_46e6e5e01da511ed9d313b9780b2ae17, _templateObject2_46e6e5e01da511ed9d313b9780b2ae17, _templateObject3_46e6e5e01da511ed9d313b9780b2ae17, _templateObject4_46e6e5e01da511ed9d313b9780b2ae17; + var _templateObject_183c8c501e5811ed81a80d03c17d190b, _templateObject2_183c8c501e5811ed81a80d03c17d190b, _templateObject3_183c8c501e5811ed81a80d03c17d190b, _templateObject4_183c8c501e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -57,7 +57,7 @@ define(["exports", "../../lit/index.js", "../simple-tooltip/simple-tooltip.js", key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_46e6e5e01da511ed9d313b9780b2ae17 || (_templateObject_46e6e5e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n
        \n ", "\n ", "\n \n
        \n \n \n ", ""])), this.showHref, this.prefetch, this.target, this.raised, this.class, this.disabled, this.innerClass, this.icon ? (0, _index.html)(_templateObject2_46e6e5e01da511ed9d313b9780b2ae17 || (_templateObject2_46e6e5e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.label ? (0, _index.html)(_templateObject3_46e6e5e01da511ed9d313b9780b2ae17 || (_templateObject3_46e6e5e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), this.label) : "", this.alt); + return (0, _index.html)(_templateObject_183c8c501e5811ed81a80d03c17d190b || (_templateObject_183c8c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n
        \n ", "\n ", "\n \n
        \n \n \n ", ""])), this.showHref, this.prefetch, this.target, this.raised, this.class, this.disabled, this.innerClass, this.icon ? (0, _index.html)(_templateObject2_183c8c501e5811ed81a80d03c17d190b || (_templateObject2_183c8c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.label ? (0, _index.html)(_templateObject3_183c8c501e5811ed81a80d03c17d190b || (_templateObject3_183c8c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), this.label) : "", this.alt); } // properties available to the custom element for data binding }, { @@ -174,7 +174,7 @@ define(["exports", "../../lit/index.js", "../simple-tooltip/simple-tooltip.js", key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnButton), "styles", this)), [(0, _index.css)(_templateObject4_46e6e5e01da511ed9d313b9780b2ae17 || (_templateObject4_46e6e5e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-button-height: 48px;\n }\n\n :host(.center) {\n text-align: center;\n }\n\n a {\n text-decoration: none;\n display: block;\n color: #000000;\n }\n\n button {\n transition: 0.3s;\n margin: 0;\n max-width: 50%;\n height: inherit;\n -webkit-justify-content: flex-start;\n justify-content: flex-start;\n align-items: center;\n border-radius: var(--lrn-button-border-radius, unset);\n background-color: var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-accent-2, white)\n );\n border: var(--lrn-button-border-width, 0px) solid\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-accent-2, #ddd)\n );\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-grey-12, black)\n );\n }\n\n :host([accent-color=\"grey\"]) button,\n :host([text-color]) button,\n :host([dark][accent-color=\"grey\"]) button,\n :host([dark][text-color]) button {\n background-color: var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-grey-1, white)\n );\n border-color: var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n );\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-grey-12, black)\n );\n }\n\n :host([text-color]) button,\n :host([text-color][dark]) button {\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-accent-9, black)\n );\n }\n\n button:focus,\n button:hover {\n background-color: var(\n --lrn-button-focus-background-color,\n var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-accent-3, white)\n )\n );\n border-color: var(\n --lrn-button-focus-border-color,\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-accent-3, #ddd)\n )\n );\n }\n\n :host([accent-color=\"grey\"]) button:focus,\n :host([text-color]) button:focus,\n :host([dark][accent-color=\"grey\"]) button:focus,\n :host([dark][text-color]) button:focus,\n :host([accent-color=\"grey\"]) button:hover,\n :host([text-color]) button:hover,\n :host([dark][accent-color=\"grey\"]) button:hover,\n :host([dark][text-color]) button:hover {\n background-color: var(\n --lrn-button-focus-background-color,\n var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-grey-2, white)\n )\n );\n border-color: var(\n --lrn-button-focus-border-color,\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n )\n );\n }\n\n button simple-icon-lite {\n --simple-icon-height: var(--lrnsys-button-height);\n margin: 0 12px;\n }\n\n button div.inner {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n padding: 0 12px;\n }\n\n button span.label {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n }\n\n .no-margin {\n margin: 0 !important;\n }\n\n .no-right-padding {\n padding-right: 0 !important;\n }\n\n .no-left-padding {\n padding-left: 0 !important;\n }\n\n .center {\n text-align: center;\n margin: 0 auto;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnButton), "styles", this)), [(0, _index.css)(_templateObject4_183c8c501e5811ed81a80d03c17d190b || (_templateObject4_183c8c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-button-height: 48px;\n }\n\n :host(.center) {\n text-align: center;\n }\n\n a {\n text-decoration: none;\n display: block;\n color: #000000;\n }\n\n button {\n transition: 0.3s;\n margin: 0;\n max-width: 50%;\n height: inherit;\n -webkit-justify-content: flex-start;\n justify-content: flex-start;\n align-items: center;\n border-radius: var(--lrn-button-border-radius, unset);\n background-color: var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-accent-2, white)\n );\n border: var(--lrn-button-border-width, 0px) solid\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-accent-2, #ddd)\n );\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-grey-12, black)\n );\n }\n\n :host([accent-color=\"grey\"]) button,\n :host([text-color]) button,\n :host([dark][accent-color=\"grey\"]) button,\n :host([dark][text-color]) button {\n background-color: var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-grey-1, white)\n );\n border-color: var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n );\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-grey-12, black)\n );\n }\n\n :host([text-color]) button,\n :host([text-color][dark]) button {\n color: var(\n --lrn-button-color,\n var(--simple-colors-default-theme-accent-9, black)\n );\n }\n\n button:focus,\n button:hover {\n background-color: var(\n --lrn-button-focus-background-color,\n var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-accent-3, white)\n )\n );\n border-color: var(\n --lrn-button-focus-border-color,\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-accent-3, #ddd)\n )\n );\n }\n\n :host([accent-color=\"grey\"]) button:focus,\n :host([text-color]) button:focus,\n :host([dark][accent-color=\"grey\"]) button:focus,\n :host([dark][text-color]) button:focus,\n :host([accent-color=\"grey\"]) button:hover,\n :host([text-color]) button:hover,\n :host([dark][accent-color=\"grey\"]) button:hover,\n :host([dark][text-color]) button:hover {\n background-color: var(\n --lrn-button-focus-background-color,\n var(\n --lrn-button-background-color,\n var(--simple-colors-default-theme-grey-2, white)\n )\n );\n border-color: var(\n --lrn-button-focus-border-color,\n var(\n --lrn-button-border-color,\n var(--simple-colors-default-theme-grey-3, #ddd)\n )\n );\n }\n\n button simple-icon-lite {\n --simple-icon-height: var(--lrnsys-button-height);\n margin: 0 12px;\n }\n\n button div.inner {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n padding: 0 12px;\n }\n\n button span.label {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n }\n\n .no-margin {\n margin: 0 !important;\n }\n\n .no-right-padding {\n padding-right: 0 !important;\n }\n\n .no-left-padding {\n padding-left: 0 !important;\n }\n\n .center {\n text-align: center;\n margin: 0 auto;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-content/lrn-content.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-content/lrn-content.js index f2eeb368fa9..50d95ccfab2 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-content/lrn-content.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-content/lrn-content.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.LrnContent = void 0; - var _templateObject_46e845701da511ed9d313b9780b2ae17, _templateObject2_46e845701da511ed9d313b9780b2ae17, _templateObject3_46e845701da511ed9d313b9780b2ae17; + var _templateObject_183e88201e5811ed81a80d03c17d190b, _templateObject2_183e88201e5811ed81a80d03c17d190b, _templateObject3_183e88201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -32,7 +32,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(LrnContent, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_46e845701da511ed9d313b9780b2ae17 || (_templateObject_46e845701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n
        \n "])), this.title ? (0, _index.html)(_templateObject2_46e845701da511ed9d313b9780b2ae17 || (_templateObject2_46e845701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : ""); + return (0, _index.html)(_templateObject_183e88201e5811ed81a80d03c17d190b || (_templateObject_183e88201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n
        \n "])), this.title ? (0, _index.html)(_templateObject2_183e88201e5811ed81a80d03c17d190b || (_templateObject2_183e88201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : ""); } }], [{ key: "styles", @@ -41,7 +41,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject3_46e845701da511ed9d313b9780b2ae17 || (_templateObject3_46e845701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_183e88201e5811ed81a80d03c17d190b || (_templateObject3_183e88201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-css-reset/lrn-css-reset.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-css-reset/lrn-css-reset.js index 861f38fdba1..d2d77b9eea1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-css-reset/lrn-css-reset.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-css-reset/lrn-css-reset.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.LrnCssResetStyles = _exports.LrnCssReset = _exports.AttachStylesToHead = void 0; - var _templateObject_46eb04901da511ed9d313b9780b2ae17, _templateObject2_46eb04901da511ed9d313b9780b2ae17; + var _templateObject_18405ce01e5811ed81a80d03c17d190b, _templateObject2_18405ce01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -15,7 +15,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { /** * CSS reset and additional base styles for lrnwebcomponents and apps */ - var LrnCssResetStyles = [(0, _index.css)(_templateObject_46eb04901da511ed9d313b9780b2ae17 || (_templateObject_46eb04901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n @import url(\"https://unpkg.com/modern-css-reset/dist/reset.min.css\");\n @import url(\"https://fonts.googleapis.com/css?family=Lato:400,700,900|Source+Code+Pro:400,700|Lora:400,400i,700,700i|Playfair+Display:700i,900\");\n\n .off-screen {\n position: absolute;\n left: -9999999px;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n\n html,\n body {\n margin: 0;\n width: 100%;\n font-size: var(--haxcms-base-styles-body-font-size, 18px);\n font-family: var(--haxcms-base-styles-body-font-family, \"Lora\");\n line-height: var(--haxcms-base-styles-body-line-height, 1.58);\n letter-spacing: var(--haxcms-base-styles-body-letter-spacing, -0.03px);\n }\n\n h1,\n h2,\n p,\n i,\n a,\n .first-letter,\n .authorName a {\n color: rgba(0, 0, 0, 0.84);\n text-rendering: optimizeLegibility;\n }\n\n h1 {\n font-family: var(\n --hax-base-styles-h1-font-family,\n var(--hax-base-styles-accent-font-family, \"Playfair Display\", serif)\n );\n font-size: var(\n --hax-base-styles-h1-font-size,\n calc(2.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h1-line-height, unset);\n text-align: left;\n margin-bottom: 8px;\n letter-spacing: unset;\n }\n\n h2 {\n font-family: var(\n --hax-base-styles-h2-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h2-font-size,\n calc(1.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h2-line-height, 34.5px);\n font-weight: 900;\n padding: 0;\n margin: 56px 0 -13px -1.883px;\n text-align: left;\n letter-spacing: -0.45px;\n }\n\n h3 {\n font-family: var(\n --hax-base-styles-h3-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h3-font-size,\n calc(1.44444444 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h3-line-height);\n font-weight: 700;\n margin: 56px 0 -13px -1.883px;\n color: #555;\n }\n\n h4 {\n font-family: var(\n --hax-base-styles-h4-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h4-font-size,\n calc(1.22222222 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h4-line-height);\n font-weight: 700;\n margin: 46px 0 -13px -1.883px;\n color: #777;\n }\n\n h5 {\n font-family: var(\n --hax-base-styles-h5-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h5-font-size,\n calc(1.11111111 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h5-line-height);\n font-weight: 700;\n margin: 36px 0 -13px -1.883px;\n color: #333;\n }\n\n h6 {\n font-family: var(\n --hax-base-styles-h5-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h5-font-size,\n var(--haxcms-base-styles-body-font-size, 18px)\n );\n line-height: var(--hax-base-styles-h5-line-height);\n font-weight: 700;\n margin: 26px 0 -13px -1.883px;\n color: #777;\n }\n\n p {\n min-height: var(--hax-base-styles-p-min-height);\n font-size: var(\n --hax-base-styles-p-font-size,\n var(--haxcms-base-styles-body-font-size, 18px)\n );\n font-family: var(--haxcms-base-styles-body-font-family, \"Lora\");\n line-height: var(\n --hax-base-styles-p-line-height,\n var(--haxcms-base-styles-body-line-height, 1.58)\n );\n letter-spacing: var(\n --hax-base-styles-p-letter-spacing,\n var(--haxcms-base-styles-body-letter-spacing, -0.03px)\n );\n }\n\n p,\n i,\n a {\n margin-top: 21px;\n }\n\n a {\n text-decoration: underline;\n font-size: var(\n --hax-base-styles-a-font-size,\n var(--hax-base-styles-p-font-size)\n );\n }\n\n blockquote {\n font-family: var(\n --hax-base-styles-accent-font-family,\n \"Playfair Display\",\n serif\n );\n font-size: var(\n --hax-base-styles-blockquote-font-size,\n calc(1.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n font-style: italic;\n letter-spacing: -0.36px;\n line-height: 44.4px;\n overflow-wrap: break-word;\n margin: 55px 0 33px 0;\n color: rgba(0, 0, 0, 0.68);\n padding: 0 0 0 50px;\n }\n\n figcaption {\n font-family: var(\n --hax-base-styles-heading-font-family,\n \"Lato\",\n sans-serif\n );\n font-size: var(\n --hax-base-styles-small-font-size,\n calc(0.88888889 * var(--hax-base-styles-p-font-size))\n );\n font-weight: 400;\n color: #666;\n }\n\n ol ol {\n list-style-type: lower-alpha;\n font-size: 16px;\n color: #444;\n line-height: var(\n --hax-base-styles-list-line-height,\n var(--hax-base-styles-p-line-height)\n );\n font-size: var(\n --hax-base-styles-smal-font-size,\n calc(0.88888889 * var(--hax-base-styles-p-font-size))\n );\n }\n\n ol ol ol {\n list-style-type: lower-roman;\n font-size: var(\n --hax-base-styles-smaller-font-size,\n calc(0.77777778 * var(--hax-base-styles-p-font-size))\n );\n }\n\n code {\n font-size: 18px;\n background: rgba(0, 0, 0, 0.05);\n border-radius: 2px;\n padding: 3px 5px;\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n\n pre {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n\n kbd {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n font-weight: 700;\n }\n\n samp {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n "])))]; + var LrnCssResetStyles = [(0, _index.css)(_templateObject_18405ce01e5811ed81a80d03c17d190b || (_templateObject_18405ce01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n @import url(\"https://unpkg.com/modern-css-reset/dist/reset.min.css\");\n @import url(\"https://fonts.googleapis.com/css?family=Lato:400,700,900|Source+Code+Pro:400,700|Lora:400,400i,700,700i|Playfair+Display:700i,900\");\n\n .off-screen {\n position: absolute;\n left: -9999999px;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n\n html,\n body {\n margin: 0;\n width: 100%;\n font-size: var(--haxcms-base-styles-body-font-size, 18px);\n font-family: var(--haxcms-base-styles-body-font-family, \"Lora\");\n line-height: var(--haxcms-base-styles-body-line-height, 1.58);\n letter-spacing: var(--haxcms-base-styles-body-letter-spacing, -0.03px);\n }\n\n h1,\n h2,\n p,\n i,\n a,\n .first-letter,\n .authorName a {\n color: rgba(0, 0, 0, 0.84);\n text-rendering: optimizeLegibility;\n }\n\n h1 {\n font-family: var(\n --hax-base-styles-h1-font-family,\n var(--hax-base-styles-accent-font-family, \"Playfair Display\", serif)\n );\n font-size: var(\n --hax-base-styles-h1-font-size,\n calc(2.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h1-line-height, unset);\n text-align: left;\n margin-bottom: 8px;\n letter-spacing: unset;\n }\n\n h2 {\n font-family: var(\n --hax-base-styles-h2-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h2-font-size,\n calc(1.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h2-line-height, 34.5px);\n font-weight: 900;\n padding: 0;\n margin: 56px 0 -13px -1.883px;\n text-align: left;\n letter-spacing: -0.45px;\n }\n\n h3 {\n font-family: var(\n --hax-base-styles-h3-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h3-font-size,\n calc(1.44444444 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h3-line-height);\n font-weight: 700;\n margin: 56px 0 -13px -1.883px;\n color: #555;\n }\n\n h4 {\n font-family: var(\n --hax-base-styles-h4-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h4-font-size,\n calc(1.22222222 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h4-line-height);\n font-weight: 700;\n margin: 46px 0 -13px -1.883px;\n color: #777;\n }\n\n h5 {\n font-family: var(\n --hax-base-styles-h5-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h5-font-size,\n calc(1.11111111 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n line-height: var(--hax-base-styles-h5-line-height);\n font-weight: 700;\n margin: 36px 0 -13px -1.883px;\n color: #333;\n }\n\n h6 {\n font-family: var(\n --hax-base-styles-h5-font-family,\n var(--hax-base-styles-heading-font-family, \"Lato\", sans-serif)\n );\n font-size: var(\n --hax-base-styles-h5-font-size,\n var(--haxcms-base-styles-body-font-size, 18px)\n );\n line-height: var(--hax-base-styles-h5-line-height);\n font-weight: 700;\n margin: 26px 0 -13px -1.883px;\n color: #777;\n }\n\n p {\n min-height: var(--hax-base-styles-p-min-height);\n font-size: var(\n --hax-base-styles-p-font-size,\n var(--haxcms-base-styles-body-font-size, 18px)\n );\n font-family: var(--haxcms-base-styles-body-font-family, \"Lora\");\n line-height: var(\n --hax-base-styles-p-line-height,\n var(--haxcms-base-styles-body-line-height, 1.58)\n );\n letter-spacing: var(\n --hax-base-styles-p-letter-spacing,\n var(--haxcms-base-styles-body-letter-spacing, -0.03px)\n );\n }\n\n p,\n i,\n a {\n margin-top: 21px;\n }\n\n a {\n text-decoration: underline;\n font-size: var(\n --hax-base-styles-a-font-size,\n var(--hax-base-styles-p-font-size)\n );\n }\n\n blockquote {\n font-family: var(\n --hax-base-styles-accent-font-family,\n \"Playfair Display\",\n serif\n );\n font-size: var(\n --hax-base-styles-blockquote-font-size,\n calc(1.66666667 * var(--haxcms-base-styles-body-font-size, 18px))\n );\n font-style: italic;\n letter-spacing: -0.36px;\n line-height: 44.4px;\n overflow-wrap: break-word;\n margin: 55px 0 33px 0;\n color: rgba(0, 0, 0, 0.68);\n padding: 0 0 0 50px;\n }\n\n figcaption {\n font-family: var(\n --hax-base-styles-heading-font-family,\n \"Lato\",\n sans-serif\n );\n font-size: var(\n --hax-base-styles-small-font-size,\n calc(0.88888889 * var(--hax-base-styles-p-font-size))\n );\n font-weight: 400;\n color: #666;\n }\n\n ol ol {\n list-style-type: lower-alpha;\n font-size: 16px;\n color: #444;\n line-height: var(\n --hax-base-styles-list-line-height,\n var(--hax-base-styles-p-line-height)\n );\n font-size: var(\n --hax-base-styles-smal-font-size,\n calc(0.88888889 * var(--hax-base-styles-p-font-size))\n );\n }\n\n ol ol ol {\n list-style-type: lower-roman;\n font-size: var(\n --hax-base-styles-smaller-font-size,\n calc(0.77777778 * var(--hax-base-styles-p-font-size))\n );\n }\n\n code {\n font-size: 18px;\n background: rgba(0, 0, 0, 0.05);\n border-radius: 2px;\n padding: 3px 5px;\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n\n pre {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n\n kbd {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n font-weight: 700;\n }\n\n samp {\n font-family: var(\n --hax-base-styles-code-font-family,\n \"Source Code Pro\",\n monospace\n );\n }\n "])))]; _exports.LrnCssResetStyles = LrnCssResetStyles; var AttachStylesToHead = function AttachStylesToHead() { @@ -81,7 +81,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject2_46eb04901da511ed9d313b9780b2ae17 || (_templateObject2_46eb04901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject2_18405ce01e5811ed81a80d03c17d190b || (_templateObject2_18405ce01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-gitgraph/lrn-gitgraph.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-gitgraph/lrn-gitgraph.js index a06f5323611..77575df7077 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-gitgraph/lrn-gitgraph.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-gitgraph/lrn-gitgraph.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/gitgraphj }); _exports.LrnGitgraph = void 0; - var _templateObject_46ed75901da511ed9d313b9780b2ae17; + var _templateObject_1919f4001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -112,7 +112,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/gitgraphj }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_46ed75901da511ed9d313b9780b2ae17 || (_templateObject_46ed75901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1919f4001e5811ed81a80d03c17d190b || (_templateObject_1919f4001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-icon/lrn-icon.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-icon/lrn-icon.js index fa3fbd7b3ed..1eb73201dbf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-icon/lrn-icon.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-icon/lrn-icon.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.LrnIcon = void 0; - var _templateObject_46efbf801da511ed9d313b9780b2ae17; + var _templateObject_191c16e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -164,7 +164,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_46efbf801da511ed9d313b9780b2ae17 || (_templateObject_46efbf801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_191c16e01e5811ed81a80d03c17d190b || (_templateObject_191c16e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lib/lrn-markdown-editor-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lib/lrn-markdown-editor-editor.js index 431f9e279a3..fd2221f29aa 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lib/lrn-markdown-editor-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lib/lrn-markdown-editor-editor.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../mtz-marked-editor/mtz-marked- }); _exports.LrnMarkdownEditorEditor = void 0; - var _templateObject_880435a01da511ed9d313b9780b2ae17, _templateObject2_880435a01da511ed9d313b9780b2ae17; + var _templateObject_51837b401e5811ed81a80d03c17d190b, _templateObject2_51837b401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -29,7 +29,7 @@ define(["exports", "../../../lit/index.js", "../../mtz-marked-editor/mtz-marked- * LitElement render */ function render() { - return (0, _index.html)(_templateObject_880435a01da511ed9d313b9780b2ae17 || (_templateObject_880435a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n \n \n \n \n
        \n \n
        \n "])), this.content, this._contentChanged); + return (0, _index.html)(_templateObject_51837b401e5811ed81a80d03c17d190b || (_templateObject_51837b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n \n \n \n \n
        \n \n
        \n "])), this.content, this._contentChanged); } }, { key: "_contentChanged", @@ -77,7 +77,7 @@ define(["exports", "../../../lit/index.js", "../../mtz-marked-editor/mtz-marked- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_880435a01da511ed9d313b9780b2ae17 || (_templateObject2_880435a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .mtz-controls {\n display: flex;\n width: 100%;\n }\n\n .mtz-toolbar {\n flex-grow: 5;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51837b401e5811ed81a80d03c17d190b || (_templateObject2_51837b401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .mtz-controls {\n display: flex;\n width: 100%;\n }\n\n .mtz-toolbar {\n flex-grow: 5;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lrn-markdown-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lrn-markdown-editor.js index 01cfb2e2b5c..33259667f48 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lrn-markdown-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-markdown-editor/lrn-markdown-editor.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../a11y-tabs/a11y-tabs.js", "../a11y-t }); _exports.LrnMarkdownEditor = void 0; - var _templateObject_46f42c501da511ed9d313b9780b2ae17, _templateObject2_46f42c501da511ed9d313b9780b2ae17; + var _templateObject_1d38f2201e5811ed81a80d03c17d190b, _templateObject2_1d38f2201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -47,7 +47,7 @@ define(["exports", "../../lit/index.js", "../a11y-tabs/a11y-tabs.js", "../a11y-t * LitElement render */ function render() { - return (0, _index.html)(_templateObject_46f42c501da511ed9d313b9780b2ae17 || (_templateObject_46f42c501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n "])), this.content, this.__contentChanged, this.content, this.__contentChanged, this.content, this.__contentChanged, this.content, this.__contentChanged); + return (0, _index.html)(_templateObject_1d38f2201e5811ed81a80d03c17d190b || (_templateObject_1d38f2201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n "])), this.content, this.__contentChanged, this.content, this.__contentChanged, this.content, this.__contentChanged, this.content, this.__contentChanged); } }, { key: "__contentChanged", @@ -155,7 +155,7 @@ define(["exports", "../../lit/index.js", "../a11y-tabs/a11y-tabs.js", "../a11y-t * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_46f42c501da511ed9d313b9780b2ae17 || (_templateObject2_46f42c501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n #split-pane {\n display: flex;\n width: 100%;\n }\n\n .split-pane > * {\n flex: 1 1 auto;\n min-height: 160px;\n width: calc(50% - 16px);\n }\n\n .preview-pane {\n background: lightblue;\n }\n\n div.pane {\n padding: 16px;\n width: calc(100% - 32px);\n }\n\n a11y-tabs {\n background: #f5f5f5;\n border-style: solid;\n border-color: #dcdcdc;\n border-width: 1px;\n min-width: 500px;\n }\n\n marked-element.lrn-markdown-editor {\n width: 100%;\n word-wrap: break-word;\n }\n\n .container-flex {\n display: flex;\n flex-wrap: nowrap;\n }\n\n .split-pane .container-flex > * {\n width: 50%;\n }\n\n .split-pane marked-element {\n width: calc(100% - 32px);\n min-width: 150px;\n margin: 0 16px;\n padding: 0 16px;\n background: #fff;\n border-left: solid #dcdcdc 1px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1d38f2201e5811ed81a80d03c17d190b || (_templateObject2_1d38f2201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n #split-pane {\n display: flex;\n width: 100%;\n }\n\n .split-pane > * {\n flex: 1 1 auto;\n min-height: 160px;\n width: calc(50% - 16px);\n }\n\n .preview-pane {\n background: lightblue;\n }\n\n div.pane {\n padding: 16px;\n width: calc(100% - 32px);\n }\n\n a11y-tabs {\n background: #f5f5f5;\n border-style: solid;\n border-color: #dcdcdc;\n border-width: 1px;\n min-width: 500px;\n }\n\n marked-element.lrn-markdown-editor {\n width: 100%;\n word-wrap: break-word;\n }\n\n .container-flex {\n display: flex;\n flex-wrap: nowrap;\n }\n\n .split-pane .container-flex > * {\n width: 50%;\n }\n\n .split-pane marked-element {\n width: calc(100% - 32px);\n min-width: 150px;\n margin: 0 16px;\n padding: 0 16px;\n background: #fff;\n border-left: solid #dcdcdc 1px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-page/lrn-page.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-page/lrn-page.js index 5458c90bff3..f35c4ac25dd 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-page/lrn-page.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-page/lrn-page.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.LrnPage = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_46fb7f501da511ed9d313b9780b2ae17, _templateObject2_46fb7f501da511ed9d313b9780b2ae17; + var _templateObject_1926c5401e5811ed81a80d03c17d190b, _templateObject2_1926c5401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -43,7 +43,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir babelHelpers.createClass(LrnPage, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_46fb7f501da511ed9d313b9780b2ae17 || (_templateObject_46fb7f501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_1926c5401e5811ed81a80d03c17d190b || (_templateObject_1926c5401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }], [{ key: "styles", @@ -52,7 +52,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_46fb7f501da511ed9d313b9780b2ae17 || (_templateObject2_46fb7f501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1926c5401e5811ed81a80d03c17d190b || (_templateObject2_1926c5401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lib/lrn-shared-styles-demo.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lib/lrn-shared-styles-demo.js index b27d33f51ae..d61a6bb5575 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lib/lrn-shared-styles-demo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lib/lrn-shared-styles-demo.js @@ -1,7 +1,7 @@ define(["../../../@polymer/polymer/polymer-element.js", "../lrn-shared-styles.js"], function (_polymerElement, _lrnSharedStyles) { "use strict"; - var _templateObject_88056e201da511ed9d313b9780b2ae17; + var _templateObject_518465a01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -21,7 +21,7 @@ define(["../../../@polymer/polymer/polymer-element.js", "../lrn-shared-styles.js babelHelpers.createClass(LrnSharedStylesDemo, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88056e201da511ed9d313b9780b2ae17 || (_templateObject_88056e201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        This text can only be read on screen readers. It is not visible on screen.

        \n

        This text can only be read on screen. It will not print.

        \n

        This text can only be read when printed. It will not be visible on screen.

        "]))); + return (0, _polymerElement.html)(_templateObject_518465a01e5811ed81a80d03c17d190b || (_templateObject_518465a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        This text can only be read on screen readers. It is not visible on screen.

        \n

        This text can only be read on screen. It will not print.

        \n

        This text can only be read when printed. It will not be visible on screen.

        "]))); } }]); return LrnSharedStylesDemo; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lrn-shared-styles.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lrn-shared-styles.js index 9f5dfcbe239..ece2f27c839 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lrn-shared-styles.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-shared-styles/lrn-shared-styles.js @@ -1,10 +1,10 @@ define(["../../@polymer/polymer/polymer-element.js", "../../@polymer/polymer/lib/elements/dom-module.js", "../../@polymer/iron-flex-layout/iron-flex-layout-classes.js"], function (_polymerElement, _domModule, _ironFlexLayoutClasses) { "use strict"; - var _templateObject_46fbf4801da511ed9d313b9780b2ae17; + var _templateObject_192761801e5811ed81a80d03c17d190b; var styleElement = document.createElement("dom-module"); - var css = (0, _polymerElement.html)(_templateObject_46fbf4801da511ed9d313b9780b2ae17 || (_templateObject_46fbf4801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n"]))); + var css = (0, _polymerElement.html)(_templateObject_192761801e5811ed81a80d03c17d190b || (_templateObject_192761801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n"]))); styleElement.appendChild(css); styleElement.register("lrn-shared-styles"); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-table/lrn-table.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-table/lrn-table.js index 5ab1670359c..fcb267eb612 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-table/lrn-table.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-table/lrn-table.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_46feb3a01da511ed9d313b9780b2ae17, _templateObject2_46feb3a01da511ed9d313b9780b2ae17; + var _templateObject_192abce01e5811ed81a80d03c17d190b, _templateObject2_192abce01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -52,12 +52,12 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors babelHelpers.createClass(LrnTable, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_46feb3a01da511ed9d313b9780b2ae17 || (_templateObject_46feb3a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        ", "
        \n
        \n \n \n
        \n
        \n "])), this.title, this.csvFile, this.title, this.description); + return (0, _index.html)(_templateObject_192abce01e5811ed81a80d03c17d190b || (_templateObject_192abce01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        ", "
        \n
        \n \n \n
        \n
        \n "])), this.title, this.csvFile, this.title, this.description); } }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_46feb3a01da511ed9d313b9780b2ae17 || (_templateObject2_46feb3a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .hidden-title {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_192abce01e5811ed81a80d03c17d190b || (_templateObject2_192abce01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .hidden-title {\n display: none;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-vocab/lrn-vocab.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-vocab/lrn-vocab.js index 13f2d6ff627..b5468143dd3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrn-vocab/lrn-vocab.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrn-vocab/lrn-vocab.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.LrnVocab = void 0; - var _templateObject_4702ab401da511ed9d313b9780b2ae17, _templateObject2_4702ab401da511ed9d313b9780b2ae17; + var _templateObject_192e3f501e5811ed81a80d03c17d190b, _templateObject2_192e3f501e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -41,7 +41,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j babelHelpers.createClass(LrnVocab, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4702ab401da511ed9d313b9780b2ae17 || (_templateObject_4702ab401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.term); + return (0, _index.html)(_templateObject_192e3f501e5811ed81a80d03c17d190b || (_templateObject_192e3f501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.term); } }, { key: "haxHooks", @@ -141,7 +141,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_4702ab401da511ed9d313b9780b2ae17 || (_templateObject2_4702ab401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline;\n --lrn-vocab-border: 1px dashed #ccc;\n }\n button {\n text-transform: none;\n min-width: unset;\n margin: 0;\n position: relative;\n top: 0px;\n border-radius: 0;\n border-bottom: var(--lrn-vocab-border);\n background: #f5f5f5;\n font-size: 1.1em;\n padding: 2px;\n }\n button:hover {\n background: #bbdefb;\n border-bottom: 1px dashed #2196f3;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_192e3f501e5811ed81a80d03c17d190b || (_templateObject2_192e3f501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline;\n --lrn-vocab-border: 1px dashed #ccc;\n }\n button {\n text-transform: none;\n min-width: unset;\n margin: 0;\n position: relative;\n top: 0px;\n border-radius: 0;\n border-bottom: var(--lrn-vocab-border);\n background: #f5f5f5;\n font-size: 1.1em;\n padding: 2px;\n }\n button:hover {\n background: #bbdefb;\n border-bottom: 1px dashed #2196f3;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lib/lrnapp-fab-speed-dial-action.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lib/lrnapp-fab-speed-dial-action.js index 6aecd04c791..3f884646257 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lib/lrnapp-fab-speed-dial-action.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lib/lrnapp-fab-speed-dial-action.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/iron-flex-layout/ }); _exports.LrnappFabSpeedDialAction = void 0; - var _templateObject_88082d401da511ed9d313b9780b2ae17, _templateObject2_88082d401da511ed9d313b9780b2ae17; + var _templateObject_5185c5301e5811ed81a80d03c17d190b, _templateObject2_5185c5301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -54,7 +54,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/iron-flex-layout/ babelHelpers.createClass(LrnappFabSpeedDialAction, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_88082d401da511ed9d313b9780b2ae17 || (_templateObject_88082d401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n "])), this.color, this.color, this.icon); + return (0, _index.html)(_templateObject_5185c5301e5811ed81a80d03c17d190b || (_templateObject_5185c5301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n "])), this.color, this.color, this.icon); } }], [{ key: "styles", @@ -63,7 +63,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/iron-flex-layout/ * LitElement constructable styles enhancement */ function get() { - return [_colors.materialCssStyles, (0, _index.css)(_templateObject2_88082d401da511ed9d313b9780b2ae17 || (_templateObject2_88082d401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n align-items: center;\n justify-content: flex-end;\n display: flex;\n margin-top: 15px;\n margin-right: 8px;\n min-width: 270px;\n }\n .label {\n color: black;\n background: white;\n padding: 0 16px;\n border-radius: 4px;\n margin-right: 24px;\n }\n .flex {\n display: inline-flex;\n }\n .label,\n .fab {\n display: flex;\n }\n "])))]; + return [_colors.materialCssStyles, (0, _index.css)(_templateObject2_5185c5301e5811ed81a80d03c17d190b || (_templateObject2_5185c5301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n align-items: center;\n justify-content: flex-end;\n display: flex;\n margin-top: 15px;\n margin-right: 8px;\n min-width: 270px;\n }\n .label {\n color: black;\n background: white;\n padding: 0 16px;\n border-radius: 4px;\n margin-right: 24px;\n }\n .flex {\n display: inline-flex;\n }\n .label,\n .fab {\n display: flex;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lrnapp-fab-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lrnapp-fab-menu.js index 2a2df840bb6..2bfeb2e6864 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lrnapp-fab-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnapp-fab-menu/lrnapp-fab-menu.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/simple-icon. _exports.LrnappFabMenu = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_470591701da511ed9d313b9780b2ae17, _templateObject2_470591701da511ed9d313b9780b2ae17; + var _templateObject_1931c1c01e5811ed81a80d03c17d190b, _templateObject2_1931c1c01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -54,7 +54,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/simple-icon. babelHelpers.createClass(LrnappFabMenu, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_470591701da511ed9d313b9780b2ae17 || (_templateObject_470591701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n "])), this.icon, this.open, this.opened, this.disabled, this.opened, this.openedChangedEvent, this.close); + return (0, _index.html)(_templateObject_1931c1c01e5811ed81a80d03c17d190b || (_templateObject_1931c1c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n \n \n "])), this.icon, this.open, this.opened, this.disabled, this.opened, this.openedChangedEvent, this.close); } }, { key: "openedChangedEvent", @@ -98,7 +98,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-icon/simple-icon. }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_470591701da511ed9d313b9780b2ae17 || (_templateObject2_470591701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n lrnapp-fab-speed-dial-action:not(:defined),\n paper-fab-speed-dial-overlay:not(:defined),\n paper-fab-speed-dial:not(:defined) {\n display: none;\n }\n .open,\n .overlay {\n position: fixed;\n bottom: var(--paper-fab-speed-dial-bottom, 16px);\n right: var(--paper-fab-speed-dial-right, 16px);\n }\n .open {\n --paper-fab-background: var(--paper-fab-speed-dial-background);\n --paper-fab-keyboard-focus-background: var(\n --paper-fab-speed-dial-keyboard-focus-background\n );\n }\n .close {\n --paper-fab-background: var(--paper-grey-500);\n --paper-fab-keyboard-focus-background: var(--paper-grey-500);\n margin-top: 20px;\n display: inline-block;\n }\n .overlay {\n text-align: right;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1931c1c01e5811ed81a80d03c17d190b || (_templateObject2_1931c1c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n lrnapp-fab-speed-dial-action:not(:defined),\n paper-fab-speed-dial-overlay:not(:defined),\n paper-fab-speed-dial:not(:defined) {\n display: none;\n }\n .open,\n .overlay {\n position: fixed;\n bottom: var(--paper-fab-speed-dial-bottom, 16px);\n right: var(--paper-fab-speed-dial-right, 16px);\n }\n .open {\n --paper-fab-background: var(--paper-fab-speed-dial-background);\n --paper-fab-keyboard-focus-background: var(\n --paper-fab-speed-dial-keyboard-focus-background\n );\n }\n .close {\n --paper-fab-background: var(--paper-grey-500);\n --paper-fab-keyboard-focus-background: var(--paper-grey-500);\n margin-top: 20px;\n display: inline-block;\n }\n .overlay {\n text-align: right;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-abbreviation/lrndesign-abbreviation.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-abbreviation/lrndesign-abbreviation.js index 9af55f28db7..b54ad76dc9b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-abbreviation/lrndesign-abbreviation.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-abbreviation/lrndesign-abbreviation.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- _exports.LrndesignAbbreviation = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_47187d301da511ed9d313b9780b2ae17, _templateObject2_47187d301da511ed9d313b9780b2ae17; + var _templateObject_1934a7f01e5811ed81a80d03c17d190b, _templateObject2_1934a7f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -53,12 +53,12 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- * Render callback */ function render() { - return (0, _index.html)(_templateObject_47187d301da511ed9d313b9780b2ae17 || (_templateObject_47187d301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.phrase, this.abbr, this.phrase); + return (0, _index.html)(_templateObject_1934a7f01e5811ed81a80d03c17d190b || (_templateObject_1934a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.phrase, this.abbr, this.phrase); } }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_47187d301da511ed9d313b9780b2ae17 || (_templateObject2_47187d301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n abbr {\n transition: 0.6s all ease;\n padding: 2px 4px;\n font-style: italic;\n background-color: var(--abbreviation-bg, #f9f9f9);\n text-underline-position: under;\n text-decoration: underline double;\n cursor: help;\n outline: var(--abbreviation-selection, #ffff33);\n }\n abbr:focus,\n abbr:active,\n abbr:hover {\n text-decoration: none;\n background-color: var(--abbreviation-selection, #ffff33);\n }\n abbr::-moz-selection,\n abbr::selection {\n text-decoration: none;\n background-color: var(--abbreviation-selection, #ffff33);\n }\n simple-tooltip {\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1934a7f01e5811ed81a80d03c17d190b || (_templateObject2_1934a7f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n abbr {\n transition: 0.6s all ease;\n padding: 2px 4px;\n font-style: italic;\n background-color: var(--abbreviation-bg, #f9f9f9);\n text-underline-position: under;\n text-decoration: underline double;\n cursor: help;\n outline: var(--abbreviation-selection, #ffff33);\n }\n abbr:focus,\n abbr:active,\n abbr:hover {\n text-decoration: none;\n background-color: var(--abbreviation-selection, #ffff33);\n }\n abbr::-moz-selection,\n abbr::selection {\n text-decoration: none;\n background-color: var(--abbreviation-selection, #ffff33);\n }\n simple-tooltip {\n --simple-tooltip-background: #000000;\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: #ffffff;\n --simple-tooltip-delay-in: 0;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-avatar/lrndesign-avatar.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-avatar/lrndesign-avatar.js index e869318696b..cc6ec42b7bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-avatar/lrndesign-avatar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-avatar/lrndesign-avatar.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.LrndesignAvatar = void 0; - var _templateObject_471cea001da511ed9d313b9780b2ae17, _templateObject2_471cea001da511ed9d313b9780b2ae17; + var _templateObject_1938edb01e5811ed81a80d03c17d190b, _templateObject2_1938edb01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -51,7 +51,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_471cea001da511ed9d313b9780b2ae17 || (_templateObject_471cea001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.accentColor, this.allowGrey, this.dark, this.label || "", this.icon || "", this.src || "", this.twoChars, this.jdenticon); + return (0, _index.html)(_templateObject_1938edb01e5811ed81a80d03c17d190b || (_templateObject_1938edb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.accentColor, this.allowGrey, this.dark, this.label || "", this.icon || "", this.src || "", this.twoChars, this.jdenticon); } // haxProperty definition }, { @@ -91,7 +91,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignAvatar), "styles", this)), [(0, _index.css)(_templateObject2_471cea001da511ed9d313b9780b2ae17 || (_templateObject2_471cea001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 0;\n padding: 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n paper-avatar {\n border-radius: var(--lrndesign-avatar-border-radius, 50%);\n max-height: var(--lrndesign-avatar-width, 40px);\n --paper-avatar-width: var(--lrndesign-avatar-width, 40px);\n --paper-avatar-color: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --paper-avatar-text-color: var(\n --simple-colors-default-theme-grey-1,\n #fff\n );\n }\n\n :host([invert]) paper-avatar {\n --paper-avatar-color: var(--simple-colors-default-theme-grey-1, #fff);\n --paper-avatar-text-color: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignAvatar), "styles", this)), [(0, _index.css)(_templateObject2_1938edb01e5811ed81a80d03c17d190b || (_templateObject2_1938edb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 0;\n padding: 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n paper-avatar {\n border-radius: var(--lrndesign-avatar-border-radius, 50%);\n max-height: var(--lrndesign-avatar-width, 40px);\n --paper-avatar-width: var(--lrndesign-avatar-width, 40px);\n --paper-avatar-color: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --paper-avatar-text-color: var(\n --simple-colors-default-theme-grey-1,\n #fff\n );\n }\n\n :host([invert]) paper-avatar {\n --paper-avatar-color: var(--simple-colors-default-theme-grey-1, #fff);\n --paper-avatar-text-color: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-blockquote/lrndesign-blockquote.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-blockquote/lrndesign-blockquote.js index 1e8714fd6af..f0535a8aa54 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-blockquote/lrndesign-blockquote.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-blockquote/lrndesign-blockquote.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh _exports.LrndesignBlockquote = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3a8669101da511ed9d313b9780b2ae17, _templateObject2_3a8669101da511ed9d313b9780b2ae17; + var _templateObject_0de43b901e5811ed81a80d03c17d190b, _templateObject2_0de43b901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -40,7 +40,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh babelHelpers.createClass(LrndesignBlockquote, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3a8669101da511ed9d313b9780b2ae17 || (_templateObject_3a8669101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n

        \n
        \n
        \n

        ", "

        \n ", "\n
        \n \n "])), this.describedBy || "", this.sourceLink, this.author, this.sourceLink, this.citation); + return (0, _index.html)(_templateObject_0de43b901e5811ed81a80d03c17d190b || (_templateObject_0de43b901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n

        \n
        \n
        \n

        ", "

        \n ", "\n
        \n \n "])), this.describedBy || "", this.sourceLink, this.author, this.sourceLink, this.citation); } }, { key: "updated", @@ -117,7 +117,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3a8669101da511ed9d313b9780b2ae17 || (_templateObject2_3a8669101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n font-size: 16px;\n z-index: 0;\n }\n\n :host([display-mode=\"hypercard\"]) ::slotted(*) {\n -webkit-filter: grayscale(1) contrast(300%);\n filter: grayscale(1) contrast(300%);\n font-family: Chikarego, Helvetica, sans-serif;\n transition: all 0.6s ease;\n }\n\n /* Let's set and reset some common styles */\n .mb-wrap {\n width: 300px;\n margin: 20px auto;\n padding: 20px;\n position: relative;\n }\n .mb-wrap p {\n margin: 0;\n padding: 0;\n }\n .mb-wrap blockquote {\n margin: 0;\n padding: 0;\n position: relative;\n }\n .mb-wrap cite {\n font-style: normal;\n }\n p ::slotted(*) {\n font-size: 16px;\n }\n :host([display-mode=\"default\"]) .mb-wrap {\n background-color: #fff9c4;\n color: var(--lrndesign-blockquote-color, #222222);\n }\n :host([display-mode=\"default\"]) .mb-wrap blockquote {\n font-size: 19.2px;\n font-style: italic;\n margin: 4px 0;\n padding: 24px 24px 24px 40px;\n line-height: 1.5;\n position: relative;\n color: var(--lrndesign-blockquote-color, #222222);\n }\n :host([display-mode=\"default\"]) .mb-wrap cite {\n color: var(--lrndesign-blockquote-cite, #222222);\n font-size: 12.8px;\n display: block;\n margin-top: 4px;\n text-align: right;\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap {\n background: #363738 repeat top left;\n margin-top: 100px;\n padding-top: 100px;\n width: 400px;\n color: #fff;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);\n border-top: 10px solid #fff;\n }\n :host([display-mode=\"leather\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 180px;\n height: 180px;\n border: 10px solid rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n left: 50%;\n top: -90px;\n margin: 0 0 0 -90px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:before,\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:after {\n position: absolute;\n font-size: 164px;\n top: -95px;\n color: #242526;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:before {\n content: \"\u201C\";\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:after {\n right: 0px;\n content: \"\u201D\";\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote p {\n font-family: Cambria, Georgia, serif;\n font-style: italic;\n font-size: 25px;\n font-weight: 400;\n border-bottom: 1px solid rgba(0, 0, 0, 0.5);\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n padding: 10px 10px 20px 10px;\n text-align: center;\n margin: 0 0 20px 0;\n text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote p ::slotted(*) {\n font-family: Cambria, Georgia, serif;\n font-style: italic;\n font-weight: 400;\n font-size: 25px;\n text-align: center;\n text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap .mb-attribution {\n text-align: right;\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap .mb-author {\n text-transform: uppercase;\n font-size: 20px;\n font-weight: bold;\n color: #cccccc;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap cite a {\n color: #f0f0f0;\n font-style: italic;\n font-weight: 400;\n font-family: Cambria, Georgia, serif;\n text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap cite a:hover {\n text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote {\n padding-top: 150px;\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote:after {\n background: rgba(235, 150, 108, 0.8);\n width: 130px;\n height: 130px;\n border-radius: 50%;\n content: \"\u201D\";\n position: absolute;\n font-size: 164px;\n line-height: 200px;\n text-align: center;\n top: 0px;\n left: 50%;\n margin-left: -65px;\n color: rgba(255, 255, 255, 0.5);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote:before {\n content: \"\";\n width: 500px;\n height: 500px;\n border-radius: 50%;\n border-left: 5px solid rgba(235, 150, 108, 0.1);\n position: absolute;\n top: 0px;\n left: -50px;\n z-index: -1;\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote p {\n font-family: Baskerville, Georgia, serif;\n font-size: 28px;\n font-style: italic;\n background: rgba(255, 255, 255, 0.5);\n display: inline;\n color: rgba(235, 150, 108, 0.8);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);\n line-height: 46px;\n box-shadow: 0 -6px 0 rgba(235, 150, 108, 0.2);\n }\n :host([display-mode=\"swoop\"]) .mb-wrap .mb-attribution {\n text-align: right;\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap .mb-author {\n text-transform: uppercase;\n font-size: 18px;\n padding-top: 10px;\n font-weight: bold;\n color: #d48158;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap cite a {\n color: #d7aa94;\n font-style: italic;\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap cite a:hover {\n color: #d48158;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap {\n width: 500px;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote {\n background: #fff;\n padding: 30px;\n border-radius: 5px;\n box-shadow: inset 0 2px 0 rgba(188, 147, 200, 0.7),\n -5px -4px 25px rgba(0, 0, 0, 0.3);\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:after,\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:before {\n top: 100%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:after {\n border-top-color: #ffffff;\n border-width: 10px;\n left: 65%;\n margin-left: -10px;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:before {\n border-top-color: rgba(0, 0, 0, 0.01);\n border-width: 11px;\n left: 65%;\n margin-left: -11px;\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote p {\n font-family: \"Alegreya\", serif;\n font-size: 24px;\n color: #b4b4b4;\n font-weight: 400;\n line-height: 40px;\n font-style: italic;\n text-indent: 100px;\n position: relative;\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote p:before {\n content: \"\u201C\";\n font-family: serif;\n font-style: normal;\n font-weight: 700;\n position: absolute;\n font-size: 175px;\n top: 0px;\n left: -105px;\n color: rgba(188, 147, 200, 1);\n text-shadow: 7px 14px 10px rgba(0, 0, 0, 0.1);\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-attribution {\n text-align: right;\n padding: 20px 100px 20px 20px;\n position: relative;\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n right: 10px;\n bottom: 5px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-author {\n font-family: \"Alegreya SC\", serif;\n font-weight: 700;\n font-size: 18px;\n color: black;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap cite a {\n font-family: \"Alegreya\", serif;\n font-weight: 700;\n font-style: italic;\n color: black;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap cite a:hover {\n color: rgba(188, 147, 200, 1);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap {\n width: 600px;\n padding: 20px 240px 50px 20px;\n overflow: hidden;\n box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"poster\"]) .mb-wrap blockquote p {\n color: rgba(255, 255, 255, 0.95);\n font-size: 21px;\n line-height: 26px;\n text-align: right;\n color: #999;\n text-transform: uppercase;\n font-weight: bold;\n }\n :host([display-mode=\"poster\"]) .mb-wrap blockquote p ::slotted(span) {\n font-weight: 700;\n color: #fcf779;\n font-size: 58px;\n line-height: 58px;\n display: block;\n padding: 10px;\n text-shadow: 7px 7px 2px rgba(0, 0, 0, 0.2);\n transform: rotate(-7deg) translateY(10px);\n }\n :host([display-mode=\"poster\"])\n .mb-wrap\n blockquote\n p\n ::slotted(span):before {\n content: \"\u201C\";\n font-weight: normal;\n opacity: 0.1;\n font-size: 200px;\n position: absolute;\n color: #fff;\n top: -50px;\n left: -25px;\n transform: rotate(45deg);\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution {\n text-align: right;\n text-transform: uppercase;\n font-weight: bold;\n background: #222;\n position: absolute;\n width: 100%;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 30px;\n transform: rotate(-40deg) translate(175px, 110px);\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-author {\n color: #fcf779;\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-author:before {\n content: \"-\";\n padding-right: 4px;\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution cite a {\n color: #fcf779;\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution cite a:hover {\n color: #fcf779;\n }\n\n :host([display-mode=\"fun\"]) .mb-wrap {\n width: 390px;\n }\n\n :host([display-mode=\"fun\"]) .mb-wrap blockquote {\n text-align: center;\n background: #333;\n width: 350px;\n height: 350px;\n padding: 60px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 10px #333,\n inset 0 0 0 12px rgba(255, 255, 255, 0.6),\n 80px 0 0 rgba(255, 255, 255, 0.3),\n -80px 0 0 rgba(255, 255, 255, 0.3), 50px 0 0 rgba(60, 185, 145, 0.2),\n -50px 0 0 rgba(185, 60, 60, 0.2);\n }\n :host([display-mode=\"fun\"]) .mb-wrap blockquote p {\n color: #fff;\n font-size: 20px;\n font-weight: 400;\n padding-top: 25px;\n text-transform: uppercase;\n text-shadow: 0 0 1px #fff, 0 1px 1px #000;\n font-family: \"Annie Use Your Telescope\", cursive;\n }\n :host([display-mode=\"fun\"]) .mb-wrap blockquote p ::slotted(span) {\n display: block;\n position: relative;\n padding-top: 40px;\n margin-top: 40px;\n border-top: 1px solid rgba(255, 255, 255, 0.3);\n }\n :host([display-mode=\"fun\"])\n .mb-wrap\n blockquote\n p\n ::slotted(span):before {\n position: absolute;\n width: 50px;\n height: 50px;\n background: #ddd;\n content: \"\u201C\";\n font-size: 40px;\n color: #333;\n top: 0px;\n left: 50%;\n margin: -25px 0 0 -25px;\n border-radius: 50%;\n }\n :host([display-mode=\"fun\"]) .mb-wrap .mb-attribution {\n text-align: center;\n font-family: \"Annie Use Your Telescope\", cursive;\n padding: 20px;\n font-size: 16px;\n }\n :host([display-mode=\"fun\"]) .mb-wrap cite a:hover {\n color: #000;\n }\n\n :host([display-mode=\"photo\"]) .mb-wrap {\n width: 350px;\n background: #fff;\n border-radius: 4px;\n }\n /* Shadow style from Nicolas Gallagher: http://nicolasgallagher.com/css-drop-shadows-without-images/demo/ */\n :host([display-mode=\"photo\"]) .mb-wrap:before,\n :host([display-mode=\"photo\"]) .mb-wrap:after {\n content: \" \";\n position: absolute;\n z-index: -1;\n transform: rotate(-3deg);\n bottom: 10px;\n box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);\n height: 20%;\n left: 2px;\n max-height: 100px;\n max-width: 300px;\n width: 50%;\n }\n :host([display-mode=\"photo\"]) .mb-wrap:after {\n transform: rotate(3deg);\n left: auto;\n right: 2px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote {\n background: #333;\n height: 75%;\n padding: 30px;\n text-align: center;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote:before {\n color: rgba(255, 255, 255, 0.2);\n position: absolute;\n content: \"\u201D\";\n font-size: 150px;\n line-height: 130px;\n font-style: italic;\n top: 0px;\n right: 20px;\n font-family: Cambria, Georgia, serif;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote p {\n color: #fff;\n font-family: \"Abril Fatface\", sans-serif;\n font-size: 24px;\n text-shadow: 1px 1px 1px #000;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-attribution {\n padding: 20px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-author {\n font-size: 24px;\n font-family: \"Dr Sugiyama\", cursive;\n transform: rotate(-4deg);\n color: #070d5f;\n text-align: center;\n min-height: 40px;\n line-height: 40px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite {\n display: block;\n text-align: center;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite a {\n color: #999;\n text-transform: uppercase;\n letter-spacing: 3px;\n font-size: 12px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite a:hover {\n color: #000;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n left: 30px;\n bottom: 30px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n /* BEGIN HYPERCARDIFY, thanks @realdlnorman */\n :host([display-mode=\"hypercard\"]) ::slotted(*) {\n -webkit-filter: grayscale(1) contrast(300%);\n filter: grayscale(1) contrast(300%);\n font-family: Chikarego, Helvetica, sans-serif;\n transition: all 0.6s ease;\n }\n /* Disable grayscale on hover */\n :host([display-mode=\"hypercard\"]:hover) ::slotted(*) {\n -webkit-filter: grayscale(0);\n filter: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0de43b901e5811ed81a80d03c17d190b || (_templateObject2_0de43b901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n font-size: 16px;\n z-index: 0;\n }\n\n :host([display-mode=\"hypercard\"]) ::slotted(*) {\n -webkit-filter: grayscale(1) contrast(300%);\n filter: grayscale(1) contrast(300%);\n font-family: Chikarego, Helvetica, sans-serif;\n transition: all 0.6s ease;\n }\n\n /* Let's set and reset some common styles */\n .mb-wrap {\n width: 300px;\n margin: 20px auto;\n padding: 20px;\n position: relative;\n }\n .mb-wrap p {\n margin: 0;\n padding: 0;\n }\n .mb-wrap blockquote {\n margin: 0;\n padding: 0;\n position: relative;\n }\n .mb-wrap cite {\n font-style: normal;\n }\n p ::slotted(*) {\n font-size: 16px;\n }\n :host([display-mode=\"default\"]) .mb-wrap {\n background-color: #fff9c4;\n color: var(--lrndesign-blockquote-color, #222222);\n }\n :host([display-mode=\"default\"]) .mb-wrap blockquote {\n font-size: 19.2px;\n font-style: italic;\n margin: 4px 0;\n padding: 24px 24px 24px 40px;\n line-height: 1.5;\n position: relative;\n color: var(--lrndesign-blockquote-color, #222222);\n }\n :host([display-mode=\"default\"]) .mb-wrap cite {\n color: var(--lrndesign-blockquote-cite, #222222);\n font-size: 12.8px;\n display: block;\n margin-top: 4px;\n text-align: right;\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap {\n background: #363738 repeat top left;\n margin-top: 100px;\n padding-top: 100px;\n width: 400px;\n color: #fff;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);\n border-top: 10px solid #fff;\n }\n :host([display-mode=\"leather\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 180px;\n height: 180px;\n border: 10px solid rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n left: 50%;\n top: -90px;\n margin: 0 0 0 -90px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:before,\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:after {\n position: absolute;\n font-size: 164px;\n top: -95px;\n color: #242526;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:before {\n content: \"\u201C\";\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap blockquote:after {\n right: 0px;\n content: \"\u201D\";\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote p {\n font-family: Cambria, Georgia, serif;\n font-style: italic;\n font-size: 25px;\n font-weight: 400;\n border-bottom: 1px solid rgba(0, 0, 0, 0.5);\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n padding: 10px 10px 20px 10px;\n text-align: center;\n margin: 0 0 20px 0;\n text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"leather\"]) .mb-wrap blockquote p ::slotted(*) {\n font-family: Cambria, Georgia, serif;\n font-style: italic;\n font-weight: 400;\n font-size: 25px;\n text-align: center;\n text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap .mb-attribution {\n text-align: right;\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap .mb-author {\n text-transform: uppercase;\n font-size: 20px;\n font-weight: bold;\n color: #cccccc;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap cite a {\n color: #f0f0f0;\n font-style: italic;\n font-weight: 400;\n font-family: Cambria, Georgia, serif;\n text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);\n }\n\n :host([display-mode=\"leather\"]) .mb-wrap cite a:hover {\n text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote {\n padding-top: 150px;\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote:after {\n background: rgba(235, 150, 108, 0.8);\n width: 130px;\n height: 130px;\n border-radius: 50%;\n content: \"\u201D\";\n position: absolute;\n font-size: 164px;\n line-height: 200px;\n text-align: center;\n top: 0px;\n left: 50%;\n margin-left: -65px;\n color: rgba(255, 255, 255, 0.5);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote:before {\n content: \"\";\n width: 500px;\n height: 500px;\n border-radius: 50%;\n border-left: 5px solid rgba(235, 150, 108, 0.1);\n position: absolute;\n top: 0px;\n left: -50px;\n z-index: -1;\n }\n :host([display-mode=\"swoop\"]) .mb-wrap blockquote p {\n font-family: Baskerville, Georgia, serif;\n font-size: 28px;\n font-style: italic;\n background: rgba(255, 255, 255, 0.5);\n display: inline;\n color: rgba(235, 150, 108, 0.8);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);\n line-height: 46px;\n box-shadow: 0 -6px 0 rgba(235, 150, 108, 0.2);\n }\n :host([display-mode=\"swoop\"]) .mb-wrap .mb-attribution {\n text-align: right;\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap .mb-author {\n text-transform: uppercase;\n font-size: 18px;\n padding-top: 10px;\n font-weight: bold;\n color: #d48158;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap cite a {\n color: #d7aa94;\n font-style: italic;\n }\n\n :host([display-mode=\"swoop\"]) .mb-wrap cite a:hover {\n color: #d48158;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap {\n width: 500px;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote {\n background: #fff;\n padding: 30px;\n border-radius: 5px;\n box-shadow: inset 0 2px 0 rgba(188, 147, 200, 0.7),\n -5px -4px 25px rgba(0, 0, 0, 0.3);\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:after,\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:before {\n top: 100%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:after {\n border-top-color: #ffffff;\n border-width: 10px;\n left: 65%;\n margin-left: -10px;\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap blockquote:before {\n border-top-color: rgba(0, 0, 0, 0.01);\n border-width: 11px;\n left: 65%;\n margin-left: -11px;\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote p {\n font-family: \"Alegreya\", serif;\n font-size: 24px;\n color: #b4b4b4;\n font-weight: 400;\n line-height: 40px;\n font-style: italic;\n text-indent: 100px;\n position: relative;\n }\n :host([display-mode=\"soft\"]) .mb-wrap blockquote p:before {\n content: \"\u201C\";\n font-family: serif;\n font-style: normal;\n font-weight: 700;\n position: absolute;\n font-size: 175px;\n top: 0px;\n left: -105px;\n color: rgba(188, 147, 200, 1);\n text-shadow: 7px 14px 10px rgba(0, 0, 0, 0.1);\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-attribution {\n text-align: right;\n padding: 20px 100px 20px 20px;\n position: relative;\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n right: 10px;\n bottom: 5px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"soft\"]) .mb-wrap .mb-author {\n font-family: \"Alegreya SC\", serif;\n font-weight: 700;\n font-size: 18px;\n color: black;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap cite a {\n font-family: \"Alegreya\", serif;\n font-weight: 700;\n font-style: italic;\n color: black;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n }\n\n :host([display-mode=\"soft\"]) .mb-wrap cite a:hover {\n color: rgba(188, 147, 200, 1);\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap {\n width: 600px;\n padding: 20px 240px 50px 20px;\n overflow: hidden;\n box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);\n }\n :host([display-mode=\"poster\"]) .mb-wrap blockquote p {\n color: rgba(255, 255, 255, 0.95);\n font-size: 21px;\n line-height: 26px;\n text-align: right;\n color: #999;\n text-transform: uppercase;\n font-weight: bold;\n }\n :host([display-mode=\"poster\"]) .mb-wrap blockquote p ::slotted(span) {\n font-weight: 700;\n color: #fcf779;\n font-size: 58px;\n line-height: 58px;\n display: block;\n padding: 10px;\n text-shadow: 7px 7px 2px rgba(0, 0, 0, 0.2);\n transform: rotate(-7deg) translateY(10px);\n }\n :host([display-mode=\"poster\"])\n .mb-wrap\n blockquote\n p\n ::slotted(span):before {\n content: \"\u201C\";\n font-weight: normal;\n opacity: 0.1;\n font-size: 200px;\n position: absolute;\n color: #fff;\n top: -50px;\n left: -25px;\n transform: rotate(45deg);\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution {\n text-align: right;\n text-transform: uppercase;\n font-weight: bold;\n background: #222;\n position: absolute;\n width: 100%;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 30px;\n transform: rotate(-40deg) translate(175px, 110px);\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-author {\n color: #fcf779;\n }\n :host([display-mode=\"poster\"]) .mb-wrap .mb-author:before {\n content: \"-\";\n padding-right: 4px;\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution cite a {\n color: #fcf779;\n }\n\n :host([display-mode=\"poster\"]) .mb-wrap .mb-attribution cite a:hover {\n color: #fcf779;\n }\n\n :host([display-mode=\"fun\"]) .mb-wrap {\n width: 390px;\n }\n\n :host([display-mode=\"fun\"]) .mb-wrap blockquote {\n text-align: center;\n background: #333;\n width: 350px;\n height: 350px;\n padding: 60px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 10px #333,\n inset 0 0 0 12px rgba(255, 255, 255, 0.6),\n 80px 0 0 rgba(255, 255, 255, 0.3),\n -80px 0 0 rgba(255, 255, 255, 0.3), 50px 0 0 rgba(60, 185, 145, 0.2),\n -50px 0 0 rgba(185, 60, 60, 0.2);\n }\n :host([display-mode=\"fun\"]) .mb-wrap blockquote p {\n color: #fff;\n font-size: 20px;\n font-weight: 400;\n padding-top: 25px;\n text-transform: uppercase;\n text-shadow: 0 0 1px #fff, 0 1px 1px #000;\n font-family: \"Annie Use Your Telescope\", cursive;\n }\n :host([display-mode=\"fun\"]) .mb-wrap blockquote p ::slotted(span) {\n display: block;\n position: relative;\n padding-top: 40px;\n margin-top: 40px;\n border-top: 1px solid rgba(255, 255, 255, 0.3);\n }\n :host([display-mode=\"fun\"])\n .mb-wrap\n blockquote\n p\n ::slotted(span):before {\n position: absolute;\n width: 50px;\n height: 50px;\n background: #ddd;\n content: \"\u201C\";\n font-size: 40px;\n color: #333;\n top: 0px;\n left: 50%;\n margin: -25px 0 0 -25px;\n border-radius: 50%;\n }\n :host([display-mode=\"fun\"]) .mb-wrap .mb-attribution {\n text-align: center;\n font-family: \"Annie Use Your Telescope\", cursive;\n padding: 20px;\n font-size: 16px;\n }\n :host([display-mode=\"fun\"]) .mb-wrap cite a:hover {\n color: #000;\n }\n\n :host([display-mode=\"photo\"]) .mb-wrap {\n width: 350px;\n background: #fff;\n border-radius: 4px;\n }\n /* Shadow style from Nicolas Gallagher: http://nicolasgallagher.com/css-drop-shadows-without-images/demo/ */\n :host([display-mode=\"photo\"]) .mb-wrap:before,\n :host([display-mode=\"photo\"]) .mb-wrap:after {\n content: \" \";\n position: absolute;\n z-index: -1;\n transform: rotate(-3deg);\n bottom: 10px;\n box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);\n height: 20%;\n left: 2px;\n max-height: 100px;\n max-width: 300px;\n width: 50%;\n }\n :host([display-mode=\"photo\"]) .mb-wrap:after {\n transform: rotate(3deg);\n left: auto;\n right: 2px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote {\n background: #333;\n height: 75%;\n padding: 30px;\n text-align: center;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote:before {\n color: rgba(255, 255, 255, 0.2);\n position: absolute;\n content: \"\u201D\";\n font-size: 150px;\n line-height: 130px;\n font-style: italic;\n top: 0px;\n right: 20px;\n font-family: Cambria, Georgia, serif;\n }\n :host([display-mode=\"photo\"]) .mb-wrap blockquote p {\n color: #fff;\n font-family: \"Abril Fatface\", sans-serif;\n font-size: 24px;\n text-shadow: 1px 1px 1px #000;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-attribution {\n padding: 20px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-author {\n font-size: 24px;\n font-family: \"Dr Sugiyama\", cursive;\n transform: rotate(-4deg);\n color: #070d5f;\n text-align: center;\n min-height: 40px;\n line-height: 40px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite {\n display: block;\n text-align: center;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite a {\n color: #999;\n text-transform: uppercase;\n letter-spacing: 3px;\n font-size: 12px;\n }\n :host([display-mode=\"photo\"]) .mb-wrap cite a:hover {\n color: #000;\n }\n :host([display-mode=\"photo\"]) .mb-wrap .mb-thumb {\n display: block;\n width: 70px;\n height: 70px;\n border: 5px solid #fff;\n border-radius: 50%;\n background-clip: padding-box !important;\n background-size: contain !important;\n position: absolute;\n left: 30px;\n bottom: 30px;\n box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.5),\n 0 2px 3px rgba(0, 0, 0, 0.6);\n }\n /* BEGIN HYPERCARDIFY, thanks @realdlnorman */\n :host([display-mode=\"hypercard\"]) ::slotted(*) {\n -webkit-filter: grayscale(1) contrast(300%);\n filter: grayscale(1) contrast(300%);\n font-family: Chikarego, Helvetica, sans-serif;\n transition: all 0.6s ease;\n }\n /* Disable grayscale on hover */\n :host([display-mode=\"hypercard\"]:hover) ::slotted(*) {\n -webkit-filter: grayscale(0);\n filter: none;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-chart/lrndesign-chart.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-chart/lrndesign-chart.js index 7b76fa38adf..15465d80d6e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-chart/lrndesign-chart.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-chart/lrndesign-chart.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" }); _exports.LrndesignChart = void 0; - var _templateObject_4724b2301da511ed9d313b9780b2ae17, _templateObject2_4724b2301da511ed9d313b9780b2ae17; + var _templateObject_199083901e5811ed81a80d03c17d190b, _templateObject2_199083901e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -51,7 +51,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_4724b2301da511ed9d313b9780b2ae17 || (_templateObject_4724b2301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ""])), babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "render", this).call(this)); + return (0, _index.html)(_templateObject_199083901e5811ed81a80d03c17d190b || (_templateObject_199083901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ""])), babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "render", this).call(this)); } // haxProperty definition }, { @@ -217,7 +217,7 @@ define(["exports", "../../lit/index.js", "../chartist-render/chartist-render.js" key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), babelHelpers.toConsumableArray(_simpleColors.SimpleColors.styles), [(0, _index.css)(_templateObject2_4724b2301da511ed9d313b9780b2ae17 || (_templateObject2_4724b2301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n background-color: var(--simple-colors-default-theme-grey-1);\n color: var(--simple-colors-default-theme-grey-12);\n --chartist-color-1: var(--simple-colors-default-theme-red-9);\n --chartist-color-2: var(--simple-colors-default-theme-blue-10);\n --chartist-color-3: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-4: var(--simple-colors-default-theme-purple-10);\n --chartist-color-5: var(--simple-colors-default-theme-green-9);\n --chartist-color-6: var(--simple-colors-default-theme-orange-10);\n --chartist-color-7: var(--simple-colors-default-theme-pink-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-red-9);\n --chartist-color-10: var(--simple-colors-default-theme-blue-10);\n --chartist-color-11: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-12: var(--simple-colors-default-theme-purple-10);\n --chartist-color-13: var(--simple-colors-default-theme-green-9);\n --chartist-color-14: var(--simple-colors-default-theme-orange-10);\n --chartist-color-15: var(--simple-colors-default-theme-pink-9);\n }\n\n :host([dark]) {\n --chartist-padding: 10px;\n }\n\n :host([accent-color=\"red\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-red-9);\n --chartist-color-2: var(--simple-colors-default-theme-pink-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(--simple-colors-default-theme-orange-10);\n --chartist-color-6: var(--simple-colors-default-theme-red-11);\n --chartist-color-7: var(--simple-colors-default-theme-pink-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(--simple-colors-default-theme-orange-9);\n --chartist-color-11: var(--simple-colors-default-theme-red-10);\n --chartist-color-12: var(--simple-colors-default-theme-pink-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(--simple-colors-default-theme-orange-11);\n }\n\n :host([accent-color=\"pink\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-pink-9);\n --chartist-color-2: var(--simple-colors-default-theme-purple-10);\n --chartist-color-3: var(--simple-colors-default-theme-red-11);\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-pink-11);\n --chartist-color-7: var(--simple-colors-default-theme-purple-9);\n --chartist-color-8: var(--simple-colors-default-theme-red-10);\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-pink-10);\n --chartist-color-12: var(--simple-colors-default-theme-purple-11);\n --chartist-color-13: var(--simple-colors-default-theme-red-9);\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-orange-11\n );\n }\n\n :host([accent-color=\"purple\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-purple-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-pink-11);\n --chartist-color-4: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-5: var(--simple-colors-default-theme-red-10);\n --chartist-color-6: var(--simple-colors-default-theme-purple-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-pink-10);\n --chartist-color-9: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-10: var(--simple-colors-default-theme-red-9);\n --chartist-color-11: var(--simple-colors-default-theme-purple-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-pink-9);\n --chartist-color-14: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-15: var(--simple-colors-default-theme-red-11);\n }\n\n :host([accent-color=\"deep-purple\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-3: var(--simple-colors-default-theme-purple-11);\n --chartist-color-4: var(--simple-colors-default-theme-blue-9);\n --chartist-color-5: var(--simple-colors-default-theme-pink-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-8: var(--simple-colors-default-theme-purple-10);\n --chartist-color-9: var(--simple-colors-default-theme-blue-11);\n --chartist-color-10: var(--simple-colors-default-theme-pink-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-13: var(--simple-colors-default-theme-purple-9);\n --chartist-color-14: var(--simple-colors-default-theme-blue-10);\n --chartist-color-15: var(--simple-colors-default-theme-pink-11);\n }\n\n :host([accent-color=\"indigo\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-2: var(--simple-colors-default-theme-blue-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-5: var(--simple-colors-default-theme-purple-10);\n --chartist-color-6: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-7: var(--simple-colors-default-theme-blue-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-9: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-10: var(--simple-colors-default-theme-purple-9);\n --chartist-color-11: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-12: var(--simple-colors-default-theme-blue-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-14: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-15: var(--simple-colors-default-theme-purple-11);\n }\n\n :host([accent-color=\"blue\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-blue-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-4: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-5: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-blue-11);\n --chartist-color-7: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-8: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-9: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-10: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-blue-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-14: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-purple-11\n );\n }\n\n :host([accent-color=\"light-blue\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-2: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-3: var(--simple-colors-default-theme-blue-11);\n --chartist-color-4: var(--simple-colors-default-theme-teal-9);\n --chartist-color-5: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-8: var(--simple-colors-default-theme-blue-10);\n --chartist-color-9: var(--simple-colors-default-theme-teal-11);\n --chartist-color-10: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-13: var(--simple-colors-default-theme-blue-9);\n --chartist-color-14: var(--simple-colors-default-theme-teal-10);\n --chartist-color-15: var(--simple-colors-default-theme-indigo-11);\n }\n\n :host([accent-color=\"cyan\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-2: var(--simple-colors-default-theme-teal-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-green-9);\n --chartist-color-5: var(--simple-colors-default-theme-blue-10);\n --chartist-color-6: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-7: var(--simple-colors-default-theme-teal-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-green-11);\n --chartist-color-10: var(--simple-colors-default-theme-blue-9);\n --chartist-color-11: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-12: var(--simple-colors-default-theme-teal-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-light-blue-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-green-10);\n --chartist-color-15: var(--simple-colors-default-theme-blue-11);\n }\n\n :host([accent-color=\"teal\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-teal-9);\n --chartist-color-2: var(--simple-colors-default-theme-green-10);\n --chartist-color-3: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-4: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-5: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-teal-11);\n --chartist-color-7: var(--simple-colors-default-theme-green-9);\n --chartist-color-8: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-9: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-10: var(\n --simple-colors-default-theme-light-blue-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-teal-10);\n --chartist-color-12: var(--simple-colors-default-theme-green-11);\n --chartist-color-13: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-14: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-15: var(\n --simple-colors-default-theme-light-blue-11\n );\n }\n\n :host([accent-color=\"green\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-green-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-teal-11);\n --chartist-color-4: var(--simple-colors-default-theme-lime-9);\n --chartist-color-5: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-6: var(--simple-colors-default-theme-green-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-teal-10);\n --chartist-color-9: var(--simple-colors-default-theme-lime-11);\n --chartist-color-10: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-11: var(--simple-colors-default-theme-green-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-teal-9);\n --chartist-color-14: var(--simple-colors-default-theme-lime-10);\n --chartist-color-15: var(--simple-colors-default-theme-cyan-11);\n }\n\n :host([accent-color=\"light-green\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-lime-10);\n --chartist-color-3: var(--simple-colors-default-theme-green-11);\n --chartist-color-4: var(--simple-colors-default-theme-amber-9);\n --chartist-color-5: var(--simple-colors-default-theme-teal-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-lime-9);\n --chartist-color-8: var(--simple-colors-default-theme-green-10);\n --chartist-color-9: var(--simple-colors-default-theme-amber-11);\n --chartist-color-10: var(--simple-colors-default-theme-teal-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-lime-11);\n --chartist-color-13: var(--simple-colors-default-theme-green-9);\n --chartist-color-14: var(--simple-colors-default-theme-amber-10);\n --chartist-color-15: var(--simple-colors-default-theme-teal-11);\n }\n\n :host([accent-color=\"lime\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-lime-9);\n --chartist-color-2: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-orange-9);\n --chartist-color-5: var(--simple-colors-default-theme-green-10);\n --chartist-color-6: var(--simple-colors-default-theme-lime-11);\n --chartist-color-7: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-orange-11);\n --chartist-color-10: var(--simple-colors-default-theme-green-9);\n --chartist-color-11: var(--simple-colors-default-theme-lime-10);\n --chartist-color-12: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-orange-10);\n --chartist-color-15: var(--simple-colors-default-theme-green-11);\n }\n\n :host([accent-color=\"yellow\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-2: var(--simple-colors-default-theme-amber-10);\n --chartist-color-3: var(--simple-colors-default-theme-lime-11);\n --chartist-color-4: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-5: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-7: var(--simple-colors-default-theme-amber-9);\n --chartist-color-8: var(--simple-colors-default-theme-lime-10);\n --chartist-color-9: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-10: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-12: var(--simple-colors-default-theme-amber-11);\n --chartist-color-13: var(--simple-colors-default-theme-lime-9);\n --chartist-color-14: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-15: var(\n --simple-colors-default-theme-light-green-11\n );\n }\n\n :host([accent-color=\"amber\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-amber-9);\n --chartist-color-2: var(--simple-colors-default-theme-orange-10);\n --chartist-color-3: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-4: var(--simple-colors-default-theme-red-9);\n --chartist-color-5: var(--simple-colors-default-theme-lime-10);\n --chartist-color-6: var(--simple-colors-default-theme-amber-11);\n --chartist-color-7: var(--simple-colors-default-theme-orange-9);\n --chartist-color-8: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-9: var(--simple-colors-default-theme-red-11);\n --chartist-color-10: var(--simple-colors-default-theme-lime-9);\n --chartist-color-11: var(--simple-colors-default-theme-amber-10);\n --chartist-color-12: var(--simple-colors-default-theme-orange-11);\n --chartist-color-13: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-14: var(--simple-colors-default-theme-red-10);\n --chartist-color-15: var(--simple-colors-default-theme-lime-11);\n }\n\n :host([accent-color=\"orange\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-orange-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-amber-11);\n --chartist-color-4: var(--simple-colors-default-theme-pink-9);\n --chartist-color-5: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-6: var(--simple-colors-default-theme-orange-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-amber-10);\n --chartist-color-9: var(--simple-colors-default-theme-pink-11);\n --chartist-color-10: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-11: var(--simple-colors-default-theme-orange-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-amber-9);\n --chartist-color-14: var(--simple-colors-default-theme-pink-10);\n --chartist-color-15: var(--simple-colors-default-theme-yellow-11);\n }\n\n :host([accent-color=\"deep-orange\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-red-10);\n --chartist-color-3: var(--simple-colors-default-theme-orange-11);\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(--simple-colors-default-theme-amber-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-red-9);\n --chartist-color-8: var(--simple-colors-default-theme-orange-10);\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(--simple-colors-default-theme-amber-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-red-11);\n --chartist-color-13: var(--simple-colors-default-theme-orange-9);\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(--simple-colors-default-theme-amber-11);\n }\n\n :host([accent-color=\"brown\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-brown-9);\n --chartist-color-2: var(--simple-colors-default-theme-red-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-brown-12);\n --chartist-color-5: var(--simple-colors-default-theme-red-13);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-7: var(--simple-colors-default-theme-brown-10);\n --chartist-color-8: var(--simple-colors-default-theme-red-11);\n --chartist-color-9: var(\n --simple-colors-default-theme-deep-orange-12\n );\n --chartist-color-10: var(--simple-colors-default-theme-brown-13);\n --chartist-color-11: var(--simple-colors-default-theme-red-9);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-13: var(--simple-colors-default-theme-brown-11);\n --chartist-color-14: var(--simple-colors-default-theme-red-12);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-orange-13\n );\n }\n\n #chart,\n ::slotted(table) {\n font-family: sans-serif;\n --chartist-grid-color: var(--simple-colors-default-theme-grey-6);\n --chartist-bg-color: var(--simple-colors-default-theme-grey-1);\n --chartist-text-color: var(--simple-colors-default-theme-grey-12);\n }\n\n :host([label-position=\"inside\"]) .ct-label {\n --chartist-text-color: var(--simple-colors-default-theme-grey-1);\n }\n\n :host([dark]) ::slotted(table) {\n --chartist-text-color: var(--simple-colors-default-theme-grey-12);\n --chartist-grid-color: var(--simple-colors-default-theme-grey-6);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), babelHelpers.toConsumableArray(_simpleColors.SimpleColors.styles), [(0, _index.css)(_templateObject2_199083901e5811ed81a80d03c17d190b || (_templateObject2_199083901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n background-color: var(--simple-colors-default-theme-grey-1);\n color: var(--simple-colors-default-theme-grey-12);\n --chartist-color-1: var(--simple-colors-default-theme-red-9);\n --chartist-color-2: var(--simple-colors-default-theme-blue-10);\n --chartist-color-3: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-4: var(--simple-colors-default-theme-purple-10);\n --chartist-color-5: var(--simple-colors-default-theme-green-9);\n --chartist-color-6: var(--simple-colors-default-theme-orange-10);\n --chartist-color-7: var(--simple-colors-default-theme-pink-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-red-9);\n --chartist-color-10: var(--simple-colors-default-theme-blue-10);\n --chartist-color-11: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-12: var(--simple-colors-default-theme-purple-10);\n --chartist-color-13: var(--simple-colors-default-theme-green-9);\n --chartist-color-14: var(--simple-colors-default-theme-orange-10);\n --chartist-color-15: var(--simple-colors-default-theme-pink-9);\n }\n\n :host([dark]) {\n --chartist-padding: 10px;\n }\n\n :host([accent-color=\"red\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-red-9);\n --chartist-color-2: var(--simple-colors-default-theme-pink-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(--simple-colors-default-theme-orange-10);\n --chartist-color-6: var(--simple-colors-default-theme-red-11);\n --chartist-color-7: var(--simple-colors-default-theme-pink-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(--simple-colors-default-theme-orange-9);\n --chartist-color-11: var(--simple-colors-default-theme-red-10);\n --chartist-color-12: var(--simple-colors-default-theme-pink-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(--simple-colors-default-theme-orange-11);\n }\n\n :host([accent-color=\"pink\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-pink-9);\n --chartist-color-2: var(--simple-colors-default-theme-purple-10);\n --chartist-color-3: var(--simple-colors-default-theme-red-11);\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-pink-11);\n --chartist-color-7: var(--simple-colors-default-theme-purple-9);\n --chartist-color-8: var(--simple-colors-default-theme-red-10);\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-pink-10);\n --chartist-color-12: var(--simple-colors-default-theme-purple-11);\n --chartist-color-13: var(--simple-colors-default-theme-red-9);\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-orange-11\n );\n }\n\n :host([accent-color=\"purple\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-purple-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-pink-11);\n --chartist-color-4: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-5: var(--simple-colors-default-theme-red-10);\n --chartist-color-6: var(--simple-colors-default-theme-purple-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-pink-10);\n --chartist-color-9: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-10: var(--simple-colors-default-theme-red-9);\n --chartist-color-11: var(--simple-colors-default-theme-purple-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-pink-9);\n --chartist-color-14: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-15: var(--simple-colors-default-theme-red-11);\n }\n\n :host([accent-color=\"deep-purple\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-3: var(--simple-colors-default-theme-purple-11);\n --chartist-color-4: var(--simple-colors-default-theme-blue-9);\n --chartist-color-5: var(--simple-colors-default-theme-pink-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-8: var(--simple-colors-default-theme-purple-10);\n --chartist-color-9: var(--simple-colors-default-theme-blue-11);\n --chartist-color-10: var(--simple-colors-default-theme-pink-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-13: var(--simple-colors-default-theme-purple-9);\n --chartist-color-14: var(--simple-colors-default-theme-blue-10);\n --chartist-color-15: var(--simple-colors-default-theme-pink-11);\n }\n\n :host([accent-color=\"indigo\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-2: var(--simple-colors-default-theme-blue-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-purple-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-5: var(--simple-colors-default-theme-purple-10);\n --chartist-color-6: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-7: var(--simple-colors-default-theme-blue-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-9: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-10: var(--simple-colors-default-theme-purple-9);\n --chartist-color-11: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-12: var(--simple-colors-default-theme-blue-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-14: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-15: var(--simple-colors-default-theme-purple-11);\n }\n\n :host([accent-color=\"blue\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-blue-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-indigo-11);\n --chartist-color-4: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-5: var(\n --simple-colors-default-theme-deep-purple-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-blue-11);\n --chartist-color-7: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-8: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-9: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-10: var(\n --simple-colors-default-theme-deep-purple-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-blue-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-14: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-purple-11\n );\n }\n\n :host([accent-color=\"light-blue\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-light-blue-9);\n --chartist-color-2: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-3: var(--simple-colors-default-theme-blue-11);\n --chartist-color-4: var(--simple-colors-default-theme-teal-9);\n --chartist-color-5: var(--simple-colors-default-theme-indigo-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-8: var(--simple-colors-default-theme-blue-10);\n --chartist-color-9: var(--simple-colors-default-theme-teal-11);\n --chartist-color-10: var(--simple-colors-default-theme-indigo-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-13: var(--simple-colors-default-theme-blue-9);\n --chartist-color-14: var(--simple-colors-default-theme-teal-10);\n --chartist-color-15: var(--simple-colors-default-theme-indigo-11);\n }\n\n :host([accent-color=\"cyan\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-2: var(--simple-colors-default-theme-teal-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-light-blue-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-green-9);\n --chartist-color-5: var(--simple-colors-default-theme-blue-10);\n --chartist-color-6: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-7: var(--simple-colors-default-theme-teal-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-green-11);\n --chartist-color-10: var(--simple-colors-default-theme-blue-9);\n --chartist-color-11: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-12: var(--simple-colors-default-theme-teal-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-light-blue-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-green-10);\n --chartist-color-15: var(--simple-colors-default-theme-blue-11);\n }\n\n :host([accent-color=\"teal\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-teal-9);\n --chartist-color-2: var(--simple-colors-default-theme-green-10);\n --chartist-color-3: var(--simple-colors-default-theme-cyan-11);\n --chartist-color-4: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-5: var(\n --simple-colors-default-theme-light-blue-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-teal-11);\n --chartist-color-7: var(--simple-colors-default-theme-green-9);\n --chartist-color-8: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-9: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-10: var(\n --simple-colors-default-theme-light-blue-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-teal-10);\n --chartist-color-12: var(--simple-colors-default-theme-green-11);\n --chartist-color-13: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-14: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-15: var(\n --simple-colors-default-theme-light-blue-11\n );\n }\n\n :host([accent-color=\"green\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-green-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-teal-11);\n --chartist-color-4: var(--simple-colors-default-theme-lime-9);\n --chartist-color-5: var(--simple-colors-default-theme-cyan-10);\n --chartist-color-6: var(--simple-colors-default-theme-green-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-teal-10);\n --chartist-color-9: var(--simple-colors-default-theme-lime-11);\n --chartist-color-10: var(--simple-colors-default-theme-cyan-9);\n --chartist-color-11: var(--simple-colors-default-theme-green-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-teal-9);\n --chartist-color-14: var(--simple-colors-default-theme-lime-10);\n --chartist-color-15: var(--simple-colors-default-theme-cyan-11);\n }\n\n :host([accent-color=\"light-green\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-lime-10);\n --chartist-color-3: var(--simple-colors-default-theme-green-11);\n --chartist-color-4: var(--simple-colors-default-theme-amber-9);\n --chartist-color-5: var(--simple-colors-default-theme-teal-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-lime-9);\n --chartist-color-8: var(--simple-colors-default-theme-green-10);\n --chartist-color-9: var(--simple-colors-default-theme-amber-11);\n --chartist-color-10: var(--simple-colors-default-theme-teal-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-lime-11);\n --chartist-color-13: var(--simple-colors-default-theme-green-9);\n --chartist-color-14: var(--simple-colors-default-theme-amber-10);\n --chartist-color-15: var(--simple-colors-default-theme-teal-11);\n }\n\n :host([accent-color=\"lime\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-lime-9);\n --chartist-color-2: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-light-green-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-orange-9);\n --chartist-color-5: var(--simple-colors-default-theme-green-10);\n --chartist-color-6: var(--simple-colors-default-theme-lime-11);\n --chartist-color-7: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-8: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-9: var(--simple-colors-default-theme-orange-11);\n --chartist-color-10: var(--simple-colors-default-theme-green-9);\n --chartist-color-11: var(--simple-colors-default-theme-lime-10);\n --chartist-color-12: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-13: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-14: var(--simple-colors-default-theme-orange-10);\n --chartist-color-15: var(--simple-colors-default-theme-green-11);\n }\n\n :host([accent-color=\"yellow\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-2: var(--simple-colors-default-theme-amber-10);\n --chartist-color-3: var(--simple-colors-default-theme-lime-11);\n --chartist-color-4: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-5: var(\n --simple-colors-default-theme-light-green-10\n );\n --chartist-color-6: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-7: var(--simple-colors-default-theme-amber-9);\n --chartist-color-8: var(--simple-colors-default-theme-lime-10);\n --chartist-color-9: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-10: var(\n --simple-colors-default-theme-light-green-9\n );\n --chartist-color-11: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-12: var(--simple-colors-default-theme-amber-11);\n --chartist-color-13: var(--simple-colors-default-theme-lime-9);\n --chartist-color-14: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-15: var(\n --simple-colors-default-theme-light-green-11\n );\n }\n\n :host([accent-color=\"amber\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-amber-9);\n --chartist-color-2: var(--simple-colors-default-theme-orange-10);\n --chartist-color-3: var(--simple-colors-default-theme-yellow-11);\n --chartist-color-4: var(--simple-colors-default-theme-red-9);\n --chartist-color-5: var(--simple-colors-default-theme-lime-10);\n --chartist-color-6: var(--simple-colors-default-theme-amber-11);\n --chartist-color-7: var(--simple-colors-default-theme-orange-9);\n --chartist-color-8: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-9: var(--simple-colors-default-theme-red-11);\n --chartist-color-10: var(--simple-colors-default-theme-lime-9);\n --chartist-color-11: var(--simple-colors-default-theme-amber-10);\n --chartist-color-12: var(--simple-colors-default-theme-orange-11);\n --chartist-color-13: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-14: var(--simple-colors-default-theme-red-10);\n --chartist-color-15: var(--simple-colors-default-theme-lime-11);\n }\n\n :host([accent-color=\"orange\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-orange-9);\n --chartist-color-2: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-3: var(--simple-colors-default-theme-amber-11);\n --chartist-color-4: var(--simple-colors-default-theme-pink-9);\n --chartist-color-5: var(--simple-colors-default-theme-yellow-10);\n --chartist-color-6: var(--simple-colors-default-theme-orange-11);\n --chartist-color-7: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-8: var(--simple-colors-default-theme-amber-10);\n --chartist-color-9: var(--simple-colors-default-theme-pink-11);\n --chartist-color-10: var(--simple-colors-default-theme-yellow-9);\n --chartist-color-11: var(--simple-colors-default-theme-orange-10);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-13: var(--simple-colors-default-theme-amber-9);\n --chartist-color-14: var(--simple-colors-default-theme-pink-10);\n --chartist-color-15: var(--simple-colors-default-theme-yellow-11);\n }\n\n :host([accent-color=\"deep-orange\"]) {\n --chartist-color-1: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-2: var(--simple-colors-default-theme-red-10);\n --chartist-color-3: var(--simple-colors-default-theme-orange-11);\n --chartist-color-4: var(--simple-colors-default-theme-purple-9);\n --chartist-color-5: var(--simple-colors-default-theme-amber-10);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-7: var(--simple-colors-default-theme-red-9);\n --chartist-color-8: var(--simple-colors-default-theme-orange-10);\n --chartist-color-9: var(--simple-colors-default-theme-purple-11);\n --chartist-color-10: var(--simple-colors-default-theme-amber-9);\n --chartist-color-11: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-12: var(--simple-colors-default-theme-red-11);\n --chartist-color-13: var(--simple-colors-default-theme-orange-9);\n --chartist-color-14: var(--simple-colors-default-theme-purple-10);\n --chartist-color-15: var(--simple-colors-default-theme-amber-11);\n }\n\n :host([accent-color=\"brown\"]) {\n --chartist-color-1: var(--simple-colors-default-theme-brown-9);\n --chartist-color-2: var(--simple-colors-default-theme-red-10);\n --chartist-color-3: var(\n --simple-colors-default-theme-deep-orange-11\n );\n --chartist-color-4: var(--simple-colors-default-theme-brown-12);\n --chartist-color-5: var(--simple-colors-default-theme-red-13);\n --chartist-color-6: var(\n --simple-colors-default-theme-deep-orange-9\n );\n --chartist-color-7: var(--simple-colors-default-theme-brown-10);\n --chartist-color-8: var(--simple-colors-default-theme-red-11);\n --chartist-color-9: var(\n --simple-colors-default-theme-deep-orange-12\n );\n --chartist-color-10: var(--simple-colors-default-theme-brown-13);\n --chartist-color-11: var(--simple-colors-default-theme-red-9);\n --chartist-color-12: var(\n --simple-colors-default-theme-deep-orange-10\n );\n --chartist-color-13: var(--simple-colors-default-theme-brown-11);\n --chartist-color-14: var(--simple-colors-default-theme-red-12);\n --chartist-color-15: var(\n --simple-colors-default-theme-deep-orange-13\n );\n }\n\n #chart,\n ::slotted(table) {\n font-family: sans-serif;\n --chartist-grid-color: var(--simple-colors-default-theme-grey-6);\n --chartist-bg-color: var(--simple-colors-default-theme-grey-1);\n --chartist-text-color: var(--simple-colors-default-theme-grey-12);\n }\n\n :host([label-position=\"inside\"]) .ct-label {\n --chartist-text-color: var(--simple-colors-default-theme-grey-1);\n }\n\n :host([dark]) ::slotted(table) {\n --chartist-text-color: var(--simple-colors-default-theme-grey-12);\n --chartist-grid-color: var(--simple-colors-default-theme-grey-6);\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-comment/lrndesign-comment.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-comment/lrndesign-comment.js index ea75219c32c..7606a345622 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-comment/lrndesign-comment.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-comment/lrndesign-comment.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../lrndesign-av }); _exports.LrndesignComment = void 0; - var _templateObject_472611c01da511ed9d313b9780b2ae17; + var _templateObject_194263901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -32,7 +32,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../lrndesign-av babelHelpers.createClass(LrndesignComment, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_472611c01da511ed9d313b9780b2ae17 || (_templateObject_472611c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n
        \n {{name}}\n \n
        \n
        \n
        {{links}}
        \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_194263901e5811ed81a80d03c17d190b || (_templateObject_194263901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n
        \n {{name}}\n \n
        \n
        \n
        {{links}}
        \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contactcard/lrndesign-contactcard.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contactcard/lrndesign-contactcard.js index 258d7294022..7782c37da7f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contactcard/lrndesign-contactcard.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contactcard/lrndesign-contactcard.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s _exports.LrndesignContactcard = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_4727e6801da511ed9d313b9780b2ae17; + var _templateObject_19d1ab401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -42,7 +42,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s babelHelpers.createClass(LrndesignContactcard, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_4727e6801da511ed9d313b9780b2ae17 || (_templateObject_4727e6801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n
        \n \n
        \n
        [[position]]
        \n
        [[organization]]
        \n
        \n
        \n \n \n \n \n
        \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_19d1ab401e5811ed81a80d03c17d190b || (_templateObject_19d1ab401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n
        \n \n
        \n
        [[position]]
        \n
        [[organization]]
        \n
        \n
        \n \n \n \n \n
        \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contentblock/lrndesign-contentblock.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contentblock/lrndesign-contentblock.js index 4ee9a4fd915..85e04248bf9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contentblock/lrndesign-contentblock.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-contentblock/lrndesign-contentblock.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }); _exports.LrndesignContentblock = void 0; - var _templateObject_47291f001da511ed9d313b9780b2ae17; + var _templateObject_1b7633801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -31,7 +31,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo babelHelpers.createClass(LrndesignContentblock, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_47291f001da511ed9d313b9780b2ae17 || (_templateObject_47291f001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n

        [[title]]

        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1b7633801e5811ed81a80d03c17d190b || (_templateObject_1b7633801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n

        [[title]]

        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-course-banner/lrndesign-course-banner.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-course-banner/lrndesign-course-banner.js index 0eed139631f..cf08f471622 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-course-banner/lrndesign-course-banner.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-course-banner/lrndesign-course-banner.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js"], func _exports.LrndesignCourseBanner = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_472b90001da511ed9d313b9780b2ae17; + var _templateObject_19d46a601e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -41,7 +41,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js"], func babelHelpers.createClass(LrndesignCourseBanner, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_472b90001da511ed9d313b9780b2ae17 || (_templateObject_472b90001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n
        \n
        [[name]]
        \n
        [[title]]
        \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_19d46a601e5811ed81a80d03c17d190b || (_templateObject_19d46a601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n
        \n
        [[name]]
        \n
        [[title]]
        \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-drawer/lrndesign-drawer.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-drawer/lrndesign-drawer.js index 192c9635ec3..03a220379cd 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-drawer/lrndesign-drawer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-drawer/lrndesign-drawer.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s _exports.LrndesignDrawer = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_472dd9f01da511ed9d313b9780b2ae17; + var _templateObject_19d6db601e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -62,7 +62,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_472dd9f01da511ed9d313b9780b2ae17 || (_templateObject_472dd9f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n [[alt]]\n "]))); + return (0, _polymerElement.html)(_templateObject_19d6db601e5811ed81a80d03c17d190b || (_templateObject_19d6db601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n [[alt]]\n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-behaviors.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-behaviors.js index 0cacdf7a509..1890fe10153 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-behaviors.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-behaviors.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.LrndesignGalleryBehaviors = void 0; - var _templateObject_881b8e301da511ed9d313b9780b2ae17; + var _templateObject_5193f6001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -127,7 +127,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryBehaviors), "styles", this)), [(0, _index.css)(_templateObject_881b8e301da511ed9d313b9780b2ae17 || (_templateObject_881b8e301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border-radius: var(--lrndesign-gallery-border-radius, 0px);\n box-shadow: var(--lrndesign-gallery-box-shadow, unset);\n }\n\n :host([hidden]) {\n display: none;\n }\n :host {\n display: block;\n --lrndesign-gallery-color: var(--simple-colors-default-theme-grey-12);\n --lrndesign-gallery-background-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-focus-color: var(\n --simple-colors-default-theme-accent-9\n );\n --lrndesign-gallery-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --lrndesign-gallery-thumbnail-outline: 1px solid\n var(--simple-colors-default-theme-grey-12);\n\n --lrndesign-gallery-dialog-color: var(\n --simple-colors-default-theme-grey-12\n );\n --lrndesign-gallery-dialog-background-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-dialog-toggled-background-color: var(\n --simple-colors-default-theme-grey-2\n );\n --lrndesign-gallery-dialog-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --lrndesign-gallery-carousel-next-bg: linear-gradient(\n to right,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.5) 50%,\n rgba(255, 255, 255, 0.7) 70%,\n rgba(255, 255, 255, 0.9) 90%\n );\n --lrndesign-gallery-carousel-prev-bg: linear-gradient(\n to right,\n rgba(255, 255, 255, 0.9) 10%,\n rgba(255, 255, 255, 0.7) 30%,\n rgba(255, 255, 255, 0.5) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n --lrndesign-gallery-thumbnail-image: {\n display: block;\n border-radius: 3px;\n border: 2px solid transparent;\n }\n --lrndesign-gallery-thumbnail-image-focus: {\n opacity: 0.7;\n border: 2px solid var(--lrndesign-gallery-focus-color);\n }\n --lrndesign-gallery-thumbnail-image-selected: {\n opacity: 0.5;\n cursor: default;\n }\n }\n :host([dark]) {\n --lrndesign-gallery-background-color: var(\n --simple-colors-default-theme-grey-2\n );\n --lrndesign-gallery-border-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-carousel-next-bg: linear-gradient(\n to right,\n rgba(0, 0, 0, 0) 0%,\n rgba(0, 0, 0, 0.5) 50%,\n rgba(0, 0, 0, 0.7) 70%,\n rgba(0, 0, 0, 0.9) 90%\n );\n --lrndesign-gallery-carousel-prev-bg: linear-gradient(\n to right,\n rgba(0, 0, 0, 0.9) 10%,\n rgba(0, 0, 0, 0.7) 30%,\n rgba(0, 0, 0, 0.5) 50%,\n rgba(0, 0, 0, 0) 100%\n );\n }\n :host([hidden]) {\n display: none;\n }\n .sr-only {\n position: absolute;\n left: -999999;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n .gallerythumb {\n min-width: unset;\n max-width: 100%;\n padding: 0;\n margin: 0;\n display: inline-block;\n transform: none !important;\n position: static !important;\n cursor: pointer;\n }\n lrndesign-gallery-zoom {\n z-index: 2;\n }\n simple-tooltip {\n z-index: 2;\n }\n .zoombg {\n background-color: var(--lrndesign-gallery-dialog-background-color);\n opacity: 0.25;\n }\n .zoombg,\n .zoomicon {\n position: absolute;\n width: 24px;\n height: 24px;\n transition: opacity 0.5s ease-in-out;\n }\n lrndesign-gallery-zoom:focus-within .zoombg,\n lrndesign-gallery-zoom:hover .zoombg {\n opacity: 0;\n transition: opacity 0.5s ease-in-out;\n }\n .zoomicon {\n opacity: 0.75;\n color: var(--lrndesign-gallery-color);\n background-color: transparent;\n }\n lrndesign-gallery-zoom:focus-within .zoomicon,\n lrndesign-gallery-zoom:hover .zoomicon {\n opacity: 1;\n transition: opacity 0.5s ease-in-out;\n }\n @media print {\n #galleryscreen {\n display: none !important;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryBehaviors), "styles", this)), [(0, _index.css)(_templateObject_5193f6001e5811ed81a80d03c17d190b || (_templateObject_5193f6001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border-radius: var(--lrndesign-gallery-border-radius, 0px);\n box-shadow: var(--lrndesign-gallery-box-shadow, unset);\n }\n\n :host([hidden]) {\n display: none;\n }\n :host {\n display: block;\n --lrndesign-gallery-color: var(--simple-colors-default-theme-grey-12);\n --lrndesign-gallery-background-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-focus-color: var(\n --simple-colors-default-theme-accent-9\n );\n --lrndesign-gallery-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --lrndesign-gallery-thumbnail-outline: 1px solid\n var(--simple-colors-default-theme-grey-12);\n\n --lrndesign-gallery-dialog-color: var(\n --simple-colors-default-theme-grey-12\n );\n --lrndesign-gallery-dialog-background-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-dialog-toggled-background-color: var(\n --simple-colors-default-theme-grey-2\n );\n --lrndesign-gallery-dialog-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --lrndesign-gallery-carousel-next-bg: linear-gradient(\n to right,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.5) 50%,\n rgba(255, 255, 255, 0.7) 70%,\n rgba(255, 255, 255, 0.9) 90%\n );\n --lrndesign-gallery-carousel-prev-bg: linear-gradient(\n to right,\n rgba(255, 255, 255, 0.9) 10%,\n rgba(255, 255, 255, 0.7) 30%,\n rgba(255, 255, 255, 0.5) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n --lrndesign-gallery-thumbnail-image: {\n display: block;\n border-radius: 3px;\n border: 2px solid transparent;\n }\n --lrndesign-gallery-thumbnail-image-focus: {\n opacity: 0.7;\n border: 2px solid var(--lrndesign-gallery-focus-color);\n }\n --lrndesign-gallery-thumbnail-image-selected: {\n opacity: 0.5;\n cursor: default;\n }\n }\n :host([dark]) {\n --lrndesign-gallery-background-color: var(\n --simple-colors-default-theme-grey-2\n );\n --lrndesign-gallery-border-color: var(\n --simple-colors-default-theme-grey-1\n );\n --lrndesign-gallery-carousel-next-bg: linear-gradient(\n to right,\n rgba(0, 0, 0, 0) 0%,\n rgba(0, 0, 0, 0.5) 50%,\n rgba(0, 0, 0, 0.7) 70%,\n rgba(0, 0, 0, 0.9) 90%\n );\n --lrndesign-gallery-carousel-prev-bg: linear-gradient(\n to right,\n rgba(0, 0, 0, 0.9) 10%,\n rgba(0, 0, 0, 0.7) 30%,\n rgba(0, 0, 0, 0.5) 50%,\n rgba(0, 0, 0, 0) 100%\n );\n }\n :host([hidden]) {\n display: none;\n }\n .sr-only {\n position: absolute;\n left: -999999;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n .gallerythumb {\n min-width: unset;\n max-width: 100%;\n padding: 0;\n margin: 0;\n display: inline-block;\n transform: none !important;\n position: static !important;\n cursor: pointer;\n }\n lrndesign-gallery-zoom {\n z-index: 2;\n }\n simple-tooltip {\n z-index: 2;\n }\n .zoombg {\n background-color: var(--lrndesign-gallery-dialog-background-color);\n opacity: 0.25;\n }\n .zoombg,\n .zoomicon {\n position: absolute;\n width: 24px;\n height: 24px;\n transition: opacity 0.5s ease-in-out;\n }\n lrndesign-gallery-zoom:focus-within .zoombg,\n lrndesign-gallery-zoom:hover .zoombg {\n opacity: 0;\n transition: opacity 0.5s ease-in-out;\n }\n .zoomicon {\n opacity: 0.75;\n color: var(--lrndesign-gallery-color);\n background-color: transparent;\n }\n lrndesign-gallery-zoom:focus-within .zoomicon,\n lrndesign-gallery-zoom:hover .zoomicon {\n opacity: 1;\n transition: opacity 0.5s ease-in-out;\n }\n @media print {\n #galleryscreen {\n display: none !important;\n }\n }\n "])))]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-carousel.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-carousel.js index 5bc800d9c83..d7039dc8b1b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-carousel.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-carousel.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }); _exports.LrndesignGalleryCarousel = void 0; - var _templateObject_881f85d01da511ed9d313b9780b2ae17, _templateObject2_881f85d01da511ed9d313b9780b2ae17, _templateObject3_881f85d01da511ed9d313b9780b2ae17; + var _templateObject_5196dc301e5811ed81a80d03c17d190b, _templateObject2_5196dc301e5811ed81a80d03c17d190b, _templateObject3_5196dc301e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -72,12 +72,12 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", function render() { var _this = this; - return (0, _index.html)(_templateObject_881f85d01da511ed9d313b9780b2ae17 || (_templateObject_881f85d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A carousel of items:

        \n \n

        Slide ", ".

        \n
        \n \n \n
        \n \n \n \n Previous\n \n \n previous\n \n Next\n \n \n next\n
        \n
        \n \n \n \n \n \n \n
        \n

        \n ( End of slide ", ".)\n

        \n
        \n
        \n

        Slides list:

        \n ", "\n
        \n
        \n \n
        \n "])), this.dark, this.extraWide, this.responsiveSize, this.selected.xofy, this.selected.alt, this.selected.src, this.selected.details, this.selected.heading, this.selected.large, this.selected.tooltip, this.selected.alt, this.hideNav, !this.selected || this.selected.prev < 0, function (e) { + return (0, _index.html)(_templateObject_5196dc301e5811ed81a80d03c17d190b || (_templateObject_5196dc301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A carousel of items:

        \n \n

        Slide ", ".

        \n
        \n \n \n
        \n \n \n \n Previous\n \n \n previous\n \n Next\n \n \n next\n
        \n
        \n \n \n \n \n \n \n
        \n

        \n ( End of slide ", ".)\n

        \n
        \n
        \n

        Slides list:

        \n ", "\n
        \n
        \n \n
        \n "])), this.dark, this.extraWide, this.responsiveSize, this.selected.xofy, this.selected.alt, this.selected.src, this.selected.details, this.selected.heading, this.selected.large, this.selected.tooltip, this.selected.alt, this.hideNav, !this.selected || this.selected.prev < 0, function (e) { return _this._itemChanged(_this.selected ? _this.selected.prev : 0); }, this.hideNav, !this.selected || this.selected.next < 0, function (e) { return _this._itemChanged(_this.selected ? _this.selected.next : 0); }, !this.selected.title || this.selected.title == "", this.selected.title || "", this.selected.details || "", this.hideNav, this.selected.xofy, this.hideNav, this.hideNav, this.sources.map(function (item) { - return (0, _index.html)(_templateObject2_881f85d01da511ed9d313b9780b2ae17 || (_templateObject2_881f85d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n ", "\n
        \n "])), item.id, item.index, function (e) { + return (0, _index.html)(_templateObject2_5196dc301e5811ed81a80d03c17d190b || (_templateObject2_5196dc301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n ", "\n
        \n "])), item.id, item.index, function (e) { return _this._itemChanged(item.id); }, _this.selected.id === item.id, item.thumbnail, item.sizing || _this.sizing || "cover", item.gravity ? item.gravity.replace("-", " ") : "center", item.alt || "Item ".concat(parseInt(item.index) + 1), item.id, _this.selected.id === item.id, item.alt); })); @@ -109,7 +109,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryCarousel), "styles", this)), [(0, _index.css)(_templateObject3_881f85d01da511ed9d313b9780b2ae17 || (_templateObject3_881f85d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n --carousel-image-height: unset;\n border: 1px solid var(--lrndesign-gallery-border-color);\n }\n :host([hidden]),\n :host [hidden] {\n display: none !important;\n }\n :host([responsive-size=\"md\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-md, 200px);\n }\n :host([responsive-size=\"lg\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-lg, 300px);\n }\n :host([responsive-size=\"xl\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-xl, 400px);\n }\n :host([responsive-size*=\"s\"]),\n :host([extra-wide]) {\n --carousel-image-height: unset;\n --carousel-image-border-top: unset;\n }\n #carouselitem {\n width: 100%;\n color: var(--lrndesign-gallery-color);\n background-color: var(--lrndesign-gallery-background-color);\n border-top: var(--lrndesign-gallery-border-top);\n --carousel-image-flex: 0 0\n calc(\n var(--carousel-image-height, 200px) *\n var(--lrndesign-gallery-image-aspect, 1.33333333333)\n );\n }\n #carouselimage img.image {\n width: calc(\n var(--carousel-image-height, 200px) *\n var(--lrndesign-gallery-image-aspect, 1.33333333333)\n );\n object-fit: cover;\n }\n :host([responsive-size*=\"s\"]) #carouselimage img.image {\n width: 100%;\n }\n #carouselimage,\n #carouseltext,\n #thumbnails,\n .prevnextnav,\n :host(:not([responsive-size*=\"s\"]):not([extra-wide])) #carouselitem {\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n }\n #carouselitem,\n #carouselitem > * {\n height: var(--carousel-image-height);\n max-height: var(--carousel-image-height);\n }\n #carouselimage {\n flex: var(--carousel-image-flex);\n position: relative;\n }\n :host([extra-wide]) #carouselimage {\n width: 100%;\n padding-top: var(--lrndesign-gallery-image-height, 75%);\n }\n .prevnextnav {\n position: absolute;\n width: 100%;\n top: 0;\n bottom: 0;\n }\n .prevnextnav {\n align-items: center;\n opacity: 0;\n margin: 0;\n border-width: 0;\n border-radius: 0;\n color: var(--lrndesign-gallery-color);\n background-color: var(--lrndesign-gallery-background-color);\n --button-ink-color: var(--lrndesign-gallery-background-color);\n background: var(--lrndesign-gallery-next-bg);\n transition: opacity 0.5s;\n }\n .prevnextnav[hidden] {\n display: none;\n }\n #carouselnext {\n right: 0;\n width: 50%;\n }\n #carouselprev {\n left: 0;\n width: 50%;\n justify-content: flex-start;\n background: var(--lrndesign-gallery-prev-bg);\n }\n .prevnextnav:focus,\n .prevnextnav:hover {\n outline: none;\n opacity: 0.8;\n }\n .prevnextnav[disabled]:focus,\n .prevnextnav[disabled]:hover {\n cursor: not-allowed;\n opacity: 0.1;\n }\n .prevnextnav:focus simple-icon-lite,\n .prevnextnav:hover simple-icon-lite {\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n #carouselprev simple-icon-lite {\n position: absolute;\n left: 5px;\n }\n #carouselnext simple-icon-lite {\n position: absolute;\n right: 5px;\n }\n lrndesign-gallery-zoom {\n width: 24px;\n height: 24px;\n left: 5px;\n bottom: 5px;\n position: absolute;\n }\n lrndesign-gallery-zoom {\n border: 1px solid transparent;\n transition: outline 0.25s ease-in-out;\n }\n lrndesign-gallery-zoom:focus-within,\n lrndesign-gallery-zoom:hover {\n border: 1px solid var(--lrndesign-gallery-color);\n transition: outline 0.25s ease-in-out;\n }\n .zoombg,\n .zoomicon {\n top: 0;\n left: 0;\n }\n #carouseltext {\n position: relative;\n flex-direction: column;\n }\n :host([responsive-size=\"xs\"]) #carouseltext,\n :host([extra-wide]) #carouseltext {\n margin-top: -4px;\n border-top: 4px solid var(--lrndesign-gallery-focus-color);\n }\n #carouseltext > * {\n margin: 5px 5px 5px 10px;\n }\n #carouseltext,\n #details {\n flex: 1 1 auto;\n }\n #itemtitle,\n #thumbails {\n flex: 0 0 auto;\n }\n #itemtitle {\n font-size: 160%;\n }\n #details {\n overflow-y: auto;\n }\n #thumbnails {\n flex-direction: row;\n flex-wrap: wrap;\n flex: 0 0 auto;\n height: 46px;\n justify-content: flex-start;\n overflow-x: auto;\n }\n .gallerythumb,\n .gallerythumb img {\n width: 40px;\n height: 40px;\n }\n .gallerythumb {\n margin: 0 3px;\n background-color: transparent;\n background-image: var(--lrndesign-gallery-thumb-url);\n background-position: center;\n background-repeat: no-repeat;\n }\n .gallerythumb img {\n outline: 1px solid var(--lrndesign-gallery-color);\n transition: all 0.25s ease-in-out;\n }\n .gallerythumb:not([disabled]):hover img,\n .gallerythumb:not([disabled]):focus img {\n width: 42px;\n height: 42px;\n outline: 1px solid var(--lrndesign-gallery-focus-color);\n transition: all 0.25s ease-in-out;\n }\n .x-of-y {\n font-size: 85%;\n font-style: italic;\n text-align: right;\n padding: 0;\n margin: 0;\n }\n #xystart,\n #xyend {\n margin: 0;\n position: absolute;\n right: 10px;\n top: 10px;\n font-size: 80%;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryCarousel), "styles", this)), [(0, _index.css)(_templateObject3_5196dc301e5811ed81a80d03c17d190b || (_templateObject3_5196dc301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n --carousel-image-height: unset;\n border: 1px solid var(--lrndesign-gallery-border-color);\n }\n :host([hidden]),\n :host [hidden] {\n display: none !important;\n }\n :host([responsive-size=\"md\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-md, 200px);\n }\n :host([responsive-size=\"lg\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-lg, 300px);\n }\n :host([responsive-size=\"xl\"]) {\n --carousel-image-border-top: 4px solid\n var(--lrndesign-gallery-focus-color);\n --lrndesign-gallery-image-height: unset;\n --carousel-image-height: var(--carousel-image-height-xl, 400px);\n }\n :host([responsive-size*=\"s\"]),\n :host([extra-wide]) {\n --carousel-image-height: unset;\n --carousel-image-border-top: unset;\n }\n #carouselitem {\n width: 100%;\n color: var(--lrndesign-gallery-color);\n background-color: var(--lrndesign-gallery-background-color);\n border-top: var(--lrndesign-gallery-border-top);\n --carousel-image-flex: 0 0\n calc(\n var(--carousel-image-height, 200px) *\n var(--lrndesign-gallery-image-aspect, 1.33333333333)\n );\n }\n #carouselimage img.image {\n width: calc(\n var(--carousel-image-height, 200px) *\n var(--lrndesign-gallery-image-aspect, 1.33333333333)\n );\n object-fit: cover;\n }\n :host([responsive-size*=\"s\"]) #carouselimage img.image {\n width: 100%;\n }\n #carouselimage,\n #carouseltext,\n #thumbnails,\n .prevnextnav,\n :host(:not([responsive-size*=\"s\"]):not([extra-wide])) #carouselitem {\n display: flex;\n justify-content: space-between;\n align-items: stretch;\n }\n #carouselitem,\n #carouselitem > * {\n height: var(--carousel-image-height);\n max-height: var(--carousel-image-height);\n }\n #carouselimage {\n flex: var(--carousel-image-flex);\n position: relative;\n }\n :host([extra-wide]) #carouselimage {\n width: 100%;\n padding-top: var(--lrndesign-gallery-image-height, 75%);\n }\n .prevnextnav {\n position: absolute;\n width: 100%;\n top: 0;\n bottom: 0;\n }\n .prevnextnav {\n align-items: center;\n opacity: 0;\n margin: 0;\n border-width: 0;\n border-radius: 0;\n color: var(--lrndesign-gallery-color);\n background-color: var(--lrndesign-gallery-background-color);\n --button-ink-color: var(--lrndesign-gallery-background-color);\n background: var(--lrndesign-gallery-next-bg);\n transition: opacity 0.5s;\n }\n .prevnextnav[hidden] {\n display: none;\n }\n #carouselnext {\n right: 0;\n width: 50%;\n }\n #carouselprev {\n left: 0;\n width: 50%;\n justify-content: flex-start;\n background: var(--lrndesign-gallery-prev-bg);\n }\n .prevnextnav:focus,\n .prevnextnav:hover {\n outline: none;\n opacity: 0.8;\n }\n .prevnextnav[disabled]:focus,\n .prevnextnav[disabled]:hover {\n cursor: not-allowed;\n opacity: 0.1;\n }\n .prevnextnav:focus simple-icon-lite,\n .prevnextnav:hover simple-icon-lite {\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n #carouselprev simple-icon-lite {\n position: absolute;\n left: 5px;\n }\n #carouselnext simple-icon-lite {\n position: absolute;\n right: 5px;\n }\n lrndesign-gallery-zoom {\n width: 24px;\n height: 24px;\n left: 5px;\n bottom: 5px;\n position: absolute;\n }\n lrndesign-gallery-zoom {\n border: 1px solid transparent;\n transition: outline 0.25s ease-in-out;\n }\n lrndesign-gallery-zoom:focus-within,\n lrndesign-gallery-zoom:hover {\n border: 1px solid var(--lrndesign-gallery-color);\n transition: outline 0.25s ease-in-out;\n }\n .zoombg,\n .zoomicon {\n top: 0;\n left: 0;\n }\n #carouseltext {\n position: relative;\n flex-direction: column;\n }\n :host([responsive-size=\"xs\"]) #carouseltext,\n :host([extra-wide]) #carouseltext {\n margin-top: -4px;\n border-top: 4px solid var(--lrndesign-gallery-focus-color);\n }\n #carouseltext > * {\n margin: 5px 5px 5px 10px;\n }\n #carouseltext,\n #details {\n flex: 1 1 auto;\n }\n #itemtitle,\n #thumbails {\n flex: 0 0 auto;\n }\n #itemtitle {\n font-size: 160%;\n }\n #details {\n overflow-y: auto;\n }\n #thumbnails {\n flex-direction: row;\n flex-wrap: wrap;\n flex: 0 0 auto;\n height: 46px;\n justify-content: flex-start;\n overflow-x: auto;\n }\n .gallerythumb,\n .gallerythumb img {\n width: 40px;\n height: 40px;\n }\n .gallerythumb {\n margin: 0 3px;\n background-color: transparent;\n background-image: var(--lrndesign-gallery-thumb-url);\n background-position: center;\n background-repeat: no-repeat;\n }\n .gallerythumb img {\n outline: 1px solid var(--lrndesign-gallery-color);\n transition: all 0.25s ease-in-out;\n }\n .gallerythumb:not([disabled]):hover img,\n .gallerythumb:not([disabled]):focus img {\n width: 42px;\n height: 42px;\n outline: 1px solid var(--lrndesign-gallery-focus-color);\n transition: all 0.25s ease-in-out;\n }\n .x-of-y {\n font-size: 85%;\n font-style: italic;\n text-align: right;\n padding: 0;\n margin: 0;\n }\n #xystart,\n #xyend {\n margin: 0;\n position: absolute;\n right: 10px;\n top: 10px;\n font-size: 80%;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-details.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-details.js index a17261f5c3e..613509683bc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-details.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-details.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.LrndesignGalleryDetails = void 0; - var _templateObject_88215a901da511ed9d313b9780b2ae17, _templateObject2_88215a901da511ed9d313b9780b2ae17; + var _templateObject_519862d01e5811ed81a80d03c17d190b, _templateObject2_519862d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -38,7 +38,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_88215a901da511ed9d313b9780b2ae17 || (_templateObject_88215a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_519862d01e5811ed81a80d03c17d190b || (_templateObject_519862d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }, { key: "updated", @@ -68,7 +68,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_88215a901da511ed9d313b9780b2ae17 || (_templateObject2_88215a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n ::slotted(*:first-child) {\n margin-top: 0;\n }\n ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_519862d01e5811ed81a80d03c17d190b || (_templateObject2_519862d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n ::slotted(*:first-child) {\n margin-top: 0;\n }\n ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n "])))]; } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-grid.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-grid.js index cc868e48560..12575002490 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-grid.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-grid.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }); _exports.LrndesignGalleryGrid = void 0; - var _templateObject_882552301da511ed9d313b9780b2ae17, _templateObject2_882552301da511ed9d313b9780b2ae17, _templateObject3_882552301da511ed9d313b9780b2ae17; + var _templateObject_519b97201e5811ed81a80d03c17d190b, _templateObject2_519b97201e5811ed81a80d03c17d190b, _templateObject3_519b97201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,8 +56,8 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", value: function render() { var _this = this; - return (0, _index.html)(_templateObject_882552301da511ed9d313b9780b2ae17 || (_templateObject_882552301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A list of columns buttons items:

        \n
        \n ", "\n
        \n
        \n "])), this.sources.map(function (item) { - return (0, _index.html)(_templateObject2_882552301da511ed9d313b9780b2ae17 || (_templateObject2_882552301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n
        \n \n \n "])), item.id, item.details, item.heading, item.large, item.tooltip, item.zoomAlt, item.zoomAlt, _this._getStyle(item)); + return (0, _index.html)(_templateObject_519b97201e5811ed81a80d03c17d190b || (_templateObject_519b97201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A list of columns buttons items:

        \n
        \n ", "\n
        \n
        \n "])), this.sources.map(function (item) { + return (0, _index.html)(_templateObject2_519b97201e5811ed81a80d03c17d190b || (_templateObject2_519b97201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n
        \n \n \n "])), item.id, item.details, item.heading, item.large, item.tooltip, item.zoomAlt, item.zoomAlt, _this._getStyle(item)); })); } }, { @@ -84,7 +84,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryGrid), "styles", this)), [(0, _index.css)(_templateObject3_882552301da511ed9d313b9780b2ae17 || (_templateObject3_882552301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n max-width: 100%;\n display: block;\n }\n #galleryscreen {\n display: grid;\n grid-gap: 7.5px;\n grid-template-columns: repeat(2, 1fr);\n }\n :host([responsive-size=\"sm\"]) #galleryscreen {\n grid-template-columns: repeat(3, 1fr);\n }\n :host([responsive-size=\"md\"]) #galleryscreen {\n grid-template-columns: repeat(4, 1fr);\n }\n :host([responsive-size=\"lg\"]) #galleryscreen {\n grid-template-columns: repeat(5, 1fr);\n }\n :host([responsive-size=\"xl\"]) #galleryscreen {\n grid-template-columns: repeat(6, 1fr);\n }\n lrndesign-gallery-zoom {\n position: relative;\n overflow: hidden;\n transition: outline 0.25s ease-in-out;\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n lrndesign-gallery-zoom:hover,\n lrndesign-gallery-zoom:focus,\n lrndesign-gallery-zoom:focus-within {\n transition: outline 0.25s ease-in-out;\n outline: 2px solid var(--lrndesign-gallery-focus-color);\n }\n lrndesign-gallery-zoom img {\n position: absolute;\n opacity: 0 !important;\n }\n .imgbg {\n width: 100%;\n padding-top: var(--lrndesign-gallery-grid-paddingTop, 75%);\n background-image: var(--lrndesign-gallery-grid-backgroundImage, none);\n background-position: var(\n --lrndesign-gallery-grid-backgroundPosition,\n center\n );\n background-repeat: no-repeat;\n background-size: var(--lrndesign-gallery-grid-backgroundSize, cover);\n }\n .zoombg,\n .zoomicon {\n top: unset;\n bottom: 5px;\n left: 5px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryGrid), "styles", this)), [(0, _index.css)(_templateObject3_519b97201e5811ed81a80d03c17d190b || (_templateObject3_519b97201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n max-width: 100%;\n display: block;\n }\n #galleryscreen {\n display: grid;\n grid-gap: 7.5px;\n grid-template-columns: repeat(2, 1fr);\n }\n :host([responsive-size=\"sm\"]) #galleryscreen {\n grid-template-columns: repeat(3, 1fr);\n }\n :host([responsive-size=\"md\"]) #galleryscreen {\n grid-template-columns: repeat(4, 1fr);\n }\n :host([responsive-size=\"lg\"]) #galleryscreen {\n grid-template-columns: repeat(5, 1fr);\n }\n :host([responsive-size=\"xl\"]) #galleryscreen {\n grid-template-columns: repeat(6, 1fr);\n }\n lrndesign-gallery-zoom {\n position: relative;\n overflow: hidden;\n transition: outline 0.25s ease-in-out;\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n lrndesign-gallery-zoom:hover,\n lrndesign-gallery-zoom:focus,\n lrndesign-gallery-zoom:focus-within {\n transition: outline 0.25s ease-in-out;\n outline: 2px solid var(--lrndesign-gallery-focus-color);\n }\n lrndesign-gallery-zoom img {\n position: absolute;\n opacity: 0 !important;\n }\n .imgbg {\n width: 100%;\n padding-top: var(--lrndesign-gallery-grid-paddingTop, 75%);\n background-image: var(--lrndesign-gallery-grid-backgroundImage, none);\n background-position: var(\n --lrndesign-gallery-grid-backgroundPosition,\n center\n );\n background-repeat: no-repeat;\n background-size: var(--lrndesign-gallery-grid-backgroundSize, cover);\n }\n .zoombg,\n .zoomicon {\n top: unset;\n bottom: 5px;\n left: 5px;\n }\n "])))]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-masonry.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-masonry.js index d69d8708d1d..c55f208642d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-masonry.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-masonry.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }); _exports.LrndesignGalleryMasonry = void 0; - var _templateObject_882af7801da511ed9d313b9780b2ae17, _templateObject2_882af7801da511ed9d313b9780b2ae17, _templateObject3_882af7801da511ed9d313b9780b2ae17, _templateObject4_882af7801da511ed9d313b9780b2ae17; + var _templateObject_519f67b01e5811ed81a80d03c17d190b, _templateObject2_519f67b01e5811ed81a80d03c17d190b, _templateObject3_519f67b01e5811ed81a80d03c17d190b, _templateObject4_519f67b01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -64,9 +64,9 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_882af7801da511ed9d313b9780b2ae17 || (_templateObject_882af7801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A list of columns buttons items:

        \n
        \n ", "\n
        \n
        \n "])), (this.__items || []).map(function (row, i) { - return (0, _index.html)(_templateObject2_882af7801da511ed9d313b9780b2ae17 || (_templateObject2_882af7801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), (row.cols || []).map(function (col, j) { - return (0, _index.html)(_templateObject3_882af7801da511ed9d313b9780b2ae17 || (_templateObject3_882af7801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n "])), col.id, col.details, col.heading, col.large, col.tooltip, col.zoomAlt, _this2._getStyle(col.aspect, row.aspect), col.alt, col.src, function (e) { + return (0, _index.html)(_templateObject_519f67b01e5811ed81a80d03c17d190b || (_templateObject_519f67b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        A list of columns buttons items:

        \n
        \n ", "\n
        \n
        \n "])), (this.__items || []).map(function (row, i) { + return (0, _index.html)(_templateObject2_519f67b01e5811ed81a80d03c17d190b || (_templateObject2_519f67b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), (row.cols || []).map(function (col, j) { + return (0, _index.html)(_templateObject3_519f67b01e5811ed81a80d03c17d190b || (_templateObject3_519f67b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n "])), col.id, col.details, col.heading, col.large, col.tooltip, col.zoomAlt, _this2._getStyle(col.aspect, row.aspect), col.alt, col.src, function (e) { return _this2._handleImgLoad(e); }); })); @@ -149,7 +149,7 @@ define(["exports", "../../../lit/index.js", "./lrndesign-gallery-behaviors.js", }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryMasonry), "styles", this)), [(0, _index.css)(_templateObject4_882af7801da511ed9d313b9780b2ae17 || (_templateObject4_882af7801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n max-width: 100%;\n display: block;\n }\n #galleryscreen > div {\n display: flex;\n align-items: stretch;\n justify-content: center;\n margin: 20px 0;\n }\n lrndesign-gallery-zoom {\n position: relative;\n margin: 0 10px;\n flex: 0 1 var(--lrndesign-gallery-image-width, 200px);\n max-width: 35%;\n }\n lrndesign-gallery-zoom,\n lrndesign-gallery-zoom:hover,\n lrndesign-gallery-zoom:focus,\n lrndesign-gallery-zoom:focus-within {\n border: 0px solid transparent;\n }\n lrndesign-gallery-zoom img {\n width: 100%;\n transition: outline 0.25s ease-in-out;\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n lrndesign-gallery-zoom:hover img,\n lrndesign-gallery-zoom:focus img,\n lrndesign-gallery-zoom:focus-within img {\n transition: outline 0.25s ease-in-out;\n outline: 2px solid var(--lrndesign-gallery-focus-color);\n }\n .zoombg,\n .zoomicon {\n top: unset;\n bottom: 5px;\n left: 5px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGalleryMasonry), "styles", this)), [(0, _index.css)(_templateObject4_519f67b01e5811ed81a80d03c17d190b || (_templateObject4_519f67b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin: 15px 0;\n padding: 0;\n max-width: 100%;\n display: block;\n }\n #galleryscreen > div {\n display: flex;\n align-items: stretch;\n justify-content: center;\n margin: 20px 0;\n }\n lrndesign-gallery-zoom {\n position: relative;\n margin: 0 10px;\n flex: 0 1 var(--lrndesign-gallery-image-width, 200px);\n max-width: 35%;\n }\n lrndesign-gallery-zoom,\n lrndesign-gallery-zoom:hover,\n lrndesign-gallery-zoom:focus,\n lrndesign-gallery-zoom:focus-within {\n border: 0px solid transparent;\n }\n lrndesign-gallery-zoom img {\n width: 100%;\n transition: outline 0.25s ease-in-out;\n outline: 1px solid var(--lrndesign-gallery-color);\n }\n lrndesign-gallery-zoom:hover img,\n lrndesign-gallery-zoom:focus img,\n lrndesign-gallery-zoom:focus-within img {\n transition: outline 0.25s ease-in-out;\n outline: 2px solid var(--lrndesign-gallery-focus-color);\n }\n .zoombg,\n .zoomicon {\n top: unset;\n bottom: 5px;\n left: 5px;\n }\n "])))]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-zoom.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-zoom.js index b02fd7252f5..08dfb891a17 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-zoom.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lib/lrndesign-gallery-zoom.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-tooltip/simple-tooltip }); _exports.LrndesignGalleryZoom = void 0; - var _templateObject_882dddb01da511ed9d313b9780b2ae17, _templateObject2_882dddb01da511ed9d313b9780b2ae17, _templateObject3_882dddb01da511ed9d313b9780b2ae17; + var _templateObject_51a226d01e5811ed81a80d03c17d190b, _templateObject2_51a226d01e5811ed81a80d03c17d190b, _templateObject3_51a226d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -62,7 +62,7 @@ define(["exports", "../../../lit/index.js", "../../simple-tooltip/simple-tooltip babelHelpers.createClass(LrndesignGalleryZoom, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_882dddb01da511ed9d313b9780b2ae17 || (_templateObject_882dddb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n "])), this.figures, this.toolbars, this.heading || "", this.tooltip, this.tooltip); + return (0, _index.html)(_templateObject_51a226d01e5811ed81a80d03c17d190b || (_templateObject_51a226d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "\n "])), this.figures, this.toolbars, this.heading || "", this.tooltip, this.tooltip); } // properties available to the custom element for data binding }, { @@ -70,7 +70,7 @@ define(["exports", "../../../lit/index.js", "../../simple-tooltip/simple-tooltip get: function get() { return [{ src: this.src, - info: (0, _index.html)(_templateObject2_882dddb01da511ed9d313b9780b2ae17 || (_templateObject2_882dddb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !this.details || !this.zoomAlt, this.details || this.zoomAlt) + info: (0, _index.html)(_templateObject2_51a226d01e5811ed81a80d03c17d190b || (_templateObject2_51a226d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), !this.details || !this.zoomAlt, this.details || this.zoomAlt) }]; } }, { @@ -121,7 +121,7 @@ define(["exports", "../../../lit/index.js", "../../simple-tooltip/simple-tooltip }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_882dddb01da511ed9d313b9780b2ae17 || (_templateObject3_882dddb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: none;\n }\n :host([hidden]) {\n display: none;\n }\n #zoombtn {\n display: block;\n width: 100%;\n padding: 0;\n margin: 0;\n border-width: 0;\n background-color: transparent;\n }\n simple-modal-template[modal-id=\"zoomdialog\"] {\n --img-view-modal-backgroundColor: var(\n --lrndesign-gallery-dialog-background-color\n );\n --img-view-modal-color: var(--lrndesign-gallery-dialog-color);\n --img-view-modal-borderColor: var(\n --lrndesign-gallery-dialog-border-color\n );\n --img-view-modal-toggled-backgroundColor: var(\n --lrndesign-gallery-dialog-toggled-background-color\n );\n }\n "])))]; + return [(0, _index.css)(_templateObject3_51a226d01e5811ed81a80d03c17d190b || (_templateObject3_51a226d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: none;\n }\n :host([hidden]) {\n display: none;\n }\n #zoombtn {\n display: block;\n width: 100%;\n padding: 0;\n margin: 0;\n border-width: 0;\n background-color: transparent;\n }\n simple-modal-template[modal-id=\"zoomdialog\"] {\n --img-view-modal-backgroundColor: var(\n --lrndesign-gallery-dialog-background-color\n );\n --img-view-modal-color: var(--lrndesign-gallery-dialog-color);\n --img-view-modal-borderColor: var(\n --lrndesign-gallery-dialog-border-color\n );\n --img-view-modal-toggled-backgroundColor: var(\n --lrndesign-gallery-dialog-toggled-background-color\n );\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lrndesign-gallery.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lrndesign-gallery.js index ec6d5210c5c..59f3e87a492 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lrndesign-gallery.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallery/lrndesign-gallery.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/lrndesign-gallery-behaviors.js", }); _exports.LrndesignGallery = void 0; - var _templateObject_47363e601da511ed9d313b9780b2ae17, _templateObject2_47363e601da511ed9d313b9780b2ae17, _templateObject3_47363e601da511ed9d313b9780b2ae17, _templateObject4_47363e601da511ed9d313b9780b2ae17, _templateObject5_47363e601da511ed9d313b9780b2ae17, _templateObject6_47363e601da511ed9d313b9780b2ae17, _templateObject7_47363e601da511ed9d313b9780b2ae17; + var _templateObject_19dfb5001e5811ed81a80d03c17d190b, _templateObject2_19dfb5001e5811ed81a80d03c17d190b, _templateObject3_19dfb5001e5811ed81a80d03c17d190b, _templateObject4_19dfb5001e5811ed81a80d03c17d190b, _templateObject5_19dfb5001e5811ed81a80d03c17d190b, _templateObject6_19dfb5001e5811ed81a80d03c17d190b, _templateObject7_19dfb5001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -53,13 +53,13 @@ define(["exports", "../../lit/index.js", "./lib/lrndesign-gallery-behaviors.js", function render() { var _this2 = this; - return (0, _index.html)(_templateObject_47363e601da511ed9d313b9780b2ae17 || (_templateObject_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n
        \n ", "\n \n ", ""])), this.aspectRatio, 100 / this.aspectRatio, this.editMode ? (0, _index.html)(_templateObject2_47363e601da511ed9d313b9780b2ae17 || (_templateObject2_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))) : this.layout === "masonry" ? (0, _index.html)(_templateObject3_47363e601da511ed9d313b9780b2ae17 || (_templateObject3_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { + return (0, _index.html)(_templateObject_19dfb5001e5811ed81a80d03c17d190b || (_templateObject_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n
        \n ", "\n \n ", ""])), this.aspectRatio, 100 / this.aspectRatio, this.editMode ? (0, _index.html)(_templateObject2_19dfb5001e5811ed81a80d03c17d190b || (_templateObject2_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))) : this.layout === "masonry" ? (0, _index.html)(_templateObject3_19dfb5001e5811ed81a80d03c17d190b || (_templateObject3_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { return _this2.goToItem(e.detail); - }, this.responsiveSize, this.selected, this.items) : this.grid || this.layout === "grid" ? (0, _index.html)(_templateObject4_47363e601da511ed9d313b9780b2ae17 || (_templateObject4_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { + }, this.responsiveSize, this.selected, this.items) : this.grid || this.layout === "grid" ? (0, _index.html)(_templateObject4_19dfb5001e5811ed81a80d03c17d190b || (_templateObject4_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { return _this2.goToItem(e.detail); - }, this.responsiveSize, this.selected, this.sizing === "cover" || "contain", this.items) : (0, _index.html)(_templateObject5_47363e601da511ed9d313b9780b2ae17 || (_templateObject5_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { + }, this.responsiveSize, this.selected, this.sizing === "cover" || "contain", this.items) : (0, _index.html)(_templateObject5_19dfb5001e5811ed81a80d03c17d190b || (_templateObject5_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "])), this.accentColor, this.aspect, this.extra, this.dark, this.id, function (e) { return _this2.goToItem(e.detail); - }, this.responsiveSize, this.selected, this.sizing === "cover" || "contain", this.items), this.editMode ? "" : (0, _index.html)(_templateObject6_47363e601da511ed9d313b9780b2ae17 || (_templateObject6_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])))); + }, this.responsiveSize, this.selected, this.sizing === "cover" || "contain", this.items), this.editMode ? "" : (0, _index.html)(_templateObject6_19dfb5001e5811ed81a80d03c17d190b || (_templateObject6_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])))); } // haxProperty definition }, { @@ -290,7 +290,7 @@ define(["exports", "../../lit/index.js", "./lib/lrndesign-gallery-behaviors.js", key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGallery), "styles", this)), [(0, _index.css)(_templateObject7_47363e601da511ed9d313b9780b2ae17 || (_templateObject7_47363e601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(figure) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: space-between;\n margin-top: 15px;\n margin-bottom: 15px;\n padding: 5px;\n max-width: 400px;\n border: 1px solid #ddd;\n page-break-inside: avoid;\n }\n\n :host([edit-mode]) #figures {\n display: grid;\n grid-gap: 5px;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n }\n\n :host([edit-mode]) ::slotted(figure) {\n padding: 5px;\n margin: 0;\n width: calc(100% - 10px);\n }\n\n @media screen {\n :host(:not([edit-mode])) ::slotted(figure) {\n display: none;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignGallery), "styles", this)), [(0, _index.css)(_templateObject7_19dfb5001e5811ed81a80d03c17d190b || (_templateObject7_19dfb5001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(figure) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: space-between;\n margin-top: 15px;\n margin-bottom: 15px;\n padding: 5px;\n max-width: 400px;\n border: 1px solid #ddd;\n page-break-inside: avoid;\n }\n\n :host([edit-mode]) #figures {\n display: grid;\n grid-gap: 5px;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n }\n\n :host([edit-mode]) ::slotted(figure) {\n padding: 5px;\n margin: 0;\n width: calc(100% - 10px);\n }\n\n @media screen {\n :host(:not([edit-mode])) ::slotted(figure) {\n display: none;\n }\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallerycard/lrndesign-gallerycard.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallerycard/lrndesign-gallerycard.js index 0c8985865ce..e5439190903 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallerycard/lrndesign-gallerycard.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-gallerycard/lrndesign-gallerycard.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.LrndesignGallerycard = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_473999c01da511ed9d313b9780b2ae17, _templateObject2_473999c01da511ed9d313b9780b2ae17, _templateObject3_473999c01da511ed9d313b9780b2ae17, _templateObject4_473999c01da511ed9d313b9780b2ae17; + var _templateObject_19e337701e5811ed81a80d03c17d190b, _templateObject2_19e337701e5811ed81a80d03c17d190b, _templateObject3_19e337701e5811ed81a80d03c17d190b, _templateObject4_19e337701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -75,7 +75,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_473999c01da511ed9d313b9780b2ae17 || (_templateObject_473999c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n ", "\n ", "\n
        \n
        \n
        \n
        ", "
        \n
        \n
        \n
        \n \n
        \n
        ", "
        \n Comments: ", "\n
        \n
        \n
        \n "])), this.icon ? (0, _index.html)(_templateObject2_473999c01da511ed9d313b9780b2ae17 || (_templateObject2_473999c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.image ? (0, _index.html)(_templateObject3_473999c01da511ed9d313b9780b2ae17 || (_templateObject3_473999c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image) : "", this.title, this.author.name, this.author.avatar, this.author.display_name, this.comments); + return (0, _index.html)(_templateObject_19e337701e5811ed81a80d03c17d190b || (_templateObject_19e337701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n ", "\n ", "\n
        \n
        \n
        \n
        ", "
        \n
        \n
        \n
        \n \n
        \n
        ", "
        \n Comments: ", "\n
        \n
        \n
        \n "])), this.icon ? (0, _index.html)(_templateObject2_19e337701e5811ed81a80d03c17d190b || (_templateObject2_19e337701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.image ? (0, _index.html)(_templateObject3_19e337701e5811ed81a80d03c17d190b || (_templateObject3_19e337701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image) : "", this.title, this.author.name, this.author.avatar, this.author.display_name, this.comments); } }, { key: "_mouseEnter", @@ -90,7 +90,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_473999c01da511ed9d313b9780b2ae17 || (_templateObject4_473999c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([size=\"micro\"]) {\n transform: scale(0.5);\n }\n :host([size=\"small\"]) {\n transform: scale(0.8);\n }\n\n div.card {\n border-radius: 4px;\n margin: 0;\n width: 100%;\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n }\n\n .card-actions {\n background-color: #f5f5f5;\n border-radius: 0 0 4px 4px;\n padding: 0 8px;\n }\n .card-actions .card-action-details {\n display: inline-block;\n vertical-align: middle;\n vertical-align: -webkit-baseline-middle;\n width: 80%;\n }\n #avatar {\n display: inline-block;\n vertical-align: text-top;\n transform: scale(0.8);\n }\n\n .card-control-height {\n height: 216px;\n }\n\n :host([elevation=\"0\"]) {\n border: solid 1px #eeeeee;\n }\n\n :host([elevation=\"1\"]) {\n box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);\n }\n :host([elevation=\"2\"]) {\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n }\n\n .text-right {\n text-align: right;\n }\n\n .text-left {\n text-align: left;\n }\n .author {\n text-align: left;\n font-size: 12px;\n line-height: 12px;\n color: black;\n display: block;\n padding: 8px;\n }\n\n .title {\n color: #222;\n font-size: 12.8px;\n font-weight: 600;\n line-height: 20px;\n padding: 0 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-top: 8px;\n }\n\n .comments {\n font-size: 12px;\n float: right;\n color: black;\n line-height: 12px;\n }\n\n .divider {\n height: 1px;\n width: 100%;\n background: #efefef;\n }\n\n .project-icon {\n --simple-icon-height: 100%;\n --simple-icon-width: 100%;\n overflow: hidden;\n color: grey;\n }\n .project-icon:hover,\n .project-icon:focus {\n color: black;\n }\n\n .center {\n margin: auto;\n width: 80%;\n padding: 16px;\n }\n\n .link {\n font-size: 16px;\n line-height: 16px;\n }\n\n .submission-info {\n width: 100%;\n }\n .submission-preview {\n height: 160px;\n }\n\n .card-content {\n padding: 0;\n margin: 0;\n overflow: hidden;\n }\n\n .inline {\n display: inline;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_19e337701e5811ed81a80d03c17d190b || (_templateObject4_19e337701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([size=\"micro\"]) {\n transform: scale(0.5);\n }\n :host([size=\"small\"]) {\n transform: scale(0.8);\n }\n\n div.card {\n border-radius: 4px;\n margin: 0;\n width: 100%;\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n }\n\n .card-actions {\n background-color: #f5f5f5;\n border-radius: 0 0 4px 4px;\n padding: 0 8px;\n }\n .card-actions .card-action-details {\n display: inline-block;\n vertical-align: middle;\n vertical-align: -webkit-baseline-middle;\n width: 80%;\n }\n #avatar {\n display: inline-block;\n vertical-align: text-top;\n transform: scale(0.8);\n }\n\n .card-control-height {\n height: 216px;\n }\n\n :host([elevation=\"0\"]) {\n border: solid 1px #eeeeee;\n }\n\n :host([elevation=\"1\"]) {\n box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);\n }\n :host([elevation=\"2\"]) {\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n }\n\n .text-right {\n text-align: right;\n }\n\n .text-left {\n text-align: left;\n }\n .author {\n text-align: left;\n font-size: 12px;\n line-height: 12px;\n color: black;\n display: block;\n padding: 8px;\n }\n\n .title {\n color: #222;\n font-size: 12.8px;\n font-weight: 600;\n line-height: 20px;\n padding: 0 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-top: 8px;\n }\n\n .comments {\n font-size: 12px;\n float: right;\n color: black;\n line-height: 12px;\n }\n\n .divider {\n height: 1px;\n width: 100%;\n background: #efefef;\n }\n\n .project-icon {\n --simple-icon-height: 100%;\n --simple-icon-width: 100%;\n overflow: hidden;\n color: grey;\n }\n .project-icon:hover,\n .project-icon:focus {\n color: black;\n }\n\n .center {\n margin: auto;\n width: 80%;\n padding: 16px;\n }\n\n .link {\n font-size: 16px;\n line-height: 16px;\n }\n\n .submission-info {\n width: 100%;\n }\n .submission-preview {\n height: 160px;\n }\n\n .card-content {\n padding: 0;\n margin: 0;\n overflow: hidden;\n }\n\n .inline {\n display: inline;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lib/lrndesign-imagemap-hotspot.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lib/lrndesign-imagemap-hotspot.js index e1fb32d0f0f..221e2d481bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lib/lrndesign-imagemap-hotspot.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lib/lrndesign-imagemap-hotspot.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req _exports.LrndesignImagemapHotspot = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8831ae401da511ed9d313b9780b2ae17, _templateObject2_8831ae401da511ed9d313b9780b2ae17; + var _templateObject_51a497d01e5811ed81a80d03c17d190b, _templateObject2_51a497d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -49,7 +49,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req * LitElement render */ function render() { - return (0, _index.html)(_templateObject_8831ae401da511ed9d313b9780b2ae17 || (_templateObject_8831ae401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n

        ", "

        \n
        \n
        \n
        \n \n
        \n "])), this.label); + return (0, _index.html)(_templateObject_51a497d01e5811ed81a80d03c17d190b || (_templateObject_51a497d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n

        ", "

        \n
        \n
        \n
        \n \n
        \n "])), this.label); } }, { key: "loadSvg", @@ -85,7 +85,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_8831ae401da511ed9d313b9780b2ae17 || (_templateObject2_8831ae401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n @media print {\n :host {\n display: block;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51a497d01e5811ed81a80d03c17d190b || (_templateObject2_51a497d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n @media print {\n :host {\n display: block;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lrndesign-imagemap.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lrndesign-imagemap.js index 900507a7d2a..46e128d6334 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lrndesign-imagemap.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-imagemap/lrndesign-imagemap.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.LrndesignImagemap = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_473f66201da511ed9d313b9780b2ae17, _templateObject2_473f66201da511ed9d313b9780b2ae17, _templateObject3_473f66201da511ed9d313b9780b2ae17, _templateObject4_473f66201da511ed9d313b9780b2ae17; + var _templateObject_19e92ae01e5811ed81a80d03c17d190b, _templateObject2_19e92ae01e5811ed81a80d03c17d190b, _templateObject3_19e92ae01e5811ed81a80d03c17d190b, _templateObject4_19e92ae01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -51,7 +51,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir babelHelpers.createClass(LrndesignImagemap, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_473f66201da511ed9d313b9780b2ae17 || (_templateObject_473f66201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n ", "\n \n
        \n \n
        \n
        \n \n \n \n

        ", "

        \n \n \n \n
        \n \n "])), this.parent || this.subtopicOf, this.label ? (0, _index.html)(_templateObject2_473f66201da511ed9d313b9780b2ae17 || (_templateObject2_473f66201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.label) : (0, _index.html)(_templateObject3_473f66201da511ed9d313b9780b2ae17 || (_templateObject3_473f66201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))), !this.__activeHotspot, !this.__activeHotspot ? "bottom" : this.__activeHotspot.position, !this.__activeHotspot ? undefined : this.__activeHotspot.id, !this.__activeHotspot ? undefined : this.__activeHotspot.id, !this.__activeHotspot ? "" : this.__activeHotspot.label); + return (0, _index.html)(_templateObject_19e92ae01e5811ed81a80d03c17d190b || (_templateObject_19e92ae01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n ", "\n \n
        \n \n
        \n
        \n \n \n \n

        ", "

        \n \n \n \n
        \n \n "])), this.parent || this.subtopicOf, this.label ? (0, _index.html)(_templateObject2_19e92ae01e5811ed81a80d03c17d190b || (_templateObject2_19e92ae01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.label) : (0, _index.html)(_templateObject3_19e92ae01e5811ed81a80d03c17d190b || (_templateObject3_19e92ae01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))), !this.__activeHotspot, !this.__activeHotspot ? "bottom" : this.__activeHotspot.position, !this.__activeHotspot ? undefined : this.__activeHotspot.id, !this.__activeHotspot ? undefined : this.__activeHotspot.id, !this.__activeHotspot ? "" : this.__activeHotspot.label); } }, { key: "firstUpdated", @@ -211,7 +211,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_473f66201da511ed9d313b9780b2ae17 || (_templateObject4_473f66201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host #buttons {\n position: absolute;\n left: -999999px;\n top: 0;\n overflow: hidden;\n opacity: 0;\n }\n\n simple-popover {\n max-width: var(--lrndesign-imagemap-popover-maxWidth, 525px);\n max-height: var(--lrndesign-imagemap-popover-maxHeight, 300px);\n }\n simple-popover[for=\"\"] {\n display: none;\n }\n simple-popover .sub-heading > *:first-child {\n margin: 0 0 10px;\n }\n\n @media print {\n #svg,\n simple-popover {\n display: none;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject4_19e92ae01e5811ed81a80d03c17d190b || (_templateObject4_19e92ae01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host #buttons {\n position: absolute;\n left: -999999px;\n top: 0;\n overflow: hidden;\n opacity: 0;\n }\n\n simple-popover {\n max-width: var(--lrndesign-imagemap-popover-maxWidth, 525px);\n max-height: var(--lrndesign-imagemap-popover-maxHeight, 300px);\n }\n simple-popover[for=\"\"] {\n display: none;\n }\n simple-popover .sub-heading > *:first-child {\n margin: 0 0 10px;\n }\n\n @media print {\n #svg,\n simple-popover {\n display: none;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-header.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-header.js index ed5d16b5d0c..1a6ba8028da 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-header.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-header.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../lrndes }); _exports.LrndesignMapmenuHeader = void 0; - var _templateObject_88330dd01da511ed9d313b9780b2ae17; + var _templateObject_51a5f7601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -32,7 +32,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../lrndes }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88330dd01da511ed9d313b9780b2ae17 || (_templateObject_88330dd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        [[label]]
        \n
        [[title]]
        \n
        \n
        \n \n \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_51a5f7601e5811ed81a80d03c17d190b || (_templateObject_51a5f7601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        [[label]]
        \n
        [[title]]
        \n
        \n
        \n \n \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-item.js index e9ccc6d5a7c..0ae7f9da059 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", }); _exports.LrndesignMapmenuItem = void 0; - var _templateObject_883509a01da511ed9d313b9780b2ae17, _templateObject2_883509a01da511ed9d313b9780b2ae17, _templateObject3_883509a01da511ed9d313b9780b2ae17; + var _templateObject_51a81a401e5811ed81a80d03c17d190b, _templateObject2_51a81a401e5811ed81a80d03c17d190b, _templateObject3_51a81a401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -31,7 +31,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", babelHelpers.createClass(LrndesignMapmenuItem, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_883509a01da511ed9d313b9780b2ae17 || (_templateObject_883509a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.icon ? (0, _index.html)(_templateObject2_883509a01da511ed9d313b9780b2ae17 || (_templateObject2_883509a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.title); + return (0, _index.html)(_templateObject_51a81a401e5811ed81a80d03c17d190b || (_templateObject_51a81a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.icon ? (0, _index.html)(_templateObject2_51a81a401e5811ed81a80d03c17d190b || (_templateObject2_51a81a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.title); } }], [{ key: "styles", @@ -40,7 +40,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject3_883509a01da511ed9d313b9780b2ae17 || (_templateObject3_883509a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrndesign-mapmenu-item-height: 16px;\n }\n simple-icon {\n --simple-icon-height: var(--lrndesign-mapmenu-item-height);\n display: inline-flex;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_51a81a401e5811ed81a80d03c17d190b || (_templateObject3_51a81a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrndesign-mapmenu-item-height: 16px;\n }\n simple-icon {\n --simple-icon-height: var(--lrndesign-mapmenu-item-height);\n display: inline-flex;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-submenu.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-submenu.js index 0382226d699..c33a6dd25b5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-submenu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lib/lrndesign-mapmenu-submenu.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/polymer/lib/utils }); _exports.LrndesignMapmenuSubmenu = void 0; - var _templateObject_88394f601da511ed9d313b9780b2ae17, _templateObject2_88394f601da511ed9d313b9780b2ae17; + var _templateObject_51ab27801e5811ed81a80d03c17d190b, _templateObject2_51ab27801e5811ed81a80d03c17d190b; function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } @@ -40,7 +40,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/polymer/lib/utils babelHelpers.createClass(LrndesignMapmenuSubmenu, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_88394f601da511ed9d313b9780b2ae17 || (_templateObject_88394f601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.avatarLabel, this.title, this.label); + return (0, _index.html)(_templateObject_51ab27801e5811ed81a80d03c17d190b || (_templateObject_51ab27801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.avatarLabel, this.title, this.label); } }, { key: "_openChanged", @@ -98,7 +98,7 @@ define(["exports", "../../../lit/index.js", "../../../@polymer/polymer/lib/utils * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_88394f601da511ed9d313b9780b2ae17 || (_templateObject2_88394f601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([collapsable]) > lrndesign-mapmenu-header {\n cursor: pointer;\n display: block;\n }\n #container {\n padding: 16px;\n }\n #container ::slotted(lrndesign-mapmenu-item) {\n margin-top: 6.4px;\n }\n a11y-collapse {\n border: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51ab27801e5811ed81a80d03c17d190b || (_templateObject2_51ab27801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([collapsable]) > lrndesign-mapmenu-header {\n cursor: pointer;\n display: block;\n }\n #container {\n padding: 16px;\n }\n #container ::slotted(lrndesign-mapmenu-item) {\n margin-top: 6.4px;\n }\n a11y-collapse {\n border: 0;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lrndesign-mapmenu.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lrndesign-mapmenu.js index fb4bb51ed27..5192b689f56 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lrndesign-mapmenu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-mapmenu/lrndesign-mapmenu.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/lrndesign }); _exports.LrndesignMapmenu = void 0; - var _templateObject_474077901da511ed9d313b9780b2ae17; + var _templateObject_19ea8a701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -31,7 +31,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/lrndesign babelHelpers.createClass(LrndesignMapmenu, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_474077901da511ed9d313b9780b2ae17 || (_templateObject_474077901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_19ea8a701e5811ed81a80d03c17d190b || (_templateObject_19ea8a701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-panelcard/lrndesign-panelcard.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-panelcard/lrndesign-panelcard.js index 6e9f1c951d1..2c4d757cce3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-panelcard/lrndesign-panelcard.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-panelcard/lrndesign-panelcard.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-color }); _exports.LrndesignPanelcard = void 0; - var _templateObject_3a8976501da511ed9d313b9780b2ae17; + var _templateObject_0de6d3a01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -35,7 +35,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-color babelHelpers.createClass(LrndesignPanelcard, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_3a8976501da511ed9d313b9780b2ae17 || (_templateObject_3a8976501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_0de6d3a01e5811ed81a80d03c17d190b || (_templateObject_0de6d3a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-paperstack/lrndesign-paperstack.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-paperstack/lrndesign-paperstack.js index e25ed733c66..026c295d923 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-paperstack/lrndesign-paperstack.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-paperstack/lrndesign-paperstack.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.LrndesignPaperstack = void 0; - var _templateObject_474384d01da511ed9d313b9780b2ae17, _templateObject2_474384d01da511ed9d313b9780b2ae17; + var _templateObject_19ecd4601e5811ed81a80d03c17d190b, _templateObject2_19ecd4601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -40,12 +40,12 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". babelHelpers.createClass(LrndesignPaperstack, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_474384d01da511ed9d313b9780b2ae17 || (_templateObject_474384d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n
        \n
        \n
        \n \n
        \n ", "\n
        \n

        \n
        \n
        \n "])), this.icon, this.title); + return (0, _index.html)(_templateObject_19ecd4601e5811ed81a80d03c17d190b || (_templateObject_19ecd4601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n
        \n
        \n
        \n \n
        \n ", "\n
        \n

        \n
        \n
        \n "])), this.icon, this.title); } }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignPaperstack), "styles", this)), [(0, _index.css)(_templateObject2_474384d01da511ed9d313b9780b2ae17 || (_templateObject2_474384d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: var(--lrndesign-paperstack-font-family, unset);\n font-family: var(--lrndesign-paperstack-font-size, 14px);\n }\n .stack {\n width: 100%;\n position: relative;\n margin: 24px 0;\n }\n .paper {\n width: calc(100% - 48px);\n padding: 12px 24px;\n position: absolute;\n box-shadow: 0 0 1px\n var(\n --lrndesign-paperstack-shadow,\n var(--simple-colors-default-theme-grey-12)\n );\n border: 1px solid\n var(\n --lrndesign-paperstack-border,\n var(--simple-colors-default-theme-grey-4)\n );\n }\n :host([dark]) .paper {\n box-shadow: 0 0 1px\n var(\n --lrndesign-paperstack-shadow,\n var(--simple-colors-default-theme-grey-1)\n );\n border: 1px solid\n var(\n --lrndesign-paperstack-border,\n var(--simple-colors-default-theme-grey-1)\n );\n }\n .paper:first-of-type {\n left: -0.32px;\n top: 0.32px;\n bottom: -0.32px;\n right: 0.32px;\n transform: rotate(-2.5deg);\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-2)\n );\n }\n .paper:nth-of-type(2) {\n right: -0.32px;\n top: 1.6px;\n left: 0.32px;\n right: -1.6px;\n transform: rotate(1.4deg);\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-2)\n );\n }\n :host([dark]) .paper:first-of-type,\n :host([dark]) .paper:nth-of-type(2) {\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n }\n .front {\n position: relative;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background-color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n color: var(\n --lrndesign-paperstack-text,\n var(--simple-colors-default-theme-grey-12)\n );\n }\n :host([dark]) .front {\n background-color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-3)\n );\n }\n simple-icon-lite {\n --simple-icon-width: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n --simple-icon-height: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n }\n .heading {\n display: flex;\n align-items: center;\n }\n .icon-container {\n width: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n height: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n border-radius: 50%;\n background-color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-8)\n );\n display: flex;\n align-items: center;\n padding: var(--lrndesign-paperstack-icon-padding, 4px);\n color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n margin-right: calc(2 * var(--lrndesign-paperstack-icon-padding, 2px));\n }\n :host([dark]) .icon-container {\n color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n background-color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-9)\n );\n }\n .title {\n font-size: 16px;\n color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-8)\n );\n font-family: var(--lrndesign-paperstack-heading-font-family, cursive);\n font-family: var(--lrndesign-paperstack-heading-font-size, 16px);\n }\n :host([dark]) .title {\n color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-grey-12)\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignPaperstack), "styles", this)), [(0, _index.css)(_templateObject2_19ecd4601e5811ed81a80d03c17d190b || (_templateObject2_19ecd4601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: var(--lrndesign-paperstack-font-family, unset);\n font-family: var(--lrndesign-paperstack-font-size, 14px);\n }\n .stack {\n width: 100%;\n position: relative;\n margin: 24px 0;\n }\n .paper {\n width: calc(100% - 48px);\n padding: 12px 24px;\n position: absolute;\n box-shadow: 0 0 1px\n var(\n --lrndesign-paperstack-shadow,\n var(--simple-colors-default-theme-grey-12)\n );\n border: 1px solid\n var(\n --lrndesign-paperstack-border,\n var(--simple-colors-default-theme-grey-4)\n );\n }\n :host([dark]) .paper {\n box-shadow: 0 0 1px\n var(\n --lrndesign-paperstack-shadow,\n var(--simple-colors-default-theme-grey-1)\n );\n border: 1px solid\n var(\n --lrndesign-paperstack-border,\n var(--simple-colors-default-theme-grey-1)\n );\n }\n .paper:first-of-type {\n left: -0.32px;\n top: 0.32px;\n bottom: -0.32px;\n right: 0.32px;\n transform: rotate(-2.5deg);\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-2)\n );\n }\n .paper:nth-of-type(2) {\n right: -0.32px;\n top: 1.6px;\n left: 0.32px;\n right: -1.6px;\n transform: rotate(1.4deg);\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-2)\n );\n }\n :host([dark]) .paper:first-of-type,\n :host([dark]) .paper:nth-of-type(2) {\n background-color: var(\n --lrndesign-paperstack-faded-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n }\n .front {\n position: relative;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background-color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n color: var(\n --lrndesign-paperstack-text,\n var(--simple-colors-default-theme-grey-12)\n );\n }\n :host([dark]) .front {\n background-color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-3)\n );\n }\n simple-icon-lite {\n --simple-icon-width: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n --simple-icon-height: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n }\n .heading {\n display: flex;\n align-items: center;\n }\n .icon-container {\n width: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n height: calc(\n var(--lrndesign-paperstack-icon-size, 32px) - 2 *\n var(--lrndesign-paperstack-icon-padding, 4px)\n );\n border-radius: 50%;\n background-color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-8)\n );\n display: flex;\n align-items: center;\n padding: var(--lrndesign-paperstack-icon-padding, 4px);\n color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n margin-right: calc(2 * var(--lrndesign-paperstack-icon-padding, 2px));\n }\n :host([dark]) .icon-container {\n color: var(\n --lrndesign-paperstack-bg,\n var(--simple-colors-default-theme-grey-1)\n );\n background-color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-9)\n );\n }\n .title {\n font-size: 16px;\n color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-accent-8)\n );\n font-family: var(--lrndesign-paperstack-heading-font-family, cursive);\n font-family: var(--lrndesign-paperstack-heading-font-size, 16px);\n }\n :host([dark]) .title {\n color: var(\n --lrndesign-paperstack-accent,\n var(--simple-colors-default-theme-grey-12)\n );\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-sidenote/lrndesign-sidenote.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-sidenote/lrndesign-sidenote.js index 1d9cb05e4b4..46105995c7b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-sidenote/lrndesign-sidenote.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-sidenote/lrndesign-sidenote.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors _exports.LrndesignSidenote = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_474643f01da511ed9d313b9780b2ae17, _templateObject2_474643f01da511ed9d313b9780b2ae17; + var _templateObject_19f02fc01e5811ed81a80d03c17d190b, _templateObject2_19f02fc01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -45,7 +45,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors babelHelpers.createClass(LrndesignSidenote, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_474643f01da511ed9d313b9780b2ae17 || (_templateObject_474643f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        ", "
        \n
        \n \n
        \n "])), this.icon, this.label); + return (0, _index.html)(_templateObject_19f02fc01e5811ed81a80d03c17d190b || (_templateObject_19f02fc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        ", "
        \n
        \n \n
        \n "])), this.icon, this.label); } }], [{ key: "properties", @@ -71,7 +71,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignSidenote), "styles", this)), [(0, _index.css)(_templateObject2_474643f01da511ed9d313b9780b2ae17 || (_templateObject2_474643f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n #container {\n display: block;\n background-color: var(\n --simple-colors-default-theme-accent-1,\n #ffffff\n );\n padding: var(--lrndesign-sidenote-container-padding, 16px);\n margin-left: var(--lrndesign-sidenote-container-margin-left, 0px);\n color: var(--simple-colors-default-theme-accent-12, #000);\n }\n\n #header {\n display: flex;\n align-items: center;\n }\n\n #icon {\n margin-right: 8px;\n }\n\n #label {\n font-size: 20.8px;\n margin: 12.8px 0;\n flex: 1 1 auto;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignSidenote), "styles", this)), [(0, _index.css)(_templateObject2_19f02fc01e5811ed81a80d03c17d190b || (_templateObject2_19f02fc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n #container {\n display: block;\n background-color: var(\n --simple-colors-default-theme-accent-1,\n #ffffff\n );\n padding: var(--lrndesign-sidenote-container-padding, 16px);\n margin-left: var(--lrndesign-sidenote-container-margin-left, 0px);\n color: var(--simple-colors-default-theme-accent-12, #000);\n }\n\n #header {\n display: flex;\n align-items: center;\n }\n\n #icon {\n margin-right: 8px;\n }\n\n #label {\n font-size: 20.8px;\n margin: 12.8px 0;\n flex: 1 1 auto;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lib/lrndesign-stepper-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lib/lrndesign-stepper-button.js index 4f0db528496..6b87b410a4a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lib/lrndesign-stepper-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lib/lrndesign-stepper-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../simple }); _exports.LrndesignStepperButton = void 0; - var _templateObject_883b99501da511ed9d313b9780b2ae17; + var _templateObject_51acfc401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -44,7 +44,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../simple }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_883b99501da511ed9d313b9780b2ae17 || (_templateObject_883b99501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_51acfc401e5811ed81a80d03c17d190b || (_templateObject_51acfc401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lrndesign-stepper.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lrndesign-stepper.js index 5d5c41a33e7..d4bcd9d9607 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lrndesign-stepper.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-stepper/lrndesign-stepper.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/lrndesign }); _exports.LrndesignStepper = void 0; - var _templateObject_4747ca901da511ed9d313b9780b2ae17; + var _templateObject_19f1dd701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -55,7 +55,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/lrndesign }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_4747ca901da511ed9d313b9780b2ae17 || (_templateObject_4747ca901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_19f1dd701e5811ed81a80d03c17d190b || (_templateObject_19f1dd701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-timeline/lrndesign-timeline.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-timeline/lrndesign-timeline.js index 5a4ea2ee102..e9cb872c753 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-timeline/lrndesign-timeline.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrndesign-timeline/lrndesign-timeline.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.LrndesignTimeline = void 0; - var _templateObject_474e81501da511ed9d313b9780b2ae17, _templateObject2_474e81501da511ed9d313b9780b2ae17, _templateObject3_474e81501da511ed9d313b9780b2ae17, _templateObject4_474e81501da511ed9d313b9780b2ae17; + var _templateObject_19f81f001e5811ed81a80d03c17d190b, _templateObject2_19f81f001e5811ed81a80d03c17d190b, _templateObject3_19f81f001e5811ed81a80d03c17d190b, _templateObject4_19f81f001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,8 +47,8 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". function render() { var _this2 = this; - return (0, _index.html)(_templateObject_474e81501da511ed9d313b9780b2ae17 || (_templateObject_474e81501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n

        ", "

        \n \n
        \n
        \n ", "\n
        \n
        \n
        "])), this.timelineTitle, this._checkScroll, this.eventsList.map(function (event, index) { - return (0, _index.html)(_templateObject2_474e81501da511ed9d313b9780b2ae17 || (_templateObject2_474e81501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n

        ", "

        \n
        \n ", "\n
        \n
        \n
        ", "
        \n \n "])), event.imagesrc && event.imagesrc !== "", _this2._setScroll, event.heading, !event.imagesrc || event.imagesrc === "" ? "" : (0, _index.html)(_templateObject3_474e81501da511ed9d313b9780b2ae17 || (_templateObject3_474e81501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n "])), event.imagealt, event.imagesrc), event.details); + return (0, _index.html)(_templateObject_19f81f001e5811ed81a80d03c17d190b || (_templateObject_19f81f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n

        ", "

        \n \n
        \n
        \n ", "\n
        \n
        \n
        "])), this.timelineTitle, this._checkScroll, this.eventsList.map(function (event, index) { + return (0, _index.html)(_templateObject2_19f81f001e5811ed81a80d03c17d190b || (_templateObject2_19f81f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n

        ", "

        \n
        \n ", "\n
        \n
        \n
        ", "
        \n \n "])), event.imagesrc && event.imagesrc !== "", _this2._setScroll, event.heading, !event.imagesrc || event.imagesrc === "" ? "" : (0, _index.html)(_templateObject3_19f81f001e5811ed81a80d03c17d190b || (_templateObject3_19f81f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n "])), event.imagealt, event.imagesrc), event.details); })); } // haxProperty definition @@ -235,7 +235,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignTimeline), "styles", this)), [(0, _index.css)(_templateObject4_474e81501da511ed9d313b9780b2ae17 || (_templateObject4_474e81501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-size: 14px;\n font-weight: 100;\n line-height: 160%;\n display: block;\n --lrndesign-timeline-color: var(\n --simple-colors-default-theme-grey-8,\n #444\n );\n --lrndesign-timeline-color-print: #000;\n --lrndesign-timeline-background: #f4f4f4;\n --lrndesign-timeline-background-print: #fff;\n --lrndesign-timeline-border: var(\n --simple-colors-default-theme-grey-5,\n #bbb\n );\n --lrndesign-timeline-border-print: var(\n --simple-colors-fixed-theme-grey-5,\n #bbb\n );\n --lrndesign-timeline-accent: #000;\n --lrndesign-timeline-accent-background: #fff;\n --lrndesign-timeline-accent-border: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --lrndesign-timeline-header: var(\n --simple-colors-default-theme-accent-1,\n #fff\n );\n --lrndesign-timeline-header-accent: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --lrndesign-timeline-accent-print: var(\n --simple-colors-fixed-theme-accent-8,\n #444\n );\n }\n\n :host([dark]) {\n --lrndesign-timeline-background: #1b1b1b;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(section) {\n display: none;\n }\n\n #timeline {\n display: block;\n border-radius: 3px;\n border: 1px solid var(--lrndesign-timeline-border-print);\n border-left: 3px solid var(--lrndesign-timeline-accent-print);\n background-color: var(--lrndesign-timeline-background-print);\n color: var(--lrndesign-timeline-color-print);\n }\n\n #events {\n padding: 0;\n width: 100%;\n min-height: 300px;\n }\n\n .heading {\n margin: 0;\n color: var(--lrndesign-timeline-accent-print);\n }\n\n .heading h2 {\n font-size: 24px;\n font-weight: 300;\n }\n\n .heading h2,\n .details,\n .media-outer > div {\n padding: 0 40px;\n }\n\n .details {\n margin: 15px 0;\n }\n\n .media-outer > div {\n opacity: 1;\n transition: opacity 0.5s;\n }\n\n .media-outer > div,\n .media-outer > div * {\n margin: 0 auto;\n max-width: 100%;\n max-height: 260px;\n }\n @media screen {\n #timeline {\n color: var(--lrndesign-timeline-color);\n background-color: var(--lrndesign-accent-background);\n border: 1px solid var(--lrndesign-timeline-border);\n border-left: 3px solid var(--lrndesign-timeline-accent-border);\n }\n\n :host([dark]) #timeline {\n background-color: var(--lrndesign-timeline-background);\n }\n\n h2 {\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) #timeline {\n background-color: var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"])) h2 {\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) #events {\n height: 300px;\n position: relative;\n overflow-y: scroll;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event {\n position: static;\n top: 0;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event-overview {\n padding: 0;\n position: sticky;\n top: 0;\n }\n\n :host(:not([timeline-size=\"xs\"])) .heading {\n position: absolute;\n top: 0;\n padding: 10px 0;\n overflow: hidden;\n background-color: transparent;\n width: calc(55% + 30px);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading {\n z-index: 2;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[has-media] .heading:after {\n content: \" \";\n z-index: 200;\n position: absolute;\n top: 42px;\n right: 30px;\n width: 0;\n padding: 0;\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-left: 0px solid transparent;\n transition: all 0.3s;\n transition-delay: 0.2s;\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading:after {\n top: 7px;\n right: 0px;\n border-top: 35px solid transparent;\n border-bottom: 35px solid transparent;\n border-left: 35px solid var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .heading h2 {\n margin: 7px 48px 0 20px;\n padding: 0 20px;\n line-height: 50px;\n height: 50px;\n background-color: var(--lrndesign-timeline-background);\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[selected] .heading h2 {\n background-color: var(--lrndesign-timeline-header-accent);\n color: var(--lrndesign-timeline-header);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media]\n .heading\n h2:after {\n content: \"\";\n position: absolute;\n left: calc(100% - 48px);\n top: 17px;\n height: 50px;\n opacity: 0;\n width: 0px;\n transition: opacity 0.3s;\n background-color: var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading\n h2:after {\n width: 13px;\n opacity: 1;\n background-color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .media-outer {\n display: flex;\n align-items: center;\n position: absolute;\n right: 0;\n width: 45%;\n height: 300px;\n }\n\n :host(:not([timeline-size=\"xs\"])) .media-outer > div {\n display: flex;\n padding: 20px 20px 20px 50px;\n opacity: 0;\n transition: opacity 0.3s delay 0.3s;\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[selected]\n .media-outer\n > div {\n opacity: 1;\n transition-delay: 0s;\n }\n\n :host(:not([timeline-size=\"xs\"])) .details {\n padding: 67px 20px 20px;\n margin: 0 20px;\n width: calc(55% - 80px);\n color: var(--lrndesign-timeline-color);\n background-color: var(--lrndesign-timeline-background);\n border: 1px solid var(--lrndesign-timeline-background);\n border-radius: 3px;\n transition: all 0.5s;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event:last-of-type .details {\n min-height: 180px;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[selected] .details {\n color: var(--lrndesign-timeline-accent);\n background-color: var(--lrndesign-timeline-accent-background);\n border: 1px solid var(--lrndesign-timeline-border);\n box-shadow: 0 2px 2px var(--lrndesign-timeline-border);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event:first-of-type[selected]\n .details {\n border-top: 1px solid var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event:last-of-type[selected]\n .details {\n border-bottom: 1px solid var(--lrndesign-timeline-background);\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignTimeline), "styles", this)), [(0, _index.css)(_templateObject4_19f81f001e5811ed81a80d03c17d190b || (_templateObject4_19f81f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n font-size: 14px;\n font-weight: 100;\n line-height: 160%;\n display: block;\n --lrndesign-timeline-color: var(\n --simple-colors-default-theme-grey-8,\n #444\n );\n --lrndesign-timeline-color-print: #000;\n --lrndesign-timeline-background: #f4f4f4;\n --lrndesign-timeline-background-print: #fff;\n --lrndesign-timeline-border: var(\n --simple-colors-default-theme-grey-5,\n #bbb\n );\n --lrndesign-timeline-border-print: var(\n --simple-colors-fixed-theme-grey-5,\n #bbb\n );\n --lrndesign-timeline-accent: #000;\n --lrndesign-timeline-accent-background: #fff;\n --lrndesign-timeline-accent-border: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --lrndesign-timeline-header: var(\n --simple-colors-default-theme-accent-1,\n #fff\n );\n --lrndesign-timeline-header-accent: var(\n --simple-colors-default-theme-accent-8,\n #444\n );\n --lrndesign-timeline-accent-print: var(\n --simple-colors-fixed-theme-accent-8,\n #444\n );\n }\n\n :host([dark]) {\n --lrndesign-timeline-background: #1b1b1b;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(section) {\n display: none;\n }\n\n #timeline {\n display: block;\n border-radius: 3px;\n border: 1px solid var(--lrndesign-timeline-border-print);\n border-left: 3px solid var(--lrndesign-timeline-accent-print);\n background-color: var(--lrndesign-timeline-background-print);\n color: var(--lrndesign-timeline-color-print);\n }\n\n #events {\n padding: 0;\n width: 100%;\n min-height: 300px;\n }\n\n .heading {\n margin: 0;\n color: var(--lrndesign-timeline-accent-print);\n }\n\n .heading h2 {\n font-size: 24px;\n font-weight: 300;\n }\n\n .heading h2,\n .details,\n .media-outer > div {\n padding: 0 40px;\n }\n\n .details {\n margin: 15px 0;\n }\n\n .media-outer > div {\n opacity: 1;\n transition: opacity 0.5s;\n }\n\n .media-outer > div,\n .media-outer > div * {\n margin: 0 auto;\n max-width: 100%;\n max-height: 260px;\n }\n @media screen {\n #timeline {\n color: var(--lrndesign-timeline-color);\n background-color: var(--lrndesign-accent-background);\n border: 1px solid var(--lrndesign-timeline-border);\n border-left: 3px solid var(--lrndesign-timeline-accent-border);\n }\n\n :host([dark]) #timeline {\n background-color: var(--lrndesign-timeline-background);\n }\n\n h2 {\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) #timeline {\n background-color: var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"])) h2 {\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) #events {\n height: 300px;\n position: relative;\n overflow-y: scroll;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event {\n position: static;\n top: 0;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event-overview {\n padding: 0;\n position: sticky;\n top: 0;\n }\n\n :host(:not([timeline-size=\"xs\"])) .heading {\n position: absolute;\n top: 0;\n padding: 10px 0;\n overflow: hidden;\n background-color: transparent;\n width: calc(55% + 30px);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading {\n z-index: 2;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[has-media] .heading:after {\n content: \" \";\n z-index: 200;\n position: absolute;\n top: 42px;\n right: 30px;\n width: 0;\n padding: 0;\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-left: 0px solid transparent;\n transition: all 0.3s;\n transition-delay: 0.2s;\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading:after {\n top: 7px;\n right: 0px;\n border-top: 35px solid transparent;\n border-bottom: 35px solid transparent;\n border-left: 35px solid var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .heading h2 {\n margin: 7px 48px 0 20px;\n padding: 0 20px;\n line-height: 50px;\n height: 50px;\n background-color: var(--lrndesign-timeline-background);\n color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[selected] .heading h2 {\n background-color: var(--lrndesign-timeline-header-accent);\n color: var(--lrndesign-timeline-header);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media]\n .heading\n h2:after {\n content: \"\";\n position: absolute;\n left: calc(100% - 48px);\n top: 17px;\n height: 50px;\n opacity: 0;\n width: 0px;\n transition: opacity 0.3s;\n background-color: var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[has-media][selected]\n .heading\n h2:after {\n width: 13px;\n opacity: 1;\n background-color: var(--lrndesign-timeline-header-accent);\n }\n\n :host(:not([timeline-size=\"xs\"])) .media-outer {\n display: flex;\n align-items: center;\n position: absolute;\n right: 0;\n width: 45%;\n height: 300px;\n }\n\n :host(:not([timeline-size=\"xs\"])) .media-outer > div {\n display: flex;\n padding: 20px 20px 20px 50px;\n opacity: 0;\n transition: opacity 0.3s delay 0.3s;\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event[selected]\n .media-outer\n > div {\n opacity: 1;\n transition-delay: 0s;\n }\n\n :host(:not([timeline-size=\"xs\"])) .details {\n padding: 67px 20px 20px;\n margin: 0 20px;\n width: calc(55% - 80px);\n color: var(--lrndesign-timeline-color);\n background-color: var(--lrndesign-timeline-background);\n border: 1px solid var(--lrndesign-timeline-background);\n border-radius: 3px;\n transition: all 0.5s;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event:last-of-type .details {\n min-height: 180px;\n }\n\n :host(:not([timeline-size=\"xs\"])) .event[selected] .details {\n color: var(--lrndesign-timeline-accent);\n background-color: var(--lrndesign-timeline-accent-background);\n border: 1px solid var(--lrndesign-timeline-border);\n box-shadow: 0 2px 2px var(--lrndesign-timeline-border);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event:first-of-type[selected]\n .details {\n border-top: 1px solid var(--lrndesign-timeline-background);\n }\n\n :host(:not([timeline-size=\"xs\"]))\n .event:last-of-type[selected]\n .details {\n border-bottom: 1px solid var(--lrndesign-timeline-background);\n }\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-button/lrnsys-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-button/lrnsys-button.js index 04b2357ac28..62311f97d7d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-button/lrnsys-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-button/lrnsys-button.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../materializecss-styles/lib/colors.js }); _exports.LrnsysButton = void 0; - var _templateObject_475363501da511ed9d313b9780b2ae17, _templateObject2_475363501da511ed9d313b9780b2ae17; + var _templateObject_19fc16a01e5811ed81a80d03c17d190b, _templateObject2_19fc16a01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -76,7 +76,7 @@ define(["exports", "../../lit/index.js", "../materializecss-styles/lib/colors.js }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_475363501da511ed9d313b9780b2ae17 || (_templateObject_475363501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n \n ", "\n \n \n
        \n \n \n ", "\n "])), this.disabled, this.alt, this.buttonClass, this.color, this.textColor, this.disabled, this.focusToggle, this.innerClass, this.icon, this.dark, this.iconClass, !this.icon, !this.label, this.label, !this.alt, this.alt); + return (0, _index.html)(_templateObject_19fc16a01e5811ed81a80d03c17d190b || (_templateObject_19fc16a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n \n \n ", "\n \n \n
        \n \n \n ", "\n "])), this.disabled, this.alt, this.buttonClass, this.color, this.textColor, this.disabled, this.focusToggle, this.innerClass, this.icon, this.dark, this.iconClass, !this.icon, !this.label, this.label, !this.alt, this.alt); } }, { key: "tapEventOn", @@ -164,7 +164,7 @@ define(["exports", "../../lit/index.js", "../materializecss-styles/lib/colors.js }], [{ key: "styles", get: function get() { - return [_colors.materialCssStyles, (0, _index.css)(_templateObject2_475363501da511ed9d313b9780b2ae17 || (_templateObject2_475363501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-button-height: 48px;\n }\n :host([raised]) {\n border: 2px solid black;\n }\n :host([disabled]) {\n pointer-events: none;\n }\n simple-icon.white-text {\n --simple-colors-default-theme-accent-12: white;\n }\n a {\n text-decoration: none;\n display: block;\n color: var(--lrnsys-button-link-color, #000000);\n display: flex;\n }\n button {\n padding: 0;\n margin: 0;\n min-width: 0.16px;\n height: inherit;\n -webkit-justify-content: flex-start;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n text-transform: unset;\n border-radius: unset;\n display: flex;\n background-color: transparent;\n border: none;\n cursor: pointer;\n }\n button:hover {\n cursor: pointer;\n }\n :host([no-padding]) button div.inner {\n padding: 0;\n }\n button simple-icon {\n --simple-icon-height: var(--lrnsys-button-height);\n margin: 0 4px;\n }\n button simple-icon:first-child {\n margin: 0 4px 0 0;\n }\n button simple-icon:last-child {\n margin: 0 0 0 4px;\n }\n button div.inner {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n display: flex;\n padding: 0 16px;\n }\n button span.label {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n }\n .no-margin {\n margin: 0 !important;\n }\n .no-right-padding {\n padding-right: 0 !important;\n }\n .no-left-padding {\n padding-left: 0 !important;\n }\n "])))]; + return [_colors.materialCssStyles, (0, _index.css)(_templateObject2_19fc16a01e5811ed81a80d03c17d190b || (_templateObject2_19fc16a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-button-height: 48px;\n }\n :host([raised]) {\n border: 2px solid black;\n }\n :host([disabled]) {\n pointer-events: none;\n }\n simple-icon.white-text {\n --simple-colors-default-theme-accent-12: white;\n }\n a {\n text-decoration: none;\n display: block;\n color: var(--lrnsys-button-link-color, #000000);\n display: flex;\n }\n button {\n padding: 0;\n margin: 0;\n min-width: 0.16px;\n height: inherit;\n -webkit-justify-content: flex-start;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n text-transform: unset;\n border-radius: unset;\n display: flex;\n background-color: transparent;\n border: none;\n cursor: pointer;\n }\n button:hover {\n cursor: pointer;\n }\n :host([no-padding]) button div.inner {\n padding: 0;\n }\n button simple-icon {\n --simple-icon-height: var(--lrnsys-button-height);\n margin: 0 4px;\n }\n button simple-icon:first-child {\n margin: 0 4px 0 0;\n }\n button simple-icon:last-child {\n margin: 0 0 0 4px;\n }\n button div.inner {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n display: flex;\n padding: 0 16px;\n }\n button span.label {\n height: var(--lrnsys-button-height);\n line-height: var(--lrnsys-button-height);\n }\n .no-margin {\n margin: 0 !important;\n }\n .no-right-padding {\n padding-right: 0 !important;\n }\n .no-left-padding {\n padding-left: 0 !important;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-chartjs/lrnsys-chartjs.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-chartjs/lrnsys-chartjs.js index 7c14ee55839..65a28f475c3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-chartjs/lrnsys-chartjs.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-chartjs/lrnsys-chartjs.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@vowo/cha }); _exports.LrnsysChartjs = void 0; - var _templateObject_476ae2f01da511ed9d313b9780b2ae17; + var _templateObject_19fe39801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -60,7 +60,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@vowo/cha }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_476ae2f01da511ed9d313b9780b2ae17 || (_templateObject_476ae2f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_19fe39801e5811ed81a80d03c17d190b || (_templateObject_19fe39801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lib/lrnsys-comment-list.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lib/lrnsys-comment-list.js index 94b8b603d2d..75713d266a9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lib/lrnsys-comment-list.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lib/lrnsys-comment-list.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.LrnsysCommentList = void 0; - var _templateObject_8843fdc01da511ed9d313b9780b2ae17; + var _templateObject_51b2efb01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -321,7 +321,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_8843fdc01da511ed9d313b9780b2ae17 || (_templateObject_8843fdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_51b2efb01e5811ed81a80d03c17d190b || (_templateObject_51b2efb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lrnsys-comment.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lrnsys-comment.js index aa1a14c19f0..9ca6fa16696 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lrnsys-comment.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-comment/lrnsys-comment.js @@ -7,7 +7,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ _exports.LrnsysComment = void 0; async = _interopRequireWildcard(async); - var _templateObject_477013101da511ed9d313b9780b2ae17; + var _templateObject_1bb8bac01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -206,7 +206,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_477013101da511ed9d313b9780b2ae17 || (_templateObject_477013101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n
        \n \n [[displayName]]\n \n \n \n \n
        \n
        \n
        \n
        \n

        \n At \n [[comment.relationships.author.data.display_name]]\n [[comment.relationships.author.data.visual.label]]\n said:\n

        \n \n \n \n
        \n \n
        \n
        \n
        \n \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1bb8bac01e5811ed81a80d03c17d190b || (_templateObject_1bb8bac01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n
        \n \n [[displayName]]\n \n \n \n \n
        \n
        \n
        \n
        \n

        \n At \n [[comment.relationships.author.data.display_name]]\n [[comment.relationships.author.data.visual.label]]\n said:\n

        \n \n \n \n
        \n \n
        \n
        \n
        \n \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-button-inner.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-button-inner.js index 69047e0e0ba..31700123c79 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-button-inner.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-button-inner.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", }); _exports.LrnsysButtonInner = void 0; - var _templateObject_88470b001da511ed9d313b9780b2ae17, _templateObject2_88470b001da511ed9d313b9780b2ae17, _templateObject3_88470b001da511ed9d313b9780b2ae17, _templateObject4_88470b001da511ed9d313b9780b2ae17, _templateObject5_88470b001da511ed9d313b9780b2ae17; + var _templateObject_51b4eb801e5811ed81a80d03c17d190b, _templateObject2_51b4eb801e5811ed81a80d03c17d190b, _templateObject3_51b4eb801e5811ed81a80d03c17d190b, _templateObject4_51b4eb801e5811ed81a80d03c17d190b, _templateObject5_51b4eb801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -39,7 +39,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", babelHelpers.createClass(LrnsysButtonInner, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_88470b001da511ed9d313b9780b2ae17 || (_templateObject_88470b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n ", "\n ", "\n
        \n
        \n "])), this.avatar != "" ? (0, _index.html)(_templateObject2_88470b001da511ed9d313b9780b2ae17 || (_templateObject2_88470b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.avatar) : "", this.icon != "" ? (0, _index.html)(_templateObject3_88470b001da511ed9d313b9780b2ae17 || (_templateObject3_88470b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.text != "" ? (0, _index.html)(_templateObject4_88470b001da511ed9d313b9780b2ae17 || (_templateObject4_88470b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this._getTextLabelClass(this.avatar, this.icon), this.text) : ""); + return (0, _index.html)(_templateObject_51b4eb801e5811ed81a80d03c17d190b || (_templateObject_51b4eb801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n ", "\n ", "\n
        \n
        \n "])), this.avatar != "" ? (0, _index.html)(_templateObject2_51b4eb801e5811ed81a80d03c17d190b || (_templateObject2_51b4eb801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.avatar) : "", this.icon != "" ? (0, _index.html)(_templateObject3_51b4eb801e5811ed81a80d03c17d190b || (_templateObject3_51b4eb801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.text != "" ? (0, _index.html)(_templateObject4_51b4eb801e5811ed81a80d03c17d190b || (_templateObject4_51b4eb801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this._getTextLabelClass(this.avatar, this.icon), this.text) : ""); } }, { key: "_getTextLabelClass", @@ -62,7 +62,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/simple-icon.js", * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject5_88470b001da511ed9d313b9780b2ae17 || (_templateObject5_88470b001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host > div > * {\n vertical-align: middle;\n }\n .text-label {\n margin-left: 8px;\n }\n .text-label-only {\n margin-left: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_51b4eb801e5811ed81a80d03c17d190b || (_templateObject5_51b4eb801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host > div > * {\n vertical-align: middle;\n }\n .text-label {\n margin-left: 8px;\n }\n .text-label-only {\n margin-left: 0;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar-button.js index a558c888b3d..d3839ce695f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar-button.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/simple _exports.LrnsysDialogToolbarButton = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_884a3f501da511ed9d313b9780b2ae17, _templateObject2_884a3f501da511ed9d313b9780b2ae17; + var _templateObject_51b7d1b01e5811ed81a80d03c17d190b, _templateObject2_51b7d1b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -47,7 +47,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/simple * LitElement render */ function render() { - return (0, _index.html)(_templateObject_884a3f501da511ed9d313b9780b2ae17 || (_templateObject_884a3f501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n ", "\n "])), this._onTap, this.id, this.title, this.icon, this.title, this.id, this.title); + return (0, _index.html)(_templateObject_51b7d1b01e5811ed81a80d03c17d190b || (_templateObject_51b7d1b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n ", "\n "])), this._onTap, this.id, this.title, this.icon, this.title, this.id, this.title); } }, { key: "firstUpdated", @@ -82,7 +82,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-icon/simple * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_884a3f501da511ed9d313b9780b2ae17 || (_templateObject2_884a3f501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n simple-icon {\n display: inline-block;\n --simple-icon-height: 16px;\n --simple-icon-width: 16px;\n }\n button {\n border: none;\n background: transparent;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51b7d1b01e5811ed81a80d03c17d190b || (_templateObject2_51b7d1b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n simple-icon {\n display: inline-block;\n --simple-icon-height: 16px;\n --simple-icon-width: 16px;\n }\n button {\n border: none;\n background: transparent;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar.js index 5136ccaa3f2..444edab51fa 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog-toolbar.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req _exports.LrnsysDialogToolbar = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_884d4c901da511ed9d313b9780b2ae17, _templateObject2_884d4c901da511ed9d313b9780b2ae17; + var _templateObject_51b9f4901e5811ed81a80d03c17d190b, _templateObject2_51b9f4901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -51,7 +51,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req * LitElement render */ function render() { - return (0, _index.html)(_templateObject_884d4c901da511ed9d313b9780b2ae17 || (_templateObject_884d4c901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n
        \n \n
        \n \n
        \n
        \n "])), !this._secondaryHasChildren); + return (0, _index.html)(_templateObject_51b9f4901e5811ed81a80d03c17d190b || (_templateObject_51b9f4901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n
        \n \n
        \n \n
        \n
        \n "])), !this._secondaryHasChildren); } }, { key: "firstUpdated", @@ -70,7 +70,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_884d4c901da511ed9d313b9780b2ae17 || (_templateObject2_884d4c901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --app-toolbar-primary-height: 40px;\n --app-toolbar-secondary-height: 50px;\n --app-toolbar-secondary-color: var(\n --lrnsys-dialog-secondary-background-color\n );\n --app-toolbar-primary-color: var(\n --lrnsys-dialog-toolbar-background-color\n );\n position: relative;\n margin: 0;\n padding: 0;\n }\n app-toolbar#primary {\n color: var(--lrnsys-dialog-color, #000);\n background-color: var(--app-toolbar-primary-color);\n z-index: 10;\n position: relative;\n height: var(--app-toolbar-primary-height);\n }\n app-toolbar#secondary {\n color: var(--lrnsys-dialog-color, #000);\n background-color: var(--app-toolbar-secondary-color);\n z-index: 5;\n position: absolute;\n width: 100%;\n transform: translateY(-100%);\n transition: all 0.3s ease-in;\n height: var(--app-toolbar-primary-height);\n display: flex;\n justify-content: center;\n padding: 0;\n }\n :host([secondary-visible]) #secondary {\n transform: translateY(0);\n height: var(--app-toolbar-secondary-height);\n }\n .secondary-buttons {\n display: flex;\n }\n .secondary-buttons ::slotted(*) {\n display: inline-flex;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51b9f4901e5811ed81a80d03c17d190b || (_templateObject2_51b9f4901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --app-toolbar-primary-height: 40px;\n --app-toolbar-secondary-height: 50px;\n --app-toolbar-secondary-color: var(\n --lrnsys-dialog-secondary-background-color\n );\n --app-toolbar-primary-color: var(\n --lrnsys-dialog-toolbar-background-color\n );\n position: relative;\n margin: 0;\n padding: 0;\n }\n app-toolbar#primary {\n color: var(--lrnsys-dialog-color, #000);\n background-color: var(--app-toolbar-primary-color);\n z-index: 10;\n position: relative;\n height: var(--app-toolbar-primary-height);\n }\n app-toolbar#secondary {\n color: var(--lrnsys-dialog-color, #000);\n background-color: var(--app-toolbar-secondary-color);\n z-index: 5;\n position: absolute;\n width: 100%;\n transform: translateY(-100%);\n transition: all 0.3s ease-in;\n height: var(--app-toolbar-primary-height);\n display: flex;\n justify-content: center;\n padding: 0;\n }\n :host([secondary-visible]) #secondary {\n transform: translateY(0);\n height: var(--app-toolbar-secondary-height);\n }\n .secondary-buttons {\n display: flex;\n }\n .secondary-buttons ::slotted(*) {\n display: inline-flex;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog.js index 3e3678a5df6..5d90ac24e6a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-dialog.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.LrnsysDialog = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_885451701da511ed9d313b9780b2ae17, _templateObject2_885451701da511ed9d313b9780b2ae17; + var _templateObject_51bf72d01e5811ed81a80d03c17d190b, _templateObject2_51bf72d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -60,7 +60,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp babelHelpers.createClass(LrnsysDialog, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_885451701da511ed9d313b9780b2ae17 || (_templateObject_885451701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n ", "\n "])), this.class, this.openDialog, this.focusToggle, this.tapEventOn, this.tapEventOn, this.tapEventOff, this.raised, this.disabled, this.alt, this.alt, this.avatar, this.icon, this.text, !this.alt, this.alt); + return (0, _index.html)(_templateObject_51bf72d01e5811ed81a80d03c17d190b || (_templateObject_51bf72d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n ", "\n "])), this.class, this.openDialog, this.focusToggle, this.tapEventOn, this.tapEventOn, this.tapEventOff, this.raised, this.disabled, this.alt, this.alt, this.avatar, this.icon, this.text, !this.alt, this.alt); } }, { key: "tapEventOn", @@ -207,7 +207,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnsysDialog), "styles", this)), [(0, _index.css)(_templateObject2_885451701da511ed9d313b9780b2ae17 || (_templateObject2_885451701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --lrnsys-dialog-color: var(--simple-colors-foreground1, #000);\n --lrnsys-dialog-background-color: var(--simple-colors-background1);\n --lrnsys-dialog-toolbar-background-color: var(\n --simple-colors-background3\n );\n --lrnsys-dialog-secondary-background-color: rgba(255, 255, 255, 0.7);\n }\n :host([raised]) #dialogtrigger {\n border: 2px solid black;\n }\n :host([dark]) {\n --lrnsys-dialog-toolbar-background-color: var(\n --simple-colors-background1\n );\n --lrnsys-dialog-background-color: var(--simple-colors-background3);\n --lrnsys-dialog-secondary-background-color: rgba(0, 0, 0, 0.7);\n }\n #dialogtrigger {\n display: inline-block;\n min-width: unset;\n height: var(--lrnsys-button-height);\n margin: var(--lrnsys-dialog-button-margin);\n padding: var(--lrnsys-dialog-button-padding);\n border: none;\n background: transparent;\n }\n #dialogtrigger:hover {\n cursor: pointer;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnsysDialog), "styles", this)), [(0, _index.css)(_templateObject2_51bf72d01e5811ed81a80d03c17d190b || (_templateObject2_51bf72d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --lrnsys-dialog-color: var(--simple-colors-foreground1, #000);\n --lrnsys-dialog-background-color: var(--simple-colors-background1);\n --lrnsys-dialog-toolbar-background-color: var(\n --simple-colors-background3\n );\n --lrnsys-dialog-secondary-background-color: rgba(255, 255, 255, 0.7);\n }\n :host([raised]) #dialogtrigger {\n border: 2px solid black;\n }\n :host([dark]) {\n --lrnsys-dialog-toolbar-background-color: var(\n --simple-colors-background1\n );\n --lrnsys-dialog-background-color: var(--simple-colors-background3);\n --lrnsys-dialog-secondary-background-color: rgba(0, 0, 0, 0.7);\n }\n #dialogtrigger {\n display: inline-block;\n min-width: unset;\n height: var(--lrnsys-button-height);\n margin: var(--lrnsys-dialog-button-margin);\n padding: var(--lrnsys-dialog-button-padding);\n border: none;\n background: transparent;\n }\n #dialogtrigger:hover {\n cursor: pointer;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-drawer.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-drawer.js index 7a6bb626ac2..bc15d0b173e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-drawer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-layout/lib/lrnsys-drawer.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.LrnsysDrawer = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_885ba4701da511ed9d313b9780b2ae17, _templateObject2_885ba4701da511ed9d313b9780b2ae17; + var _templateObject_51c58d501e5811ed81a80d03c17d190b, _templateObject2_51c58d501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -63,7 +63,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp babelHelpers.createClass(LrnsysDrawer, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_885ba4701da511ed9d313b9780b2ae17 || (_templateObject_885ba4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n ", "\n "])), this.class, this.toggleDrawer, this.raised, this.disabled, this.alt, this.avatar, this.icon, this.text, this.alt); + return (0, _index.html)(_templateObject_51c58d501e5811ed81a80d03c17d190b || (_templateObject_51c58d501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n ", "\n "])), this.class, this.toggleDrawer, this.raised, this.disabled, this.alt, this.avatar, this.icon, this.text, this.alt); } }, { key: "firstUpdated", @@ -229,7 +229,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnsysDrawer), "styles", this)), [(0, _index.css)(_templateObject2_885ba4701da511ed9d313b9780b2ae17 || (_templateObject2_885ba4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-drawer-color: var(--simple-colors-foreground1);\n --lrnsys-drawer-button-background-color: var(\n --simple-colors-background1\n );\n }\n :host([raised]) button {\n border: 2px solid black;\n }\n button {\n display: inline-block;\n min-width: unset;\n margin: var(--lrnsys-drawer-button-margin);\n padding: var(--lrnsys-drawer-button-padding);\n border: none;\n background: var(--lrnsys-drawer-button-background-color);\n }\n button:hover {\n cursor: pointer;\n background: var(\n --lrnsys-drawer-button-background-color-hover,\n --lrnsys-drawer-button-background-color\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(LrnsysDrawer), "styles", this)), [(0, _index.css)(_templateObject2_51c58d501e5811ed81a80d03c17d190b || (_templateObject2_51c58d501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --lrnsys-drawer-color: var(--simple-colors-foreground1);\n --lrnsys-drawer-button-background-color: var(\n --simple-colors-background1\n );\n }\n :host([raised]) button {\n border: 2px solid black;\n }\n button {\n display: inline-block;\n min-width: unset;\n margin: var(--lrnsys-drawer-button-margin);\n padding: var(--lrnsys-drawer-button-padding);\n border: none;\n background: var(--lrnsys-drawer-button-background-color);\n }\n button:hover {\n cursor: pointer;\n background: var(\n --lrnsys-drawer-button-background-color-hover,\n --lrnsys-drawer-button-background-color\n );\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lib/lrnsys-outline-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lib/lrnsys-outline-item.js index 81c118cf48c..63dbef99dba 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lib/lrnsys-outline-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lib/lrnsys-outline-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.LrnsysOutlineItem = void 0; - var _templateObject_88620d101da511ed9d313b9780b2ae17; + var _templateObject_51cb0b901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -359,7 +359,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88620d101da511ed9d313b9780b2ae17 || (_templateObject_88620d101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n \n \n \n \n
        \n \n \n \n \n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_51cb0b901e5811ed81a80d03c17d190b || (_templateObject_51cb0b901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n \n \n \n \n
        \n \n \n \n \n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lrnsys-outline.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lrnsys-outline.js index 8c32b6dc38c..f4b6bfc2879 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lrnsys-outline.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-outline/lrnsys-outline.js @@ -8,7 +8,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../. _require = _interopRequireWildcard(_require); async = _interopRequireWildcard(async); - var _templateObject_477ae8801da511ed9d313b9780b2ae17; + var _templateObject_1aa994b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -485,7 +485,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../. }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_477ae8801da511ed9d313b9780b2ae17 || (_templateObject_477ae8801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1aa994b01e5811ed81a80d03c17d190b || (_templateObject_1aa994b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-pdf/lrnsys-pdf.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-pdf/lrnsys-pdf.js index 7a15aca1f86..613f9660313 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-pdf/lrnsys-pdf.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-pdf/lrnsys-pdf.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s _exports.LrnsysPdf = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_477d80901da511ed9d313b9780b2ae17; + var _templateObject_1aac2cc01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -58,7 +58,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_477d80901da511ed9d313b9780b2ae17 || (_templateObject_477d80901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n

        [[title]]

        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1aac2cc01e5811ed81a80d03c17d190b || (_templateObject_1aac2cc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n

        [[title]]

        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lib/lrnsys-progress-circle.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lib/lrnsys-progress-circle.js index 8e921156487..5e459847de5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lib/lrnsys-progress-circle.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lib/lrnsys-progress-circle.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../@polymer/polymer/polymer-element.js", "../. _exports.LrnsysProgressCircle = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_886c1f301da511ed9d313b9780b2ae17; + var _templateObject_51df56e01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -306,7 +306,7 @@ define(["exports", "meta", "../../../@polymer/polymer/polymer-element.js", "../. }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_886c1f301da511ed9d313b9780b2ae17 || (_templateObject_886c1f301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n [[label]]\n
        \n \n \n \n \n \n \n \n \n \n

        [[label]]

        \n
        \n \n
        \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_51df56e01e5811ed81a80d03c17d190b || (_templateObject_51df56e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n [[label]]\n
        \n \n \n \n \n \n \n \n \n \n

        [[label]]

        \n
        \n \n
        \n
        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lrnsys-progress.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lrnsys-progress.js index 8843ffcd791..e92f2b6c035 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lrnsys-progress.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-progress/lrnsys-progress.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../@polymer/polymer/polymer-element.js", "../simp _exports.LrnsysProgress = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_478807e01da511ed9d313b9780b2ae17; + var _templateObject_1ab617d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -461,7 +461,7 @@ define(["exports", "meta", "../../@polymer/polymer/polymer-element.js", "../simp }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_478807e01da511ed9d313b9780b2ae17 || (_templateObject_478807e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n

        [[title]]

        \n \n
          \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1ab617d01e5811ed81a80d03c17d190b || (_templateObject_1ab617d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n

        [[title]]

        \n \n
          \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-randomimage/lrnsys-randomimage.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-randomimage/lrnsys-randomimage.js index 28cafeabf46..617210117b1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-randomimage/lrnsys-randomimage.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-randomimage/lrnsys-randomimage.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../random-image }); _exports.LrnsysRandomimage = void 0; - var _templateObject_478967701da511ed9d313b9780b2ae17; + var _templateObject_1ab777601e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -39,7 +39,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../random-image }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_478967701da511ed9d313b9780b2ae17 || (_templateObject_478967701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1ab777601e5811ed81a80d03c17d190b || (_templateObject_1ab777601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-render-html/lrnsys-render-html.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-render-html/lrnsys-render-html.js index 6964d2f2f4f..c59304f6ba3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-render-html/lrnsys-render-html.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrnsys-render-html/lrnsys-render-html.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.LrnsysRenderHtml = void 0; - var _templateObject_478aee101da511ed9d313b9780b2ae17, _templateObject2_478aee101da511ed9d313b9780b2ae17; + var _templateObject_1ab8d6f01e5811ed81a80d03c17d190b, _templateObject2_1ab8d6f01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -37,7 +37,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(LrnsysRenderHtml, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_478aee101da511ed9d313b9780b2ae17 || (_templateObject_478aee101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))); + return (0, _index.html)(_templateObject_1ab8d6f01e5811ed81a80d03c17d190b || (_templateObject_1ab8d6f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))); } }, { key: "firstUpdated", @@ -62,7 +62,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_478aee101da511ed9d313b9780b2ae17 || (_templateObject2_478aee101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1ab8d6f01e5811ed81a80d03c17d190b || (_templateObject2_1ab8d6f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/deploy.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/deploy.js index 7d57ae3d862..6b256f467ee 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/deploy.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/deploy.js @@ -1,3 +1,5 @@ +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -26,10 +28,10 @@ var DeployCommand = /*#__PURE__*/function (_Command) { babelHelpers.createClass(DeployCommand, [{ key: "run", value: function () { - var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var _this$parse, flags; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/start.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/start.js index 358e1af75a1..fe9c320facd 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/start.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/start.js @@ -1,3 +1,5 @@ +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -28,10 +30,10 @@ var StartCommand = /*#__PURE__*/function (_Command) { babelHelpers.createClass(StartCommand, [{ key: "run", value: function () { - var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var _this$parse, flags, prismaDockerStart; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/stop.js b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/stop.js index 833b0da2717..c1825c7f572 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/stop.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lrs-elements/lib/lrs-service/src/commands/stop.js @@ -1,3 +1,5 @@ +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -28,10 +30,10 @@ var StopCommand = /*#__PURE__*/function (_Command) { babelHelpers.createClass(StopCommand, [{ key: "run", value: function () { - var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _run = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var _this$parse, flags; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/lunr-search/lunr-search.js b/build/es5-amd/node_modules/@lrnwebcomponents/lunr-search/lunr-search.js index 7b744ccd2ad..ca4149b8612 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/lunr-search/lunr-search.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/lunr-search/lunr-search.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- _exports.LunrSearch = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_47932b701da511ed9d313b9780b2ae17, _templateObject2_47932b701da511ed9d313b9780b2ae17; + var _templateObject_1ac051001e5811ed81a80d03c17d190b, _templateObject2_1ac051001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -69,7 +69,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_47932b701da511ed9d313b9780b2ae17 || (_templateObject_47932b701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_1ac051001e5811ed81a80d03c17d190b || (_templateObject_1ac051001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } // properties available to the custom element for data binding }, { @@ -303,7 +303,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_47932b701da511ed9d313b9780b2ae17 || (_templateObject2_47932b701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1ac051001e5811ed81a80d03c17d190b || (_templateObject2_1ac051001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/magazine-cover/magazine-cover.js b/build/es5-amd/node_modules/@lrnwebcomponents/magazine-cover/magazine-cover.js index b97d36d2e13..4fcf68bdc33 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/magazine-cover/magazine-cover.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/magazine-cover/magazine-cover.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si }); _exports.MagazineCover = void 0; - var _templateObject_3a9b50a01da511ed9d313b9780b2ae17, _templateObject2_3a9b50a01da511ed9d313b9780b2ae17; + var _templateObject_0dea2f001e5811ed81a80d03c17d190b, _templateObject2_0dea2f001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -52,7 +52,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si babelHelpers.createClass(MagazineCover, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3a9b50a01da511ed9d313b9780b2ae17 || (_templateObject_3a9b50a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n

        ", "

        \n
        ", "
        \n
        \n

        ", "

        \n \n
        \n \n \n \n
        \n "])), this.image, this.describedBy || "", !this.header, this.header, !this.subheader, this.subheader, !this.text, this.text, this.link, this._linkTapped, this.action, this.icon, !this.icon); + return (0, _index.html)(_templateObject_0dea2f001e5811ed81a80d03c17d190b || (_templateObject_0dea2f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n

        ", "

        \n
        ", "
        \n
        \n

        ", "

        \n \n
        \n \n \n \n
        \n "])), this.image, this.describedBy || "", !this.header, this.header, !this.subheader, this.subheader, !this.text, this.text, this.link, this._linkTapped, this.action, this.icon, !this.icon); } /** * convention @@ -87,7 +87,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3a9b50a01da511ed9d313b9780b2ae17 || (_templateObject2_3a9b50a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: #222222;\n overflow: hidden;\n --magazine-cover-text-color: #eeeeee;\n }\n .overlay {\n left: 0;\n right: 0;\n min-height: 30vh;\n margin: -38vh 0 0 0;\n background-color: rgba(0, 0, 0, 0.8);\n padding: 32px;\n position: relative;\n }\n #image {\n opacity: 0.5;\n filter: alpha(opacity=50);\n transition: opacity 0.3s linear;\n width: 100%;\n height: 80vh;\n background-color: #222222;\n }\n #image:hover {\n opacity: 0.9;\n filter: alpha(opacity=90);\n }\n #header {\n color: var(--magazine-cover-text-color);\n font-size: 48px;\n padding: 0;\n margin: 0;\n font-weight: bold;\n }\n #subheader {\n color: var(--magazine-cover-text-color);\n font-size: 22.4px;\n padding: 0;\n margin: 3.2px 0 16px 0;\n font-style: italic;\n font-weight: normal;\n }\n #body {\n color: var(--magazine-cover-text-color);\n padding: 0;\n margin: 0;\n font-size: 19.2px;\n padding: 0 0 0 3.2px;\n margin: 0 0 32px 0;\n }\n #body p {\n color: var(--magazine-cover-text-color);\n }\n #action {\n color: var(--magazine-cover-text-color);\n text-transform: none;\n font-size: 24px;\n font-style: italic;\n font-weight: bold;\n background-color: #000000;\n border: 1px solid var(--magazine-cover-text-color);\n border-radius: 8px;\n transition: background 0.3s linear;\n width: 100%;\n margin: 0;\n }\n #action:hover,\n #action:focus {\n border-color: #ffffff;\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.2);\n }\n #actionlink {\n color: var(--magazine-cover-text-color);\n display: flex;\n text-decoration: none;\n border-radius: 8px;\n }\n #icon {\n display: inline-block;\n width: 19.2px;\n height: 19.2px;\n font-size: 19.2px;\n margin-left: 8px;\n }\n #label {\n text-shadow: -1px 1px 2px #000000;\n }\n @media screen and (max-width: 900px) {\n #header {\n font-size: 32px;\n }\n #subheader {\n font-size: 16px;\n }\n #body {\n font-size: 16px;\n }\n #action {\n font-size: 19.2px;\n }\n }\n @media screen and (max-width: 650px) {\n #body {\n font-size: 12.8px;\n }\n #action {\n font-size: 16px;\n }\n .overlay {\n margin: -50vh 0 0 0;\n padding: 16px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0dea2f001e5811ed81a80d03c17d190b || (_templateObject2_0dea2f001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: #222222;\n overflow: hidden;\n --magazine-cover-text-color: #eeeeee;\n }\n .overlay {\n left: 0;\n right: 0;\n min-height: 30vh;\n margin: -38vh 0 0 0;\n background-color: rgba(0, 0, 0, 0.8);\n padding: 32px;\n position: relative;\n }\n #image {\n opacity: 0.5;\n filter: alpha(opacity=50);\n transition: opacity 0.3s linear;\n width: 100%;\n height: 80vh;\n background-color: #222222;\n }\n #image:hover {\n opacity: 0.9;\n filter: alpha(opacity=90);\n }\n #header {\n color: var(--magazine-cover-text-color);\n font-size: 48px;\n padding: 0;\n margin: 0;\n font-weight: bold;\n }\n #subheader {\n color: var(--magazine-cover-text-color);\n font-size: 22.4px;\n padding: 0;\n margin: 3.2px 0 16px 0;\n font-style: italic;\n font-weight: normal;\n }\n #body {\n color: var(--magazine-cover-text-color);\n padding: 0;\n margin: 0;\n font-size: 19.2px;\n padding: 0 0 0 3.2px;\n margin: 0 0 32px 0;\n }\n #body p {\n color: var(--magazine-cover-text-color);\n }\n #action {\n color: var(--magazine-cover-text-color);\n text-transform: none;\n font-size: 24px;\n font-style: italic;\n font-weight: bold;\n background-color: #000000;\n border: 1px solid var(--magazine-cover-text-color);\n border-radius: 8px;\n transition: background 0.3s linear;\n width: 100%;\n margin: 0;\n }\n #action:hover,\n #action:focus {\n border-color: #ffffff;\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.2);\n }\n #actionlink {\n color: var(--magazine-cover-text-color);\n display: flex;\n text-decoration: none;\n border-radius: 8px;\n }\n #icon {\n display: inline-block;\n width: 19.2px;\n height: 19.2px;\n font-size: 19.2px;\n margin-left: 8px;\n }\n #label {\n text-shadow: -1px 1px 2px #000000;\n }\n @media screen and (max-width: 900px) {\n #header {\n font-size: 32px;\n }\n #subheader {\n font-size: 16px;\n }\n #body {\n font-size: 16px;\n }\n #action {\n font-size: 19.2px;\n }\n }\n @media screen and (max-width: 650px) {\n #body {\n font-size: 12.8px;\n }\n #action {\n font-size: 16px;\n }\n .overlay {\n margin: -50vh 0 0 0;\n padding: 16px;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-builder.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-builder.js index 2d986ed0753..6eda49865a8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-builder.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-builder.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req _exports.MapMenuBuilder = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_88798cb01da511ed9d313b9780b2ae17, _templateObject2_88798cb01da511ed9d313b9780b2ae17, _templateObject3_88798cb01da511ed9d313b9780b2ae17, _templateObject4_88798cb01da511ed9d313b9780b2ae17, _templateObject5_88798cb01da511ed9d313b9780b2ae17; + var _templateObject_51e8a5b01e5811ed81a80d03c17d190b, _templateObject2_51e8a5b01e5811ed81a80d03c17d190b, _templateObject3_51e8a5b01e5811ed81a80d03c17d190b, _templateObject4_51e8a5b01e5811ed81a80d03c17d190b, _templateObject5_51e8a5b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -46,8 +46,8 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_88798cb01da511ed9d313b9780b2ae17 || (_templateObject_88798cb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.items ? this.items.map(function (item) { - return (0, _index.html)(_templateObject2_88798cb01da511ed9d313b9780b2ae17 || (_templateObject2_88798cb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), item.children.length > 0 ? (0, _index.html)(_templateObject3_88798cb01da511ed9d313b9780b2ae17 || (_templateObject3_88798cb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), item.title, item.id, item.slug, item.metadata && item.metadata.icon ? item.metadata.icon : "", item.metadata && item.metadata.active ? item.metadata.active : false, item.metadata && item.metadata.avatarLabel ? item.metadata.avatarLabel : "", _this2.selected, item.metadata.published, item.children, _this2.selected) : (0, _index.html)(_templateObject4_88798cb01da511ed9d313b9780b2ae17 || (_templateObject4_88798cb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.title, item.id, item.slug, item.metadata && item.metadata.icon ? item.metadata.icon : "", item.metadata && item.metadata.accessData && item.metadata.accessData.trackIcon ? item.metadata.accessData.trackIcon : "", _this2.activePath, _this2.selected, item.metadata.published, item.metadata.locked, item.metadata.status)); + return (0, _index.html)(_templateObject_51e8a5b01e5811ed81a80d03c17d190b || (_templateObject_51e8a5b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.items ? this.items.map(function (item) { + return (0, _index.html)(_templateObject2_51e8a5b01e5811ed81a80d03c17d190b || (_templateObject2_51e8a5b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), item.children.length > 0 ? (0, _index.html)(_templateObject3_51e8a5b01e5811ed81a80d03c17d190b || (_templateObject3_51e8a5b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), item.title, item.id, item.slug, item.metadata && item.metadata.icon ? item.metadata.icon : "", item.metadata && item.metadata.active ? item.metadata.active : false, item.metadata && item.metadata.avatarLabel ? item.metadata.avatarLabel : "", _this2.selected, item.metadata.published, item.children, _this2.selected) : (0, _index.html)(_templateObject4_51e8a5b01e5811ed81a80d03c17d190b || (_templateObject4_51e8a5b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.title, item.id, item.slug, item.metadata && item.metadata.icon ? item.metadata.icon : "", item.metadata && item.metadata.accessData && item.metadata.accessData.trackIcon ? item.metadata.accessData.trackIcon : "", _this2.activePath, _this2.selected, item.metadata.published, item.metadata.locked, item.metadata.status)); }) : ""); } }, { @@ -62,7 +62,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject5_88798cb01da511ed9d313b9780b2ae17 || (_templateObject5_88798cb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_51e8a5b01e5811ed81a80d03c17d190b || (_templateObject5_51e8a5b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-container.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-container.js index de148928735..832c33f0f75 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-container.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-container.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-item.js", "./map-menu-su }); _exports.MapMenuContainer = void 0; - var _templateObject_887b61701da511ed9d313b9780b2ae17, _templateObject2_887b61701da511ed9d313b9780b2ae17; + var _templateObject_51e9de301e5811ed81a80d03c17d190b, _templateObject2_51e9de301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -35,7 +35,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-item.js", "./map-menu-su * LitElement life cycle - render */ function render() { - return (0, _index.html)(_templateObject_887b61701da511ed9d313b9780b2ae17 || (_templateObject_887b61701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_51e9de301e5811ed81a80d03c17d190b || (_templateObject_51e9de301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }], [{ key: "styles", @@ -44,7 +44,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-item.js", "./map-menu-su * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_887b61701da511ed9d313b9780b2ae17 || (_templateObject2_887b61701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n padding: 16px 32px;\n }\n :host > ::slotted(map-menu-submenu + map-menu-submenu) {\n margin-top: 16px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51e9de301e5811ed81a80d03c17d190b || (_templateObject2_51e9de301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #container {\n padding: 16px 32px;\n }\n :host > ::slotted(map-menu-submenu + map-menu-submenu) {\n margin-top: 16px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-header.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-header.js index c1073e1820c..47aca8df368 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-header.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-header.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../simple-ico meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_888043701da511ed9d313b9780b2ae17, _templateObject2_888043701da511ed9d313b9780b2ae17, _templateObject3_888043701da511ed9d313b9780b2ae17, _templateObject4_888043701da511ed9d313b9780b2ae17, _templateObject5_888043701da511ed9d313b9780b2ae17; + var _templateObject_51eec0301e5811ed81a80d03c17d190b, _templateObject2_51eec0301e5811ed81a80d03c17d190b, _templateObject3_51eec0301e5811ed81a80d03c17d190b, _templateObject4_51eec0301e5811ed81a80d03c17d190b, _templateObject5_51eec0301e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -69,7 +69,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../simple-ico * LitElement life cycle - render callback */ function render() { - return (0, _index.html)(_templateObject_888043701da511ed9d313b9780b2ae17 || (_templateObject_888043701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.avatarLabel ? (0, _index.html)(_templateObject2_888043701da511ed9d313b9780b2ae17 || (_templateObject2_888043701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.avatarLabel) : "", this.url, this.icon ? (0, _index.html)(_templateObject3_888043701da511ed9d313b9780b2ae17 || (_templateObject3_888043701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.label, this.title, !this.published ? (0, _index.html)(_templateObject4_888043701da511ed9d313b9780b2ae17 || (_templateObject4_888043701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.t.pageIsUnpublished) : ""); + return (0, _index.html)(_templateObject_51eec0301e5811ed81a80d03c17d190b || (_templateObject_51eec0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.avatarLabel ? (0, _index.html)(_templateObject2_51eec0301e5811ed81a80d03c17d190b || (_templateObject2_51eec0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.avatarLabel) : "", this.url, this.icon ? (0, _index.html)(_templateObject3_51eec0301e5811ed81a80d03c17d190b || (_templateObject3_51eec0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.icon) : "", this.label, this.title, !this.published ? (0, _index.html)(_templateObject4_51eec0301e5811ed81a80d03c17d190b || (_templateObject4_51eec0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.t.pageIsUnpublished) : ""); } }, { key: "updated", @@ -162,7 +162,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "../../simple-ico * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject5_888043701da511ed9d313b9780b2ae17 || (_templateObject5_888043701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n transition: 0.1s all ease-in-out;\n --map-menu-item-height: 24px;\n }\n :host([active]) {\n background: var(--map-menu-active-color);\n color: var(--map-menu-item-active-item-color, #000000);\n }\n #container {\n display: flex;\n align-items: center;\n }\n\n .avatarlabel {\n margin-right: 10px;\n }\n\n #center {\n flex: 1 1 auto;\n }\n a,\n a:visited {\n display: block;\n color: var(--map-menu-item-a-color, inherit);\n text-decoration: var(--map-menu-header-a-text-decoration, none);\n }\n a:hover button,\n a:active button,\n a:focus button {\n color: var(\n --map-menu-item-a-active-color,\n var(--map-menu-item-a-color, inherit)\n );\n text-decoration: var(\n --map-menu-header-a-text-decoration-hover,\n underline\n );\n }\n lrndesign-avatar {\n display: inline-block;\n background: #fff;\n border-radius: 50%;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n padding: 2px;\n position: relative;\n margin-top: -2px;\n transform: translateY(2px);\n }\n\n #link {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: column;\n }\n\n #right simple-icon-lite {\n display: inline-block;\n color: gray;\n }\n\n simple-icon-lite {\n color: inherit;\n display: inline-block;\n --simple-icon-height: var(--map-menu-item-height);\n --simple-icon-width: var(--map-menu-item-height);\n }\n\n button {\n cursor: pointer;\n color: inherit;\n background-color: transparent;\n text-transform: none;\n width: 100%;\n justify-content: left;\n margin: 0px;\n border: 0;\n min-height: var(--map-menu-header-button-min-height, 48px);\n padding: 4px;\n text-align: left;\n border-radius: 0;\n }\n :host([status=\"new\"]) a::after {\n border-right: 8px solid green;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"modified\"]) a::after {\n border-right: 8px solid orange;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"delete\"]) a::after {\n border-right: 8px solid red;\n content: \"\";\n margin-left: -8px;\n }\n #unpublished {\n --simple-icon-width: 20px;\n --simple-icon-height: 20px;\n color: orange;\n float: right;\n margin: -4px 32px 0px 0px;\n vertical-align: top;\n height: 0px;\n width: 0px;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_51eec0301e5811ed81a80d03c17d190b || (_templateObject5_51eec0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n transition: 0.1s all ease-in-out;\n --map-menu-item-height: 24px;\n }\n :host([active]) {\n background: var(--map-menu-active-color);\n color: var(--map-menu-item-active-item-color, #000000);\n }\n #container {\n display: flex;\n align-items: center;\n }\n\n .avatarlabel {\n margin-right: 10px;\n }\n\n #center {\n flex: 1 1 auto;\n }\n a,\n a:visited {\n display: block;\n color: var(--map-menu-item-a-color, inherit);\n text-decoration: var(--map-menu-header-a-text-decoration, none);\n }\n a:hover button,\n a:active button,\n a:focus button {\n color: var(\n --map-menu-item-a-active-color,\n var(--map-menu-item-a-color, inherit)\n );\n text-decoration: var(\n --map-menu-header-a-text-decoration-hover,\n underline\n );\n }\n lrndesign-avatar {\n display: inline-block;\n background: #fff;\n border-radius: 50%;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n padding: 2px;\n position: relative;\n margin-top: -2px;\n transform: translateY(2px);\n }\n\n #link {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: column;\n }\n\n #right simple-icon-lite {\n display: inline-block;\n color: gray;\n }\n\n simple-icon-lite {\n color: inherit;\n display: inline-block;\n --simple-icon-height: var(--map-menu-item-height);\n --simple-icon-width: var(--map-menu-item-height);\n }\n\n button {\n cursor: pointer;\n color: inherit;\n background-color: transparent;\n text-transform: none;\n width: 100%;\n justify-content: left;\n margin: 0px;\n border: 0;\n min-height: var(--map-menu-header-button-min-height, 48px);\n padding: 4px;\n text-align: left;\n border-radius: 0;\n }\n :host([status=\"new\"]) a::after {\n border-right: 8px solid green;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"modified\"]) a::after {\n border-right: 8px solid orange;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"delete\"]) a::after {\n border-right: 8px solid red;\n content: \"\";\n margin-left: -8px;\n }\n #unpublished {\n --simple-icon-width: 20px;\n --simple-icon-height: 20px;\n color: orange;\n float: right;\n margin: -4px 32px 0px 0px;\n vertical-align: top;\n height: 0px;\n width: 0px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-item.js index 9ef57f1cf7e..83d53cb1ac7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-item.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl _exports.MapMenuItem = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_8885e8c01da511ed9d313b9780b2ae17, _templateObject2_8885e8c01da511ed9d313b9780b2ae17, _templateObject3_8885e8c01da511ed9d313b9780b2ae17, _templateObject4_8885e8c01da511ed9d313b9780b2ae17, _templateObject5_8885e8c01da511ed9d313b9780b2ae17; + var _templateObject_51f2b7d01e5811ed81a80d03c17d190b, _templateObject2_51f2b7d01e5811ed81a80d03c17d190b, _templateObject3_51f2b7d01e5811ed81a80d03c17d190b, _templateObject4_51f2b7d01e5811ed81a80d03c17d190b, _templateObject5_51f2b7d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -64,7 +64,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl * LitElement life cycle - render callback */ function render() { - return (0, _index.html)(_templateObject_8885e8c01da511ed9d313b9780b2ae17 || (_templateObject_8885e8c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.url, this.icon ? (0, _index.html)(_templateObject2_8885e8c01da511ed9d313b9780b2ae17 || (_templateObject2_8885e8c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.title, this.trackIcon ? (0, _index.html)(_templateObject3_8885e8c01da511ed9d313b9780b2ae17 || (_templateObject3_8885e8c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.trackIcon) : "", !this.published ? (0, _index.html)(_templateObject4_8885e8c01da511ed9d313b9780b2ae17 || (_templateObject4_8885e8c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.t.pageIsUnpublished) : ""); + return (0, _index.html)(_templateObject_51f2b7d01e5811ed81a80d03c17d190b || (_templateObject_51f2b7d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.url, this.icon ? (0, _index.html)(_templateObject2_51f2b7d01e5811ed81a80d03c17d190b || (_templateObject2_51f2b7d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.title, this.trackIcon ? (0, _index.html)(_templateObject3_51f2b7d01e5811ed81a80d03c17d190b || (_templateObject3_51f2b7d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.trackIcon) : "", !this.published ? (0, _index.html)(_templateObject4_51f2b7d01e5811ed81a80d03c17d190b || (_templateObject4_51f2b7d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.t.pageIsUnpublished) : ""); } }, { key: "updated", @@ -127,7 +127,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-icon/lib/simpl * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject5_8885e8c01da511ed9d313b9780b2ae17 || (_templateObject5_8885e8c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n transition: 0.1s all ease-in-out;\n font-size: var(--map-menu-item-font-size);\n --map-menu-item-height: 42px;\n --map-menu-item-icon-height: 24px;\n overflow: var(--map-menu-item-overflow, hidden);\n }\n :host([active]) {\n background: var(--map-menu-active-color);\n color: var(--map-menu-item-active-item-color, #000000);\n }\n simple-icon-lite {\n display: inline-block;\n --simple-icon-height: var(--map-menu-item-icon-height);\n --simple-icon-width: var(--map-menu-item-icon-height);\n }\n .title {\n text-transform: none;\n }\n a,\n a:visited {\n display: block;\n color: var(--map-menu-item-a-color, inherit);\n text-decoration: var(--map-menu-item-a-text-decoration, none);\n }\n a:hover button,\n a:active button,\n a:focus button {\n color: var(\n --map-menu-item-a-active-color,\n var(--map-menu-item-a-color, inherit)\n );\n text-decoration: var(\n --map-menu-item-a-text-decoration-hover,\n underline\n );\n }\n #track {\n transition: 0.1s all ease-in-out;\n position: absolute;\n right: 0;\n\n margin-right: 0px;\n width: 0px;\n height: 0px;\n visibility: hidden;\n opacity: 0;\n }\n #track.show-icon {\n margin-right: 5px;\n width: 18px;\n height: 18px;\n visibility: visible;\n opacity: 1;\n }\n button {\n cursor: pointer;\n color: inherit;\n background-color: transparent;\n text-transform: none;\n width: 100%;\n justify-content: left;\n margin: 0px;\n border: 0;\n height: var(\n --map-menu-item-button-height,\n var(--map-menu-item-height)\n );\n padding: 4px;\n text-align: left;\n border-radius: 0;\n }\n :host([status=\"new\"]) a::after {\n border-right: 8px solid green;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"modified\"]) a::after {\n border-right: 8px solid orange;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"delete\"]) a::after {\n border-right: 8px solid red;\n content: \"\";\n margin-left: -8px;\n }\n #unpublished {\n --simple-icon-width: 20px;\n --simple-icon-height: 20px;\n color: orange;\n float: right;\n margin: -4px 32px 0px 0px;\n vertical-align: top;\n height: 0px;\n width: 0px;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_51f2b7d01e5811ed81a80d03c17d190b || (_templateObject5_51f2b7d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n transition: 0.1s all ease-in-out;\n font-size: var(--map-menu-item-font-size);\n --map-menu-item-height: 42px;\n --map-menu-item-icon-height: 24px;\n overflow: var(--map-menu-item-overflow, hidden);\n }\n :host([active]) {\n background: var(--map-menu-active-color);\n color: var(--map-menu-item-active-item-color, #000000);\n }\n simple-icon-lite {\n display: inline-block;\n --simple-icon-height: var(--map-menu-item-icon-height);\n --simple-icon-width: var(--map-menu-item-icon-height);\n }\n .title {\n text-transform: none;\n }\n a,\n a:visited {\n display: block;\n color: var(--map-menu-item-a-color, inherit);\n text-decoration: var(--map-menu-item-a-text-decoration, none);\n }\n a:hover button,\n a:active button,\n a:focus button {\n color: var(\n --map-menu-item-a-active-color,\n var(--map-menu-item-a-color, inherit)\n );\n text-decoration: var(\n --map-menu-item-a-text-decoration-hover,\n underline\n );\n }\n #track {\n transition: 0.1s all ease-in-out;\n position: absolute;\n right: 0;\n\n margin-right: 0px;\n width: 0px;\n height: 0px;\n visibility: hidden;\n opacity: 0;\n }\n #track.show-icon {\n margin-right: 5px;\n width: 18px;\n height: 18px;\n visibility: visible;\n opacity: 1;\n }\n button {\n cursor: pointer;\n color: inherit;\n background-color: transparent;\n text-transform: none;\n width: 100%;\n justify-content: left;\n margin: 0px;\n border: 0;\n height: var(\n --map-menu-item-button-height,\n var(--map-menu-item-height)\n );\n padding: 4px;\n text-align: left;\n border-radius: 0;\n }\n :host([status=\"new\"]) a::after {\n border-right: 8px solid green;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"modified\"]) a::after {\n border-right: 8px solid orange;\n content: \"\";\n margin-left: -8px;\n }\n :host([status=\"delete\"]) a::after {\n border-right: 8px solid red;\n content: \"\";\n margin-left: -8px;\n }\n #unpublished {\n --simple-icon-width: 20px;\n --simple-icon-height: 20px;\n color: orange;\n float: right;\n margin: -4px 32px 0px 0px;\n vertical-align: top;\n height: 0px;\n width: 0px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-submenu.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-submenu.js index fed916e4122..d8931223052 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-submenu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/lib/map-menu-submenu.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-header.js", "../../a11y- }); _exports.MapMenuSubmenu = void 0; - var _templateObject_888992401da511ed9d313b9780b2ae17, _templateObject2_888992401da511ed9d313b9780b2ae17; + var _templateObject_51f63a401e5811ed81a80d03c17d190b, _templateObject2_51f63a401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -51,7 +51,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-header.js", "../../a11y- babelHelpers.createClass(MapMenuSubmenu, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_888992401da511ed9d313b9780b2ae17 || (_templateObject_888992401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.opened, this.avatarLabel, this.id, this.title, this.label, this.opened, this.url, this.selected, this.icon, this.published, this.locked, this.status); + return (0, _index.html)(_templateObject_51f63a401e5811ed81a80d03c17d190b || (_templateObject_51f63a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.opened, this.avatarLabel, this.id, this.title, this.label, this.opened, this.url, this.selected, this.icon, this.published, this.locked, this.status); } }, { key: "_headerClickHandler", @@ -110,7 +110,7 @@ define(["exports", "../../../lit/index.js", "./map-menu-header.js", "../../a11y- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_888992401da511ed9d313b9780b2ae17 || (_templateObject2_888992401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n }\n :host([collapsable]) > map-menu-builder {\n cursor: pointer;\n display: block;\n }\n #container {\n margin: 0;\n }\n #container ::slotted(map-menu-builder) {\n display: block;\n cursor: pointer;\n margin-left: 20px;\n }\n a11y-collapse {\n --a11y-collapse-border: 0;\n --a11y-collapse-horizontal-padding: 0;\n --a11y-collapse-vertical-padding: 0;\n color: var(--map-menu-item-a-color, inherit);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_51f63a401e5811ed81a80d03c17d190b || (_templateObject2_51f63a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: hidden;\n }\n :host([collapsable]) > map-menu-builder {\n cursor: pointer;\n display: block;\n }\n #container {\n margin: 0;\n }\n #container ::slotted(map-menu-builder) {\n display: block;\n cursor: pointer;\n margin-left: 20px;\n }\n a11y-collapse {\n --a11y-collapse-border: 0;\n --a11y-collapse-horizontal-padding: 0;\n --a11y-collapse-vertical-padding: 0;\n color: var(--map-menu-item-a-color, inherit);\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/map-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/map-menu.js index 244c33d1bc7..30d41f5cd6a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/map-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/map-menu/map-menu.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/map-menu-builder.js", "./lib/map }); _exports.MapMenu = void 0; - var _templateObject_4799e2301da511ed9d313b9780b2ae17, _templateObject2_4799e2301da511ed9d313b9780b2ae17; + var _templateObject_1ac644701e5811ed81a80d03c17d190b, _templateObject2_1ac644701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -57,7 +57,7 @@ define(["exports", "../../lit/index.js", "./lib/map-menu-builder.js", "./lib/map babelHelpers.createClass(MapMenu, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_4799e2301da511ed9d313b9780b2ae17 || (_templateObject_4799e2301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n
        \n
        \n "])), this.items, this.selected); + return (0, _index.html)(_templateObject_1ac644701e5811ed81a80d03c17d190b || (_templateObject_1ac644701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n \n
        \n
        \n "])), this.items, this.selected); } }, { key: "updated", @@ -404,7 +404,7 @@ define(["exports", "../../lit/index.js", "./lib/map-menu-builder.js", "./lib/map * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_4799e2301da511ed9d313b9780b2ae17 || (_templateObject2_4799e2301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --map-menu-active-color: rgba(0, 0, 0, 0.1);\n --map-menu-size: 1;\n display: block;\n overflow-y: scroll;\n position: relative;\n height: 100%;\n transition: all 0.1s ease-in-out;\n opacity: 1;\n background-color: transparent;\n }\n #itemslist {\n display: var(--map-menu-items-list-display);\n flex-direction: var(--map-menu-items-list-flex-direction);\n flex: var(--map-menu-items-list-flex);\n }\n #activeindicator {\n background: var(--map-menu-active-color);\n transition: all 0.1s ease-in-out;\n position: absolute;\n pointer-events: none;\n }\n\n map-menu-container {\n padding: var(--map-menu-container-padding, 0);\n display: var(--map-menu-container-display);\n flex-direction: var(--map-menu-container-flex-direction);\n flex: var(--map-menu-container-flex);\n background-color: var(--map-menu-container-background-color);\n color: var(--map-menu-container-color);\n }\n\n /* turn default active color if indicator is on */\n :host([active-indicator]) map-menu-builder {\n --map-menu-active-color: transparent;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1ac644701e5811ed81a80d03c17d190b || (_templateObject2_1ac644701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --map-menu-active-color: rgba(0, 0, 0, 0.1);\n --map-menu-size: 1;\n display: block;\n overflow-y: scroll;\n position: relative;\n height: 100%;\n transition: all 0.1s ease-in-out;\n opacity: 1;\n background-color: transparent;\n }\n #itemslist {\n display: var(--map-menu-items-list-display);\n flex-direction: var(--map-menu-items-list-flex-direction);\n flex: var(--map-menu-items-list-flex);\n }\n #activeindicator {\n background: var(--map-menu-active-color);\n transition: all 0.1s ease-in-out;\n position: absolute;\n pointer-events: none;\n }\n\n map-menu-container {\n padding: var(--map-menu-container-padding, 0);\n display: var(--map-menu-container-display);\n flex-direction: var(--map-menu-container-flex-direction);\n flex: var(--map-menu-container-flex);\n background-color: var(--map-menu-container-background-color);\n color: var(--map-menu-container-color);\n }\n\n /* turn default active color if indicator is on */\n :host([active-indicator]) map-menu-builder {\n --map-menu-active-color: transparent;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mark-the-words/mark-the-words.js b/build/es5-amd/node_modules/@lrnwebcomponents/mark-the-words/mark-the-words.js index 59878a8bca0..c7fe1faa0f5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mark-the-words/mark-the-words.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mark-the-words/mark-the-words.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.MarkTheWords = void 0; - var _templateObject_479c2c201da511ed9d313b9780b2ae17, _templateObject2_479c2c201da511ed9d313b9780b2ae17; + var _templateObject_1ac819301e5811ed81a80d03c17d190b, _templateObject2_1ac819301e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -42,7 +42,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_479c2c201da511ed9d313b9780b2ae17 || (_templateObject_479c2c201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject_1ac819301e5811ed81a80d03c17d190b || (_templateObject_1ac819301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } /** * Convention we use @@ -107,7 +107,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { styles = babelHelpers.get(babelHelpers.getPrototypeOf(MarkTheWords), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_479c2c201da511ed9d313b9780b2ae17 || (_templateObject2_479c2c201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_1ac819301e5811ed81a80d03c17d190b || (_templateObject2_1ac819301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-bars.js b/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-bars.js index a53c9af90f3..84beadc15cc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-bars.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-bars.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.MaterialProgressBars = void 0; - var _templateObject_888c9f801da511ed9d313b9780b2ae17; + var _templateObject_51f7c0e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -33,7 +33,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_888c9f801da511ed9d313b9780b2ae17 || (_templateObject_888c9f801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_51f7c0e01e5811ed81a80d03c17d190b || (_templateObject_51f7c0e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-histo.js b/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-histo.js index e044320df20..7198486f0b1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-histo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/material-progress/lib/material-progress-histo.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.MaterialProgressHisto = void 0; - var _templateObject_88937d501da511ed9d313b9780b2ae17; + var _templateObject_51fc54c01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -32,7 +32,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88937d501da511ed9d313b9780b2ae17 || (_templateObject_88937d501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n test\n \n
        \n
        \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_51fc54c01e5811ed81a80d03c17d190b || (_templateObject_51fc54c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n test\n \n
        \n
        \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/material-word/material-word.js b/build/es5-amd/node_modules/@lrnwebcomponents/material-word/material-word.js index 806a3fce3bf..9233c91d986 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/material-word/material-word.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/material-word/material-word.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }); _exports.MaterialWord = void 0; - var _templateObject_3a9d9a901da511ed9d313b9780b2ae17; + var _templateObject_0dec03c01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -51,7 +51,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_3a9d9a901da511ed9d313b9780b2ae17 || (_templateObject_3a9d9a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n \n
        \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_0dec03c01e5811ed81a80d03c17d190b || (_templateObject_0dec03c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n \n
        \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/materializecss-styles/lib/colors.js b/build/es5-amd/node_modules/@lrnwebcomponents/materializecss-styles/lib/colors.js index 1cdeec03f56..3043a434eaf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/materializecss-styles/lib/colors.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/materializecss-styles/lib/colors.js @@ -6,11 +6,11 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.materialCssStyles = void 0; - var _templateObject_889503f01da511ed9d313b9780b2ae17; + var _templateObject_51fe50901e5811ed81a80d03c17d190b; var $_documentContainer = document.createElement("div"); $_documentContainer.setAttribute("style", "display: none;"); - var materialCssStyles = (0, _index.css)(_templateObject_889503f01da511ed9d313b9780b2ae17 || (_templateObject_889503f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n .red {\n background-color: #f44336;\n }\n\n .red-text {\n color: #f44336;\n }\n\n .red.lighten-5 {\n background-color: #ffebee;\n }\n\n .red-text.text-lighten-5 {\n color: #ffebee;\n }\n\n .red.lighten-4 {\n background-color: #ffcdd2;\n }\n\n .red-text.text-lighten-4 {\n color: #ffcdd2;\n }\n\n .red.lighten-3 {\n background-color: #ef9a9a;\n }\n\n .red-text.text-lighten-3 {\n color: #ef9a9a;\n }\n\n .red.lighten-2 {\n background-color: #e57373;\n }\n\n .red-text.text-lighten-2 {\n color: #e57373;\n }\n\n .red.lighten-1 {\n background-color: #ef5350;\n }\n\n .red-text.text-lighten-1 {\n color: #ef5350;\n }\n\n .red.darken-1 {\n background-color: #e53935;\n }\n\n .red-text.text-darken-1 {\n color: #e53935;\n }\n\n .red.darken-2 {\n background-color: #d32f2f;\n }\n\n .red-text.text-darken-2 {\n color: #d32f2f;\n }\n\n .red.darken-3 {\n background-color: #c62828;\n }\n\n .red-text.text-darken-3 {\n color: #c62828;\n }\n\n .red.darken-4 {\n background-color: #b71c1c;\n }\n\n .red-text.text-darken-4 {\n color: #b71c1c;\n }\n\n .red.accent-1 {\n background-color: #ff8a80;\n }\n\n .red-text.text-accent-1 {\n color: #ff8a80;\n }\n\n .red.accent-2 {\n background-color: #ff5252;\n }\n\n .red-text.text-accent-2 {\n color: #ff5252;\n }\n\n .red.accent-3 {\n background-color: #ff1744;\n }\n\n .red-text.text-accent-3 {\n color: #ff1744;\n }\n\n .red.accent-4 {\n background-color: #d50000;\n }\n\n .red-text.text-accent-4 {\n color: #d50000;\n }\n\n .pink {\n background-color: #e91e63;\n }\n\n .pink-text {\n color: #e91e63;\n }\n\n .pink.lighten-5 {\n background-color: #fce4ec;\n }\n\n .pink-text.text-lighten-5 {\n color: #fce4ec;\n }\n\n .pink.lighten-4 {\n background-color: #f8bbd0;\n }\n\n .pink-text.text-lighten-4 {\n color: #f8bbd0;\n }\n\n .pink.lighten-3 {\n background-color: #f48fb1;\n }\n\n .pink-text.text-lighten-3 {\n color: #f48fb1;\n }\n\n .pink.lighten-2 {\n background-color: #f06292;\n }\n\n .pink-text.text-lighten-2 {\n color: #f06292;\n }\n\n .pink.lighten-1 {\n background-color: #ec407a;\n }\n\n .pink-text.text-lighten-1 {\n color: #ec407a;\n }\n\n .pink.darken-1 {\n background-color: #d81b60;\n }\n\n .pink-text.text-darken-1 {\n color: #d81b60;\n }\n\n .pink.darken-2 {\n background-color: #c2185b;\n }\n\n .pink-text.text-darken-2 {\n color: #c2185b;\n }\n\n .pink.darken-3 {\n background-color: #ad1457;\n }\n\n .pink-text.text-darken-3 {\n color: #ad1457;\n }\n\n .pink.darken-4 {\n background-color: #880e4f;\n }\n\n .pink-text.text-darken-4 {\n color: #880e4f;\n }\n\n .pink.accent-1 {\n background-color: #ff80ab;\n }\n\n .pink-text.text-accent-1 {\n color: #ff80ab;\n }\n\n .pink.accent-2 {\n background-color: #ff4081;\n }\n\n .pink-text.text-accent-2 {\n color: #ff4081;\n }\n\n .pink.accent-3 {\n background-color: #f50057;\n }\n\n .pink-text.text-accent-3 {\n color: #f50057;\n }\n\n .pink.accent-4 {\n background-color: #c51162;\n }\n\n .pink-text.text-accent-4 {\n color: #c51162;\n }\n\n .purple {\n background-color: #9c27b0;\n }\n\n .purple-text {\n color: #9c27b0;\n }\n\n .purple.lighten-5 {\n background-color: #f3e5f5;\n }\n\n .purple-text.text-lighten-5 {\n color: #f3e5f5;\n }\n\n .purple.lighten-4 {\n background-color: #e1bee7;\n }\n\n .purple-text.text-lighten-4 {\n color: #e1bee7;\n }\n\n .purple.lighten-3 {\n background-color: #ce93d8;\n }\n\n .purple-text.text-lighten-3 {\n color: #ce93d8;\n }\n\n .purple.lighten-2 {\n background-color: #ba68c8;\n }\n\n .purple-text.text-lighten-2 {\n color: #ba68c8;\n }\n\n .purple.lighten-1 {\n background-color: #ab47bc;\n }\n\n .purple-text.text-lighten-1 {\n color: #ab47bc;\n }\n\n .purple.darken-1 {\n background-color: #8e24aa;\n }\n\n .purple-text.text-darken-1 {\n color: #8e24aa;\n }\n\n .purple.darken-2 {\n background-color: #7b1fa2;\n }\n\n .purple-text.text-darken-2 {\n color: #7b1fa2;\n }\n\n .purple.darken-3 {\n background-color: #6a1b9a;\n }\n\n .purple-text.text-darken-3 {\n color: #6a1b9a;\n }\n\n .purple.darken-4 {\n background-color: #4a148c;\n }\n\n .purple-text.text-darken-4 {\n color: #4a148c;\n }\n\n .purple.accent-1 {\n background-color: #ea80fc;\n }\n\n .purple-text.text-accent-1 {\n color: #ea80fc;\n }\n\n .purple.accent-2 {\n background-color: #e040fb;\n }\n\n .purple-text.text-accent-2 {\n color: #e040fb;\n }\n\n .purple.accent-3 {\n background-color: #d500f9;\n }\n\n .purple-text.text-accent-3 {\n color: #d500f9;\n }\n\n .purple.accent-4 {\n background-color: #aa00ff;\n }\n\n .purple-text.text-accent-4 {\n color: #aa00ff;\n }\n\n .deep-purple {\n background-color: #673ab7;\n }\n\n .deep-purple-text {\n color: #673ab7;\n }\n\n .deep-purple.lighten-5 {\n background-color: #ede7f6;\n }\n\n .deep-purple-text.text-lighten-5 {\n color: #ede7f6;\n }\n\n .deep-purple.lighten-4 {\n background-color: #d1c4e9;\n }\n\n .deep-purple-text.text-lighten-4 {\n color: #d1c4e9;\n }\n\n .deep-purple.lighten-3 {\n background-color: #b39ddb;\n }\n\n .deep-purple-text.text-lighten-3 {\n color: #b39ddb;\n }\n\n .deep-purple.lighten-2 {\n background-color: #9575cd;\n }\n\n .deep-purple-text.text-lighten-2 {\n color: #9575cd;\n }\n\n .deep-purple.lighten-1 {\n background-color: #7e57c2;\n }\n\n .deep-purple-text.text-lighten-1 {\n color: #7e57c2;\n }\n\n .deep-purple.darken-1 {\n background-color: #5e35b1;\n }\n\n .deep-purple-text.text-darken-1 {\n color: #5e35b1;\n }\n\n .deep-purple.darken-2 {\n background-color: #512da8;\n }\n\n .deep-purple-text.text-darken-2 {\n color: #512da8;\n }\n\n .deep-purple.darken-3 {\n background-color: #4527a0;\n }\n\n .deep-purple-text.text-darken-3 {\n color: #4527a0;\n }\n\n .deep-purple.darken-4 {\n background-color: #311b92;\n }\n\n .deep-purple-text.text-darken-4 {\n color: #311b92;\n }\n\n .deep-purple.accent-1 {\n background-color: #b388ff;\n }\n\n .deep-purple-text.text-accent-1 {\n color: #b388ff;\n }\n\n .deep-purple.accent-2 {\n background-color: #7c4dff;\n }\n\n .deep-purple-text.text-accent-2 {\n color: #7c4dff;\n }\n\n .deep-purple.accent-3 {\n background-color: #651fff;\n }\n\n .deep-purple-text.text-accent-3 {\n color: #651fff;\n }\n\n .deep-purple.accent-4 {\n background-color: #6200ea;\n }\n\n .deep-purple-text.text-accent-4 {\n color: #6200ea;\n }\n\n .indigo {\n background-color: #3f51b5;\n }\n\n .indigo-text {\n color: #3f51b5;\n }\n\n .indigo.lighten-5 {\n background-color: #e8eaf6;\n }\n\n .indigo-text.text-lighten-5 {\n color: #e8eaf6;\n }\n\n .indigo.lighten-4 {\n background-color: #c5cae9;\n }\n\n .indigo-text.text-lighten-4 {\n color: #c5cae9;\n }\n\n .indigo.lighten-3 {\n background-color: #9fa8da;\n }\n\n .indigo-text.text-lighten-3 {\n color: #9fa8da;\n }\n\n .indigo.lighten-2 {\n background-color: #7986cb;\n }\n\n .indigo-text.text-lighten-2 {\n color: #7986cb;\n }\n\n .indigo.lighten-1 {\n background-color: #5c6bc0;\n }\n\n .indigo-text.text-lighten-1 {\n color: #5c6bc0;\n }\n\n .indigo.darken-1 {\n background-color: #3949ab;\n }\n\n .indigo-text.text-darken-1 {\n color: #3949ab;\n }\n\n .indigo.darken-2 {\n background-color: #303f9f;\n }\n\n .indigo-text.text-darken-2 {\n color: #303f9f;\n }\n\n .indigo.darken-3 {\n background-color: #283593;\n }\n\n .indigo-text.text-darken-3 {\n color: #283593;\n }\n\n .indigo.darken-4 {\n background-color: #1a237e;\n }\n\n .indigo-text.text-darken-4 {\n color: #1a237e;\n }\n\n .indigo.accent-1 {\n background-color: #8c9eff;\n }\n\n .indigo-text.text-accent-1 {\n color: #8c9eff;\n }\n\n .indigo.accent-2 {\n background-color: #536dfe;\n }\n\n .indigo-text.text-accent-2 {\n color: #536dfe;\n }\n\n .indigo.accent-3 {\n background-color: #3d5afe;\n }\n\n .indigo-text.text-accent-3 {\n color: #3d5afe;\n }\n\n .indigo.accent-4 {\n background-color: #304ffe;\n }\n\n .indigo-text.text-accent-4 {\n color: #304ffe;\n }\n\n .blue {\n background-color: #2196f3;\n }\n\n .blue-text {\n color: #2196f3;\n }\n\n .blue.lighten-5 {\n background-color: #e3f2fd;\n }\n\n .blue-text.text-lighten-5 {\n color: #e3f2fd;\n }\n\n .blue.lighten-4 {\n background-color: #bbdefb;\n }\n\n .blue-text.text-lighten-4 {\n color: #bbdefb;\n }\n\n .blue.lighten-3 {\n background-color: #90caf9;\n }\n\n .blue-text.text-lighten-3 {\n color: #90caf9;\n }\n\n .blue.lighten-2 {\n background-color: #64b5f6;\n }\n\n .blue-text.text-lighten-2 {\n color: #64b5f6;\n }\n\n .blue.lighten-1 {\n background-color: #42a5f5;\n }\n\n .blue-text.text-lighten-1 {\n color: #42a5f5;\n }\n\n .blue.darken-1 {\n background-color: #1e88e5;\n }\n\n .blue-text.text-darken-1 {\n color: #1e88e5;\n }\n\n .blue.darken-2 {\n background-color: #1976d2;\n }\n\n .blue-text.text-darken-2 {\n color: #1976d2;\n }\n\n .blue.darken-3 {\n background-color: #1565c0;\n }\n\n .blue-text.text-darken-3 {\n color: #1565c0;\n }\n\n .blue.darken-4 {\n background-color: #0d47a1;\n }\n\n .blue-text.text-darken-4 {\n color: #0d47a1;\n }\n\n .blue.accent-1 {\n background-color: #82b1ff;\n }\n\n .blue-text.text-accent-1 {\n color: #82b1ff;\n }\n\n .blue.accent-2 {\n background-color: #448aff;\n }\n\n .blue-text.text-accent-2 {\n color: #448aff;\n }\n\n .blue.accent-3 {\n background-color: #2979ff;\n }\n\n .blue-text.text-accent-3 {\n color: #2979ff;\n }\n\n .blue.accent-4 {\n background-color: #2962ff;\n }\n\n .blue-text.text-accent-4 {\n color: #2962ff;\n }\n\n .light-blue {\n background-color: #03a9f4;\n }\n\n .light-blue-text {\n color: #03a9f4;\n }\n\n .light-blue.lighten-5 {\n background-color: #e1f5fe;\n }\n\n .light-blue-text.text-lighten-5 {\n color: #e1f5fe;\n }\n\n .light-blue.lighten-4 {\n background-color: #b3e5fc;\n }\n\n .light-blue-text.text-lighten-4 {\n color: #b3e5fc;\n }\n\n .light-blue.lighten-3 {\n background-color: #81d4fa;\n }\n\n .light-blue-text.text-lighten-3 {\n color: #81d4fa;\n }\n\n .light-blue.lighten-2 {\n background-color: #4fc3f7;\n }\n\n .light-blue-text.text-lighten-2 {\n color: #4fc3f7;\n }\n\n .light-blue.lighten-1 {\n background-color: #29b6f6;\n }\n\n .light-blue-text.text-lighten-1 {\n color: #29b6f6;\n }\n\n .light-blue.darken-1 {\n background-color: #039be5;\n }\n\n .light-blue-text.text-darken-1 {\n color: #039be5;\n }\n\n .light-blue.darken-2 {\n background-color: #0288d1;\n }\n\n .light-blue-text.text-darken-2 {\n color: #0288d1;\n }\n\n .light-blue.darken-3 {\n background-color: #0277bd;\n }\n\n .light-blue-text.text-darken-3 {\n color: #0277bd;\n }\n\n .light-blue.darken-4 {\n background-color: #01579b;\n }\n\n .light-blue-text.text-darken-4 {\n color: #01579b;\n }\n\n .light-blue.accent-1 {\n background-color: #80d8ff;\n }\n\n .light-blue-text.text-accent-1 {\n color: #80d8ff;\n }\n\n .light-blue.accent-2 {\n background-color: #40c4ff;\n }\n\n .light-blue-text.text-accent-2 {\n color: #40c4ff;\n }\n\n .light-blue.accent-3 {\n background-color: #00b0ff;\n }\n\n .light-blue-text.text-accent-3 {\n color: #00b0ff;\n }\n\n .light-blue.accent-4 {\n background-color: #0091ea;\n }\n\n .light-blue-text.text-accent-4 {\n color: #0091ea;\n }\n\n .cyan {\n background-color: #00bcd4;\n }\n\n .cyan-text {\n color: #00bcd4;\n }\n\n .cyan.lighten-5 {\n background-color: #e0f7fa;\n }\n\n .cyan-text.text-lighten-5 {\n color: #e0f7fa;\n }\n\n .cyan.lighten-4 {\n background-color: #b2ebf2;\n }\n\n .cyan-text.text-lighten-4 {\n color: #b2ebf2;\n }\n\n .cyan.lighten-3 {\n background-color: #80deea;\n }\n\n .cyan-text.text-lighten-3 {\n color: #80deea;\n }\n\n .cyan.lighten-2 {\n background-color: #4dd0e1;\n }\n\n .cyan-text.text-lighten-2 {\n color: #4dd0e1;\n }\n\n .cyan.lighten-1 {\n background-color: #26c6da;\n }\n\n .cyan-text.text-lighten-1 {\n color: #26c6da;\n }\n\n .cyan.darken-1 {\n background-color: #00acc1;\n }\n\n .cyan-text.text-darken-1 {\n color: #00acc1;\n }\n\n .cyan.darken-2 {\n background-color: #0097a7;\n }\n\n .cyan-text.text-darken-2 {\n color: #0097a7;\n }\n\n .cyan.darken-3 {\n background-color: #00838f;\n }\n\n .cyan-text.text-darken-3 {\n color: #00838f;\n }\n\n .cyan.darken-4 {\n background-color: #006064;\n }\n\n .cyan-text.text-darken-4 {\n color: #006064;\n }\n\n .cyan.accent-1 {\n background-color: #84ffff;\n }\n\n .cyan-text.text-accent-1 {\n color: #84ffff;\n }\n\n .cyan.accent-2 {\n background-color: #18ffff;\n }\n\n .cyan-text.text-accent-2 {\n color: #18ffff;\n }\n\n .cyan.accent-3 {\n background-color: #00e5ff;\n }\n\n .cyan-text.text-accent-3 {\n color: #00e5ff;\n }\n\n .cyan.accent-4 {\n background-color: #00b8d4;\n }\n\n .cyan-text.text-accent-4 {\n color: #00b8d4;\n }\n\n .teal {\n background-color: #009688;\n }\n\n .teal-text {\n color: #009688;\n }\n\n .teal.lighten-5 {\n background-color: #e0f2f1;\n }\n\n .teal-text.text-lighten-5 {\n color: #e0f2f1;\n }\n\n .teal.lighten-4 {\n background-color: #b2dfdb;\n }\n\n .teal-text.text-lighten-4 {\n color: #b2dfdb;\n }\n\n .teal.lighten-3 {\n background-color: #80cbc4;\n }\n\n .teal-text.text-lighten-3 {\n color: #80cbc4;\n }\n\n .teal.lighten-2 {\n background-color: #4db6ac;\n }\n\n .teal-text.text-lighten-2 {\n color: #4db6ac;\n }\n\n .teal.lighten-1 {\n background-color: #26a69a;\n }\n\n .teal-text.text-lighten-1 {\n color: #26a69a;\n }\n\n .teal.darken-1 {\n background-color: #00897b;\n }\n\n .teal-text.text-darken-1 {\n color: #00897b;\n }\n\n .teal.darken-2 {\n background-color: #00796b;\n }\n\n .teal-text.text-darken-2 {\n color: #00796b;\n }\n\n .teal.darken-3 {\n background-color: #00695c;\n }\n\n .teal-text.text-darken-3 {\n color: #00695c;\n }\n\n .teal.darken-4 {\n background-color: #004d40;\n }\n\n .teal-text.text-darken-4 {\n color: #004d40;\n }\n\n .teal.accent-1 {\n background-color: #a7ffeb;\n }\n\n .teal-text.text-accent-1 {\n color: #a7ffeb;\n }\n\n .teal.accent-2 {\n background-color: #64ffda;\n }\n\n .teal-text.text-accent-2 {\n color: #64ffda;\n }\n\n .teal.accent-3 {\n background-color: #1de9b6;\n }\n\n .teal-text.text-accent-3 {\n color: #1de9b6;\n }\n\n .teal.accent-4 {\n background-color: #00bfa5;\n }\n\n .teal-text.text-accent-4 {\n color: #00bfa5;\n }\n\n .green {\n background-color: #4caf50;\n }\n\n .green-text {\n color: #4caf50;\n }\n\n .green.lighten-5 {\n background-color: #e8f5e9;\n }\n\n .green-text.text-lighten-5 {\n color: #e8f5e9;\n }\n\n .green.lighten-4 {\n background-color: #c8e6c9;\n }\n\n .green-text.text-lighten-4 {\n color: #c8e6c9;\n }\n\n .green.lighten-3 {\n background-color: #a5d6a7;\n }\n\n .green-text.text-lighten-3 {\n color: #a5d6a7;\n }\n\n .green.lighten-2 {\n background-color: #81c784;\n }\n\n .green-text.text-lighten-2 {\n color: #81c784;\n }\n\n .green.lighten-1 {\n background-color: #66bb6a;\n }\n\n .green-text.text-lighten-1 {\n color: #66bb6a;\n }\n\n .green.darken-1 {\n background-color: #43a047;\n }\n\n .green-text.text-darken-1 {\n color: #43a047;\n }\n\n .green.darken-2 {\n background-color: #388e3c;\n }\n\n .green-text.text-darken-2 {\n color: #388e3c;\n }\n\n .green.darken-3 {\n background-color: #2e7d32;\n }\n\n .green-text.text-darken-3 {\n color: #2e7d32;\n }\n\n .green.darken-4 {\n background-color: #1b5e20;\n }\n\n .green-text.text-darken-4 {\n color: #1b5e20;\n }\n\n .green.accent-1 {\n background-color: #b9f6ca;\n }\n\n .green-text.text-accent-1 {\n color: #b9f6ca;\n }\n\n .green.accent-2 {\n background-color: #69f0ae;\n }\n\n .green-text.text-accent-2 {\n color: #69f0ae;\n }\n\n .green.accent-3 {\n background-color: #00e676;\n }\n\n .green-text.text-accent-3 {\n color: #00e676;\n }\n\n .green.accent-4 {\n background-color: #00c853;\n }\n\n .green-text.text-accent-4 {\n color: #00c853;\n }\n\n .light-green {\n background-color: #8bc34a;\n }\n\n .light-green-text {\n color: #8bc34a;\n }\n\n .light-green.lighten-5 {\n background-color: #f1f8e9;\n }\n\n .light-green-text.text-lighten-5 {\n color: #f1f8e9;\n }\n\n .light-green.lighten-4 {\n background-color: #dcedc8;\n }\n\n .light-green-text.text-lighten-4 {\n color: #dcedc8;\n }\n\n .light-green.lighten-3 {\n background-color: #c5e1a5;\n }\n\n .light-green-text.text-lighten-3 {\n color: #c5e1a5;\n }\n\n .light-green.lighten-2 {\n background-color: #aed581;\n }\n\n .light-green-text.text-lighten-2 {\n color: #aed581;\n }\n\n .light-green.lighten-1 {\n background-color: #9ccc65;\n }\n\n .light-green-text.text-lighten-1 {\n color: #9ccc65;\n }\n\n .light-green.darken-1 {\n background-color: #7cb342;\n }\n\n .light-green-text.text-darken-1 {\n color: #7cb342;\n }\n\n .light-green.darken-2 {\n background-color: #689f38;\n }\n\n .light-green-text.text-darken-2 {\n color: #689f38;\n }\n\n .light-green.darken-3 {\n background-color: #558b2f;\n }\n\n .light-green-text.text-darken-3 {\n color: #558b2f;\n }\n\n .light-green.darken-4 {\n background-color: #33691e;\n }\n\n .light-green-text.text-darken-4 {\n color: #33691e;\n }\n\n .light-green.accent-1 {\n background-color: #ccff90;\n }\n\n .light-green-text.text-accent-1 {\n color: #ccff90;\n }\n\n .light-green.accent-2 {\n background-color: #b2ff59;\n }\n\n .light-green-text.text-accent-2 {\n color: #b2ff59;\n }\n\n .light-green.accent-3 {\n background-color: #76ff03;\n }\n\n .light-green-text.text-accent-3 {\n color: #76ff03;\n }\n\n .light-green.accent-4 {\n background-color: #64dd17;\n }\n\n .light-green-text.text-accent-4 {\n color: #64dd17;\n }\n\n .lime {\n background-color: #cddc39;\n }\n\n .lime-text {\n color: #cddc39;\n }\n\n .lime.lighten-5 {\n background-color: #f9fbe7;\n }\n\n .lime-text.text-lighten-5 {\n color: #f9fbe7;\n }\n\n .lime.lighten-4 {\n background-color: #f0f4c3;\n }\n\n .lime-text.text-lighten-4 {\n color: #f0f4c3;\n }\n\n .lime.lighten-3 {\n background-color: #e6ee9c;\n }\n\n .lime-text.text-lighten-3 {\n color: #e6ee9c;\n }\n\n .lime.lighten-2 {\n background-color: #dce775;\n }\n\n .lime-text.text-lighten-2 {\n color: #dce775;\n }\n\n .lime.lighten-1 {\n background-color: #d4e157;\n }\n\n .lime-text.text-lighten-1 {\n color: #d4e157;\n }\n\n .lime.darken-1 {\n background-color: #c0ca33;\n }\n\n .lime-text.text-darken-1 {\n color: #c0ca33;\n }\n\n .lime.darken-2 {\n background-color: #afb42b;\n }\n\n .lime-text.text-darken-2 {\n color: #afb42b;\n }\n\n .lime.darken-3 {\n background-color: #9e9d24;\n }\n\n .lime-text.text-darken-3 {\n color: #9e9d24;\n }\n\n .lime.darken-4 {\n background-color: #827717;\n }\n\n .lime-text.text-darken-4 {\n color: #827717;\n }\n\n .lime.accent-1 {\n background-color: #f4ff81;\n }\n\n .lime-text.text-accent-1 {\n color: #f4ff81;\n }\n\n .lime.accent-2 {\n background-color: #eeff41;\n }\n\n .lime-text.text-accent-2 {\n color: #eeff41;\n }\n\n .lime.accent-3 {\n background-color: #c6ff00;\n }\n\n .lime-text.text-accent-3 {\n color: #c6ff00;\n }\n\n .lime.accent-4 {\n background-color: #aeea00;\n }\n\n .lime-text.text-accent-4 {\n color: #aeea00;\n }\n\n .yellow {\n background-color: #ffeb3b;\n }\n\n .yellow-text {\n color: #ffeb3b;\n }\n\n .yellow.lighten-5 {\n background-color: #fffde7;\n }\n\n .yellow-text.text-lighten-5 {\n color: #fffde7;\n }\n\n .yellow.lighten-4 {\n background-color: #fff9c4;\n }\n\n .yellow-text.text-lighten-4 {\n color: #fff9c4;\n }\n\n .yellow.lighten-3 {\n background-color: #fff59d;\n }\n\n .yellow-text.text-lighten-3 {\n color: #fff59d;\n }\n\n .yellow.lighten-2 {\n background-color: #fff176;\n }\n\n .yellow-text.text-lighten-2 {\n color: #fff176;\n }\n\n .yellow.lighten-1 {\n background-color: #ffee58;\n }\n\n .yellow-text.text-lighten-1 {\n color: #ffee58;\n }\n\n .yellow.darken-1 {\n background-color: #fdd835;\n }\n\n .yellow-text.text-darken-1 {\n color: #fdd835;\n }\n\n .yellow.darken-2 {\n background-color: #fbc02d;\n }\n\n .yellow-text.text-darken-2 {\n color: #fbc02d;\n }\n\n .yellow.darken-3 {\n background-color: #f9a825;\n }\n\n .yellow-text.text-darken-3 {\n color: #f9a825;\n }\n\n .yellow.darken-4 {\n background-color: #f57f17;\n }\n\n .yellow-text.text-darken-4 {\n color: #f57f17;\n }\n\n .yellow.accent-1 {\n background-color: #ffff8d;\n }\n\n .yellow-text.text-accent-1 {\n color: #ffff8d;\n }\n\n .yellow.accent-2 {\n background-color: #ffff00;\n }\n\n .yellow-text.text-accent-2 {\n color: #ffff00;\n }\n\n .yellow.accent-3 {\n background-color: #ffea00;\n }\n\n .yellow-text.text-accent-3 {\n color: #ffea00;\n }\n\n .yellow.accent-4 {\n background-color: #ffd600;\n }\n\n .yellow-text.text-accent-4 {\n color: #ffd600;\n }\n\n .amber {\n background-color: #ffc107;\n }\n\n .amber-text {\n color: #ffc107;\n }\n\n .amber.lighten-5 {\n background-color: #fff8e1;\n }\n\n .amber-text.text-lighten-5 {\n color: #fff8e1;\n }\n\n .amber.lighten-4 {\n background-color: #ffecb3;\n }\n\n .amber-text.text-lighten-4 {\n color: #ffecb3;\n }\n\n .amber.lighten-3 {\n background-color: #ffe082;\n }\n\n .amber-text.text-lighten-3 {\n color: #ffe082;\n }\n\n .amber.lighten-2 {\n background-color: #ffd54f;\n }\n\n .amber-text.text-lighten-2 {\n color: #ffd54f;\n }\n\n .amber.lighten-1 {\n background-color: #ffca28;\n }\n\n .amber-text.text-lighten-1 {\n color: #ffca28;\n }\n\n .amber.darken-1 {\n background-color: #ffb300;\n }\n\n .amber-text.text-darken-1 {\n color: #ffb300;\n }\n\n .amber.darken-2 {\n background-color: #ffa000;\n }\n\n .amber-text.text-darken-2 {\n color: #ffa000;\n }\n\n .amber.darken-3 {\n background-color: #ff8f00;\n }\n\n .amber-text.text-darken-3 {\n color: #ff8f00;\n }\n\n .amber.darken-4 {\n background-color: #ff6f00;\n }\n\n .amber-text.text-darken-4 {\n color: #ff6f00;\n }\n\n .amber.accent-1 {\n background-color: #ffe57f;\n }\n\n .amber-text.text-accent-1 {\n color: #ffe57f;\n }\n\n .amber.accent-2 {\n background-color: #ffd740;\n }\n\n .amber-text.text-accent-2 {\n color: #ffd740;\n }\n\n .amber.accent-3 {\n background-color: #ffc400;\n }\n\n .amber-text.text-accent-3 {\n color: #ffc400;\n }\n\n .amber.accent-4 {\n background-color: #ffab00;\n }\n\n .amber-text.text-accent-4 {\n color: #ffab00;\n }\n\n .orange {\n background-color: #ff9800;\n }\n\n .orange-text {\n color: #ff9800;\n }\n\n .orange.lighten-5 {\n background-color: #fff3e0;\n }\n\n .orange-text.text-lighten-5 {\n color: #fff3e0;\n }\n\n .orange.lighten-4 {\n background-color: #ffe0b2;\n }\n\n .orange-text.text-lighten-4 {\n color: #ffe0b2;\n }\n\n .orange.lighten-3 {\n background-color: #ffcc80;\n }\n\n .orange-text.text-lighten-3 {\n color: #ffcc80;\n }\n\n .orange.lighten-2 {\n background-color: #ffb74d;\n }\n\n .orange-text.text-lighten-2 {\n color: #ffb74d;\n }\n\n .orange.lighten-1 {\n background-color: #ffa726;\n }\n\n .orange-text.text-lighten-1 {\n color: #ffa726;\n }\n\n .orange.darken-1 {\n background-color: #fb8c00;\n }\n\n .orange-text.text-darken-1 {\n color: #fb8c00;\n }\n\n .orange.darken-2 {\n background-color: #f57c00;\n }\n\n .orange-text.text-darken-2 {\n color: #f57c00;\n }\n\n .orange.darken-3 {\n background-color: #ef6c00;\n }\n\n .orange-text.text-darken-3 {\n color: #ef6c00;\n }\n\n .orange.darken-4 {\n background-color: #e65100;\n }\n\n .orange-text.text-darken-4 {\n color: #e65100;\n }\n\n .orange.accent-1 {\n background-color: #ffd180;\n }\n\n .orange-text.text-accent-1 {\n color: #ffd180;\n }\n\n .orange.accent-2 {\n background-color: #ffab40;\n }\n\n .orange-text.text-accent-2 {\n color: #ffab40;\n }\n\n .orange.accent-3 {\n background-color: #ff9100;\n }\n\n .orange-text.text-accent-3 {\n color: #ff9100;\n }\n\n .orange.accent-4 {\n background-color: #ff6d00;\n }\n\n .orange-text.text-accent-4 {\n color: #ff6d00;\n }\n\n .deep-orange {\n background-color: #ff5722;\n }\n\n .deep-orange-text {\n color: #ff5722;\n }\n\n .deep-orange.lighten-5 {\n background-color: #fbe9e7;\n }\n\n .deep-orange-text.text-lighten-5 {\n color: #fbe9e7;\n }\n\n .deep-orange.lighten-4 {\n background-color: #ffccbc;\n }\n\n .deep-orange-text.text-lighten-4 {\n color: #ffccbc;\n }\n\n .deep-orange.lighten-3 {\n background-color: #ffab91;\n }\n\n .deep-orange-text.text-lighten-3 {\n color: #ffab91;\n }\n\n .deep-orange.lighten-2 {\n background-color: #ff8a65;\n }\n\n .deep-orange-text.text-lighten-2 {\n color: #ff8a65;\n }\n\n .deep-orange.lighten-1 {\n background-color: #ff7043;\n }\n\n .deep-orange-text.text-lighten-1 {\n color: #ff7043;\n }\n\n .deep-orange.darken-1 {\n background-color: #f4511e;\n }\n\n .deep-orange-text.text-darken-1 {\n color: #f4511e;\n }\n\n .deep-orange.darken-2 {\n background-color: #e64a19;\n }\n\n .deep-orange-text.text-darken-2 {\n color: #e64a19;\n }\n\n .deep-orange.darken-3 {\n background-color: #d84315;\n }\n\n .deep-orange-text.text-darken-3 {\n color: #d84315;\n }\n\n .deep-orange.darken-4 {\n background-color: #bf360c;\n }\n\n .deep-orange-text.text-darken-4 {\n color: #bf360c;\n }\n\n .deep-orange.accent-1 {\n background-color: #ff9e80;\n }\n\n .deep-orange-text.text-accent-1 {\n color: #ff9e80;\n }\n\n .deep-orange.accent-2 {\n background-color: #ff6e40;\n }\n\n .deep-orange-text.text-accent-2 {\n color: #ff6e40;\n }\n\n .deep-orange.accent-3 {\n background-color: #ff3d00;\n }\n\n .deep-orange-text.text-accent-3 {\n color: #ff3d00;\n }\n\n .deep-orange.accent-4 {\n background-color: #dd2c00;\n }\n\n .deep-orange-text.text-accent-4 {\n color: #dd2c00;\n }\n\n .brown {\n background-color: #795548;\n }\n\n .brown-text {\n color: #795548;\n }\n\n .brown.lighten-5 {\n background-color: #efebe9;\n }\n\n .brown-text.text-lighten-5 {\n color: #efebe9;\n }\n\n .brown.lighten-4 {\n background-color: #d7ccc8;\n }\n\n .brown-text.text-lighten-4 {\n color: #d7ccc8;\n }\n\n .brown.lighten-3 {\n background-color: #bcaaa4;\n }\n\n .brown-text.text-lighten-3 {\n color: #bcaaa4;\n }\n\n .brown.lighten-2 {\n background-color: #a1887f;\n }\n\n .brown-text.text-lighten-2 {\n color: #a1887f;\n }\n\n .brown.lighten-1 {\n background-color: #8d6e63;\n }\n\n .brown-text.text-lighten-1 {\n color: #8d6e63;\n }\n\n .brown.darken-1 {\n background-color: #6d4c41;\n }\n\n .brown-text.text-darken-1 {\n color: #6d4c41;\n }\n\n .brown.darken-2 {\n background-color: #5d4037;\n }\n\n .brown-text.text-darken-2 {\n color: #5d4037;\n }\n\n .brown.darken-3 {\n background-color: #4e342e;\n }\n\n .brown-text.text-darken-3 {\n color: #4e342e;\n }\n\n .brown.darken-4 {\n background-color: #3e2723;\n }\n\n .brown-text.text-darken-4 {\n color: #3e2723;\n }\n\n .blue-grey {\n background-color: #607d8b;\n }\n\n .blue-grey-text {\n color: #607d8b;\n }\n\n .blue-grey.lighten-5 {\n background-color: #eceff1;\n }\n\n .blue-grey-text.text-lighten-5 {\n color: #eceff1;\n }\n\n .blue-grey.lighten-4 {\n background-color: #cfd8dc;\n }\n\n .blue-grey-text.text-lighten-4 {\n color: #cfd8dc;\n }\n\n .blue-grey.lighten-3 {\n background-color: #b0bec5;\n }\n\n .blue-grey-text.text-lighten-3 {\n color: #b0bec5;\n }\n\n .blue-grey.lighten-2 {\n background-color: #90a4ae;\n }\n\n .blue-grey-text.text-lighten-2 {\n color: #90a4ae;\n }\n\n .blue-grey.lighten-1 {\n background-color: #78909c;\n }\n\n .blue-grey-text.text-lighten-1 {\n color: #78909c;\n }\n\n .blue-grey.darken-1 {\n background-color: #546e7a;\n }\n\n .blue-grey-text.text-darken-1 {\n color: #546e7a;\n }\n\n .blue-grey.darken-2 {\n background-color: #455a64;\n }\n\n .blue-grey-text.text-darken-2 {\n color: #455a64;\n }\n\n .blue-grey.darken-3 {\n background-color: #37474f;\n }\n\n .blue-grey-text.text-darken-3 {\n color: #37474f;\n }\n\n .blue-grey.darken-4 {\n background-color: #263238;\n }\n\n .blue-grey-text.text-darken-4 {\n color: #263238;\n }\n\n .grey {\n background-color: #9e9e9e;\n }\n\n .grey-text {\n color: #9e9e9e;\n }\n\n .grey.lighten-5 {\n background-color: #fafafa;\n }\n\n .grey-text.text-lighten-5 {\n color: #fafafa;\n }\n\n .grey.lighten-4 {\n background-color: #f5f5f5;\n }\n\n .grey-text.text-lighten-4 {\n color: #f5f5f5;\n }\n\n .grey.lighten-3 {\n background-color: #eeeeee;\n }\n\n .grey-text.text-lighten-3 {\n color: #eeeeee;\n }\n\n .grey.lighten-2 {\n background-color: #e0e0e0;\n }\n\n .grey-text.text-lighten-2 {\n color: #e0e0e0;\n }\n\n .grey.lighten-1 {\n background-color: #bdbdbd;\n }\n\n .grey-text.text-lighten-1 {\n color: #bdbdbd;\n }\n\n .grey.darken-1 {\n background-color: #757575;\n }\n\n .grey-text.text-darken-1 {\n color: #757575;\n }\n\n .grey.darken-2 {\n background-color: #616161;\n }\n\n .grey-text.text-darken-2 {\n color: #616161;\n }\n\n .grey.darken-3 {\n background-color: #424242;\n }\n\n .grey-text.text-darken-3 {\n color: #424242;\n }\n\n .grey.darken-4 {\n background-color: #212121;\n }\n\n .grey-text.text-darken-4 {\n color: #212121;\n }\n\n .black {\n background-color: #000000;\n }\n\n .black-text {\n color: #000000;\n }\n\n .white {\n background-color: #ffffff;\n }\n\n .white-text {\n color: #ffffff;\n }\n\n .transparent {\n background-color: transparent;\n }\n\n .transparent-text {\n color: transparent;\n }\n\n /* Materialize Outline classes */\n .indigo-outline {\n outline-color: #3f51b5;\n }\n .blue-outline {\n outline-color: #2962ff;\n }\n .amber-outline {\n outline-color: #ffab00;\n }\n .green-border {\n outline-color: #4caf50;\n }\n .teal-outline {\n outline-color: #00bfa5;\n }\n .yellow-outline {\n outline-color: #ffd600;\n }\n .grey-outline {\n outline-color: #212121;\n }\n .cyan-outline {\n outline-color: #00b8d4;\n }\n .orange-outline {\n outline-color: #ff6d00;\n }\n .red-outline {\n outline-color: #d50000;\n }\n .deep-orange-outline {\n outline-color: #dd2c00;\n }\n .lime-outline {\n outline-color: #aeea00;\n }\n .pink-outline {\n outline-color: #c51162;\n }\n .purple-outline {\n outline-color: #aa00ff;\n }\n .light-green-outline {\n outline-color: #64dd17;\n }\n .light-blue-outline {\n outline-color: #01579b;\n }\n .white-outline {\n outline-color: #ffffff;\n }\n\n /* Materialize Border classes */\n .indigo-border {\n border-color: #3f51b5;\n }\n .blue-border {\n border-color: #2196f3;\n }\n .amber-border {\n border-color: #ffc107;\n }\n .green-border {\n border-color: #4caf50;\n }\n .teal-border {\n border-color: #009688;\n }\n .yellow-border {\n border-color: #ffeb3b;\n }\n .grey-border {\n border-color: #9e9e9e;\n }\n .cyan-border {\n border-color: #00bcd4;\n }\n .orange-border {\n border-color: #ff9800;\n }\n .red-border {\n border-color: #f44336;\n }\n .deep-orange-border {\n border-color: #ff5722;\n }\n .lime-border {\n border-color: #cddc39;\n }\n .pink-border {\n border-color: #e91e63;\n }\n .purple-border {\n border-color: #9c27b0;\n }\n .light-green-border {\n border-color: #8bc34a;\n }\n .light-blue-border {\n border-color: #03a9f4;\n }\n .white-border {\n border-color: #ffffff;\n }\n /* Materialize accessible text variants */\n .accessible-indigo-text {\n color: #1a237e;\n }\n .accessible-green-text {\n color: #1b5e20;\n }\n .accessible-purple-text {\n color: #581663;\n }\n .accessible-cyan-text {\n color: #006064;\n }\n .accessible-blue-text {\n color: #085390;\n }\n .accessible-deep-orange-text {\n color: #a72700;\n }\n .accessible-red-text {\n color: #a41309;\n }\n .accessible-amber-text {\n color: #833900;\n }\n .accessible-teal-text {\n color: #00554d;\n }\n .accessible-orange-text {\n color: #653c00;\n }\n .accessible-yellow-text {\n color: #463f00;\n }\n .accessible-lime-text {\n color: #474d0e;\n }\n .accessible-light-blue-text {\n color: #025277;\n }\n .accessible-light-green-text {\n color: #3c571d;\n }\n .accessible-pink-text {\n color: #9d0f3f;\n }\n .accessible-grey-text {\n color: #212121;\n }\n"]))); + var materialCssStyles = (0, _index.css)(_templateObject_51fe50901e5811ed81a80d03c17d190b || (_templateObject_51fe50901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n .red {\n background-color: #f44336;\n }\n\n .red-text {\n color: #f44336;\n }\n\n .red.lighten-5 {\n background-color: #ffebee;\n }\n\n .red-text.text-lighten-5 {\n color: #ffebee;\n }\n\n .red.lighten-4 {\n background-color: #ffcdd2;\n }\n\n .red-text.text-lighten-4 {\n color: #ffcdd2;\n }\n\n .red.lighten-3 {\n background-color: #ef9a9a;\n }\n\n .red-text.text-lighten-3 {\n color: #ef9a9a;\n }\n\n .red.lighten-2 {\n background-color: #e57373;\n }\n\n .red-text.text-lighten-2 {\n color: #e57373;\n }\n\n .red.lighten-1 {\n background-color: #ef5350;\n }\n\n .red-text.text-lighten-1 {\n color: #ef5350;\n }\n\n .red.darken-1 {\n background-color: #e53935;\n }\n\n .red-text.text-darken-1 {\n color: #e53935;\n }\n\n .red.darken-2 {\n background-color: #d32f2f;\n }\n\n .red-text.text-darken-2 {\n color: #d32f2f;\n }\n\n .red.darken-3 {\n background-color: #c62828;\n }\n\n .red-text.text-darken-3 {\n color: #c62828;\n }\n\n .red.darken-4 {\n background-color: #b71c1c;\n }\n\n .red-text.text-darken-4 {\n color: #b71c1c;\n }\n\n .red.accent-1 {\n background-color: #ff8a80;\n }\n\n .red-text.text-accent-1 {\n color: #ff8a80;\n }\n\n .red.accent-2 {\n background-color: #ff5252;\n }\n\n .red-text.text-accent-2 {\n color: #ff5252;\n }\n\n .red.accent-3 {\n background-color: #ff1744;\n }\n\n .red-text.text-accent-3 {\n color: #ff1744;\n }\n\n .red.accent-4 {\n background-color: #d50000;\n }\n\n .red-text.text-accent-4 {\n color: #d50000;\n }\n\n .pink {\n background-color: #e91e63;\n }\n\n .pink-text {\n color: #e91e63;\n }\n\n .pink.lighten-5 {\n background-color: #fce4ec;\n }\n\n .pink-text.text-lighten-5 {\n color: #fce4ec;\n }\n\n .pink.lighten-4 {\n background-color: #f8bbd0;\n }\n\n .pink-text.text-lighten-4 {\n color: #f8bbd0;\n }\n\n .pink.lighten-3 {\n background-color: #f48fb1;\n }\n\n .pink-text.text-lighten-3 {\n color: #f48fb1;\n }\n\n .pink.lighten-2 {\n background-color: #f06292;\n }\n\n .pink-text.text-lighten-2 {\n color: #f06292;\n }\n\n .pink.lighten-1 {\n background-color: #ec407a;\n }\n\n .pink-text.text-lighten-1 {\n color: #ec407a;\n }\n\n .pink.darken-1 {\n background-color: #d81b60;\n }\n\n .pink-text.text-darken-1 {\n color: #d81b60;\n }\n\n .pink.darken-2 {\n background-color: #c2185b;\n }\n\n .pink-text.text-darken-2 {\n color: #c2185b;\n }\n\n .pink.darken-3 {\n background-color: #ad1457;\n }\n\n .pink-text.text-darken-3 {\n color: #ad1457;\n }\n\n .pink.darken-4 {\n background-color: #880e4f;\n }\n\n .pink-text.text-darken-4 {\n color: #880e4f;\n }\n\n .pink.accent-1 {\n background-color: #ff80ab;\n }\n\n .pink-text.text-accent-1 {\n color: #ff80ab;\n }\n\n .pink.accent-2 {\n background-color: #ff4081;\n }\n\n .pink-text.text-accent-2 {\n color: #ff4081;\n }\n\n .pink.accent-3 {\n background-color: #f50057;\n }\n\n .pink-text.text-accent-3 {\n color: #f50057;\n }\n\n .pink.accent-4 {\n background-color: #c51162;\n }\n\n .pink-text.text-accent-4 {\n color: #c51162;\n }\n\n .purple {\n background-color: #9c27b0;\n }\n\n .purple-text {\n color: #9c27b0;\n }\n\n .purple.lighten-5 {\n background-color: #f3e5f5;\n }\n\n .purple-text.text-lighten-5 {\n color: #f3e5f5;\n }\n\n .purple.lighten-4 {\n background-color: #e1bee7;\n }\n\n .purple-text.text-lighten-4 {\n color: #e1bee7;\n }\n\n .purple.lighten-3 {\n background-color: #ce93d8;\n }\n\n .purple-text.text-lighten-3 {\n color: #ce93d8;\n }\n\n .purple.lighten-2 {\n background-color: #ba68c8;\n }\n\n .purple-text.text-lighten-2 {\n color: #ba68c8;\n }\n\n .purple.lighten-1 {\n background-color: #ab47bc;\n }\n\n .purple-text.text-lighten-1 {\n color: #ab47bc;\n }\n\n .purple.darken-1 {\n background-color: #8e24aa;\n }\n\n .purple-text.text-darken-1 {\n color: #8e24aa;\n }\n\n .purple.darken-2 {\n background-color: #7b1fa2;\n }\n\n .purple-text.text-darken-2 {\n color: #7b1fa2;\n }\n\n .purple.darken-3 {\n background-color: #6a1b9a;\n }\n\n .purple-text.text-darken-3 {\n color: #6a1b9a;\n }\n\n .purple.darken-4 {\n background-color: #4a148c;\n }\n\n .purple-text.text-darken-4 {\n color: #4a148c;\n }\n\n .purple.accent-1 {\n background-color: #ea80fc;\n }\n\n .purple-text.text-accent-1 {\n color: #ea80fc;\n }\n\n .purple.accent-2 {\n background-color: #e040fb;\n }\n\n .purple-text.text-accent-2 {\n color: #e040fb;\n }\n\n .purple.accent-3 {\n background-color: #d500f9;\n }\n\n .purple-text.text-accent-3 {\n color: #d500f9;\n }\n\n .purple.accent-4 {\n background-color: #aa00ff;\n }\n\n .purple-text.text-accent-4 {\n color: #aa00ff;\n }\n\n .deep-purple {\n background-color: #673ab7;\n }\n\n .deep-purple-text {\n color: #673ab7;\n }\n\n .deep-purple.lighten-5 {\n background-color: #ede7f6;\n }\n\n .deep-purple-text.text-lighten-5 {\n color: #ede7f6;\n }\n\n .deep-purple.lighten-4 {\n background-color: #d1c4e9;\n }\n\n .deep-purple-text.text-lighten-4 {\n color: #d1c4e9;\n }\n\n .deep-purple.lighten-3 {\n background-color: #b39ddb;\n }\n\n .deep-purple-text.text-lighten-3 {\n color: #b39ddb;\n }\n\n .deep-purple.lighten-2 {\n background-color: #9575cd;\n }\n\n .deep-purple-text.text-lighten-2 {\n color: #9575cd;\n }\n\n .deep-purple.lighten-1 {\n background-color: #7e57c2;\n }\n\n .deep-purple-text.text-lighten-1 {\n color: #7e57c2;\n }\n\n .deep-purple.darken-1 {\n background-color: #5e35b1;\n }\n\n .deep-purple-text.text-darken-1 {\n color: #5e35b1;\n }\n\n .deep-purple.darken-2 {\n background-color: #512da8;\n }\n\n .deep-purple-text.text-darken-2 {\n color: #512da8;\n }\n\n .deep-purple.darken-3 {\n background-color: #4527a0;\n }\n\n .deep-purple-text.text-darken-3 {\n color: #4527a0;\n }\n\n .deep-purple.darken-4 {\n background-color: #311b92;\n }\n\n .deep-purple-text.text-darken-4 {\n color: #311b92;\n }\n\n .deep-purple.accent-1 {\n background-color: #b388ff;\n }\n\n .deep-purple-text.text-accent-1 {\n color: #b388ff;\n }\n\n .deep-purple.accent-2 {\n background-color: #7c4dff;\n }\n\n .deep-purple-text.text-accent-2 {\n color: #7c4dff;\n }\n\n .deep-purple.accent-3 {\n background-color: #651fff;\n }\n\n .deep-purple-text.text-accent-3 {\n color: #651fff;\n }\n\n .deep-purple.accent-4 {\n background-color: #6200ea;\n }\n\n .deep-purple-text.text-accent-4 {\n color: #6200ea;\n }\n\n .indigo {\n background-color: #3f51b5;\n }\n\n .indigo-text {\n color: #3f51b5;\n }\n\n .indigo.lighten-5 {\n background-color: #e8eaf6;\n }\n\n .indigo-text.text-lighten-5 {\n color: #e8eaf6;\n }\n\n .indigo.lighten-4 {\n background-color: #c5cae9;\n }\n\n .indigo-text.text-lighten-4 {\n color: #c5cae9;\n }\n\n .indigo.lighten-3 {\n background-color: #9fa8da;\n }\n\n .indigo-text.text-lighten-3 {\n color: #9fa8da;\n }\n\n .indigo.lighten-2 {\n background-color: #7986cb;\n }\n\n .indigo-text.text-lighten-2 {\n color: #7986cb;\n }\n\n .indigo.lighten-1 {\n background-color: #5c6bc0;\n }\n\n .indigo-text.text-lighten-1 {\n color: #5c6bc0;\n }\n\n .indigo.darken-1 {\n background-color: #3949ab;\n }\n\n .indigo-text.text-darken-1 {\n color: #3949ab;\n }\n\n .indigo.darken-2 {\n background-color: #303f9f;\n }\n\n .indigo-text.text-darken-2 {\n color: #303f9f;\n }\n\n .indigo.darken-3 {\n background-color: #283593;\n }\n\n .indigo-text.text-darken-3 {\n color: #283593;\n }\n\n .indigo.darken-4 {\n background-color: #1a237e;\n }\n\n .indigo-text.text-darken-4 {\n color: #1a237e;\n }\n\n .indigo.accent-1 {\n background-color: #8c9eff;\n }\n\n .indigo-text.text-accent-1 {\n color: #8c9eff;\n }\n\n .indigo.accent-2 {\n background-color: #536dfe;\n }\n\n .indigo-text.text-accent-2 {\n color: #536dfe;\n }\n\n .indigo.accent-3 {\n background-color: #3d5afe;\n }\n\n .indigo-text.text-accent-3 {\n color: #3d5afe;\n }\n\n .indigo.accent-4 {\n background-color: #304ffe;\n }\n\n .indigo-text.text-accent-4 {\n color: #304ffe;\n }\n\n .blue {\n background-color: #2196f3;\n }\n\n .blue-text {\n color: #2196f3;\n }\n\n .blue.lighten-5 {\n background-color: #e3f2fd;\n }\n\n .blue-text.text-lighten-5 {\n color: #e3f2fd;\n }\n\n .blue.lighten-4 {\n background-color: #bbdefb;\n }\n\n .blue-text.text-lighten-4 {\n color: #bbdefb;\n }\n\n .blue.lighten-3 {\n background-color: #90caf9;\n }\n\n .blue-text.text-lighten-3 {\n color: #90caf9;\n }\n\n .blue.lighten-2 {\n background-color: #64b5f6;\n }\n\n .blue-text.text-lighten-2 {\n color: #64b5f6;\n }\n\n .blue.lighten-1 {\n background-color: #42a5f5;\n }\n\n .blue-text.text-lighten-1 {\n color: #42a5f5;\n }\n\n .blue.darken-1 {\n background-color: #1e88e5;\n }\n\n .blue-text.text-darken-1 {\n color: #1e88e5;\n }\n\n .blue.darken-2 {\n background-color: #1976d2;\n }\n\n .blue-text.text-darken-2 {\n color: #1976d2;\n }\n\n .blue.darken-3 {\n background-color: #1565c0;\n }\n\n .blue-text.text-darken-3 {\n color: #1565c0;\n }\n\n .blue.darken-4 {\n background-color: #0d47a1;\n }\n\n .blue-text.text-darken-4 {\n color: #0d47a1;\n }\n\n .blue.accent-1 {\n background-color: #82b1ff;\n }\n\n .blue-text.text-accent-1 {\n color: #82b1ff;\n }\n\n .blue.accent-2 {\n background-color: #448aff;\n }\n\n .blue-text.text-accent-2 {\n color: #448aff;\n }\n\n .blue.accent-3 {\n background-color: #2979ff;\n }\n\n .blue-text.text-accent-3 {\n color: #2979ff;\n }\n\n .blue.accent-4 {\n background-color: #2962ff;\n }\n\n .blue-text.text-accent-4 {\n color: #2962ff;\n }\n\n .light-blue {\n background-color: #03a9f4;\n }\n\n .light-blue-text {\n color: #03a9f4;\n }\n\n .light-blue.lighten-5 {\n background-color: #e1f5fe;\n }\n\n .light-blue-text.text-lighten-5 {\n color: #e1f5fe;\n }\n\n .light-blue.lighten-4 {\n background-color: #b3e5fc;\n }\n\n .light-blue-text.text-lighten-4 {\n color: #b3e5fc;\n }\n\n .light-blue.lighten-3 {\n background-color: #81d4fa;\n }\n\n .light-blue-text.text-lighten-3 {\n color: #81d4fa;\n }\n\n .light-blue.lighten-2 {\n background-color: #4fc3f7;\n }\n\n .light-blue-text.text-lighten-2 {\n color: #4fc3f7;\n }\n\n .light-blue.lighten-1 {\n background-color: #29b6f6;\n }\n\n .light-blue-text.text-lighten-1 {\n color: #29b6f6;\n }\n\n .light-blue.darken-1 {\n background-color: #039be5;\n }\n\n .light-blue-text.text-darken-1 {\n color: #039be5;\n }\n\n .light-blue.darken-2 {\n background-color: #0288d1;\n }\n\n .light-blue-text.text-darken-2 {\n color: #0288d1;\n }\n\n .light-blue.darken-3 {\n background-color: #0277bd;\n }\n\n .light-blue-text.text-darken-3 {\n color: #0277bd;\n }\n\n .light-blue.darken-4 {\n background-color: #01579b;\n }\n\n .light-blue-text.text-darken-4 {\n color: #01579b;\n }\n\n .light-blue.accent-1 {\n background-color: #80d8ff;\n }\n\n .light-blue-text.text-accent-1 {\n color: #80d8ff;\n }\n\n .light-blue.accent-2 {\n background-color: #40c4ff;\n }\n\n .light-blue-text.text-accent-2 {\n color: #40c4ff;\n }\n\n .light-blue.accent-3 {\n background-color: #00b0ff;\n }\n\n .light-blue-text.text-accent-3 {\n color: #00b0ff;\n }\n\n .light-blue.accent-4 {\n background-color: #0091ea;\n }\n\n .light-blue-text.text-accent-4 {\n color: #0091ea;\n }\n\n .cyan {\n background-color: #00bcd4;\n }\n\n .cyan-text {\n color: #00bcd4;\n }\n\n .cyan.lighten-5 {\n background-color: #e0f7fa;\n }\n\n .cyan-text.text-lighten-5 {\n color: #e0f7fa;\n }\n\n .cyan.lighten-4 {\n background-color: #b2ebf2;\n }\n\n .cyan-text.text-lighten-4 {\n color: #b2ebf2;\n }\n\n .cyan.lighten-3 {\n background-color: #80deea;\n }\n\n .cyan-text.text-lighten-3 {\n color: #80deea;\n }\n\n .cyan.lighten-2 {\n background-color: #4dd0e1;\n }\n\n .cyan-text.text-lighten-2 {\n color: #4dd0e1;\n }\n\n .cyan.lighten-1 {\n background-color: #26c6da;\n }\n\n .cyan-text.text-lighten-1 {\n color: #26c6da;\n }\n\n .cyan.darken-1 {\n background-color: #00acc1;\n }\n\n .cyan-text.text-darken-1 {\n color: #00acc1;\n }\n\n .cyan.darken-2 {\n background-color: #0097a7;\n }\n\n .cyan-text.text-darken-2 {\n color: #0097a7;\n }\n\n .cyan.darken-3 {\n background-color: #00838f;\n }\n\n .cyan-text.text-darken-3 {\n color: #00838f;\n }\n\n .cyan.darken-4 {\n background-color: #006064;\n }\n\n .cyan-text.text-darken-4 {\n color: #006064;\n }\n\n .cyan.accent-1 {\n background-color: #84ffff;\n }\n\n .cyan-text.text-accent-1 {\n color: #84ffff;\n }\n\n .cyan.accent-2 {\n background-color: #18ffff;\n }\n\n .cyan-text.text-accent-2 {\n color: #18ffff;\n }\n\n .cyan.accent-3 {\n background-color: #00e5ff;\n }\n\n .cyan-text.text-accent-3 {\n color: #00e5ff;\n }\n\n .cyan.accent-4 {\n background-color: #00b8d4;\n }\n\n .cyan-text.text-accent-4 {\n color: #00b8d4;\n }\n\n .teal {\n background-color: #009688;\n }\n\n .teal-text {\n color: #009688;\n }\n\n .teal.lighten-5 {\n background-color: #e0f2f1;\n }\n\n .teal-text.text-lighten-5 {\n color: #e0f2f1;\n }\n\n .teal.lighten-4 {\n background-color: #b2dfdb;\n }\n\n .teal-text.text-lighten-4 {\n color: #b2dfdb;\n }\n\n .teal.lighten-3 {\n background-color: #80cbc4;\n }\n\n .teal-text.text-lighten-3 {\n color: #80cbc4;\n }\n\n .teal.lighten-2 {\n background-color: #4db6ac;\n }\n\n .teal-text.text-lighten-2 {\n color: #4db6ac;\n }\n\n .teal.lighten-1 {\n background-color: #26a69a;\n }\n\n .teal-text.text-lighten-1 {\n color: #26a69a;\n }\n\n .teal.darken-1 {\n background-color: #00897b;\n }\n\n .teal-text.text-darken-1 {\n color: #00897b;\n }\n\n .teal.darken-2 {\n background-color: #00796b;\n }\n\n .teal-text.text-darken-2 {\n color: #00796b;\n }\n\n .teal.darken-3 {\n background-color: #00695c;\n }\n\n .teal-text.text-darken-3 {\n color: #00695c;\n }\n\n .teal.darken-4 {\n background-color: #004d40;\n }\n\n .teal-text.text-darken-4 {\n color: #004d40;\n }\n\n .teal.accent-1 {\n background-color: #a7ffeb;\n }\n\n .teal-text.text-accent-1 {\n color: #a7ffeb;\n }\n\n .teal.accent-2 {\n background-color: #64ffda;\n }\n\n .teal-text.text-accent-2 {\n color: #64ffda;\n }\n\n .teal.accent-3 {\n background-color: #1de9b6;\n }\n\n .teal-text.text-accent-3 {\n color: #1de9b6;\n }\n\n .teal.accent-4 {\n background-color: #00bfa5;\n }\n\n .teal-text.text-accent-4 {\n color: #00bfa5;\n }\n\n .green {\n background-color: #4caf50;\n }\n\n .green-text {\n color: #4caf50;\n }\n\n .green.lighten-5 {\n background-color: #e8f5e9;\n }\n\n .green-text.text-lighten-5 {\n color: #e8f5e9;\n }\n\n .green.lighten-4 {\n background-color: #c8e6c9;\n }\n\n .green-text.text-lighten-4 {\n color: #c8e6c9;\n }\n\n .green.lighten-3 {\n background-color: #a5d6a7;\n }\n\n .green-text.text-lighten-3 {\n color: #a5d6a7;\n }\n\n .green.lighten-2 {\n background-color: #81c784;\n }\n\n .green-text.text-lighten-2 {\n color: #81c784;\n }\n\n .green.lighten-1 {\n background-color: #66bb6a;\n }\n\n .green-text.text-lighten-1 {\n color: #66bb6a;\n }\n\n .green.darken-1 {\n background-color: #43a047;\n }\n\n .green-text.text-darken-1 {\n color: #43a047;\n }\n\n .green.darken-2 {\n background-color: #388e3c;\n }\n\n .green-text.text-darken-2 {\n color: #388e3c;\n }\n\n .green.darken-3 {\n background-color: #2e7d32;\n }\n\n .green-text.text-darken-3 {\n color: #2e7d32;\n }\n\n .green.darken-4 {\n background-color: #1b5e20;\n }\n\n .green-text.text-darken-4 {\n color: #1b5e20;\n }\n\n .green.accent-1 {\n background-color: #b9f6ca;\n }\n\n .green-text.text-accent-1 {\n color: #b9f6ca;\n }\n\n .green.accent-2 {\n background-color: #69f0ae;\n }\n\n .green-text.text-accent-2 {\n color: #69f0ae;\n }\n\n .green.accent-3 {\n background-color: #00e676;\n }\n\n .green-text.text-accent-3 {\n color: #00e676;\n }\n\n .green.accent-4 {\n background-color: #00c853;\n }\n\n .green-text.text-accent-4 {\n color: #00c853;\n }\n\n .light-green {\n background-color: #8bc34a;\n }\n\n .light-green-text {\n color: #8bc34a;\n }\n\n .light-green.lighten-5 {\n background-color: #f1f8e9;\n }\n\n .light-green-text.text-lighten-5 {\n color: #f1f8e9;\n }\n\n .light-green.lighten-4 {\n background-color: #dcedc8;\n }\n\n .light-green-text.text-lighten-4 {\n color: #dcedc8;\n }\n\n .light-green.lighten-3 {\n background-color: #c5e1a5;\n }\n\n .light-green-text.text-lighten-3 {\n color: #c5e1a5;\n }\n\n .light-green.lighten-2 {\n background-color: #aed581;\n }\n\n .light-green-text.text-lighten-2 {\n color: #aed581;\n }\n\n .light-green.lighten-1 {\n background-color: #9ccc65;\n }\n\n .light-green-text.text-lighten-1 {\n color: #9ccc65;\n }\n\n .light-green.darken-1 {\n background-color: #7cb342;\n }\n\n .light-green-text.text-darken-1 {\n color: #7cb342;\n }\n\n .light-green.darken-2 {\n background-color: #689f38;\n }\n\n .light-green-text.text-darken-2 {\n color: #689f38;\n }\n\n .light-green.darken-3 {\n background-color: #558b2f;\n }\n\n .light-green-text.text-darken-3 {\n color: #558b2f;\n }\n\n .light-green.darken-4 {\n background-color: #33691e;\n }\n\n .light-green-text.text-darken-4 {\n color: #33691e;\n }\n\n .light-green.accent-1 {\n background-color: #ccff90;\n }\n\n .light-green-text.text-accent-1 {\n color: #ccff90;\n }\n\n .light-green.accent-2 {\n background-color: #b2ff59;\n }\n\n .light-green-text.text-accent-2 {\n color: #b2ff59;\n }\n\n .light-green.accent-3 {\n background-color: #76ff03;\n }\n\n .light-green-text.text-accent-3 {\n color: #76ff03;\n }\n\n .light-green.accent-4 {\n background-color: #64dd17;\n }\n\n .light-green-text.text-accent-4 {\n color: #64dd17;\n }\n\n .lime {\n background-color: #cddc39;\n }\n\n .lime-text {\n color: #cddc39;\n }\n\n .lime.lighten-5 {\n background-color: #f9fbe7;\n }\n\n .lime-text.text-lighten-5 {\n color: #f9fbe7;\n }\n\n .lime.lighten-4 {\n background-color: #f0f4c3;\n }\n\n .lime-text.text-lighten-4 {\n color: #f0f4c3;\n }\n\n .lime.lighten-3 {\n background-color: #e6ee9c;\n }\n\n .lime-text.text-lighten-3 {\n color: #e6ee9c;\n }\n\n .lime.lighten-2 {\n background-color: #dce775;\n }\n\n .lime-text.text-lighten-2 {\n color: #dce775;\n }\n\n .lime.lighten-1 {\n background-color: #d4e157;\n }\n\n .lime-text.text-lighten-1 {\n color: #d4e157;\n }\n\n .lime.darken-1 {\n background-color: #c0ca33;\n }\n\n .lime-text.text-darken-1 {\n color: #c0ca33;\n }\n\n .lime.darken-2 {\n background-color: #afb42b;\n }\n\n .lime-text.text-darken-2 {\n color: #afb42b;\n }\n\n .lime.darken-3 {\n background-color: #9e9d24;\n }\n\n .lime-text.text-darken-3 {\n color: #9e9d24;\n }\n\n .lime.darken-4 {\n background-color: #827717;\n }\n\n .lime-text.text-darken-4 {\n color: #827717;\n }\n\n .lime.accent-1 {\n background-color: #f4ff81;\n }\n\n .lime-text.text-accent-1 {\n color: #f4ff81;\n }\n\n .lime.accent-2 {\n background-color: #eeff41;\n }\n\n .lime-text.text-accent-2 {\n color: #eeff41;\n }\n\n .lime.accent-3 {\n background-color: #c6ff00;\n }\n\n .lime-text.text-accent-3 {\n color: #c6ff00;\n }\n\n .lime.accent-4 {\n background-color: #aeea00;\n }\n\n .lime-text.text-accent-4 {\n color: #aeea00;\n }\n\n .yellow {\n background-color: #ffeb3b;\n }\n\n .yellow-text {\n color: #ffeb3b;\n }\n\n .yellow.lighten-5 {\n background-color: #fffde7;\n }\n\n .yellow-text.text-lighten-5 {\n color: #fffde7;\n }\n\n .yellow.lighten-4 {\n background-color: #fff9c4;\n }\n\n .yellow-text.text-lighten-4 {\n color: #fff9c4;\n }\n\n .yellow.lighten-3 {\n background-color: #fff59d;\n }\n\n .yellow-text.text-lighten-3 {\n color: #fff59d;\n }\n\n .yellow.lighten-2 {\n background-color: #fff176;\n }\n\n .yellow-text.text-lighten-2 {\n color: #fff176;\n }\n\n .yellow.lighten-1 {\n background-color: #ffee58;\n }\n\n .yellow-text.text-lighten-1 {\n color: #ffee58;\n }\n\n .yellow.darken-1 {\n background-color: #fdd835;\n }\n\n .yellow-text.text-darken-1 {\n color: #fdd835;\n }\n\n .yellow.darken-2 {\n background-color: #fbc02d;\n }\n\n .yellow-text.text-darken-2 {\n color: #fbc02d;\n }\n\n .yellow.darken-3 {\n background-color: #f9a825;\n }\n\n .yellow-text.text-darken-3 {\n color: #f9a825;\n }\n\n .yellow.darken-4 {\n background-color: #f57f17;\n }\n\n .yellow-text.text-darken-4 {\n color: #f57f17;\n }\n\n .yellow.accent-1 {\n background-color: #ffff8d;\n }\n\n .yellow-text.text-accent-1 {\n color: #ffff8d;\n }\n\n .yellow.accent-2 {\n background-color: #ffff00;\n }\n\n .yellow-text.text-accent-2 {\n color: #ffff00;\n }\n\n .yellow.accent-3 {\n background-color: #ffea00;\n }\n\n .yellow-text.text-accent-3 {\n color: #ffea00;\n }\n\n .yellow.accent-4 {\n background-color: #ffd600;\n }\n\n .yellow-text.text-accent-4 {\n color: #ffd600;\n }\n\n .amber {\n background-color: #ffc107;\n }\n\n .amber-text {\n color: #ffc107;\n }\n\n .amber.lighten-5 {\n background-color: #fff8e1;\n }\n\n .amber-text.text-lighten-5 {\n color: #fff8e1;\n }\n\n .amber.lighten-4 {\n background-color: #ffecb3;\n }\n\n .amber-text.text-lighten-4 {\n color: #ffecb3;\n }\n\n .amber.lighten-3 {\n background-color: #ffe082;\n }\n\n .amber-text.text-lighten-3 {\n color: #ffe082;\n }\n\n .amber.lighten-2 {\n background-color: #ffd54f;\n }\n\n .amber-text.text-lighten-2 {\n color: #ffd54f;\n }\n\n .amber.lighten-1 {\n background-color: #ffca28;\n }\n\n .amber-text.text-lighten-1 {\n color: #ffca28;\n }\n\n .amber.darken-1 {\n background-color: #ffb300;\n }\n\n .amber-text.text-darken-1 {\n color: #ffb300;\n }\n\n .amber.darken-2 {\n background-color: #ffa000;\n }\n\n .amber-text.text-darken-2 {\n color: #ffa000;\n }\n\n .amber.darken-3 {\n background-color: #ff8f00;\n }\n\n .amber-text.text-darken-3 {\n color: #ff8f00;\n }\n\n .amber.darken-4 {\n background-color: #ff6f00;\n }\n\n .amber-text.text-darken-4 {\n color: #ff6f00;\n }\n\n .amber.accent-1 {\n background-color: #ffe57f;\n }\n\n .amber-text.text-accent-1 {\n color: #ffe57f;\n }\n\n .amber.accent-2 {\n background-color: #ffd740;\n }\n\n .amber-text.text-accent-2 {\n color: #ffd740;\n }\n\n .amber.accent-3 {\n background-color: #ffc400;\n }\n\n .amber-text.text-accent-3 {\n color: #ffc400;\n }\n\n .amber.accent-4 {\n background-color: #ffab00;\n }\n\n .amber-text.text-accent-4 {\n color: #ffab00;\n }\n\n .orange {\n background-color: #ff9800;\n }\n\n .orange-text {\n color: #ff9800;\n }\n\n .orange.lighten-5 {\n background-color: #fff3e0;\n }\n\n .orange-text.text-lighten-5 {\n color: #fff3e0;\n }\n\n .orange.lighten-4 {\n background-color: #ffe0b2;\n }\n\n .orange-text.text-lighten-4 {\n color: #ffe0b2;\n }\n\n .orange.lighten-3 {\n background-color: #ffcc80;\n }\n\n .orange-text.text-lighten-3 {\n color: #ffcc80;\n }\n\n .orange.lighten-2 {\n background-color: #ffb74d;\n }\n\n .orange-text.text-lighten-2 {\n color: #ffb74d;\n }\n\n .orange.lighten-1 {\n background-color: #ffa726;\n }\n\n .orange-text.text-lighten-1 {\n color: #ffa726;\n }\n\n .orange.darken-1 {\n background-color: #fb8c00;\n }\n\n .orange-text.text-darken-1 {\n color: #fb8c00;\n }\n\n .orange.darken-2 {\n background-color: #f57c00;\n }\n\n .orange-text.text-darken-2 {\n color: #f57c00;\n }\n\n .orange.darken-3 {\n background-color: #ef6c00;\n }\n\n .orange-text.text-darken-3 {\n color: #ef6c00;\n }\n\n .orange.darken-4 {\n background-color: #e65100;\n }\n\n .orange-text.text-darken-4 {\n color: #e65100;\n }\n\n .orange.accent-1 {\n background-color: #ffd180;\n }\n\n .orange-text.text-accent-1 {\n color: #ffd180;\n }\n\n .orange.accent-2 {\n background-color: #ffab40;\n }\n\n .orange-text.text-accent-2 {\n color: #ffab40;\n }\n\n .orange.accent-3 {\n background-color: #ff9100;\n }\n\n .orange-text.text-accent-3 {\n color: #ff9100;\n }\n\n .orange.accent-4 {\n background-color: #ff6d00;\n }\n\n .orange-text.text-accent-4 {\n color: #ff6d00;\n }\n\n .deep-orange {\n background-color: #ff5722;\n }\n\n .deep-orange-text {\n color: #ff5722;\n }\n\n .deep-orange.lighten-5 {\n background-color: #fbe9e7;\n }\n\n .deep-orange-text.text-lighten-5 {\n color: #fbe9e7;\n }\n\n .deep-orange.lighten-4 {\n background-color: #ffccbc;\n }\n\n .deep-orange-text.text-lighten-4 {\n color: #ffccbc;\n }\n\n .deep-orange.lighten-3 {\n background-color: #ffab91;\n }\n\n .deep-orange-text.text-lighten-3 {\n color: #ffab91;\n }\n\n .deep-orange.lighten-2 {\n background-color: #ff8a65;\n }\n\n .deep-orange-text.text-lighten-2 {\n color: #ff8a65;\n }\n\n .deep-orange.lighten-1 {\n background-color: #ff7043;\n }\n\n .deep-orange-text.text-lighten-1 {\n color: #ff7043;\n }\n\n .deep-orange.darken-1 {\n background-color: #f4511e;\n }\n\n .deep-orange-text.text-darken-1 {\n color: #f4511e;\n }\n\n .deep-orange.darken-2 {\n background-color: #e64a19;\n }\n\n .deep-orange-text.text-darken-2 {\n color: #e64a19;\n }\n\n .deep-orange.darken-3 {\n background-color: #d84315;\n }\n\n .deep-orange-text.text-darken-3 {\n color: #d84315;\n }\n\n .deep-orange.darken-4 {\n background-color: #bf360c;\n }\n\n .deep-orange-text.text-darken-4 {\n color: #bf360c;\n }\n\n .deep-orange.accent-1 {\n background-color: #ff9e80;\n }\n\n .deep-orange-text.text-accent-1 {\n color: #ff9e80;\n }\n\n .deep-orange.accent-2 {\n background-color: #ff6e40;\n }\n\n .deep-orange-text.text-accent-2 {\n color: #ff6e40;\n }\n\n .deep-orange.accent-3 {\n background-color: #ff3d00;\n }\n\n .deep-orange-text.text-accent-3 {\n color: #ff3d00;\n }\n\n .deep-orange.accent-4 {\n background-color: #dd2c00;\n }\n\n .deep-orange-text.text-accent-4 {\n color: #dd2c00;\n }\n\n .brown {\n background-color: #795548;\n }\n\n .brown-text {\n color: #795548;\n }\n\n .brown.lighten-5 {\n background-color: #efebe9;\n }\n\n .brown-text.text-lighten-5 {\n color: #efebe9;\n }\n\n .brown.lighten-4 {\n background-color: #d7ccc8;\n }\n\n .brown-text.text-lighten-4 {\n color: #d7ccc8;\n }\n\n .brown.lighten-3 {\n background-color: #bcaaa4;\n }\n\n .brown-text.text-lighten-3 {\n color: #bcaaa4;\n }\n\n .brown.lighten-2 {\n background-color: #a1887f;\n }\n\n .brown-text.text-lighten-2 {\n color: #a1887f;\n }\n\n .brown.lighten-1 {\n background-color: #8d6e63;\n }\n\n .brown-text.text-lighten-1 {\n color: #8d6e63;\n }\n\n .brown.darken-1 {\n background-color: #6d4c41;\n }\n\n .brown-text.text-darken-1 {\n color: #6d4c41;\n }\n\n .brown.darken-2 {\n background-color: #5d4037;\n }\n\n .brown-text.text-darken-2 {\n color: #5d4037;\n }\n\n .brown.darken-3 {\n background-color: #4e342e;\n }\n\n .brown-text.text-darken-3 {\n color: #4e342e;\n }\n\n .brown.darken-4 {\n background-color: #3e2723;\n }\n\n .brown-text.text-darken-4 {\n color: #3e2723;\n }\n\n .blue-grey {\n background-color: #607d8b;\n }\n\n .blue-grey-text {\n color: #607d8b;\n }\n\n .blue-grey.lighten-5 {\n background-color: #eceff1;\n }\n\n .blue-grey-text.text-lighten-5 {\n color: #eceff1;\n }\n\n .blue-grey.lighten-4 {\n background-color: #cfd8dc;\n }\n\n .blue-grey-text.text-lighten-4 {\n color: #cfd8dc;\n }\n\n .blue-grey.lighten-3 {\n background-color: #b0bec5;\n }\n\n .blue-grey-text.text-lighten-3 {\n color: #b0bec5;\n }\n\n .blue-grey.lighten-2 {\n background-color: #90a4ae;\n }\n\n .blue-grey-text.text-lighten-2 {\n color: #90a4ae;\n }\n\n .blue-grey.lighten-1 {\n background-color: #78909c;\n }\n\n .blue-grey-text.text-lighten-1 {\n color: #78909c;\n }\n\n .blue-grey.darken-1 {\n background-color: #546e7a;\n }\n\n .blue-grey-text.text-darken-1 {\n color: #546e7a;\n }\n\n .blue-grey.darken-2 {\n background-color: #455a64;\n }\n\n .blue-grey-text.text-darken-2 {\n color: #455a64;\n }\n\n .blue-grey.darken-3 {\n background-color: #37474f;\n }\n\n .blue-grey-text.text-darken-3 {\n color: #37474f;\n }\n\n .blue-grey.darken-4 {\n background-color: #263238;\n }\n\n .blue-grey-text.text-darken-4 {\n color: #263238;\n }\n\n .grey {\n background-color: #9e9e9e;\n }\n\n .grey-text {\n color: #9e9e9e;\n }\n\n .grey.lighten-5 {\n background-color: #fafafa;\n }\n\n .grey-text.text-lighten-5 {\n color: #fafafa;\n }\n\n .grey.lighten-4 {\n background-color: #f5f5f5;\n }\n\n .grey-text.text-lighten-4 {\n color: #f5f5f5;\n }\n\n .grey.lighten-3 {\n background-color: #eeeeee;\n }\n\n .grey-text.text-lighten-3 {\n color: #eeeeee;\n }\n\n .grey.lighten-2 {\n background-color: #e0e0e0;\n }\n\n .grey-text.text-lighten-2 {\n color: #e0e0e0;\n }\n\n .grey.lighten-1 {\n background-color: #bdbdbd;\n }\n\n .grey-text.text-lighten-1 {\n color: #bdbdbd;\n }\n\n .grey.darken-1 {\n background-color: #757575;\n }\n\n .grey-text.text-darken-1 {\n color: #757575;\n }\n\n .grey.darken-2 {\n background-color: #616161;\n }\n\n .grey-text.text-darken-2 {\n color: #616161;\n }\n\n .grey.darken-3 {\n background-color: #424242;\n }\n\n .grey-text.text-darken-3 {\n color: #424242;\n }\n\n .grey.darken-4 {\n background-color: #212121;\n }\n\n .grey-text.text-darken-4 {\n color: #212121;\n }\n\n .black {\n background-color: #000000;\n }\n\n .black-text {\n color: #000000;\n }\n\n .white {\n background-color: #ffffff;\n }\n\n .white-text {\n color: #ffffff;\n }\n\n .transparent {\n background-color: transparent;\n }\n\n .transparent-text {\n color: transparent;\n }\n\n /* Materialize Outline classes */\n .indigo-outline {\n outline-color: #3f51b5;\n }\n .blue-outline {\n outline-color: #2962ff;\n }\n .amber-outline {\n outline-color: #ffab00;\n }\n .green-border {\n outline-color: #4caf50;\n }\n .teal-outline {\n outline-color: #00bfa5;\n }\n .yellow-outline {\n outline-color: #ffd600;\n }\n .grey-outline {\n outline-color: #212121;\n }\n .cyan-outline {\n outline-color: #00b8d4;\n }\n .orange-outline {\n outline-color: #ff6d00;\n }\n .red-outline {\n outline-color: #d50000;\n }\n .deep-orange-outline {\n outline-color: #dd2c00;\n }\n .lime-outline {\n outline-color: #aeea00;\n }\n .pink-outline {\n outline-color: #c51162;\n }\n .purple-outline {\n outline-color: #aa00ff;\n }\n .light-green-outline {\n outline-color: #64dd17;\n }\n .light-blue-outline {\n outline-color: #01579b;\n }\n .white-outline {\n outline-color: #ffffff;\n }\n\n /* Materialize Border classes */\n .indigo-border {\n border-color: #3f51b5;\n }\n .blue-border {\n border-color: #2196f3;\n }\n .amber-border {\n border-color: #ffc107;\n }\n .green-border {\n border-color: #4caf50;\n }\n .teal-border {\n border-color: #009688;\n }\n .yellow-border {\n border-color: #ffeb3b;\n }\n .grey-border {\n border-color: #9e9e9e;\n }\n .cyan-border {\n border-color: #00bcd4;\n }\n .orange-border {\n border-color: #ff9800;\n }\n .red-border {\n border-color: #f44336;\n }\n .deep-orange-border {\n border-color: #ff5722;\n }\n .lime-border {\n border-color: #cddc39;\n }\n .pink-border {\n border-color: #e91e63;\n }\n .purple-border {\n border-color: #9c27b0;\n }\n .light-green-border {\n border-color: #8bc34a;\n }\n .light-blue-border {\n border-color: #03a9f4;\n }\n .white-border {\n border-color: #ffffff;\n }\n /* Materialize accessible text variants */\n .accessible-indigo-text {\n color: #1a237e;\n }\n .accessible-green-text {\n color: #1b5e20;\n }\n .accessible-purple-text {\n color: #581663;\n }\n .accessible-cyan-text {\n color: #006064;\n }\n .accessible-blue-text {\n color: #085390;\n }\n .accessible-deep-orange-text {\n color: #a72700;\n }\n .accessible-red-text {\n color: #a41309;\n }\n .accessible-amber-text {\n color: #833900;\n }\n .accessible-teal-text {\n color: #00554d;\n }\n .accessible-orange-text {\n color: #653c00;\n }\n .accessible-yellow-text {\n color: #463f00;\n }\n .accessible-lime-text {\n color: #474d0e;\n }\n .accessible-light-blue-text {\n color: #025277;\n }\n .accessible-light-green-text {\n color: #3c571d;\n }\n .accessible-pink-text {\n color: #9d0f3f;\n }\n .accessible-grey-text {\n color: #212121;\n }\n"]))); _exports.materialCssStyles = materialCssStyles; $_documentContainer.innerHTML = "\n \n"; document.head.appendChild($_documentContainer); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/md-block/md-block.js b/build/es5-amd/node_modules/@lrnwebcomponents/md-block/md-block.js index 1ded1bb9809..cae5dd7cd41 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/md-block/md-block.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/md-block/md-block.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.MdBlock = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_47a57af01da511ed9d313b9780b2ae17, _templateObject2_47a57af01da511ed9d313b9780b2ae17, _templateObject3_47a57af01da511ed9d313b9780b2ae17, _templateObject4_47a57af01da511ed9d313b9780b2ae17; + var _templateObject_1ad0f2d01e5811ed81a80d03c17d190b, _templateObject2_1ad0f2d01e5811ed81a80d03c17d190b, _templateObject3_1ad0f2d01e5811ed81a80d03c17d190b, _templateObject4_1ad0f2d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -56,14 +56,14 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_47a57af01da511ed9d313b9780b2ae17 || (_templateObject_47a57af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), this.markdown && this.source == "" ? (0, _index.html)(_templateObject2_47a57af01da511ed9d313b9780b2ae17 || (_templateObject2_47a57af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n
        "])), this.markdown) : (0, _index.html)(_templateObject3_47a57af01da511ed9d313b9780b2ae17 || (_templateObject3_47a57af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n \n
        "])), this.source ? this.source : undefined)); + return (0, _index.html)(_templateObject_1ad0f2d01e5811ed81a80d03c17d190b || (_templateObject_1ad0f2d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n ", "\n
        "])), this.markdown && this.source == "" ? (0, _index.html)(_templateObject2_1ad0f2d01e5811ed81a80d03c17d190b || (_templateObject2_1ad0f2d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n
        "])), this.markdown) : (0, _index.html)(_templateObject3_1ad0f2d01e5811ed81a80d03c17d190b || (_templateObject3_1ad0f2d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n \n
        "])), this.source ? this.source : undefined)); } // haxProperty definition }], [{ key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject4_47a57af01da511ed9d313b9780b2ae17 || (_templateObject4_47a57af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n img {\n max-width: 100%;\n }\n\n h1 {\n font-size: var(--hax-base-styles-h1-font-size);\n line-height: var(--hax-base-styles-h1-line-height);\n }\n\n h2 {\n font-size: var(--hax-base-styles-h2-font-size);\n }\n\n h3 {\n font-size: var(--hax-base-styles-h3-font-size);\n }\n\n h4 {\n font-size: var(--hax-base-styles-h4-font-size);\n }\n\n h5 {\n font-size: var(--hax-base-styles-h5-font-size);\n }\n\n h6 {\n font-size: var(--hax-base-styles-h6-font-size);\n }\n\n p {\n min-height: var(--hax-base-styles-p-min-height);\n font-size: var(--hax-base-styles-p-font-size);\n line-height: var(--hax-base-styles-p-line-height);\n letter-spacing: var(--hax-base-styles-p-letter-spacing);\n }\n\n a,\n a:-webkit-any-link {\n color: var(--hax-base-styles-a-color);\n font-size: var(--hax-base-styles-a-font-size);\n font-weight: var(--hax-base-styles-a-font-weight);\n }\n\n a:visited {\n color: var(--hax-base-styles-a-color-visited);\n }\n\n a:active,\n a:focus,\n a:hover {\n color: var(--hax-base-styles-a-color-active);\n font-weight: var(--hax-base-styles-a-font-weight-active);\n }\n\n ol,\n ul ol li,\n ul li {\n padding-bottom: var(--hax-base-styles-list-padding-bottom);\n line-height: var(--hax-base-styles-list-line-height);\n font-size: var(--hax-base-styles-list-font-size);\n max-width: var(--hax-base-styles-list-max-width);\n }\n\n ol li:last-child,\n ul li:last-child {\n padding-bottom: var(--hax-base-styles-list-last-child-padding-bottom);\n }\n\n ul,\n ol {\n padding-left: var(--hax-base-styles-list-padding-left);\n padding-left: var(--hax-base-styles-list-margin-left);\n }\n\n code {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 12px;\n background-color: var(\n --hax-base-styles-code-background-color,\n rgba(175, 184, 193, 0.2)\n );\n border-radius: 6px;\n font-family: var(\n --hax-base-styles-code-font-family,\n ui-monospace,\n monospace\n );\n }\n\n pre {\n padding: 16px;\n overflow: auto;\n line-height: 1.45;\n background-color: var(\n --hax-base-styles-pre-background-color,\n rgba(175, 184, 193, 0.2)\n );\n border-radius: 6px;\n margin-bottom: 0;\n word-break: normal;\n word-wrap: normal;\n margin-top: 0;\n font-family: var(\n --hax-base-styles-pre-font-family,\n ui-monospace,\n monospace\n );\n font-size: 12px;\n }\n pre code {\n background-color: transparent;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_1ad0f2d01e5811ed81a80d03c17d190b || (_templateObject4_1ad0f2d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n img {\n max-width: 100%;\n }\n\n h1 {\n font-size: var(--hax-base-styles-h1-font-size);\n line-height: var(--hax-base-styles-h1-line-height);\n }\n\n h2 {\n font-size: var(--hax-base-styles-h2-font-size);\n }\n\n h3 {\n font-size: var(--hax-base-styles-h3-font-size);\n }\n\n h4 {\n font-size: var(--hax-base-styles-h4-font-size);\n }\n\n h5 {\n font-size: var(--hax-base-styles-h5-font-size);\n }\n\n h6 {\n font-size: var(--hax-base-styles-h6-font-size);\n }\n\n p {\n min-height: var(--hax-base-styles-p-min-height);\n font-size: var(--hax-base-styles-p-font-size);\n line-height: var(--hax-base-styles-p-line-height);\n letter-spacing: var(--hax-base-styles-p-letter-spacing);\n }\n\n a,\n a:-webkit-any-link {\n color: var(--hax-base-styles-a-color);\n font-size: var(--hax-base-styles-a-font-size);\n font-weight: var(--hax-base-styles-a-font-weight);\n }\n\n a:visited {\n color: var(--hax-base-styles-a-color-visited);\n }\n\n a:active,\n a:focus,\n a:hover {\n color: var(--hax-base-styles-a-color-active);\n font-weight: var(--hax-base-styles-a-font-weight-active);\n }\n\n ol,\n ul ol li,\n ul li {\n padding-bottom: var(--hax-base-styles-list-padding-bottom);\n line-height: var(--hax-base-styles-list-line-height);\n font-size: var(--hax-base-styles-list-font-size);\n max-width: var(--hax-base-styles-list-max-width);\n }\n\n ol li:last-child,\n ul li:last-child {\n padding-bottom: var(--hax-base-styles-list-last-child-padding-bottom);\n }\n\n ul,\n ol {\n padding-left: var(--hax-base-styles-list-padding-left);\n padding-left: var(--hax-base-styles-list-margin-left);\n }\n\n code {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 12px;\n background-color: var(\n --hax-base-styles-code-background-color,\n rgba(175, 184, 193, 0.2)\n );\n border-radius: 6px;\n font-family: var(\n --hax-base-styles-code-font-family,\n ui-monospace,\n monospace\n );\n }\n\n pre {\n padding: 16px;\n overflow: auto;\n line-height: 1.45;\n background-color: var(\n --hax-base-styles-pre-background-color,\n rgba(175, 184, 193, 0.2)\n );\n border-radius: 6px;\n margin-bottom: 0;\n word-break: normal;\n word-wrap: normal;\n margin-top: 0;\n font-family: var(\n --hax-base-styles-pre-font-family,\n ui-monospace,\n monospace\n );\n font-size: 12px;\n }\n pre code {\n background-color: transparent;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/md-extra-icons/md-extra-icons.js b/build/es5-amd/node_modules/@lrnwebcomponents/md-extra-icons/md-extra-icons.js index 8e1a940f932..89141e5c460 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/md-extra-icons/md-extra-icons.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/md-extra-icons/md-extra-icons.js @@ -1,8 +1,8 @@ define(["../../@polymer/iron-icon/iron-icon.js", "../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_47a5f0201da511ed9d313b9780b2ae17; + var _templateObject_1ad168001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_47a5f0201da511ed9d313b9780b2ae17 || (_templateObject_47a5f0201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_1ad168001e5811ed81a80d03c17d190b || (_templateObject_1ad168001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-account-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-account-iconset-svg.js index c7a415378c2..70bff1ade28 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-account-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-account-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_8896ffc01da511ed9d313b9780b2ae17; + var _templateObject_51feecd01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_8896ffc01da511ed9d313b9780b2ae17 || (_templateObject_8896ffc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_51feecd01e5811ed81a80d03c17d190b || (_templateObject_51feecd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-action-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-action-iconset-svg.js index 71df8d2f9a1..a734e773193 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-action-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-action-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_8897ea201da511ed9d313b9780b2ae17; + var _templateObject_51ffb0201e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_8897ea201da511ed9d313b9780b2ae17 || (_templateObject_8897ea201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_51ffb0201e5811ed81a80d03c17d190b || (_templateObject_51ffb0201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-agriculture-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-agriculture-iconset-svg.js index ed9ab540ffd..1570d2ada2b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-agriculture-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-agriculture-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889886601da511ed9d313b9780b2ae17; + var _templateObject_51fffe401e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889886601da511ed9d313b9780b2ae17 || (_templateObject_889886601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_51fffe401e5811ed81a80d03c17d190b || (_templateObject_51fffe401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-alert-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-alert-iconset-svg.js index 958c837c7d2..8a3ca90bf81 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-alert-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-alert-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889922a01da511ed9d313b9780b2ae17; + var _templateObject_520073701e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889922a01da511ed9d313b9780b2ae17 || (_templateObject_889922a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_520073701e5811ed81a80d03c17d190b || (_templateObject_520073701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js index fc45e36b085..a03ab08bd6c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_8899e5f01da511ed9d313b9780b2ae17; + var _templateObject_5200c1901e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_8899e5f01da511ed9d313b9780b2ae17 || (_templateObject_8899e5f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5200c1901e5811ed81a80d03c17d190b || (_templateObject_5200c1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrow-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrow-iconset-svg.js index 935ade50421..e28e3350d27 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrow-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrow-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889af7601da511ed9d313b9780b2ae17; + var _templateObject_52010fb01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889af7601da511ed9d313b9780b2ae17 || (_templateObject_889af7601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52010fb01e5811ed81a80d03c17d190b || (_templateObject_52010fb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-audio-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-audio-iconset-svg.js index 3adfc9ca0dc..2f449c11241 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-audio-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-audio-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889be1c01da511ed9d313b9780b2ae17; + var _templateObject_52015dd01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889be1c01da511ed9d313b9780b2ae17 || (_templateObject_889be1c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52015dd01e5811ed81a80d03c17d190b || (_templateObject_52015dd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-auth-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-auth-iconset-svg.js index 1de11bf5a43..e1097521f08 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-auth-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-auth-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889c56f01da511ed9d313b9780b2ae17; + var _templateObject_5201d3001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889c56f01da511ed9d313b9780b2ae17 || (_templateObject_889c56f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5201d3001e5811ed81a80d03c17d190b || (_templateObject_5201d3001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-av-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-av-iconset-svg.js index 2df1ec20dc9..543c54bb6eb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-av-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-av-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889cf3301da511ed9d313b9780b2ae17; + var _templateObject_5202bd601e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889cf3301da511ed9d313b9780b2ae17 || (_templateObject_889cf3301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5202bd601e5811ed81a80d03c17d190b || (_templateObject_5202bd601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-battery-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-battery-iconset-svg.js index 11891420f26..e8b96bbccb7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-battery-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-battery-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889d8f701da511ed9d313b9780b2ae17; + var _templateObject_520332901e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889d8f701da511ed9d313b9780b2ae17 || (_templateObject_889d8f701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_520332901e5811ed81a80d03c17d190b || (_templateObject_520332901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-bell-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-bell-iconset-svg.js index 9d721ef7a9f..b1996e84172 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-bell-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-bell-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889e2bb01da511ed9d313b9780b2ae17; + var _templateObject_520380b01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889e2bb01da511ed9d313b9780b2ae17 || (_templateObject_889e2bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_520380b01e5811ed81a80d03c17d190b || (_templateObject_520380b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-border-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-border-iconset-svg.js index e3311d73bd7..03f62cb033a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-border-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-border-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889ec7f01da511ed9d313b9780b2ae17; + var _templateObject_5203ced01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889ec7f01da511ed9d313b9780b2ae17 || (_templateObject_889ec7f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5203ced01e5811ed81a80d03c17d190b || (_templateObject_5203ced01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-box-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-box-iconset-svg.js index a025a50a4a2..673e2cc8c0d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-box-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-box-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_889f8b401da511ed9d313b9780b2ae17; + var _templateObject_520444001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_889f8b401da511ed9d313b9780b2ae17 || (_templateObject_889f8b401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_520444001e5811ed81a80d03c17d190b || (_templateObject_520444001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-camera-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-camera-iconset-svg.js index 678e4666fb4..89e01d24584 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-camera-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-camera-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a0c3c01da511ed9d313b9780b2ae17; + var _templateObject_5204b9301e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a0c3c01da511ed9d313b9780b2ae17 || (_templateObject_88a0c3c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5204b9301e5811ed81a80d03c17d190b || (_templateObject_5204b9301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cart-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cart-iconset-svg.js index 6ff2f971dd6..5e9e9e0e54a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cart-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cart-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a160001da511ed9d313b9780b2ae17; + var _templateObject_520507501e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a160001da511ed9d313b9780b2ae17 || (_templateObject_88a160001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_520507501e5811ed81a80d03c17d190b || (_templateObject_520507501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-circle-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-circle-iconset-svg.js index a6561e247fc..a4f155cdac3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-circle-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-circle-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a1ae201da511ed9d313b9780b2ae17; + var _templateObject_52057c801e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a1ae201da511ed9d313b9780b2ae17 || (_templateObject_88a1ae201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52057c801e5811ed81a80d03c17d190b || (_templateObject_52057c801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-clothing-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-clothing-iconset-svg.js index 38ae81126c4..025f2d1f7a5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-clothing-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-clothing-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a298801da511ed9d313b9780b2ae17; + var _templateObject_5205caa01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a298801da511ed9d313b9780b2ae17 || (_templateObject_88a298801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5205caa01e5811ed81a80d03c17d190b || (_templateObject_5205caa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cloud-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cloud-iconset-svg.js index 8652f868ef5..0667d4e6dd6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cloud-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-cloud-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a334c01da511ed9d313b9780b2ae17; + var _templateObject_521051f01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a334c01da511ed9d313b9780b2ae17 || (_templateObject_88a334c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521051f01e5811ed81a80d03c17d190b || (_templateObject_521051f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-color-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-color-iconset-svg.js index 6d1078919e3..628626b112d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-color-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-color-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a3d1001da511ed9d313b9780b2ae17; + var _templateObject_5210c7201e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a3d1001da511ed9d313b9780b2ae17 || (_templateObject_88a3d1001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5210c7201e5811ed81a80d03c17d190b || (_templateObject_5210c7201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-comment-isonset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-comment-isonset-svg.js index 970db31804d..dbdc8fdf540 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-comment-isonset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-comment-isonset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a46d401da511ed9d313b9780b2ae17; + var _templateObject_52113c501e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a46d401da511ed9d313b9780b2ae17 || (_templateObject_88a46d401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52113c501e5811ed81a80d03c17d190b || (_templateObject_52113c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-currency-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-currency-iconset-svg.js index e56b910cda0..202f5d02343 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-currency-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-currency-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a509801da511ed9d313b9780b2ae17; + var _templateObject_5211b1801e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a509801da511ed9d313b9780b2ae17 || (_templateObject_88a509801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5211b1801e5811ed81a80d03c17d190b || (_templateObject_5211b1801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-debug-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-debug-iconset-svg.js index b50bcde0986..e5aad2b1dd6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-debug-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-debug-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a642001da511ed9d313b9780b2ae17; + var _templateObject_5211ffa01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a642001da511ed9d313b9780b2ae17 || (_templateObject_88a642001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5211ffa01e5811ed81a80d03c17d190b || (_templateObject_5211ffa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-drawing-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-drawing-iconset-svg.js index 08a72c3ed21..3237ed95c64 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-drawing-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-drawing-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a6de401da511ed9d313b9780b2ae17; + var _templateObject_52124dc01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a6de401da511ed9d313b9780b2ae17 || (_templateObject_88a6de401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52124dc01e5811ed81a80d03c17d190b || (_templateObject_52124dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-edit-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-edit-iconset-svg.js index d07f71598d9..78abdc0b398 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-edit-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-edit-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a77a801da511ed9d313b9780b2ae17; + var _templateObject_52129be01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a77a801da511ed9d313b9780b2ae17 || (_templateObject_88a77a801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52129be01e5811ed81a80d03c17d190b || (_templateObject_52129be01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-error-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-error-iconset-svg.js index f083bf6d6a6..6361f57c049 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-error-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-error-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a7efb01da511ed9d313b9780b2ae17; + var _templateObject_5212ea001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a7efb01da511ed9d313b9780b2ae17 || (_templateObject_88a7efb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5212ea001e5811ed81a80d03c17d190b || (_templateObject_5212ea001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-file-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-file-iconset-svg.js index cc5a7921ef6..ad325f9b630 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-file-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-file-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a88bf01da511ed9d313b9780b2ae17; + var _templateObject_52135f301e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a88bf01da511ed9d313b9780b2ae17 || (_templateObject_88a88bf01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52135f301e5811ed81a80d03c17d190b || (_templateObject_52135f301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-filter-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-filter-iconset-svg.js index 5d64ec37a3b..54686a2a5f9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-filter-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-filter-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a928301da511ed9d313b9780b2ae17; + var _templateObject_5213ad501e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a928301da511ed9d313b9780b2ae17 || (_templateObject_88a928301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5213ad501e5811ed81a80d03c17d190b || (_templateObject_5213ad501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-folder-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-folder-iconset-svg.js index 51f863cbe77..38677d07c5b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-folder-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-folder-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88a9c4701da511ed9d313b9780b2ae17; + var _templateObject_5213fb701e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88a9c4701da511ed9d313b9780b2ae17 || (_templateObject_88a9c4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5213fb701e5811ed81a80d03c17d190b || (_templateObject_5213fb701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-form-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-form-iconset-svg.js index 654324b0c44..e42344ace18 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-form-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-form-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88aaaed01da511ed9d313b9780b2ae17; + var _templateObject_521470a01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88aaaed01da511ed9d313b9780b2ae17 || (_templateObject_88aaaed01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521470a01e5811ed81a80d03c17d190b || (_templateObject_521470a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-format-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-format-iconset-svg.js index 4a3b24ee3a1..c9ac9041668 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-format-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-format-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88abe7501da511ed9d313b9780b2ae17; + var _templateObject_5214bec01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88abe7501da511ed9d313b9780b2ae17 || (_templateObject_88abe7501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5214bec01e5811ed81a80d03c17d190b || (_templateObject_5214bec01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-hardware-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-hardware-iconset-svg.js index d047d1e0c2c..65b95bfe55f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-hardware-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-hardware-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88acaaa01da511ed9d313b9780b2ae17; + var _templateObject_5215d0301e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88acaaa01da511ed9d313b9780b2ae17 || (_templateObject_88acaaa01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5215d0301e5811ed81a80d03c17d190b || (_templateObject_5215d0301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-helper-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-helper-iconset-svg.js index d42724ff0f9..78e503b4ee5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-helper-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-helper-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88ad1fd01da511ed9d313b9780b2ae17; + var _templateObject_52161e501e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88ad1fd01da511ed9d313b9780b2ae17 || (_templateObject_88ad1fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52161e501e5811ed81a80d03c17d190b || (_templateObject_52161e501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-holiday-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-holiday-iconset-svg.js index d9b92193b6b..af950547ab7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-holiday-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-holiday-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88ade3201da511ed9d313b9780b2ae17; + var _templateObject_52166c701e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88ade3201da511ed9d313b9780b2ae17 || (_templateObject_88ade3201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52166c701e5811ed81a80d03c17d190b || (_templateObject_52166c701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-image-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-image-iconset-svg.js index 1377b54f0e6..18d0cfe2eab 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-image-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-image-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88ae7f601da511ed9d313b9780b2ae17; + var _templateObject_5216e1a01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88ae7f601da511ed9d313b9780b2ae17 || (_templateObject_88ae7f601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5216e1a01e5811ed81a80d03c17d190b || (_templateObject_5216e1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-local-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-local-iconset-svg.js index 1d1e84243a3..2a8c86c0459 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-local-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-local-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88af1ba01da511ed9d313b9780b2ae17; + var _templateObject_52172fc01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88af1ba01da511ed9d313b9780b2ae17 || (_templateObject_88af1ba01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52172fc01e5811ed81a80d03c17d190b || (_templateObject_52172fc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-lock-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-lock-iconset-svg.js index 77c1a46293a..fe1c7f8700f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-lock-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-lock-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88afb7e01da511ed9d313b9780b2ae17; + var _templateObject_52177de01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88afb7e01da511ed9d313b9780b2ae17 || (_templateObject_88afb7e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52177de01e5811ed81a80d03c17d190b || (_templateObject_52177de01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-logo-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-logo-iconset-svg.js index ad5910ea750..09078b941ca 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-logo-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-logo-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b13e801da511ed9d313b9780b2ae17; + var _templateObject_52181a201e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b13e801da511ed9d313b9780b2ae17 || (_templateObject_88b13e801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52181a201e5811ed81a80d03c17d190b || (_templateObject_52181a201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-map-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-map-iconset-svg.js index 9fa3f24489e..eff1e7128e0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-map-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-map-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b18ca01da511ed9d313b9780b2ae17; + var _templateObject_521868401e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b18ca01da511ed9d313b9780b2ae17 || (_templateObject_88b18ca01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521868401e5811ed81a80d03c17d190b || (_templateObject_521868401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-markdown-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-markdown-iconset-svg.js index b471f095875..4f868c51202 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-markdown-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-markdown-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b228e01da511ed9d313b9780b2ae17; + var _templateObject_5218dd701e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b228e01da511ed9d313b9780b2ae17 || (_templateObject_88b228e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5218dd701e5811ed81a80d03c17d190b || (_templateObject_5218dd701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-medical-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-medical-iconset-svg.js index eebdc99d18b..3bfacd7769b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-medical-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-medical-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b2c5201da511ed9d313b9780b2ae17; + var _templateObject_52192b901e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b2c5201da511ed9d313b9780b2ae17 || (_templateObject_88b2c5201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52192b901e5811ed81a80d03c17d190b || (_templateObject_52192b901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-microphone-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-microphone-iconset-svg.js index c0d7675f3d1..5a031620b33 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-microphone-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-microphone-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b361601da511ed9d313b9780b2ae17; + var _templateObject_521979b01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b361601da511ed9d313b9780b2ae17 || (_templateObject_88b361601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521979b01e5811ed81a80d03c17d190b || (_templateObject_521979b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-minus-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-minus-iconset-svg.js index ecd52043016..f955df87ab8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-minus-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-minus-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b3fda01da511ed9d313b9780b2ae17; + var _templateObject_5219eee01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b3fda01da511ed9d313b9780b2ae17 || (_templateObject_88b3fda01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_5219eee01e5811ed81a80d03c17d190b || (_templateObject_5219eee01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-movie-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-movie-iconset-svg.js index ff9390d5e37..d466f2182c5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-movie-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-movie-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b499e01da511ed9d313b9780b2ae17; + var _templateObject_521a3d001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b499e01da511ed9d313b9780b2ae17 || (_templateObject_88b499e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521a3d001e5811ed81a80d03c17d190b || (_templateObject_521a3d001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-octagon-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-octagon-iconset-svg.js index 64cb7a86c2f..332b0ebfed5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-octagon-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-octagon-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b5f9701da511ed9d313b9780b2ae17; + var _templateObject_521a8b201e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b5f9701da511ed9d313b9780b2ae17 || (_templateObject_88b5f9701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521a8b201e5811ed81a80d03c17d190b || (_templateObject_521a8b201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-off-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-off-iconset-svg.js index 3c3c9516b58..a55108f139d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-off-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-off-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b695b01da511ed9d313b9780b2ae17; + var _templateObject_521b75801e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b695b01da511ed9d313b9780b2ae17 || (_templateObject_88b695b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521b75801e5811ed81a80d03c17d190b || (_templateObject_521b75801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-os-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-os-iconset-svg.js index 1cff2100da8..599ed09479c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-os-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-os-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b731f01da511ed9d313b9780b2ae17; + var _templateObject_521beab01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b731f01da511ed9d313b9780b2ae17 || (_templateObject_88b731f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521beab01e5811ed81a80d03c17d190b || (_templateObject_521beab01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-outline-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-outline-iconset-svg.js index bf3af9a0718..cb775702991 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-outline-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-outline-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b7ce301da511ed9d313b9780b2ae17; + var _templateObject_521c38d01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b7ce301da511ed9d313b9780b2ae17 || (_templateObject_88b7ce301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521c38d01e5811ed81a80d03c17d190b || (_templateObject_521c38d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-phone-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-phone-iconset-svg.js index c7fd34e49c8..d2895054e56 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-phone-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-phone-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b86a701da511ed9d313b9780b2ae17; + var _templateObject_521c86f01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b86a701da511ed9d313b9780b2ae17 || (_templateObject_88b86a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_521c86f01e5811ed81a80d03c17d190b || (_templateObject_521c86f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-pin-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-pin-iconset-svg.js index be0ca5edfdd..d18bbb2f1d4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-pin-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-pin-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b906b01da511ed9d313b9780b2ae17; + var _templateObject_52de50501e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b906b01da511ed9d313b9780b2ae17 || (_templateObject_88b906b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52de50501e5811ed81a80d03c17d190b || (_templateObject_52de50501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-plus-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-plus-iconset-svg.js index b5e5c64de0e..6c96216b502 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-plus-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-plus-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88b9a2f01da511ed9d313b9780b2ae17; + var _templateObject_52de9e701e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88b9a2f01da511ed9d313b9780b2ae17 || (_templateObject_88b9a2f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52de9e701e5811ed81a80d03c17d190b || (_templateObject_52de9e701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-settings-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-settings-iconset-svg.js index 2613b3c63a0..4ecfcc10ca2 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-settings-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-settings-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88ba3f301da511ed9d313b9780b2ae17; + var _templateObject_52df3ab01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88ba3f301da511ed9d313b9780b2ae17 || (_templateObject_88ba3f301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52df3ab01e5811ed81a80d03c17d190b || (_templateObject_52df3ab01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-shape-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-shape-iconset-svg.js index cd16575117a..fed1fb248b9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-shape-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-shape-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bb9ec01da511ed9d313b9780b2ae17; + var _templateObject_52dfafe01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bb9ec01da511ed9d313b9780b2ae17 || (_templateObject_88bb9ec01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52dfafe01e5811ed81a80d03c17d190b || (_templateObject_52dfafe01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-social-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-social-iconset-svg.js index 13f444e4a11..293fa675121 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-social-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-social-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bc62101da511ed9d313b9780b2ae17; + var _templateObject_52dffe001e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bc62101da511ed9d313b9780b2ae17 || (_templateObject_88bc62101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52dffe001e5811ed81a80d03c17d190b || (_templateObject_52dffe001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-square-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-square-iconset-svg.js index 4f94c79607a..5b6fdd69af5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-square-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-square-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bcfe501da511ed9d313b9780b2ae17; + var _templateObject_52e073301e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bcfe501da511ed9d313b9780b2ae17 || (_templateObject_88bcfe501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e073301e5811ed81a80d03c17d190b || (_templateObject_52e073301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-store-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-store-iconset-svg.js index 1b2c849b9a6..a331ba50c92 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-store-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-store-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bd9a901da511ed9d313b9780b2ae17; + var _templateObject_52e09a401e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bd9a901da511ed9d313b9780b2ae17 || (_templateObject_88bd9a901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e09a401e5811ed81a80d03c17d190b || (_templateObject_52e09a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-text-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-text-iconset-svg.js index 7d0f9affe13..13b453c0136 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-text-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-text-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88be36d01da511ed9d313b9780b2ae17; + var _templateObject_52e0e8601e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88be36d01da511ed9d313b9780b2ae17 || (_templateObject_88be36d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e0e8601e5811ed81a80d03c17d190b || (_templateObject_52e0e8601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-time-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-time-iconset-svg.js index 1153130402a..28f623ddbb1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-time-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-time-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bed3101da511ed9d313b9780b2ae17; + var _templateObject_52e136801e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bed3101da511ed9d313b9780b2ae17 || (_templateObject_88bed3101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e136801e5811ed81a80d03c17d190b || (_templateObject_52e136801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-tooltip-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-tooltip-iconset-svg.js index 5b93f878151..1ae9dd52288 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-tooltip-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-tooltip-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88bf6f501da511ed9d313b9780b2ae17; + var _templateObject_52e1abb01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88bf6f501da511ed9d313b9780b2ae17 || (_templateObject_88bf6f501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e1abb01e5811ed81a80d03c17d190b || (_templateObject_52e1abb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transform-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transform-iconset-svg.js index c3ebb1afc59..29c7ab6b79b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transform-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transform-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c00b901da511ed9d313b9780b2ae17; + var _templateObject_52e1f9d01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c00b901da511ed9d313b9780b2ae17 || (_templateObject_88c00b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e1f9d01e5811ed81a80d03c17d190b || (_templateObject_52e1f9d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transportation-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transportation-iconset-svg.js index af37709da93..bca77fa7f2c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transportation-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-transportation-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c11d001da511ed9d313b9780b2ae17; + var _templateObject_52e247f01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c11d001da511ed9d313b9780b2ae17 || (_templateObject_88c11d001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e247f01e5811ed81a80d03c17d190b || (_templateObject_52e247f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-user-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-user-iconset-svg.js index 22fcf421f2d..523db0196f9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-user-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-user-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c1e0501da511ed9d313b9780b2ae17; + var _templateObject_52e359601e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c1e0501da511ed9d313b9780b2ae17 || (_templateObject_88c1e0501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e359601e5811ed81a80d03c17d190b || (_templateObject_52e359601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vector-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vector-iconset-svg.js index 030ba7d2b1e..90131263d49 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vector-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vector-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c27c901da511ed9d313b9780b2ae17; + var _templateObject_52e3a7801e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c27c901da511ed9d313b9780b2ae17 || (_templateObject_88c27c901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e3a7801e5811ed81a80d03c17d190b || (_templateObject_52e3a7801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-video-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-video-iconset-svg.js index b892a8d85a7..f7faa473997 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-video-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-video-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c318d01da511ed9d313b9780b2ae17; + var _templateObject_52e3f5a01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c318d01da511ed9d313b9780b2ae17 || (_templateObject_88c318d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e3f5a01e5811ed81a80d03c17d190b || (_templateObject_52e3f5a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-view-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-view-iconset-svg.js index fd395351541..f40930051b3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-view-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-view-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c3b5101da511ed9d313b9780b2ae17; + var _templateObject_52e46ad01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c3b5101da511ed9d313b9780b2ae17 || (_templateObject_88c3b5101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e46ad01e5811ed81a80d03c17d190b || (_templateObject_52e46ad01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vote-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vote-iconset-svg.js index b694d72fc5a..44e08738ba6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vote-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-vote-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c478601da511ed9d313b9780b2ae17; + var _templateObject_52e4b8f01e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c478601da511ed9d313b9780b2ae17 || (_templateObject_88c478601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e4b8f01e5811ed81a80d03c17d190b || (_templateObject_52e4b8f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-weather-iconset-svg.js b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-weather-iconset-svg.js index 65a336fde43..a9cfab3d3f1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-weather-iconset-svg.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-weather-iconset-svg.js @@ -1,8 +1,8 @@ define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; - var _templateObject_88c53bb01da511ed9d313b9780b2ae17; + var _templateObject_52e52e201e5811ed81a80d03c17d190b; - var template = (0, _htmlTag.html)(_templateObject_88c53bb01da511ed9d313b9780b2ae17 || (_templateObject_88c53bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); + var template = (0, _htmlTag.html)(_templateObject_52e52e201e5811ed81a80d03c17d190b || (_templateObject_52e52e201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n"]))); document.head.appendChild(template.content); }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/media-image/media-image.js b/build/es5-amd/node_modules/@lrnwebcomponents/media-image/media-image.js index 5198c5e20ba..3ba1b0f742b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/media-image/media-image.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/media-image/media-image.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- _exports.MediaImage = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_47c5d4301da511ed9d313b9780b2ae17, _templateObject2_47c5d4301da511ed9d313b9780b2ae17, _templateObject3_47c5d4301da511ed9d313b9780b2ae17, _templateObject4_47c5d4301da511ed9d313b9780b2ae17, _templateObject5_47c5d4301da511ed9d313b9780b2ae17, _templateObject6_47c5d4301da511ed9d313b9780b2ae17, _templateObject7_47c5d4301da511ed9d313b9780b2ae17, _templateObject8_47c5d4301da511ed9d313b9780b2ae17, _templateObject9_47c5d4301da511ed9d313b9780b2ae17, _templateObject10_47c5d4301da511ed9d313b9780b2ae17, _templateObject11_47c5d4301da511ed9d313b9780b2ae17; + var _templateObject_1bc5b3101e5811ed81a80d03c17d190b, _templateObject2_1bc5b3101e5811ed81a80d03c17d190b, _templateObject3_1bc5b3101e5811ed81a80d03c17d190b, _templateObject4_1bc5b3101e5811ed81a80d03c17d190b, _templateObject5_1bc5b3101e5811ed81a80d03c17d190b, _templateObject6_1bc5b3101e5811ed81a80d03c17d190b, _templateObject7_1bc5b3101e5811ed81a80d03c17d190b, _templateObject8_1bc5b3101e5811ed81a80d03c17d190b, _templateObject9_1bc5b3101e5811ed81a80d03c17d190b, _templateObject10_1bc5b3101e5811ed81a80d03c17d190b, _templateObject11_1bc5b3101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -83,7 +83,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n \n ", " \n \n ", "\n "])), this.__figureLabel ? (0, _index.html)(_templateObject2_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject2_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.figureLabelTitle, this.figureLabelDescription) : "", this.round, this.schemaResourceID, this.source, this.modalTitle, this.alt, this.describedBy, this._handleClick, this.citation, this._hasCaption ? (0, _index.html)(_templateObject3_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject3_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", " \n \n "])), this.caption) : ""); + return (0, _index.html)(_templateObject_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n \n ", " \n \n ", "\n "])), this.__figureLabel ? (0, _index.html)(_templateObject2_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject2_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.figureLabelTitle, this.figureLabelDescription) : "", this.round, this.schemaResourceID, this.source, this.modalTitle, this.alt, this.describedBy, this._handleClick, this.citation, this._hasCaption ? (0, _index.html)(_templateObject3_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject3_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", " \n \n "])), this.caption) : ""); } }, { key: "haxHooks", @@ -155,7 +155,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject4_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject4_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: auto;\n margin: auto;\n max-width: 600px;\n max-height: 600px;\n --box-background-color: #f7f6ef;\n }\n\n :host([card]) {\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);\n padding: 20px;\n }\n\n :host([box]) {\n background-color: var(--box-background-color);\n padding: 20px;\n }\n\n @media screen and (min-width: 450px) {\n :host([size=\"small\"]) {\n max-width: 50%;\n }\n }\n\n @media screen and (min-width: 650px) {\n :host([size=\"small\"]) {\n max-width: 35%;\n }\n }\n\n @media screen and (min-width: 900px) {\n :host([size=\"small\"]) {\n max-width: 25%;\n }\n }\n\n :host([offset=\"left\"]) {\n float: left;\n margin: var(--media-image-offset-width, 1.5vw);\n margin-left: calc(-2 * var(--media-image-offset-width, 1.5vw));\n padding-left: calc(4 * var(--media-image-offset-width, 1.5vw));\n margin-top: 0;\n margin-bottom: calc(0.1 * var(--media-image-offset-width, 1.5vw));\n }\n\n :host([offset=\"right\"]) {\n float: right;\n margin: var(--media-image-offset-width, 1.5vw);\n margin-right: calc(-2 * var(--media-image-offset-width, 1.5vw));\n padding-right: calc(4 * var(--media-image-offset-width, 1.5vw));\n margin-top: 0;\n margin-bottom: calc(0.1 * var(--media-image-offset-width, 1.5vw));\n }\n\n :host([offset=\"wide\"]) {\n margin: 0 calc(-1 * var(--media-image-offset-wide-width, 3.5vw));\n max-width: 100vw;\n }\n\n :host([offset=\"narrow\"]) {\n max-width: var(--media-image-offset-narrow-max-width, 500px);\n margin: auto;\n }\n "])))]; + return [(0, _index.css)(_templateObject4_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject4_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: auto;\n margin: auto;\n max-width: 600px;\n max-height: 600px;\n --box-background-color: #f7f6ef;\n }\n\n :host([card]) {\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);\n padding: 20px;\n }\n\n :host([box]) {\n background-color: var(--box-background-color);\n padding: 20px;\n }\n\n @media screen and (min-width: 450px) {\n :host([size=\"small\"]) {\n max-width: 50%;\n }\n }\n\n @media screen and (min-width: 650px) {\n :host([size=\"small\"]) {\n max-width: 35%;\n }\n }\n\n @media screen and (min-width: 900px) {\n :host([size=\"small\"]) {\n max-width: 25%;\n }\n }\n\n :host([offset=\"left\"]) {\n float: left;\n margin: var(--media-image-offset-width, 1.5vw);\n margin-left: calc(-2 * var(--media-image-offset-width, 1.5vw));\n padding-left: calc(4 * var(--media-image-offset-width, 1.5vw));\n margin-top: 0;\n margin-bottom: calc(0.1 * var(--media-image-offset-width, 1.5vw));\n }\n\n :host([offset=\"right\"]) {\n float: right;\n margin: var(--media-image-offset-width, 1.5vw);\n margin-right: calc(-2 * var(--media-image-offset-width, 1.5vw));\n padding-right: calc(4 * var(--media-image-offset-width, 1.5vw));\n margin-top: 0;\n margin-bottom: calc(0.1 * var(--media-image-offset-width, 1.5vw));\n }\n\n :host([offset=\"wide\"]) {\n margin: 0 calc(-1 * var(--media-image-offset-wide-width, 3.5vw));\n max-width: 100vw;\n }\n\n :host([offset=\"narrow\"]) {\n max-width: var(--media-image-offset-narrow-max-width, 500px);\n margin: auto;\n }\n "])))]; } }, { key: "tag", @@ -442,7 +442,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject5_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject5_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.source, this.alt, this.describedBy || ""); + return (0, _index.html)(_templateObject5_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject5_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "])), this.source, this.alt, this.describedBy || ""); } }, { key: "updated", @@ -463,7 +463,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject6_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject6_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host(:hover) {\n cursor: pointer;\n }\n .image-wrap {\n max-height: 600px;\n overflow: hidden;\n }\n .image-wrap img {\n width: 100%;\n }\n :host([round]) .image-wrap {\n border-radius: 50%;\n }\n "])))]; + return [(0, _index.css)(_templateObject6_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject6_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host(:hover) {\n cursor: pointer;\n }\n .image-wrap {\n max-height: 600px;\n overflow: hidden;\n }\n .image-wrap img {\n width: 100%;\n }\n :host([round]) .image-wrap {\n border-radius: 50%;\n }\n "])))]; } }, { key: "properties", @@ -519,7 +519,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- babelHelpers.createClass(MediaImageCitation, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject7_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject7_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))); + return (0, _index.html)(_templateObject7_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject7_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))); } }], [{ key: "styles", @@ -528,7 +528,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject8_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject8_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: auto;\n max-height: 100px;\n }\n\n .citation {\n font-size: 12.8px;\n font-style: italic;\n color: #4c4c4c;\n margin: 15px 0 15px;\n }\n "])))]; + return [(0, _index.css)(_templateObject8_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject8_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: auto;\n max-height: 100px;\n }\n\n .citation {\n font-size: 12.8px;\n font-style: italic;\n color: #4c4c4c;\n margin: 15px 0 15px;\n }\n "])))]; } }, { key: "tag", @@ -560,7 +560,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- babelHelpers.createClass(MediaImageCaption, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject9_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject9_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !this.__hasContent ? (0, _index.html)(_templateObject10_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject10_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))) : ""); + return (0, _index.html)(_templateObject9_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject9_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !this.__hasContent ? (0, _index.html)(_templateObject10_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject10_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))) : ""); } }], [{ key: "styles", @@ -569,7 +569,7 @@ define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema- * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject11_47c5d4301da511ed9d313b9780b2ae17 || (_templateObject11_47c5d4301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: auto;\n max-height: 200px;\n }\n\n .caption {\n padding-bottom: 25px;\n border-bottom: dashed 2px lightgray;\n margin-bottom: 25px;\n line-height: 1.5;\n font-size: 18px;\n }\n\n .caption ::slotted(*) {\n margin-top: 0;\n }\n .caption ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject11_1bc5b3101e5811ed81a80d03c17d190b || (_templateObject11_1bc5b3101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n overflow: auto;\n max-height: 200px;\n }\n\n .caption {\n padding-bottom: 25px;\n border-bottom: dashed 2px lightgray;\n margin-bottom: 25px;\n line-height: 1.5;\n font-size: 18px;\n }\n\n .caption ::slotted(*) {\n margin-top: 0;\n }\n .caption ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/meme-maker/meme-maker.js b/build/es5-amd/node_modules/@lrnwebcomponents/meme-maker/meme-maker.js index a150dfa70f6..08e0d2abce1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/meme-maker/meme-maker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/meme-maker/meme-maker.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind _exports.MemeMaker = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_47c8ba601da511ed9d313b9780b2ae17, _templateObject2_47c8ba601da511ed9d313b9780b2ae17; + var _templateObject_1bc90e701e5811ed81a80d03c17d190b, _templateObject2_1bc90e701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -42,7 +42,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind babelHelpers.createClass(MemeMaker, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_47c8ba601da511ed9d313b9780b2ae17 || (_templateObject_47c8ba601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        ", "
        \n
        ", "
        \n
        \n "])), this.imageUrl, this.alt, this.describedBy || "", this.topText, this.bottomText); + return (0, _index.html)(_templateObject_1bc90e701e5811ed81a80d03c17d190b || (_templateObject_1bc90e701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        ", "
        \n
        ", "
        \n
        \n "])), this.imageUrl, this.alt, this.describedBy || "", this.topText, this.bottomText); } }, { key: "haxHooks", @@ -115,7 +115,7 @@ define(["exports", "meta", "../../lit/index.js"], function (_exports, meta, _ind }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_47c8ba601da511ed9d313b9780b2ae17 || (_templateObject2_47c8ba601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n * {\n box-sizing: border-box;\n }\n figure {\n position: relative;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: 20px;\n overflow: hidden;\n }\n img {\n width: 100%;\n height: auto;\n }\n .top-text,\n .bottom-text {\n position: absolute;\n left: 0;\n width: 100%;\n padding: 3% 2%;\n text-align: center;\n text-transform: uppercase;\n font-weight: 900;\n font-family: \"Impact\", \"Arial Black\", \"sans serif\";\n line-height: 1.2;\n font-size: var(--meme-maker-font-size, 36px);\n color: white;\n text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,\n 1px 1px 0 #000;\n letter-spacing: 2px;\n }\n .top-text {\n top: 0;\n }\n .bottom-text {\n bottom: 0;\n }\n @media (max-width: 800px) {\n .top-text,\n .bottom-text {\n font-size: var(--meme-maker-font-size-medium, 20px);\n }\n }\n @media (max-width: 600px) {\n .top-text,\n .bottom-text {\n font-size: var(--meme-maker-font-size-small, 20px);\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1bc90e701e5811ed81a80d03c17d190b || (_templateObject2_1bc90e701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n * {\n box-sizing: border-box;\n }\n figure {\n position: relative;\n width: 100%;\n margin: 0;\n padding: 0;\n font-size: 20px;\n overflow: hidden;\n }\n img {\n width: 100%;\n height: auto;\n }\n .top-text,\n .bottom-text {\n position: absolute;\n left: 0;\n width: 100%;\n padding: 3% 2%;\n text-align: center;\n text-transform: uppercase;\n font-weight: 900;\n font-family: \"Impact\", \"Arial Black\", \"sans serif\";\n line-height: 1.2;\n font-size: var(--meme-maker-font-size, 36px);\n color: white;\n text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,\n 1px 1px 0 #000;\n letter-spacing: 2px;\n }\n .top-text {\n top: 0;\n }\n .bottom-text {\n bottom: 0;\n }\n @media (max-width: 800px) {\n .top-text,\n .bottom-text {\n font-size: var(--meme-maker-font-size-medium, 20px);\n }\n }\n @media (max-width: 600px) {\n .top-text,\n .bottom-text {\n font-size: var(--meme-maker-font-size-small, 20px);\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/micro-copy-heading/micro-copy-heading.js b/build/es5-amd/node_modules/@lrnwebcomponents/micro-copy-heading/micro-copy-heading.js index c59d25dc5ce..b3284459807 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/micro-copy-heading/micro-copy-heading.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/micro-copy-heading/micro-copy-heading.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.MicroCopyHeading = void 0; - var _templateObject_47cc15c01da511ed9d313b9780b2ae17, _templateObject2_47cc15c01da511ed9d313b9780b2ae17; + var _templateObject_1bcba6801e5811ed81a80d03c17d190b, _templateObject2_1bcba6801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -64,14 +64,14 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_47cc15c01da511ed9d313b9780b2ae17 || (_templateObject_47cc15c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        \n ", "", "\n

        "])), this.heading, this.endcap); + return (0, _index.html)(_templateObject_1bcba6801e5811ed81a80d03c17d190b || (_templateObject_1bcba6801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        \n ", "", "\n

        "])), this.heading, this.endcap); } // haxProperty definition }], [{ key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_47cc15c01da511ed9d313b9780b2ae17 || (_templateObject2_47cc15c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 16px 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n span {\n margin-left: 8px;\n }\n\n h2 {\n display: inline-flex;\n margin: unset;\n padding: unset;\n font-size: 0.75em;\n color: var(--simple-colors-default-theme-red-5, #de2654);\n border: 2px solid var(--simple-colors-default-theme-red-5, #de2654);\n line-height: 12px;\n margin-right: 10px;\n text-transform: uppercase;\n font-weight: 500;\n letter-spacing: 0.09em;\n padding: 6px 16px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1bcba6801e5811ed81a80d03c17d190b || (_templateObject2_1bcba6801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 16px 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n span {\n margin-left: 8px;\n }\n\n h2 {\n display: inline-flex;\n margin: unset;\n padding: unset;\n font-size: 0.75em;\n color: var(--simple-colors-default-theme-red-5, #de2654);\n border: 2px solid var(--simple-colors-default-theme-red-5, #de2654);\n line-height: 12px;\n margin-right: 10px;\n text-transform: uppercase;\n font-weight: 500;\n letter-spacing: 0.09em;\n padding: 6px 16px;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/micro-frontend-registry/micro-frontend-registry.js b/build/es5-amd/node_modules/@lrnwebcomponents/micro-frontend-registry/micro-frontend-registry.js index 87a2c777a45..2301257578f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/micro-frontend-registry/micro-frontend-registry.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/micro-frontend-registry/micro-frontend-registry.js @@ -6,6 +6,8 @@ define(["exports"], function (_exports) { }); _exports.MicroFrontendRegistry = _exports.MicroFrontend = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -188,14 +190,14 @@ define(["exports"], function (_exports) { }, { key: "call", value: function () { - var _call = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(name) { + var _call = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(name) { var params, callback, caller, item, data, _args = arguments; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/moment-element/moment-element.js b/build/es5-amd/node_modules/@lrnwebcomponents/moment-element/moment-element.js index b83937e51b7..d0ca0f6b4b4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/moment-element/moment-element.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/moment-element/moment-element.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- _exports.MomentElement = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_47d760601da511ed9d313b9780b2ae17; + var _templateObject_1cc018a01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -57,7 +57,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- babelHelpers.createClass(MomentElement, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_47d760601da511ed9d313b9780b2ae17 || (_templateObject_47d760601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), this.output); + return (0, _index.html)(_templateObject_1cc018a01e5811ed81a80d03c17d190b || (_templateObject_1cc018a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), this.output); } }, { key: "updated", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-line.js b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-line.js index dc048455c83..8eb0451458a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-line.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-line.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.MtzMarkedControlGenericLine = void 0; - var _templateObject_88cc40901da511ed9d313b9780b2ae17; + var _templateObject_52eaac601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -29,7 +29,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po babelHelpers.createClass(MtzMarkedControlGenericLine, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88cc40901da511ed9d313b9780b2ae17 || (_templateObject_88cc40901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); + return (0, _polymerElement.html)(_templateObject_52eaac601e5811ed81a80d03c17d190b || (_templateObject_52eaac601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-wrap.js b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-wrap.js index 0395eda1237..c63d12facfb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-wrap.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-generic-wrap.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.MtzMarkedControlGenericWrap = void 0; - var _templateObject_88cf4dd01da511ed9d313b9780b2ae17; + var _templateObject_52ed6b801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -29,7 +29,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po babelHelpers.createClass(MtzMarkedControlGenericWrap, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88cf4dd01da511ed9d313b9780b2ae17 || (_templateObject_88cf4dd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); + return (0, _polymerElement.html)(_templateObject_52ed6b801e5811ed81a80d03c17d190b || (_templateObject_52ed6b801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-link.js b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-link.js index 043ed43bf90..faafac930f1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-link.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/lib/mtz-marked-control-link.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.MtzMarkedControlLink = void 0; - var _templateObject_88d604901da511ed9d313b9780b2ae17; + var _templateObject_52f310d01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -89,7 +89,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_88d604901da511ed9d313b9780b2ae17 || (_templateObject_88d604901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); + return (0, _polymerElement.html)(_templateObject_52f310d01e5811ed81a80d03c17d190b || (_templateObject_52f310d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/mtz-marked-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/mtz-marked-editor.js index 701aef1f772..a42df3cda83 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/mtz-marked-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/mtz-marked-editor/mtz-marked-editor.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.matchesSelector = _exports.MtzMarkedEditor = void 0; - var _templateObject_47dc1b501da511ed9d313b9780b2ae17; + var _templateObject_1c6798601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -182,7 +182,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_47dc1b501da511ed9d313b9780b2ae17 || (_templateObject_47dc1b501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1c6798601e5811ed81a80d03c17d190b || (_templateObject_1c6798601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/lib/multiple-choice-response.js b/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/lib/multiple-choice-response.js index 664e3ae035e..84bd06182bf 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/lib/multiple-choice-response.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/lib/multiple-choice-response.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-fields/lib/sim _exports.MultipleChoiceResponse = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_88e260a01da511ed9d313b9780b2ae17, _templateObject2_88e260a01da511ed9d313b9780b2ae17; + var _templateObject_52fb9c501e5811ed81a80d03c17d190b, _templateObject2_52fb9c501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -68,7 +68,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-fields/lib/sim }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_88e260a01da511ed9d313b9780b2ae17 || (_templateObject_88e260a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n "])), this.__fieldLabel || "Is this response correct?", this.type, this._handleClick, !!this.correct); + return (0, _index.html)(_templateObject_52fb9c501e5811ed81a80d03c17d190b || (_templateObject_52fb9c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n "])), this.__fieldLabel || "Is this response correct?", this.type, this._handleClick, !!this.correct); } }], [{ key: "styles", @@ -77,7 +77,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-fields/lib/sim * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_88e260a01da511ed9d313b9780b2ae17 || (_templateObject2_88e260a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n width: 100%;\n justify-content: space-between;\n opacity: 0.6;\n }\n :host(:hover),\n :host(:focus-within) {\n opacity: 1;\n outline: 1px solid;\n }\n #slot {\n flex: 0 0 auto;\n }\n simple-fields-field {\n flex: 0 0 auto;\n margin: 0;\n }\n ::slotted(*) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_52fb9c501e5811ed81a80d03c17d190b || (_templateObject2_52fb9c501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n width: 100%;\n justify-content: space-between;\n opacity: 0.6;\n }\n :host(:hover),\n :host(:focus-within) {\n opacity: 1;\n outline: 1px solid;\n }\n #slot {\n flex: 0 0 auto;\n }\n simple-fields-field {\n flex: 0 0 auto;\n margin: 0;\n }\n ::slotted(*) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/multiple-choice.js b/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/multiple-choice.js index 3f4e952f4c0..7b944e8d026 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/multiple-choice.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/multiple-choice/multiple-choice.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_47e7b4101da511ed9d313b9780b2ae17, _templateObject2_47e7b4101da511ed9d313b9780b2ae17, _templateObject3_47e7b4101da511ed9d313b9780b2ae17, _templateObject4_47e7b4101da511ed9d313b9780b2ae17, _templateObject5_47e7b4101da511ed9d313b9780b2ae17; + var _templateObject_1bec9c001e5811ed81a80d03c17d190b, _templateObject2_1bec9c001e5811ed81a80d03c17d190b, _templateObject3_1bec9c001e5811ed81a80d03c17d190b, _templateObject4_1bec9c001e5811ed81a80d03c17d190b, _templateObject5_1bec9c001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -105,7 +105,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_47e7b4101da511ed9d313b9780b2ae17 || (_templateObject_47e7b4101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n

        \n ", "\n
        \n "])), this.relatedResource, this.editMode ? (0, _index.html)(_templateObject2_47e7b4101da511ed9d313b9780b2ae17 || (_templateObject2_47e7b4101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n \n \n

        \n \n \n

        \n

        \n \n \n

        \n
        "])), this.correctIcon, this.incorrectIcon) : (0, _index.html)(_templateObject3_47e7b4101da511ed9d313b9780b2ae17 || (_templateObject3_47e7b4101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.disabled, false, this.inputType, this.displayedAnswers, this.userGuess || [], this.checkedEvent, !this.hideButtons ? (0, _index.html)(_templateObject4_47e7b4101da511ed9d313b9780b2ae17 || (_templateObject4_47e7b4101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n
        \n "])), this.disabled, this._verifyAnswers, this.checkLabel, this.disabled, this.resetAnswers, this.resetLabel) : "")); + return (0, _index.html)(_templateObject_1bec9c001e5811ed81a80d03c17d190b || (_templateObject_1bec9c001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n

        \n ", "\n
        \n "])), this.relatedResource, this.editMode ? (0, _index.html)(_templateObject2_1bec9c001e5811ed81a80d03c17d190b || (_templateObject2_1bec9c001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n \n \n

        \n \n \n

        \n

        \n \n \n

        \n
        "])), this.correctIcon, this.incorrectIcon) : (0, _index.html)(_templateObject3_1bec9c001e5811ed81a80d03c17d190b || (_templateObject3_1bec9c001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.disabled, false, this.inputType, this.displayedAnswers, this.userGuess || [], this.checkedEvent, !this.hideButtons ? (0, _index.html)(_templateObject4_1bec9c001e5811ed81a80d03c17d190b || (_templateObject4_1bec9c001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n
        \n "])), this.disabled, this._verifyAnswers, this.checkLabel, this.disabled, this.resetAnswers, this.resetLabel) : "")); } }, { key: "checkedEvent", @@ -504,7 +504,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../schema-behaviors * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(MultipleChoice), "styles", this)), [(0, _index.css)(_templateObject5_47e7b4101da511ed9d313b9780b2ae17 || (_templateObject5_47e7b4101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-width: 160px;\n padding: 16px;\n margin-bottom: 16px;\n border: 1px solid var(--simple-colors-default-theme-grey-8);\n border-radius: 3px;\n color: var(--simple-colors-default-theme-grey-12);\n --simple-toolbar-button-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --simple-fields-field-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-ink-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-checked-color: var(\n --simple-colors-default-theme-accent-8\n );\n --simple-fields-field-checked-ink-color: var(\n --simple-colors-default-theme-accent-8\n );\n --simple-fields-field-checkmark-color: var(\n --simple-colors-default-theme-grey-1\n );\n --simple-fields-field-label-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-error-color: var(\n --simple-colors-default-theme-red-8\n );\n --simple-fields-border-bottom-size: 0px;\n --simple-fields-border-bottom-focus-size: 0px;\n }\n\n :host button {\n background-color: var(--simple-colors-default-theme-grey-1);\n color: var(--simple-colors-default-theme-grey-12);\n }\n :host button:hover,\n :host button:focus,\n :host button:active {\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-grey-2);\n color: var(--simple-colors-default-theme-grey-12);\n }\n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n ul li {\n padding: 0;\n }\n simple-icon {\n display: inline-flex;\n }\n h3 {\n margin-top: 0;\n }\n #buttons {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n }\n #check {\n margin-right: 8px;\n }\n .feedback {\n background-color: black;\n color: white;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n border-radius: 3px;\n }\n .feedback simple-icon {\n margin-right: 8px;\n }\n ::slotted([slot=\"question\"]) {\n margin: 0;\n }\n .feedback,\n ::slotted(multiple-choice-response),\n ::slotted([slot=\"correct-feedback\"]),\n ::slotted([slot=\"incorrect-feedback\"]) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(MultipleChoice), "styles", this)), [(0, _index.css)(_templateObject5_1bec9c001e5811ed81a80d03c17d190b || (_templateObject5_1bec9c001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-width: 160px;\n padding: 16px;\n margin-bottom: 16px;\n border: 1px solid var(--simple-colors-default-theme-grey-8);\n border-radius: 3px;\n color: var(--simple-colors-default-theme-grey-12);\n --simple-toolbar-button-border-color: var(\n --simple-colors-default-theme-grey-4\n );\n --simple-fields-field-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-ink-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-checked-color: var(\n --simple-colors-default-theme-accent-8\n );\n --simple-fields-field-checked-ink-color: var(\n --simple-colors-default-theme-accent-8\n );\n --simple-fields-field-checkmark-color: var(\n --simple-colors-default-theme-grey-1\n );\n --simple-fields-field-label-color: var(\n --simple-colors-default-theme-grey-12\n );\n --simple-fields-field-error-color: var(\n --simple-colors-default-theme-red-8\n );\n --simple-fields-border-bottom-size: 0px;\n --simple-fields-border-bottom-focus-size: 0px;\n }\n\n :host button {\n background-color: var(--simple-colors-default-theme-grey-1);\n color: var(--simple-colors-default-theme-grey-12);\n }\n :host button:hover,\n :host button:focus,\n :host button:active {\n cursor: pointer;\n background-color: var(--simple-colors-default-theme-grey-2);\n color: var(--simple-colors-default-theme-grey-12);\n }\n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n ul li {\n padding: 0;\n }\n simple-icon {\n display: inline-flex;\n }\n h3 {\n margin-top: 0;\n }\n #buttons {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n }\n #check {\n margin-right: 8px;\n }\n .feedback {\n background-color: black;\n color: white;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n border-radius: 3px;\n }\n .feedback simple-icon {\n margin-right: 8px;\n }\n ::slotted([slot=\"question\"]) {\n margin: 0;\n }\n .feedback,\n ::slotted(multiple-choice-response),\n ::slotted([slot=\"correct-feedback\"]),\n ::slotted([slot=\"incorrect-feedback\"]) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/music-player/lib/html-midi-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/music-player/lib/html-midi-player.js index fa6eed609d7..2efd3ae4a8a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/music-player/lib/html-midi-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/music-player/lib/html-midi-player.js @@ -1,4 +1,4 @@ -function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e36){throw _e36;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e37){didErr=true;err=_e37;},f:function f(){try{if(!normalCompletion&&it.return!=null)it.return();}finally{if(didErr)throw err;}}};}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel;}},catch:function _catch(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("throw"===record.type){var thrown=record.arg;resetTryEntry(entry);}return thrown;}}throw new Error("illegal catch attempt");},delegateYield:function delegateYield(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel;}},exports;}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e36){throw _e36;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e37){didErr=true;err=_e37;},f:function f(){try{if(!normalCompletion&&it.return!=null)it.return();}finally{if(didErr)throw err;}}};}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i1&&(this.input=new Array(t)),1===e?this.output=this.context.createGain():e>1&&(this.output=new Array(e));},Object.defineProperty(s.default.AudioNode.prototype,"channelCount",{get:function get(){return this.output.channelCount;},set:function set(t){return this.output.channelCount=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"channelCountMode",{get:function get(){return this.output.channelCountMode;},set:function set(t){return this.output.channelCountMode=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"channelInterpretation",{get:function get(){return this.output.channelInterpretation;},set:function set(t){return this.output.channelInterpretation=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"numberOfInputs",{get:function get(){return this.input?s.default.isArray(this.input)?this.input.length:1:0;}}),Object.defineProperty(s.default.AudioNode.prototype,"numberOfOutputs",{get:function get(){return this.output?s.default.isArray(this.output)?this.output.length:1:0;}}),s.default.AudioNode.prototype.connect=function(t,e,i){return s.default.isArray(this.output)?(e=s.default.defaultArg(e,0),this.output[e].connect(t,0,i)):s.default.connect(this.output,t,e,i),this;},s.default.AudioNode.prototype.disconnect=function(t,e,i){return s.default.isArray(this.output)?(e=s.default.defaultArg(e,0),this.output[e].disconnect(t,0,i)):s.default.disconnect(this.output,t,e,i),this;},s.default.AudioNode.prototype.chain=function(){var t=Array.from(arguments);return t.unshift(this),s.default.connectSeries.apply(void 0,t),this;},s.default.AudioNode.prototype.fan=function(){for(var t=0;t0){var i=this._state.get(e);if(i&&i.state===s.default.State.Started&&i.time!==e){var n,o=e-this.toSeconds(i.time);i.duration&&(n=this.toSeconds(i.duration)-o),this._start(t,this.toSeconds(i.offset)+o,n);}}}.bind(this),this._syncedStop=function(t){var e=s.default.Transport.getSecondsAtTime(Math.max(t-this.sampleTime,0));this._state.getValueAtTime(e)===s.default.State.Started&&this._stop(t);}.bind(this),s.default.Transport.on("start loopStart",this._syncedStart),s.default.Transport.on("stop pause loopEnd",this._syncedStop),this;},s.default.Source.prototype.unsync=function(){this._synced&&(s.default.Transport.off("stop pause loopEnd",this._syncedStop),s.default.Transport.off("start loopStart",this._syncedStart)),this._synced=!1;for(var t=0;t0;}}),Object.defineProperty(s.default.Buffer.prototype,"duration",{get:function get(){return this._buffer?this._buffer.duration:0;}}),Object.defineProperty(s.default.Buffer.prototype,"length",{get:function get(){return this._buffer?this._buffer.length:0;}}),Object.defineProperty(s.default.Buffer.prototype,"numberOfChannels",{get:function get(){return this._buffer?this._buffer.numberOfChannels:0;}}),s.default.Buffer.prototype.fromArray=function(t){var e=t[0].length>0,i=e?t.length:1,s=e?t[0].length:t.length,n=this.context.createBuffer(i,s,this.context.sampleRate);e||1!==i||(t=[t]);for(var o=0;o0&&e%this._ppq!=0&&e%(2*this._swingTicks)!=0){var i=e%(2*this._swingTicks)/(2*this._swingTicks),n=Math.sin(i*Math.PI)*this._swingAmount;t+=s.default.Ticks(2*this._swingTicks/3).toSeconds()*n;}this.loop&&e>=this._loopEnd&&(this.emit("loopEnd",t),this._clock.setTicksAtTime(this._loopStart,t),e=this._loopStart,this.emit("loopStart",t,this._clock.getSecondsAtTime(t)),this.emit("loop",t)),this._timeline.forEachAtTime(e,function(e){e.invoke(t);});},s.default.Transport.prototype.schedule=function(t,e){var i=new s.default.TransportEvent(this,{time:s.default.TransportTime(e),callback:t});return this._addEvent(i,this._timeline);},s.default.Transport.prototype.scheduleRepeat=function(t,e,i,n){var o=new s.default.TransportRepeatEvent(this,{callback:t,interval:s.default.Time(e),time:s.default.TransportTime(i),duration:s.default.Time(s.default.defaultArg(n,1/0))});return this._addEvent(o,this._repeatedEvents);},s.default.Transport.prototype.scheduleOnce=function(t,e){var i=new s.default.TransportEvent(this,{time:s.default.TransportTime(e),callback:t,once:!0});return this._addEvent(i,this._timeline);},s.default.Transport.prototype.clear=function(t){if(this._scheduledEvents.hasOwnProperty(t)){var e=this._scheduledEvents[t.toString()];e.timeline.remove(e.event),e.event.dispose(),delete this._scheduledEvents[t.toString()];}return this;},s.default.Transport.prototype._addEvent=function(t,e){return this._scheduledEvents[t.id.toString()]={event:t,timeline:e},e.add(t),t.id;},s.default.Transport.prototype.cancel=function(t){return t=s.default.defaultArg(t,0),t=this.toTicks(t),this._timeline.forEachFrom(t,function(t){this.clear(t.id);}.bind(this)),this._repeatedEvents.forEachFrom(t,function(t){this.clear(t.id);}.bind(this)),this;},s.default.Transport.prototype._bindClockEvents=function(){this._clock.on("start",function(t,e){e=s.default.Ticks(e).toSeconds(),this.emit("start",t,e);}.bind(this)),this._clock.on("stop",function(t){this.emit("stop",t);}.bind(this)),this._clock.on("pause",function(t){this.emit("pause",t);}.bind(this));},Object.defineProperty(s.default.Transport.prototype,"state",{get:function get(){return this._clock.getStateAtTime(this.now());}}),s.default.Transport.prototype.start=function(t,e){return s.default.isDefined(e)&&(e=this.toTicks(e)),this._clock.start(t,e),this;},s.default.Transport.prototype.stop=function(t){return this._clock.stop(t),this;},s.default.Transport.prototype.pause=function(t){return this._clock.pause(t),this;},s.default.Transport.prototype.toggle=function(t){return t=this.toSeconds(t),this._clock.getStateAtTime(t)!==s.default.State.Started?this.start(t):this.stop(t),this;},Object.defineProperty(s.default.Transport.prototype,"timeSignature",{get:function get(){return this._timeSignature;},set:function set(t){s.default.isArray(t)&&(t=t[0]/t[1]*4),this._timeSignature=t;}}),Object.defineProperty(s.default.Transport.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t);}}),Object.defineProperty(s.default.Transport.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t);}}),s.default.Transport.prototype.setLoopPoints=function(t,e){return this.loopStart=t,this.loopEnd=e,this;},Object.defineProperty(s.default.Transport.prototype,"swing",{get:function get(){return this._swingAmount;},set:function set(t){this._swingAmount=t;}}),Object.defineProperty(s.default.Transport.prototype,"swingSubdivision",{get:function get(){return s.default.Ticks(this._swingTicks).toNotation();},set:function set(t){this._swingTicks=this.toTicks(t);}}),Object.defineProperty(s.default.Transport.prototype,"position",{get:function get(){var t=this.now(),e=this._clock.getTicksAtTime(t);return s.default.Ticks(e).toBarsBeatsSixteenths();},set:function set(t){var e=this.toTicks(t);this.ticks=e;}}),Object.defineProperty(s.default.Transport.prototype,"seconds",{get:function get(){return this._clock.seconds;},set:function set(t){var e=this.now(),i=this.bpm.timeToTicks(t,e);this.ticks=i;}}),Object.defineProperty(s.default.Transport.prototype,"progress",{get:function get(){if(this.loop){var t=this.now();return(this._clock.getTicksAtTime(t)-this._loopStart)/(this._loopEnd-this._loopStart);}return 0;}}),Object.defineProperty(s.default.Transport.prototype,"ticks",{get:function get(){return this._clock.ticks;},set:function set(t){if(this._clock.ticks!==t){var e=this.now();this.state===s.default.State.Started?(this.emit("stop",e),this._clock.setTicksAtTime(t,e),this.emit("start",e,this.seconds)):this._clock.setTicksAtTime(t,e);}}}),s.default.Transport.prototype.getTicksAtTime=function(t){return Math.round(this._clock.getTicksAtTime(t));},s.default.Transport.prototype.getSecondsAtTime=function(t){return this._clock.getSecondsAtTime(t);},Object.defineProperty(s.default.Transport.prototype,"PPQ",{get:function get(){return this._ppq;},set:function set(t){var e=this.bpm.value;this._ppq=t,this.bpm.value=e;}}),s.default.Transport.prototype._fromUnits=function(t){return 1/(60/t/this.PPQ);},s.default.Transport.prototype._toUnits=function(t){return t/this.PPQ*60;},s.default.Transport.prototype.nextSubdivision=function(t){if(t=this.toTicks(t),this.state!==s.default.State.Started)return 0;var e=this.now(),i=t-this.getTicksAtTime(e)%t;return this._clock.nextTickTime(i,e);},s.default.Transport.prototype.syncSignal=function(t,e){if(!e){var i=this.now();e=0!==t.getValueAtTime(i)?t.getValueAtTime(i)/this.bpm.getValueAtTime(i):0;}var n=new s.default.Gain(e);return this.bpm.chain(n,t._param),this._syncedSignals.push({ratio:n,signal:t,initial:t.value}),t.value=0,this;},s.default.Transport.prototype.unsyncSignal=function(t){for(var e=this._syncedSignals.length-1;e>=0;e--){var i=this._syncedSignals[e];i.signal===t&&(i.ratio.dispose(),i.signal.value=i.initial,this._syncedSignals.splice(e,1));}return this;},s.default.Transport.prototype.dispose=function(){return s.default.Emitter.prototype.dispose.call(this),this._clock.dispose(),this._clock=null,this._writable("bpm"),this.bpm=null,this._timeline.dispose(),this._timeline=null,this._repeatedEvents.dispose(),this._repeatedEvents=null,this;};var n=s.default.Transport;s.default.Transport=new n(),s.default.Context.on("init",function(t){t.transport&&t.transport.isTransport?s.default.Transport=t.transport:s.default.Transport=new n();}),s.default.Context.on("close",function(t){t.transport&&t.transport.isTransport&&t.transport.dispose();}),e.default=s.default.Transport;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(6),i(16),i(64);s.default.Oscillator=function(){var t=s.default.defaults(arguments,["frequency","type"],s.default.Oscillator);s.default.Source.call(this,t),this._oscillator=null,this.frequency=new s.default.Signal(t.frequency,s.default.Type.Frequency),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._wave=null,this._partials=t.partials,this._partialCount=t.partialCount,this._phase=t.phase,this._type=t.type,t.partialCount&&t.type!==s.default.Oscillator.Type.Custom&&(this._type=this.baseType+t.partialCount.toString()),this.phase=this._phase,this._readOnly(["frequency","detune"]);},s.default.extend(s.default.Oscillator,s.default.Source),s.default.Oscillator.defaults={type:"sine",frequency:440,detune:0,phase:0,partials:[],partialCount:0},s.default.Oscillator.Type={Sine:"sine",Triangle:"triangle",Sawtooth:"sawtooth",Square:"square",Custom:"custom"},s.default.Oscillator.prototype._start=function(t){this.log("start",t);var e=new s.default.OscillatorNode();this._oscillator=e,this._wave?this._oscillator.setPeriodicWave(this._wave):this._oscillator.type=this._type,this._oscillator.connect(this.output),this.frequency.connect(this._oscillator.frequency),this.detune.connect(this._oscillator.detune),t=this.toSeconds(t),this._oscillator.start(t);},s.default.Oscillator.prototype._stop=function(t){return this.log("stop",t),this._oscillator&&(t=this.toSeconds(t),this._oscillator.stop(t)),this;},s.default.Oscillator.prototype.restart=function(t){return this._oscillator&&this._oscillator.cancelStop(),this._state.cancel(this.toSeconds(t)),this;},s.default.Oscillator.prototype.syncFrequency=function(){return s.default.Transport.syncSignal(this.frequency),this;},s.default.Oscillator.prototype.unsyncFrequency=function(){return s.default.Transport.unsyncSignal(this.frequency),this;},Object.defineProperty(s.default.Oscillator.prototype,"type",{get:function get(){return this._type;},set:function set(t){var e=[s.default.Oscillator.Type.Sine,s.default.Oscillator.Type.Square,s.default.Oscillator.Type.Triangle,s.default.Oscillator.Type.Sawtooth].includes(t);if(0===this._phase&&e)this._wave=null,this._partialCount=0,null!==this._oscillator&&(this._oscillator.type=t);else{var i=this._getRealImaginary(t,this._phase),n=this.context.createPeriodicWave(i[0],i[1]);this._wave=n,null!==this._oscillator&&this._oscillator.setPeriodicWave(this._wave);}this._type=t;}}),Object.defineProperty(s.default.Oscillator.prototype,"baseType",{get:function get(){return this._type.replace(this.partialCount,"");},set:function set(t){this.partialCount&&this._type!==s.default.Oscillator.Type.Custom&&t!==s.default.Oscillator.Type.Custom?this.type=t+this.partialCount:this.type=t;}}),Object.defineProperty(s.default.Oscillator.prototype,"partialCount",{get:function get(){return this._partialCount;},set:function set(t){var e=this._type,i=/^(sine|triangle|square|sawtooth)(\d+)$/.exec(this._type);i&&(e=i[1]),this._type!==s.default.Oscillator.Type.Custom&&(this.type=0===t?e:e+t.toString());}}),s.default.Oscillator.prototype.get=function(){var t=s.default.prototype.get.apply(this,arguments);return t.type!==s.default.Oscillator.Type.Custom&&delete t.partials,t;},s.default.Oscillator.prototype._getRealImaginary=function(t,e){var i=2048,n=new Float32Array(i),o=new Float32Array(i),a=1;if(t===s.default.Oscillator.Type.Custom)a=this._partials.length+1,this._partialCount=this._partials.length,i=a;else{var r=/^(sine|triangle|square|sawtooth)(\d+)$/.exec(t);r?(a=parseInt(r[2])+1,this._partialCount=parseInt(r[2]),t=r[1],i=a=Math.max(a,2)):this._partialCount=0,this._partials=[];}for(var l=1;l>1&1?-1:1):0,this._partials[l-1]=u;break;case s.default.Oscillator.Type.Custom:u=this._partials[l-1];break;default:throw new TypeError("Tone.Oscillator: invalid type: "+t);}0!==u?(n[l]=-u*Math.sin(e*l),o[l]=u*Math.cos(e*l)):(n[l]=0,o[l]=0);}return[n,o];},s.default.Oscillator.prototype._inverseFFT=function(t,e,i){for(var s=0,n=t.length,o=0;othis.memory){var i=this.length-this.memory;this._timeline.splice(0,i);}return this;},s.default.Timeline.prototype.remove=function(t){var e=this._timeline.indexOf(t);return-1!==e&&this._timeline.splice(e,1),this;},s.default.Timeline.prototype.get=function(t,e){e=s.default.defaultArg(e,"time");var i=this._search(t,e);return-1!==i?this._timeline[i]:null;},s.default.Timeline.prototype.peek=function(){return this._timeline[0];},s.default.Timeline.prototype.shift=function(){return this._timeline.shift();},s.default.Timeline.prototype.getAfter=function(t,e){e=s.default.defaultArg(e,"time");var i=this._search(t,e);return i+10&&this._timeline[i-1][e]=0?this._timeline[n-1]:null;},s.default.Timeline.prototype.cancel=function(t){if(this._timeline.length>1){var e=this._search(t);if(e>=0){if(this._timeline[e].time===t){for(var i=e;i>=0&&this._timeline[i].time===t;i--){e=i;}this._timeline=this._timeline.slice(0,e);}else this._timeline=this._timeline.slice(0,e+1);}else this._timeline=[];}else 1===this._timeline.length&&this._timeline[0].time>=t&&(this._timeline=[]);return this;},s.default.Timeline.prototype.cancelBefore=function(t){var e=this._search(t);return e>=0&&(this._timeline=this._timeline.slice(e+1)),this;},s.default.Timeline.prototype.previousEvent=function(t){var e=this._timeline.indexOf(t);return e>0?this._timeline[e-1]:null;},s.default.Timeline.prototype._search=function(t,e){if(0===this._timeline.length)return-1;e=s.default.defaultArg(e,"time");var i=0,n=this._timeline.length,o=n;if(n>0&&this._timeline[n-1][e]<=t)return n-1;for(;it)return a;r[e]>t?o=a:i=a+1;}return-1;},s.default.Timeline.prototype._iterate=function(t,e,i){e=s.default.defaultArg(e,0),i=s.default.defaultArg(i,this._timeline.length-1),this._timeline.slice(e,i+1).forEach(function(e){t.call(this,e);}.bind(this));},s.default.Timeline.prototype.forEach=function(t){return this._iterate(t),this;},s.default.Timeline.prototype.forEachBefore=function(t,e){var i=this._search(t);return-1!==i&&this._iterate(e,0,i),this;},s.default.Timeline.prototype.forEachAfter=function(t,e){var i=this._search(t);return this._iterate(e,i+1),this;},s.default.Timeline.prototype.forEachBetween=function(t,e,i){var s=this._search(t),n=this._search(e);return-1!==s&&-1!==n?(this._timeline[s].time!==t&&(s+=1),this._timeline[n].time===e&&(n-=1),this._iterate(i,s,n)):-1===s&&this._iterate(i,0,n),this;},s.default.Timeline.prototype.forEachFrom=function(t,e){for(var i=this._search(t);i>=0&&this._timeline[i].time>=t;){i--;}return this._iterate(e,i+1),this;},s.default.Timeline.prototype.forEachAtTime=function(t,e){var i=this._search(t);return-1!==i&&this._iterate(function(i){i.time===t&&e.call(this,i);},0,i),this;},s.default.Timeline.prototype.dispose=function(){return s.default.prototype.dispose.call(this),this._timeline=null,this;},e.default=s.default.Timeline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(21),i(2);s.default.Monophonic=function(t){t=s.default.defaultArg(t,s.default.Monophonic.defaults),s.default.Instrument.call(this,t),this.portamento=t.portamento;},s.default.extend(s.default.Monophonic,s.default.Instrument),s.default.Monophonic.defaults={portamento:0},s.default.Monophonic.prototype.triggerAttack=function(t,e,i){return this.log("triggerAttack",t,e,i),e=this.toSeconds(e),this._triggerEnvelopeAttack(e,i),this.setNote(t,e),this;},s.default.Monophonic.prototype.triggerRelease=function(t){return this.log("triggerRelease",t),t=this.toSeconds(t),this._triggerEnvelopeRelease(t),this;},s.default.Monophonic.prototype._triggerEnvelopeAttack=function(){},s.default.Monophonic.prototype._triggerEnvelopeRelease=function(){},s.default.Monophonic.prototype.getLevelAtTime=function(t){return t=this.toSeconds(t),this.envelope.getValueAtTime(t);},s.default.Monophonic.prototype.setNote=function(t,e){if(e=this.toSeconds(e),this.portamento>0&&this.getLevelAtTime(e)>0.05){var i=this.toSeconds(this.portamento);this.frequency.exponentialRampTo(t,i,e);}else this.frequency.setValueAtTime(t,e);return this;},e.default=s.default.Monophonic;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(29),i(5),i(2);s.default.Scale=function(t,e){s.default.SignalBase.call(this),this._outputMin=s.default.defaultArg(t,0),this._outputMax=s.default.defaultArg(e,1),this._scale=this.input=new s.default.Multiply(1),this._add=this.output=new s.default.Add(0),this._scale.connect(this._add),this._setRange();},s.default.extend(s.default.Scale,s.default.SignalBase),Object.defineProperty(s.default.Scale.prototype,"min",{get:function get(){return this._outputMin;},set:function set(t){this._outputMin=t,this._setRange();}}),Object.defineProperty(s.default.Scale.prototype,"max",{get:function get(){return this._outputMax;},set:function set(t){this._outputMax=t,this._setRange();}}),s.default.Scale.prototype._setRange=function(){this._add.value=this._outputMin,this._scale.value=this._outputMax-this._outputMin;},s.default.Scale.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._add.dispose(),this._add=null,this._scale.dispose(),this._scale=null,this;},e.default=s.default.Scale;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(3),i(1);s.default.Volume=function(){var t=s.default.defaults(arguments,["volume"],s.default.Volume);s.default.AudioNode.call(this,t),this.output=this.input=new s.default.Gain(t.volume,s.default.Type.Decibels),this._unmutedVolume=t.volume,this.volume=this.output.gain,this._readOnly("volume"),this.mute=t.mute;},s.default.extend(s.default.Volume,s.default.AudioNode),s.default.Volume.defaults={volume:0,mute:!1},Object.defineProperty(s.default.Volume.prototype,"mute",{get:function get(){return this.volume.value===-1/0;},set:function set(t){!this.mute&&t?(this._unmutedVolume=this.volume.value,this.volume.value=-1/0):this.mute&&!t&&(this.volume.value=this._unmutedVolume);}}),s.default.Volume.prototype.dispose=function(){return this.input.dispose(),s.default.AudioNode.prototype.dispose.call(this),this._writable("volume"),this.volume.dispose(),this.volume=null,this;},e.default=s.default.Volume;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(3),i(30);s.default.Zero=function(){s.default.SignalBase.call(this),this._gain=this.input=this.output=new s.default.Gain(),s.default.connect(this.context.getConstant(0),this._gain);},s.default.extend(s.default.Zero,s.default.SignalBase),s.default.Zero.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._gain.dispose(),this._gain=null,this;},e.default=s.default.Zero;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(3);s.default.Add=function(t){s.default.Signal.call(this),this.createInsOuts(2,0),this._sum=this.input[0]=this.input[1]=this.output=new s.default.Gain(),this._param=this.input[1]=new s.default.Signal(t),this._param.connect(this._sum);},s.default.extend(s.default.Add,s.default.Signal),s.default.Add.prototype.dispose=function(){return s.default.Signal.prototype.dispose.call(this),this._sum.dispose(),this._sum=null,this;},e.default=s.default.Add;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(1);s.default.SignalBase=function(){s.default.AudioNode.call(this);},s.default.extend(s.default.SignalBase,s.default.AudioNode),s.default.SignalBase.prototype.connect=function(t,e,i){return s.default.Signal&&s.default.Signal===t.constructor||s.default.Param&&s.default.Param===t.constructor?(t._param.cancelScheduledValues(0),t._param.setValueAtTime(0,0),t.overridden=!0):babelHelpers.instanceof(t,AudioParam)&&(t.cancelScheduledValues(0),t.setValueAtTime(0,0)),s.default.AudioNode.prototype.connect.call(this,t,e,i),this;},e.default=s.default.SignalBase;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(47),i(3);s.default.AmplitudeEnvelope=function(){s.default.Envelope.apply(this,arguments),this.input=this.output=new s.default.Gain(),this._sig.connect(this.output.gain);},s.default.extend(s.default.AmplitudeEnvelope,s.default.Envelope),s.default.AmplitudeEnvelope.prototype.dispose=function(){return s.default.Envelope.prototype.dispose.call(this),this;},e.default=s.default.AmplitudeEnvelope;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(3),i(1);s.default.BufferSource=function(){var t=s.default.defaults(arguments,["buffer","onload"],s.default.BufferSource);s.default.AudioNode.call(this,t),this.onended=t.onended,this._startTime=-1,this._sourceStarted=!1,this._sourceStopped=!1,this._stopTime=-1,this._gainNode=this.output=new s.default.Gain(0),this._source=this.context.createBufferSource(),s.default.connect(this._source,this._gainNode),this._source.onended=this._onended.bind(this),this._buffer=new s.default.Buffer(t.buffer,t.onload),this.playbackRate=new s.default.Param({param:this._source.playbackRate,units:s.default.Type.Positive,value:t.playbackRate}),this.fadeIn=t.fadeIn,this.fadeOut=t.fadeOut,this.curve=t.curve,this._onendedTimeout=-1,this.loop=t.loop,this.loopStart=t.loopStart,this.loopEnd=t.loopEnd;},s.default.extend(s.default.BufferSource,s.default.AudioNode),s.default.BufferSource.defaults={onended:s.default.noOp,onload:s.default.noOp,loop:!1,loopStart:0,loopEnd:0,fadeIn:0,fadeOut:0,curve:"linear",playbackRate:1},Object.defineProperty(s.default.BufferSource.prototype,"state",{get:function get(){return this.getStateAtTime(this.now());}}),s.default.BufferSource.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),-1!==this._startTime&&this._startTime<=t&&(-1===this._stopTime||t0?(this._gainNode.gain.setValueAtTime(0,t),"linear"===this.curve?this._gainNode.gain.linearRampToValueAtTime(n,t+o):this._gainNode.gain.exponentialApproachValueAtTime(n,t,o)):this._gainNode.gain.setValueAtTime(n,t),this._startTime=t,s.default.isDefined(i)){var a=this.toSeconds(i);a=Math.max(a,0),this.stop(t+a);}if(this.loop){var r=this.loopEnd||this.buffer.duration,l=this.loopStart;e>=r&&(e=(e-l)%(r-l)+l);}return this._source.buffer=this.buffer.get(),this._source.loopEnd=this.loopEnd||this.buffer.duration,e0?"linear"===this.curve?this._gainNode.gain.linearRampTo(0,e,t):this._gainNode.gain.targetRampTo(0,e,t):(this._gainNode.gain.cancelAndHoldAtTime(t),this._gainNode.gain.setValueAtTime(0,t)),s.default.context.clearTimeout(this._onendedTimeout),this._onendedTimeout=s.default.context.setTimeout(this._onended.bind(this),this._stopTime-this.now()),this;},s.default.BufferSource.prototype.cancelStop=function(){if(-1!==this._startTime&&!this._sourceStopped){var t=this.toSeconds(this.fadeIn);this._gainNode.gain.cancelScheduledValues(this._startTime+t+this.sampleTime),this.context.clearTimeout(this._onendedTimeout),this._stopTime=-1;}return this;},s.default.BufferSource.prototype._onended=function(){if(!this._sourceStopped){this._sourceStopped=!0;var t="exponential"===this.curve?2*this.fadeOut:0;this._sourceStarted&&-1!==this._stopTime&&this._source.stop(this._stopTime+t),this.onended(this),setTimeout(function(){this._source&&(this._source.disconnect(),this._gainNode.disconnect());}.bind(this),1e3*t+100);}},Object.defineProperty(s.default.BufferSource.prototype,"loopStart",{get:function get(){return this._source.loopStart;},set:function set(t){this._source.loopStart=this.toSeconds(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"loopEnd",{get:function get(){return this._source.loopEnd;},set:function set(t){this._source.loopEnd=this.toSeconds(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"buffer",{get:function get(){return this._buffer;},set:function set(t){this._buffer.set(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"loop",{get:function get(){return this._source.loop;},set:function set(t){this._source.loop=t,this.cancelStop();}}),s.default.BufferSource.prototype.dispose=function(){return this._wasDisposed||(this._wasDisposed=!0,s.default.AudioNode.prototype.dispose.call(this),this.onended=null,this._source.onended=null,this._source.disconnect(),this._source=null,this._gainNode.dispose(),this._gainNode=null,this._buffer.dispose(),this._buffer=null,this._startTime=-1,this.playbackRate=null,s.default.context.clearTimeout(this._onendedTimeout)),this;},e.default=s.default.BufferSource;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(8),i(2),i(5),i(3);s.default.FeedbackEffect=function(){var t=s.default.defaults(arguments,["feedback"],s.default.FeedbackEffect);s.default.Effect.call(this,t),this._feedbackGain=new s.default.Gain(t.feedback,s.default.Type.NormalRange),this.feedback=this._feedbackGain.gain,this.effectReturn.chain(this._feedbackGain,this.effectSend),this._readOnly(["feedback"]);},s.default.extend(s.default.FeedbackEffect,s.default.Effect),s.default.FeedbackEffect.defaults={feedback:0.125},s.default.FeedbackEffect.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._writable(["feedback"]),this._feedbackGain.dispose(),this._feedbackGain=null,this.feedback=null,this;},e.default=s.default.FeedbackEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(24),i(4);s.default.TimelineState=function(t){s.default.Timeline.call(this),this._initial=t;},s.default.extend(s.default.TimelineState,s.default.Timeline),s.default.TimelineState.prototype.getValueAtTime=function(t){var e=this.get(t);return null!==e?e.state:this._initial;},s.default.TimelineState.prototype.setStateAtTime=function(t,e){return this.add({state:t,time:e}),this;},s.default.TimelineState.prototype.getLastState=function(t,e){e=this.toSeconds(e);for(var i=this._search(e);i>=0;i--){var s=this._timeline[i];if(s.state===t)return s;}},s.default.TimelineState.prototype.getNextState=function(t,e){e=this.toSeconds(e);var i=this._search(e);if(-1!==i)for(var s=i;s0&&(i=(1-o)/(1/i));if(0===i)this._sig.setValueAtTime(e,t);else if("linear"===this._attackCurve)this._sig.linearRampTo(e,i,t);else if("exponential"===this._attackCurve)this._sig.targetRampTo(e,i,t);else if(i>0){this._sig.cancelAndHoldAtTime(t);for(var a=this._attackCurve,r=1;r0){var i=this.toSeconds(this.release);if("linear"===this._releaseCurve)this._sig.linearRampTo(0,i,t);else if("exponential"===this._releaseCurve)this._sig.targetRampTo(0,i,t);else{var n=this._releaseCurve;s.default.isArray(n)&&(this._sig.cancelAndHoldAtTime(t),this._sig.setValueCurveAtTime(n,t,i,e));}}return this;},s.default.Envelope.prototype.getValueAtTime=function(t){return this._sig.getValueAtTime(t);},s.default.Envelope.prototype.triggerAttackRelease=function(t,e,i){return e=this.toSeconds(e),this.triggerAttack(e,i),this.triggerRelease(e+this.toSeconds(t)),this;},s.default.Envelope.prototype.cancel=function(t){return this._sig.cancelScheduledValues(t),this;},s.default.Envelope.prototype.connect=s.default.SignalBase.prototype.connect,function(){var t,e,i=[];for(t=0;t<128;t++){i[t]=Math.sin(t/127*(Math.PI/2));}var n=[];for(t=0;t<127;t++){e=t/127;var o=Math.sin(e*(2*Math.PI)*6.4-Math.PI/2)+1;n[t]=o/10+0.83*e;}n[127]=1;var a=[];for(t=0;t<128;t++){a[t]=Math.ceil(t/127*5)/5;}var r=[];for(t=0;t<128;t++){e=t/127,r[t]=0.5*(1-Math.cos(Math.PI*e));}var l,u=[];for(t=0;t<128;t++){e=t/127;var d=4*Math.pow(e,3)+0.2,f=Math.cos(d*Math.PI*2*e);u[t]=Math.abs(f*(1-e));}function h(t){for(var e=new Array(t.length),i=0;i1){e=1/0,s.default.isNumber(this._loop)&&(e=this._loop*this._getLoopDuration());var n=this._state.getAfter(i);null!==n&&(e=Math.min(e,n.time-i)),e!==1/0&&(this._state.setStateAtTime(s.default.State.Stopped,i+e+1),e=s.default.Ticks(e));var o=s.default.Ticks(this._getLoopDuration());t.id=s.default.Transport.scheduleRepeat(this._tick.bind(this),o,s.default.Ticks(i),e);}else t.id=s.default.Transport.schedule(this._tick.bind(this),s.default.Ticks(i));}}.bind(this)),this;},Object.defineProperty(s.default.Event.prototype,"state",{get:function get(){return this._state.getValueAtTime(s.default.Transport.ticks);}}),Object.defineProperty(s.default.Event.prototype,"startOffset",{get:function get(){return this._startOffset;},set:function set(t){this._startOffset=t;}}),Object.defineProperty(s.default.Event.prototype,"probability",{get:function get(){return this._probability;},set:function set(t){this._probability=t;}}),Object.defineProperty(s.default.Event.prototype,"humanize",{get:function get(){return this._humanize;},set:function set(t){this._humanize=t;}}),s.default.Event.prototype.start=function(t){return t=this.toTicks(t),this._state.getValueAtTime(t)===s.default.State.Stopped&&(this._state.add({state:s.default.State.Started,time:t,id:void 0}),this._rescheduleEvents(t)),this;},s.default.Event.prototype.stop=function(t){if(this.cancel(t),t=this.toTicks(t),this._state.getValueAtTime(t)===s.default.State.Started){this._state.setStateAtTime(s.default.State.Stopped,t);var e=this._state.getBefore(t),i=t;null!==e&&(i=e.time),this._rescheduleEvents(i);}return this;},s.default.Event.prototype.cancel=function(t){return t=s.default.defaultArg(t,-1/0),t=this.toTicks(t),this._state.forEachFrom(t,function(t){s.default.Transport.clear(t.id);}),this._state.cancel(t),this;},s.default.Event.prototype._tick=function(t){var e=s.default.Transport.getTicksAtTime(t);if(!this.mute&&this._state.getValueAtTime(e)===s.default.State.Started){if(this.probability<1&&Math.random()>this.probability)return;if(this.humanize){var i=0.02;s.default.isBoolean(this.humanize)||(i=this.toSeconds(this.humanize)),t+=(2*Math.random()-1)*i;}this.callback(t,this.value);}},s.default.Event.prototype._getLoopDuration=function(){return Math.round((this._loopEnd-this._loopStart)/this._playbackRate);},Object.defineProperty(s.default.Event.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){this._loop=t,this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t,this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t),this._loop&&this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t),this._loop&&this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"progress",{get:function get(){if(this._loop){var t=s.default.Transport.ticks,e=this._state.get(t);if(null!==e&&e.state===s.default.State.Started){var i=this._getLoopDuration();return(t-e.time)%i/i;}return 0;}return 0;}}),s.default.Event.prototype.dispose=function(){this.cancel(),this._state.dispose(),this._state=null,this.callback=null,this.value=null;},e.default=s.default.Event;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(13),i(29),i(10),i(3),i(1);s.default.MidSideMerge=function(){s.default.AudioNode.call(this),this.createInsOuts(2,0),this.mid=this.input[0]=new s.default.Gain(),this._left=new s.default.Add(),this._timesTwoLeft=new s.default.Multiply(Math.SQRT1_2),this.side=this.input[1]=new s.default.Gain(),this._right=new s.default.Subtract(),this._timesTwoRight=new s.default.Multiply(Math.SQRT1_2),this._merge=this.output=new s.default.Merge(),this.mid.connect(this._left,0,0),this.side.connect(this._left,0,1),this.mid.connect(this._right,0,0),this.side.connect(this._right,0,1),this._left.connect(this._timesTwoLeft),this._right.connect(this._timesTwoRight),this._timesTwoLeft.connect(this._merge,0,0),this._timesTwoRight.connect(this._merge,0,1);},s.default.extend(s.default.MidSideMerge,s.default.AudioNode),s.default.MidSideMerge.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.mid.dispose(),this.mid=null,this.side.dispose(),this.side=null,this._left.dispose(),this._left=null,this._timesTwoLeft.dispose(),this._timesTwoLeft=null,this._right.dispose(),this._right=null,this._timesTwoRight.dispose(),this._timesTwoRight=null,this._merge.dispose(),this._merge=null,this;},e.default=s.default.MidSideMerge;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(29),i(13),i(2),i(19),i(1);s.default.MidSideSplit=function(){s.default.AudioNode.call(this),this.createInsOuts(0,2),this._split=this.input=new s.default.Split(),this._midAdd=new s.default.Add(),this.mid=this.output[0]=new s.default.Multiply(Math.SQRT1_2),this._sideSubtract=new s.default.Subtract(),this.side=this.output[1]=new s.default.Multiply(Math.SQRT1_2),this._split.connect(this._midAdd,0,0),this._split.connect(this._midAdd,1,1),this._split.connect(this._sideSubtract,0,0),this._split.connect(this._sideSubtract,1,1),this._midAdd.connect(this.mid),this._sideSubtract.connect(this.side);},s.default.extend(s.default.MidSideSplit,s.default.AudioNode),s.default.MidSideSplit.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.mid.dispose(),this.mid=null,this.side.dispose(),this.side=null,this._midAdd.dispose(),this._midAdd=null,this._sideSubtract.dispose(),this._sideSubtract=null,this._split.dispose(),this._split=null,this;},e.default=s.default.MidSideSplit;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(9),i(1),i(59);s.default.LowpassCombFilter=function(){var t=s.default.defaults(arguments,["delayTime","resonance","dampening"],s.default.LowpassCombFilter);s.default.AudioNode.call(this),this._combFilter=this.output=new s.default.FeedbackCombFilter(t.delayTime,t.resonance),this.delayTime=this._combFilter.delayTime,this._lowpass=this.input=new s.default.Filter({frequency:t.dampening,type:"lowpass",Q:0,rolloff:-12}),this.dampening=this._lowpass.frequency,this.resonance=this._combFilter.resonance,this._lowpass.connect(this._combFilter),this._readOnly(["dampening","resonance","delayTime"]);},s.default.extend(s.default.LowpassCombFilter,s.default.AudioNode),s.default.LowpassCombFilter.defaults={delayTime:0.1,resonance:0.5,dampening:3e3},s.default.LowpassCombFilter.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this._writable(["dampening","resonance","delayTime"]),this._combFilter.dispose(),this._combFilter=null,this.resonance=null,this.delayTime=null,this._lowpass.dispose(),this._lowpass=null,this.dampening=null,this;},e.default=s.default.LowpassCombFilter;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(45);s.default.Ticks=function(t,e){if(!babelHelpers.instanceof(this,s.default.Ticks))return new s.default.Ticks(t,e);s.default.TransportTime.call(this,t,e);},s.default.extend(s.default.Ticks,s.default.TransportTime),s.default.Ticks.prototype._defaultUnits="i",s.default.Ticks.prototype._now=function(){return s.default.Transport.ticks;},s.default.Ticks.prototype._beatsToUnits=function(t){return this._getPPQ()*t;},s.default.Ticks.prototype._secondsToUnits=function(t){return Math.floor(t/(60/this._getBpm())*this._getPPQ());},s.default.Ticks.prototype._ticksToUnits=function(t){return t;},s.default.Ticks.prototype.toTicks=function(){return this.valueOf();},s.default.Ticks.prototype.toSeconds=function(){return this.valueOf()/this._getPPQ()*(60/this._getBpm());},e.default=s.default.Ticks;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(55);s.default.TransportEvent=function(t,e){e=s.default.defaultArg(e,s.default.TransportEvent.defaults),s.default.call(this),this.Transport=t,this.id=s.default.TransportEvent._eventId++,this.time=s.default.Ticks(e.time),this.callback=e.callback,this._once=e.once;},s.default.extend(s.default.TransportEvent),s.default.TransportEvent.defaults={once:!1,callback:s.default.noOp},s.default.TransportEvent._eventId=0,s.default.TransportEvent.prototype.invoke=function(t){this.callback&&(this.callback(t),this._once&&this.Transport&&this.Transport.clear(this.id));},s.default.TransportEvent.prototype.dispose=function(){return s.default.prototype.dispose.call(this),this.Transport=null,this.callback=null,this.time=null,this;},e.default=s.default.TransportEvent;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(82),i(34),i(24),i(14);s.default.TickSource=function(){var t=s.default.defaults(arguments,["frequency"],s.default.TickSource);this.frequency=new s.default.TickSignal(t.frequency),this._readOnly("frequency"),this._state=new s.default.TimelineState(s.default.State.Stopped),this._state.setStateAtTime(s.default.State.Stopped,0),this._tickOffset=new s.default.Timeline(),this.setTicksAtTime(0,0);},s.default.extend(s.default.TickSource),s.default.TickSource.defaults={frequency:1},Object.defineProperty(s.default.TickSource.prototype,"state",{get:function get(){return this._state.getValueAtTime(this.now());}}),s.default.TickSource.prototype.start=function(t,e){return t=this.toSeconds(t),this._state.getValueAtTime(t)!==s.default.State.Started&&(this._state.setStateAtTime(s.default.State.Started,t),s.default.isDefined(e)&&this.setTicksAtTime(e,t)),this;},s.default.TickSource.prototype.stop=function(t){if(t=this.toSeconds(t),this._state.getValueAtTime(t)===s.default.State.Stopped){var e=this._state.get(t);e.time>0&&(this._tickOffset.cancel(e.time),this._state.cancel(e.time));}return this._state.cancel(t),this._state.setStateAtTime(s.default.State.Stopped,t),this.setTicksAtTime(0,t),this;},s.default.TickSource.prototype.pause=function(t){return t=this.toSeconds(t),this._state.getValueAtTime(t)===s.default.State.Started&&this._state.setStateAtTime(s.default.State.Paused,t),this;},s.default.TickSource.prototype.cancel=function(t){return t=this.toSeconds(t),this._state.cancel(t),this._tickOffset.cancel(t),this;},s.default.TickSource.prototype.getTicksAtTime=function(t){t=this.toSeconds(t);var e=this._state.getLastState(s.default.State.Stopped,t),i={state:s.default.State.Paused,time:t};this._state.add(i);var n=e,o=0;return this._state.forEachBetween(e.time,t+this.sampleTime,function(t){var e=n.time,i=this._tickOffset.get(t.time);i.time>=n.time&&(o=i.ticks,e=i.time),n.state===s.default.State.Started&&t.state!==s.default.State.Started&&(o+=this.frequency.getTicksAtTime(t.time)-this.frequency.getTicksAtTime(e)),n=t;}.bind(this)),this._state.remove(i),o;},Object.defineProperty(s.default.TickSource.prototype,"ticks",{get:function get(){return this.getTicksAtTime(this.now());},set:function set(t){this.setTicksAtTime(t,this.now());}}),Object.defineProperty(s.default.TickSource.prototype,"seconds",{get:function get(){return this.getSecondsAtTime(this.now());},set:function set(t){var e=this.now(),i=this.frequency.timeToTicks(t,e);this.setTicksAtTime(i,e);}}),s.default.TickSource.prototype.getSecondsAtTime=function(t){t=this.toSeconds(t);var e=this._state.getLastState(s.default.State.Stopped,t),i={state:s.default.State.Paused,time:t};this._state.add(i);var n=e,o=0;return this._state.forEachBetween(e.time,t+this.sampleTime,function(t){var e=n.time,i=this._tickOffset.get(t.time);i.time>=n.time&&(o=i.seconds,e=i.time),n.state===s.default.State.Started&&t.state!==s.default.State.Started&&(o+=t.time-e),n=t;}.bind(this)),this._state.remove(i),o;},s.default.TickSource.prototype.setTicksAtTime=function(t,e){return e=this.toSeconds(e),this._tickOffset.cancel(e),this._tickOffset.add({time:e,ticks:t,seconds:this.frequency.getDurationOfTicks(t,e)}),this;},s.default.TickSource.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),this._state.getValueAtTime(t);},s.default.TickSource.prototype.getTimeOfTick=function(t,e){e=s.default.defaultArg(e,this.now());var i=this._tickOffset.get(e),n=this._state.get(e),o=Math.max(i.time,n.time),a=this.frequency.getTicksAtTime(o)+t-i.ticks;return this.frequency.getTimeOfTick(a);},s.default.TickSource.prototype.forEachTickBetween=function(t,e,i){var n=this._state.get(t);if(this._state.forEachBetween(t,e,function(e){n.state===s.default.State.Started&&e.state!==s.default.State.Started&&this.forEachTickBetween(Math.max(n.time,t),e.time-this.sampleTime,i),n=e;}.bind(this)),t=Math.max(n.time,t),n.state===s.default.State.Started&&this._state){var o=this.frequency.getTicksAtTime(t),a=(o-this.frequency.getTicksAtTime(n.time))%1;0!==a&&(a=1-a);for(var r=this.frequency.getTimeOfTick(o+a),l=null;r3&&(s=parseFloat(parseFloat(s).toFixed(3))),[i,e,s].join(":");},s.default.Time.prototype.toTicks=function(){var t=this._beatsToUnits(1),e=this.valueOf()/t;return Math.round(e*this._getPPQ());},s.default.Time.prototype.toSeconds=function(){return this.valueOf();},s.default.Time.prototype.toMidi=function(){return s.default.Frequency.ftom(this.toFrequency());},e.default=s.default.Time;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(3),i(1);s.default.supported&&(OscillatorNode.prototype.setPeriodicWave||(OscillatorNode.prototype.setPeriodicWave=OscillatorNode.prototype.setWaveTable),AudioContext.prototype.createPeriodicWave||(AudioContext.prototype.createPeriodicWave=AudioContext.prototype.createWaveTable)),s.default.OscillatorNode=function(){var t=s.default.defaults(arguments,["frequency","type"],s.default.OscillatorNode);s.default.AudioNode.call(this,t),this.onended=t.onended,this._startTime=-1,this._stopTime=-1,this._gainNode=this.output=new s.default.Gain(0),this._oscillator=this.context.createOscillator(),s.default.connect(this._oscillator,this._gainNode),this.type=t.type,this.frequency=new s.default.Param({param:this._oscillator.frequency,units:s.default.Type.Frequency,value:t.frequency}),this.detune=new s.default.Param({param:this._oscillator.detune,units:s.default.Type.Cents,value:t.detune}),this._gain=1;},s.default.extend(s.default.OscillatorNode,s.default.AudioNode),s.default.OscillatorNode.defaults={frequency:440,detune:0,type:"sine",onended:s.default.noOp},Object.defineProperty(s.default.OscillatorNode.prototype,"state",{get:function get(){return this.getStateAtTime(this.now());}}),s.default.OscillatorNode.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),-1!==this._startTime&&t>=this._startTime&&(-1===this._stopTime||t<=this._stopTime)?s.default.State.Started:s.default.State.Stopped;},s.default.OscillatorNode.prototype.start=function(t){if(this.log("start",t),-1!==this._startTime)throw new Error("cannot call OscillatorNode.start more than once");return this._startTime=this.toSeconds(t),this._startTime=Math.max(this._startTime,this.context.currentTime),this._oscillator.start(this._startTime),this._gainNode.gain.setValueAtTime(1,this._startTime),this;},s.default.OscillatorNode.prototype.setPeriodicWave=function(t){return this._oscillator.setPeriodicWave(t),this;},s.default.OscillatorNode.prototype.stop=function(t){return this.log("stop",t),this.assert(-1!==this._startTime,"'start' must be called before 'stop'"),this.cancelStop(),this._stopTime=this.toSeconds(t),this._stopTime=Math.max(this._stopTime,this.context.currentTime),this._stopTime>this._startTime?(this._gainNode.gain.setValueAtTime(0,this._stopTime),this.context.clearTimeout(this._timeout),this._timeout=this.context.setTimeout(function(){this._oscillator.stop(this.now()),this.onended(),setTimeout(function(){this._oscillator&&(this._oscillator.disconnect(),this._gainNode.disconnect());}.bind(this),100);}.bind(this),this._stopTime-this.context.currentTime)):this._gainNode.gain.cancelScheduledValues(this._startTime),this;},s.default.OscillatorNode.prototype.cancelStop=function(){return-1!==this._startTime&&(this._gainNode.gain.cancelScheduledValues(this._startTime+this.sampleTime),this.context.clearTimeout(this._timeout),this._stopTime=-1),this;},Object.defineProperty(s.default.OscillatorNode.prototype,"type",{get:function get(){return this._oscillator.type;},set:function set(t){this._oscillator.type=t;}}),s.default.OscillatorNode.prototype.dispose=function(){return this._wasDisposed||(this._wasDisposed=!0,this.context.clearTimeout(this._timeout),s.default.AudioNode.prototype.dispose.call(this),this.onended=null,this._oscillator.disconnect(),this._oscillator=null,this._gainNode.dispose(),this._gainNode=null,this.frequency.dispose(),this.frequency=null,this.detune.dispose(),this.detune=null),this;};e.default=s.default.OscillatorNode;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(57),i(32);s.default.Player=function(t){var e;babelHelpers.instanceof(t,s.default.Buffer)&&t.loaded?(t=t.get(),e=s.default.Player.defaults):e=s.default.defaults(arguments,["url","onload"],s.default.Player),s.default.Source.call(this,e),this.autostart=e.autostart,this._buffer=new s.default.Buffer({url:e.url,onload:this._onload.bind(this,e.onload),reverse:e.reverse}),babelHelpers.instanceof(t,AudioBuffer)&&this._buffer.set(t),this._loop=e.loop,this._loopStart=e.loopStart,this._loopEnd=e.loopEnd,this._playbackRate=e.playbackRate,this._activeSources=[],this.fadeIn=e.fadeIn,this.fadeOut=e.fadeOut;},s.default.extend(s.default.Player,s.default.Source),s.default.Player.defaults={onload:s.default.noOp,playbackRate:1,loop:!1,autostart:!1,loopStart:0,loopEnd:0,reverse:!1,fadeIn:0,fadeOut:0},s.default.Player.prototype.load=function(t,e){return this._buffer.load(t,this._onload.bind(this,e));},s.default.Player.prototype._onload=function(t){(t=s.default.defaultArg(t,s.default.noOp))(this),this.autostart&&this.start();},s.default.Player.prototype._onSourceEnd=function(t){var e=this._activeSources.indexOf(t);this._activeSources.splice(e,1),0!==this._activeSources.length||this._synced||this._state.setStateAtTime(s.default.State.Stopped,s.default.now());},s.default.Player.prototype._start=function(t,e,i){e=this._loop?s.default.defaultArg(e,this._loopStart):s.default.defaultArg(e,0),e=this.toSeconds(e),this._synced&&(e*=this._playbackRate);var n=s.default.defaultArg(i,Math.max(this._buffer.duration-e,0));n=this.toSeconds(n),n/=this._playbackRate,t=this.toSeconds(t);var o=new s.default.BufferSource({buffer:this._buffer,loop:this._loop,loopStart:this._loopStart,loopEnd:this._loopEnd,onended:this._onSourceEnd.bind(this),playbackRate:this._playbackRate,fadeIn:this.fadeIn,fadeOut:this.fadeOut}).connect(this.output);return this._loop||this._synced||this._state.setStateAtTime(s.default.State.Stopped,t+n),this._activeSources.push(o),this._loop&&s.default.isUndef(i)?o.start(t,e):o.start(t,e,n-this.toSeconds(this.fadeOut)),this;},s.default.Player.prototype._stop=function(t){return t=this.toSeconds(t),this._activeSources.forEach(function(e){e.stop(t);}),this;},s.default.Player.prototype.restart=function(t,e,i){return this._stop(t),this._start(t,e,i),this;},s.default.Player.prototype.seek=function(t,e){return e=this.toSeconds(e),this._state.getValueAtTime(e)===s.default.State.Started&&(t=this.toSeconds(t),this._stop(e),this._start(e,t)),this;},s.default.Player.prototype.setLoopPoints=function(t,e){return this.loopStart=t,this.loopEnd=e,this;},Object.defineProperty(s.default.Player.prototype,"loopStart",{get:function get(){return this._loopStart;},set:function set(t){this._loopStart=t,this._activeSources.forEach(function(e){e.loopStart=t;});}}),Object.defineProperty(s.default.Player.prototype,"loopEnd",{get:function get(){return this._loopEnd;},set:function set(t){this._loopEnd=t,this._activeSources.forEach(function(e){e.loopEnd=t;});}}),Object.defineProperty(s.default.Player.prototype,"buffer",{get:function get(){return this._buffer;},set:function set(t){this._buffer.set(t);}}),Object.defineProperty(s.default.Player.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){if(this._loop!==t&&(this._loop=t,this._activeSources.forEach(function(e){e.loop=t;}),t)){var e=this._state.getNextState(s.default.State.Stopped,this.now());e&&this._state.cancel(e.time);}}}),Object.defineProperty(s.default.Player.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t;var e=this.now(),i=this._state.getNextState(s.default.State.Stopped,e);i&&this._state.cancel(i.time),this._activeSources.forEach(function(i){i.cancelStop(),i.playbackRate.setValueAtTime(t,e);});}}),Object.defineProperty(s.default.Player.prototype,"reverse",{get:function get(){return this._buffer.reverse;},set:function set(t){this._buffer.reverse=t;}}),Object.defineProperty(s.default.Player.prototype,"loaded",{get:function get(){return this._buffer.loaded;}}),s.default.Player.prototype.dispose=function(){return this._activeSources.forEach(function(t){t.dispose();}),this._activeSources=null,s.default.Source.prototype.dispose.call(this),this._buffer.dispose(),this._buffer=null,this;},e.default=s.default.Player;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(31),i(41),i(37),i(2),i(9),i(25);s.default.MonoSynth=function(t){t=s.default.defaultArg(t,s.default.MonoSynth.defaults),s.default.Monophonic.call(this,t),this.oscillator=new s.default.OmniOscillator(t.oscillator),this.frequency=this.oscillator.frequency,this.detune=this.oscillator.detune,this.filter=new s.default.Filter(t.filter),this.filter.frequency.value=5e3,this.filterEnvelope=new s.default.FrequencyEnvelope(t.filterEnvelope),this.envelope=new s.default.AmplitudeEnvelope(t.envelope),this.oscillator.chain(this.filter,this.envelope,this.output),this.filterEnvelope.connect(this.filter.frequency),this._readOnly(["oscillator","frequency","detune","filter","filterEnvelope","envelope"]);},s.default.extend(s.default.MonoSynth,s.default.Monophonic),s.default.MonoSynth.defaults={frequency:"C4",detune:0,oscillator:{type:"square"},filter:{Q:6,type:"lowpass",rolloff:-24},envelope:{attack:0.005,decay:0.1,sustain:0.9,release:1},filterEnvelope:{attack:0.06,decay:0.2,sustain:0.5,release:2,baseFrequency:200,octaves:7,exponent:2}},s.default.MonoSynth.prototype._triggerEnvelopeAttack=function(t,e){return t=this.toSeconds(t),this.envelope.triggerAttack(t,e),this.filterEnvelope.triggerAttack(t),this.oscillator.start(t),0===this.envelope.sustain&&this.oscillator.stop(t+this.envelope.attack+this.envelope.decay),this;},s.default.MonoSynth.prototype._triggerEnvelopeRelease=function(t){return this.envelope.triggerRelease(t),this.filterEnvelope.triggerRelease(t),this.oscillator.stop(t+this.envelope.release),this;},s.default.MonoSynth.prototype.dispose=function(){return s.default.Monophonic.prototype.dispose.call(this),this._writable(["oscillator","frequency","detune","filter","filterEnvelope","envelope"]),this.oscillator.dispose(),this.oscillator=null,this.envelope.dispose(),this.envelope=null,this.filterEnvelope.dispose(),this.filterEnvelope=null,this.filter.dispose(),this.filter=null,this.frequency=null,this.detune=null,this;},e.default=s.default.MonoSynth;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(6),i(17),i(5),i(3);s.default.FatOscillator=function(){var t=s.default.defaults(arguments,["frequency","type","spread"],s.default.FatOscillator);s.default.Source.call(this,t),this.frequency=new s.default.Signal(t.frequency,s.default.Type.Frequency),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._oscillators=[],this._spread=t.spread,this._type=t.type,this._phase=t.phase,this._partials=t.partials,this._partialCount=t.partialCount,this.count=t.count,this._readOnly(["frequency","detune"]);},s.default.extend(s.default.FatOscillator,s.default.Source),s.default.FatOscillator.defaults={frequency:440,detune:0,phase:0,spread:20,count:3,type:"sawtooth",partials:[],partialCount:0},s.default.FatOscillator.prototype._start=function(t){t=this.toSeconds(t),this._forEach(function(e){e.start(t);});},s.default.FatOscillator.prototype._stop=function(t){t=this.toSeconds(t),this._forEach(function(e){e.stop(t);});},s.default.FatOscillator.prototype.restart=function(t){t=this.toSeconds(t),this._forEach(function(e){e.restart(t);});},s.default.FatOscillator.prototype._forEach=function(t){for(var e=0;e1){var e=-t/2,i=t/(this._oscillators.length-1);this._forEach(function(t,s){t.detune.value=e+i*s;});}}}),Object.defineProperty(s.default.FatOscillator.prototype,"count",{get:function get(){return this._oscillators.length;},set:function set(t){if(t=Math.max(t,1),this._oscillators.length!==t){this._forEach(function(t){t.dispose();}),this._oscillators=[];for(var e=0;e=this._loopStart&&t.startOffset=i&&(t.loop=!1,t.start(s.default.Ticks(e))):t.startOffset>=i&&t.start(s.default.Ticks(e));},Object.defineProperty(s.default.Part.prototype,"startOffset",{get:function get(){return this._startOffset;},set:function set(t){this._startOffset=t,this._forEach(function(t){t.startOffset+=this._startOffset;});}}),s.default.Part.prototype.stop=function(t){var e=this.toTicks(t);return this._state.cancel(e),this._state.setStateAtTime(s.default.State.Stopped,e),this._forEach(function(e){e.stop(t);}),this;},s.default.Part.prototype.at=function(t,e){t=s.default.TransportTime(t);for(var i=s.default.Ticks(1).toSeconds(),n=0;n=0;i--){var n=this._events[i];n.startOffset===t&&(s.default.isUndef(e)||s.default.isDefined(e)&&n.value===e)&&(this._events.splice(i,1),n.dispose());}return this;},s.default.Part.prototype.removeAll=function(){return this._forEach(function(t){t.dispose();}),this._events=[],this;},s.default.Part.prototype.cancel=function(t){return this._forEach(function(e){e.cancel(t);}),this._state.cancel(this.toTicks(t)),this;},s.default.Part.prototype._forEach=function(t,e){if(this._events){e=s.default.defaultArg(e,this);for(var i=this._events.length-1;i>=0;i--){var n=this._events[i];babelHelpers.instanceof(n,s.default.Part)?n._forEach(t,e):t.call(e,n);}}return this;},s.default.Part.prototype._setAll=function(t,e){this._forEach(function(i){i[t]=e;});},s.default.Part.prototype._tick=function(t,e){this.mute||this.callback(t,e);},s.default.Part.prototype._testLoopBoundries=function(t){this._loop&&(t.startOffset=this._loopEnd)?t.cancel(0):t.state===s.default.State.Stopped&&this._restartEvent(t);},Object.defineProperty(s.default.Part.prototype,"probability",{get:function get(){return this._probability;},set:function set(t){this._probability=t,this._setAll("probability",t);}}),Object.defineProperty(s.default.Part.prototype,"humanize",{get:function get(){return this._humanize;},set:function set(t){this._humanize=t,this._setAll("humanize",t);}}),Object.defineProperty(s.default.Part.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){this._loop=t,this._forEach(function(e){e._loopStart=this._loopStart,e._loopEnd=this._loopEnd,e.loop=t,this._testLoopBoundries(e);});}}),Object.defineProperty(s.default.Part.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t),this._loop&&this._forEach(function(e){e.loopEnd=t,this._testLoopBoundries(e);});}}),Object.defineProperty(s.default.Part.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t),this._loop&&this._forEach(function(t){t.loopStart=this.loopStart,this._testLoopBoundries(t);});}}),Object.defineProperty(s.default.Part.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t,this._setAll("playbackRate",t);}}),Object.defineProperty(s.default.Part.prototype,"length",{get:function get(){return this._events.length;}}),s.default.Part.prototype.dispose=function(){return s.default.Event.prototype.dispose.call(this),this.removeAll(),this.callback=null,this._events=null,this;},e.default=s.default.Part;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(51);s.default.Loop=function(){var t=s.default.defaults(arguments,["callback","interval"],s.default.Loop);s.default.call(this),this._event=new s.default.Event({callback:this._tick.bind(this),loop:!0,loopEnd:t.interval,playbackRate:t.playbackRate,probability:t.probability}),this.callback=t.callback,this.iterations=t.iterations;},s.default.extend(s.default.Loop),s.default.Loop.defaults={interval:"4n",callback:s.default.noOp,playbackRate:1,iterations:1/0,probability:!0,mute:!1},s.default.Loop.prototype.start=function(t){return this._event.start(t),this;},s.default.Loop.prototype.stop=function(t){return this._event.stop(t),this;},s.default.Loop.prototype.cancel=function(t){return this._event.cancel(t),this;},s.default.Loop.prototype._tick=function(t){this.callback(t);},Object.defineProperty(s.default.Loop.prototype,"state",{get:function get(){return this._event.state;}}),Object.defineProperty(s.default.Loop.prototype,"progress",{get:function get(){return this._event.progress;}}),Object.defineProperty(s.default.Loop.prototype,"interval",{get:function get(){return this._event.loopEnd;},set:function set(t){this._event.loopEnd=t;}}),Object.defineProperty(s.default.Loop.prototype,"playbackRate",{get:function get(){return this._event.playbackRate;},set:function set(t){this._event.playbackRate=t;}}),Object.defineProperty(s.default.Loop.prototype,"humanize",{get:function get(){return this._event.humanize;},set:function set(t){this._event.humanize=t;}}),Object.defineProperty(s.default.Loop.prototype,"probability",{get:function get(){return this._event.probability;},set:function set(t){this._event.probability=t;}}),Object.defineProperty(s.default.Loop.prototype,"mute",{get:function get(){return this._event.mute;},set:function set(t){this._event.mute=t;}}),Object.defineProperty(s.default.Loop.prototype,"iterations",{get:function get(){return!0===this._event.loop?1/0:this._event.loop;},set:function set(t){this._event.loop=t===1/0||t;}}),s.default.Loop.prototype.dispose=function(){this._event.dispose(),this._event=null,this.callback=null;},e.default=s.default.Loop;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(15),i(33);s.default.StereoXFeedbackEffect=function(){var t=s.default.defaults(arguments,["feedback"],s.default.FeedbackEffect);s.default.StereoEffect.call(this,t),this.feedback=new s.default.Signal(t.feedback,s.default.Type.NormalRange),this._feedbackLR=new s.default.Gain(),this._feedbackRL=new s.default.Gain(),this.effectReturnL.chain(this._feedbackLR,this.effectSendR),this.effectReturnR.chain(this._feedbackRL,this.effectSendL),this.feedback.fan(this._feedbackLR.gain,this._feedbackRL.gain),this._readOnly(["feedback"]);},s.default.extend(s.default.StereoXFeedbackEffect,s.default.StereoEffect),s.default.StereoXFeedbackEffect.prototype.dispose=function(){return s.default.StereoEffect.prototype.dispose.call(this),this._writable(["feedback"]),this.feedback.dispose(),this.feedback=null,this._feedbackLR.dispose(),this._feedbackLR=null,this._feedbackRL.dispose(),this._feedbackRL=null,this;},e.default=s.default.StereoXFeedbackEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(8),i(53),i(52);s.default.MidSideEffect=function(){s.default.Effect.apply(this,arguments),this._midSideSplit=new s.default.MidSideSplit(),this._midSideMerge=new s.default.MidSideMerge(),this.midSend=this._midSideSplit.mid,this.sideSend=this._midSideSplit.side,this.midReturn=this._midSideMerge.mid,this.sideReturn=this._midSideMerge.side,this.effectSend.connect(this._midSideSplit),this._midSideMerge.connect(this.effectReturn);},s.default.extend(s.default.MidSideEffect,s.default.Effect),s.default.MidSideEffect.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._midSideSplit.dispose(),this._midSideSplit=null,this._midSideMerge.dispose(),this._midSideMerge=null,this.midSend=null,this.sideSend=null,this.midReturn=null,this.sideReturn=null,this;},e.default=s.default.MidSideEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(8);s.default.Convolver=function(){var t=s.default.defaults(arguments,["url","onload"],s.default.Convolver);s.default.Effect.call(this,t),this._convolver=this.context.createConvolver(),this._buffer=new s.default.Buffer(t.url,function(e){this.buffer=e.get(),t.onload();}.bind(this)),this._buffer.loaded&&(this.buffer=this._buffer),this.normalize=t.normalize,this.connectEffect(this._convolver);},s.default.extend(s.default.Convolver,s.default.Effect),s.default.Convolver.defaults={onload:s.default.noOp,normalize:!0},Object.defineProperty(s.default.Convolver.prototype,"buffer",{get:function get(){return this._buffer.length?this._buffer:null;},set:function set(t){this._buffer.set(t),this._convolver.buffer&&(this.effectSend.disconnect(),this._convolver.disconnect(),this._convolver=this.context.createConvolver(),this.connectEffect(this._convolver)),this._convolver.buffer=this._buffer.get();}}),Object.defineProperty(s.default.Convolver.prototype,"normalize",{get:function get(){return this._convolver.normalize;},set:function set(t){this._convolver.normalize=t;}}),s.default.Convolver.prototype.load=function(t,e){return this._buffer.load(t,function(t){this.buffer=t,e&&e();}.bind(this));},s.default.Convolver.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._buffer.dispose(),this._buffer=null,this._convolver.disconnect(),this._convolver=null,this;},e.default=s.default.Convolver;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(7),i(5),i(13);s.default.Modulo=function(t){s.default.SignalBase.call(this),this.createInsOuts(1,0),this._shaper=new s.default.WaveShaper(Math.pow(2,16)),this._multiply=new s.default.Multiply(),this._subtract=this.output=new s.default.Subtract(),this._modSignal=new s.default.Signal(t),s.default.connect(this.input,this._shaper),s.default.connect(this.input,this._subtract),this._modSignal.connect(this._multiply,0,0),this._shaper.connect(this._multiply,0,1),this._multiply.connect(this._subtract,0,1),this._setWaveShaper(t);},s.default.extend(s.default.Modulo,s.default.SignalBase),s.default.Modulo.prototype._setWaveShaper=function(t){this._shaper.setMap(function(e){return Math.floor((e+1e-4)/t);});},Object.defineProperty(s.default.Modulo.prototype,"value",{get:function get(){return this._modSignal.value;},set:function set(t){this._modSignal.value=t,this._setWaveShaper(t);}}),s.default.Modulo.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._shaper.dispose(),this._shaper=null,this._multiply.dispose(),this._multiply=null,this._subtract.dispose(),this._subtract=null,this._modSignal.dispose(),this._modSignal=null,this;},e.default=s.default.Modulo;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(20),i(92);s.default.OfflineContext=function(t,e,i){var n=new OfflineAudioContext(t,e*i,i);s.default.Context.call(this,{context:n,clockSource:"offline",lookAhead:0,updateInterval:128/i}),this._duration=e,this._currentTime=0;},s.default.extend(s.default.OfflineContext,s.default.Context),s.default.OfflineContext.prototype.now=function(){return this._currentTime;},s.default.OfflineContext.prototype.resume=function(){return Promise.resolve();},s.default.OfflineContext.prototype.render=function(){for(;this._duration-this._currentTime>=0;){this.emit("tick"),this._currentTime+=0.005;}return this._context.startRendering();},s.default.OfflineContext.prototype.close=function(){return this._context=null,Promise.resolve();},e.default=s.default.OfflineContext;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(16),i(11),i(76),i(40);s.default.Offline=function(t,e){var i=s.default.context.sampleRate,n=s.default.context,o=new s.default.OfflineContext(2,e,i);s.default.context=o;var a=t(s.default.Transport),r=null;return r=a&&s.default.isFunction(a.then)?a.then(function(){return o.render();}):o.render(),s.default.context=n,r.then(function(t){return new s.default.Buffer(t);});},e.default=s.default.Offline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11);s.default.Buffers=function(t){var e=Array.prototype.slice.call(arguments);e.shift();var i=s.default.defaults(e,["onload","baseUrl"],s.default.Buffers);for(var n in s.default.call(this),this._buffers={},this.baseUrl=i.baseUrl,this._loadingCount=0,t){this._loadingCount++,this.add(n,t[n],this._bufferLoaded.bind(this,i.onload));}},s.default.extend(s.default.Buffers),s.default.Buffers.defaults={onload:s.default.noOp,baseUrl:""},s.default.Buffers.prototype.has=function(t){return this._buffers.hasOwnProperty(t);},s.default.Buffers.prototype.get=function(t){if(this.has(t))return this._buffers[t];throw new Error("Tone.Buffers: no buffer named "+t);},s.default.Buffers.prototype._bufferLoaded=function(t){this._loadingCount--,0===this._loadingCount&&t&&t(this);},Object.defineProperty(s.default.Buffers.prototype,"loaded",{get:function get(){var t=!0;for(var e in this._buffers){var i=this.get(e);t=t&&i.loaded;}return t;}}),s.default.Buffers.prototype.add=function(t,e,i){return i=s.default.defaultArg(i,s.default.noOp),babelHelpers.instanceof(e,s.default.Buffer)?(this._buffers[t]=e,i(this)):babelHelpers.instanceof(e,AudioBuffer)?(this._buffers[t]=new s.default.Buffer(e),i(this)):s.default.isString(e)&&(this._buffers[t]=new s.default.Buffer(this.baseUrl+e,i)),this;},s.default.Buffers.prototype.dispose=function(){for(var t in s.default.prototype.dispose.call(this),this._buffers){this._buffers[t].dispose();}return this._buffers=null,this;},e.default=s.default.Buffers;},function(t,e,i){"use strict";i.r(e);var s=i(0);s.default.CtrlPattern=function(){var t=s.default.defaults(arguments,["values","type"],s.default.CtrlPattern);s.default.call(this),this.values=t.values,this.index=0,this._type=null,this._shuffled=null,this._direction=null,this.type=t.type;},s.default.extend(s.default.CtrlPattern),s.default.CtrlPattern.Type={Up:"up",Down:"down",UpDown:"upDown",DownUp:"downUp",AlternateUp:"alternateUp",AlternateDown:"alternateDown",Random:"random",RandomWalk:"randomWalk",RandomOnce:"randomOnce"},s.default.CtrlPattern.defaults={type:s.default.CtrlPattern.Type.Up,values:[]},Object.defineProperty(s.default.CtrlPattern.prototype,"value",{get:function get(){if(0!==this.values.length){if(1===this.values.length)return this.values[0];this.index=Math.min(this.index,this.values.length-1);var t=this.values[this.index];return this.type===s.default.CtrlPattern.Type.RandomOnce&&(this.values.length!==this._shuffled.length&&this._shuffleValues(),t=this.values[this._shuffled[this.index]]),t;}}}),Object.defineProperty(s.default.CtrlPattern.prototype,"type",{get:function get(){return this._type;},set:function set(t){this._type=t,this._shuffled=null,this._type===s.default.CtrlPattern.Type.Up||this._type===s.default.CtrlPattern.Type.UpDown||this._type===s.default.CtrlPattern.Type.RandomOnce||this._type===s.default.CtrlPattern.Type.AlternateUp?this.index=0:this._type!==s.default.CtrlPattern.Type.Down&&this._type!==s.default.CtrlPattern.Type.DownUp&&this._type!==s.default.CtrlPattern.Type.AlternateDown||(this.index=this.values.length-1),this._type===s.default.CtrlPattern.Type.UpDown||this._type===s.default.CtrlPattern.Type.AlternateUp?this._direction=s.default.CtrlPattern.Type.Up:this._type!==s.default.CtrlPattern.Type.DownUp&&this._type!==s.default.CtrlPattern.Type.AlternateDown||(this._direction=s.default.CtrlPattern.Type.Down),this._type===s.default.CtrlPattern.Type.RandomOnce?this._shuffleValues():this._type===s.default.CtrlPattern.Type.Random&&(this.index=Math.floor(Math.random()*this.values.length));}}),s.default.CtrlPattern.prototype.next=function(){var t=this.type;return t===s.default.CtrlPattern.Type.Up?(this.index++,this.index>=this.values.length&&(this.index=0)):t===s.default.CtrlPattern.Type.Down?(this.index--,this.index<0&&(this.index=this.values.length-1)):t===s.default.CtrlPattern.Type.UpDown||t===s.default.CtrlPattern.Type.DownUp?(this._direction===s.default.CtrlPattern.Type.Up?this.index++:this.index--,this.index<0?(this.index=1,this._direction=s.default.CtrlPattern.Type.Up):this.index>=this.values.length&&(this.index=this.values.length-2,this._direction=s.default.CtrlPattern.Type.Down)):t===s.default.CtrlPattern.Type.Random?this.index=Math.floor(Math.random()*this.values.length):t===s.default.CtrlPattern.Type.RandomWalk?Math.random()<0.5?(this.index--,this.index=Math.max(this.index,0)):(this.index++,this.index=Math.min(this.index,this.values.length-1)):t===s.default.CtrlPattern.Type.RandomOnce?(this.index++,this.index>=this.values.length&&(this.index=0,this._shuffleValues())):t===s.default.CtrlPattern.Type.AlternateUp?(this._direction===s.default.CtrlPattern.Type.Up?(this.index+=2,this._direction=s.default.CtrlPattern.Type.Down):(this.index-=1,this._direction=s.default.CtrlPattern.Type.Up),this.index>=this.values.length&&(this.index=0,this._direction=s.default.CtrlPattern.Type.Up)):t===s.default.CtrlPattern.Type.AlternateDown&&(this._direction===s.default.CtrlPattern.Type.Up?(this.index+=1,this._direction=s.default.CtrlPattern.Type.Down):(this.index-=2,this._direction=s.default.CtrlPattern.Type.Up),this.index<0&&(this.index=this.values.length-1,this._direction=s.default.CtrlPattern.Type.Down)),this.value;},s.default.CtrlPattern.prototype._shuffleValues=function(){var t=[];this._shuffled=[];for(var e=0;e0;){var i=t.splice(Math.floor(t.length*Math.random()),1);this._shuffled.push(i[0]);}},s.default.CtrlPattern.prototype.dispose=function(){this._shuffled=null,this.values=null;},e.default=s.default.CtrlPattern;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(56),i(55);s.default.TransportRepeatEvent=function(t,e){s.default.TransportEvent.call(this,t,e),e=s.default.defaultArg(e,s.default.TransportRepeatEvent.defaults),this.duration=s.default.Ticks(e.duration),this._interval=s.default.Ticks(e.interval),this._currentId=-1,this._nextId=-1,this._nextTick=this.time,this._boundRestart=this._restart.bind(this),this.Transport.on("start loopStart",this._boundRestart),this._restart();},s.default.extend(s.default.TransportRepeatEvent,s.default.TransportEvent),s.default.TransportRepeatEvent.defaults={duration:1/0,interval:1},s.default.TransportRepeatEvent.prototype.invoke=function(t){this._createEvents(t),s.default.TransportEvent.prototype.invoke.call(this,t);},s.default.TransportRepeatEvent.prototype._createEvents=function(t){var e=this.Transport.getTicksAtTime(t);e>=this.time&&e>=this._nextTick&&this._nextTick+this._intervalthis.time&&(this._nextTick=this.time+Math.ceil((e-this.time)/this._interval)*this._interval),this._currentId=this.Transport.scheduleOnce(this.invoke.bind(this),s.default.Ticks(this._nextTick)),this._nextTick+=this._interval,this._nextId=this.Transport.scheduleOnce(this.invoke.bind(this),s.default.Ticks(this._nextTick));},s.default.TransportRepeatEvent.prototype.dispose=function(){return this.Transport.clear(this._currentId),this.Transport.clear(this._nextId),this.Transport.off("start loopStart",this._boundRestart),this._boundCreateEvents=null,s.default.TransportEvent.prototype.dispose.call(this),this.duration=null,this._interval=null,this;},e.default=s.default.TransportRepeatEvent;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(4);s.default.IntervalTimeline=function(){s.default.call(this),this._root=null,this._length=0;},s.default.extend(s.default.IntervalTimeline),s.default.IntervalTimeline.prototype.add=function(t){if(s.default.isUndef(t.time)||s.default.isUndef(t.duration))throw new Error("Tone.IntervalTimeline: events must have time and duration parameters");t.time=t.time.valueOf();var e=new n(t.time,t.time+t.duration,t);for(null===this._root?this._root=e:this._root.insert(e),this._length++;null!==e;){e.updateHeight(),e.updateMax(),this._rebalance(e),e=e.parent;}return this;},s.default.IntervalTimeline.prototype.remove=function(t){if(null!==this._root){var e=[];this._root.search(t.time,e);for(var i=0;i0){if(null===t.left.right)(e=t.left).right=t.right,i=e;else{for(e=t.left.right;null!==e.right;){e=e.right;}e.parent.right=e.left,i=e.parent,e.left=t.left,e.right=t.right;}}else if(null===t.right.left)(e=t.right).left=t.left,i=e;else{for(e=t.right.left;null!==e.left;){e=e.left;}e.parent.left=e.right,i=e.parent,e.left=t.left,e.right=t.right;}null!==t.parent?t.isLeftChild()?t.parent.left=e:t.parent.right=e:this._setRoot(e),this._rebalance(i);}t.dispose();},s.default.IntervalTimeline.prototype._rotateLeft=function(t){var e=t.parent,i=t.isLeftChild(),s=t.right;t.right=s.left,s.left=t,null!==e?i?e.left=s:e.right=s:this._setRoot(s);},s.default.IntervalTimeline.prototype._rotateRight=function(t){var e=t.parent,i=t.isLeftChild(),s=t.left;t.left=s.right,s.right=t,null!==e?i?e.left=s:e.right=s:this._setRoot(s);},s.default.IntervalTimeline.prototype._rebalance=function(t){var e=t.getBalance();e>1?t.left.getBalance()<0?this._rotateLeft(t.left):this._rotateRight(t):e<-1&&(t.right.getBalance()>0?this._rotateRight(t.right):this._rotateLeft(t));},s.default.IntervalTimeline.prototype.get=function(t){if(null!==this._root){var e=[];if(this._root.search(t,e),e.length>0){for(var i=e[0],s=1;si.low&&(i=e[s]);}return i.event;}}return null;},s.default.IntervalTimeline.prototype.forEach=function(t){if(null!==this._root){var e=[];this._root.traverse(function(t){e.push(t);});for(var i=0;i=0;s--){var n=i[s].event;n&&e(n);}}return this;},s.default.IntervalTimeline.prototype.forEachFrom=function(t,e){if(null!==this._root){var i=[];this._root.searchAfter(t,i);for(var s=i.length-1;s>=0;s--){e(i[s].event);}}return this;},s.default.IntervalTimeline.prototype.dispose=function(){var t=[];null!==this._root&&this._root.traverse(function(e){t.push(e);});for(var e=0;ethis.max||(null!==this.left&&this.left.search(t,e),this.low<=t&&this.high>t&&e.push(this),this.low>t||null!==this.right&&this.right.search(t,e));},n.prototype.searchAfter=function(t,e){this.low>=t&&(e.push(this),null!==this.left&&this.left.searchAfter(t,e)),null!==this.right&&this.right.searchAfter(t,e);},n.prototype.traverse=function(t){t(this),null!==this.left&&this.left.traverse(t),null!==this.right&&this.right.traverse(t);},n.prototype.updateHeight=function(){null!==this.left&&null!==this.right?this.height=Math.max(this.left.height,this.right.height)+1:null!==this.right?this.height=this.right.height+1:null!==this.left?this.height=this.left.height+1:this.height=0;},n.prototype.updateMax=function(){this.max=this.high,null!==this.left&&(this.max=Math.max(this.max,this.left.max)),null!==this.right&&(this.max=Math.max(this.max,this.right.max));},n.prototype.getBalance=function(){var t=0;return null!==this.left&&null!==this.right?t=this.left.height-this.right.height:null!==this.left?t=this.left.height+1:null!==this.right&&(t=-(this.right.height+1)),t;},n.prototype.isLeftChild=function(){return null!==this.parent&&this.parent.left===this;},Object.defineProperty(n.prototype,"left",{get:function get(){return this._left;},set:function set(t){this._left=t,null!==t&&(t.parent=this),this.updateHeight(),this.updateMax();}}),Object.defineProperty(n.prototype,"right",{get:function get(){return this._right;},set:function set(t){this._right=t,null!==t&&(t.parent=this),this.updateHeight(),this.updateMax();}}),n.prototype.dispose=function(){this.parent=null,this._left=null,this._right=null,this.event=null;},e.default=s.default.IntervalTimeline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2);function n(t){return function(e,i){i=this.toSeconds(i),t.apply(this,arguments);var s=this._events.get(i),n=this._events.previousEvent(s),o=this._getTicksUntilEvent(n,i);return s.ticks=Math.max(o,0),this;};}s.default.TickSignal=function(t){t=s.default.defaultArg(t,1),s.default.Signal.call(this,{units:s.default.Type.Ticks,value:t}),this._events.memory=1/0,this.cancelScheduledValues(0),this._events.add({type:s.default.Param.AutomationType.SetValue,time:0,value:t});},s.default.extend(s.default.TickSignal,s.default.Signal),s.default.TickSignal.prototype.setValueAtTime=n(s.default.Signal.prototype.setValueAtTime),s.default.TickSignal.prototype.linearRampToValueAtTime=n(s.default.Signal.prototype.linearRampToValueAtTime),s.default.TickSignal.prototype.setTargetAtTime=function(t,e,i){e=this.toSeconds(e),this.setRampPoint(e),t=this._fromUnits(t);for(var s=this._events.get(e),n=Math.round(Math.max(1/i,1)),o=0;o<=n;o++){var a=i*o+e,r=this._exponentialApproach(s.time,s.value,t,i,a);this.linearRampToValueAtTime(this._toUnits(r),a);}return this;},s.default.TickSignal.prototype.exponentialRampToValueAtTime=function(t,e){e=this.toSeconds(e),t=this._fromUnits(t);for(var i=this._events.get(e),s=Math.round(Math.max(10*(e-i.time),1)),n=(e-i.time)/s,o=0;o<=s;o++){var a=n*o+i.time,r=this._exponentialInterpolate(i.time,i.value,e,t,a);this.linearRampToValueAtTime(this._toUnits(r),a);}return this;},s.default.TickSignal.prototype._getTicksUntilEvent=function(t,e){if(null===t)t={ticks:0,time:0};else if(s.default.isUndef(t.ticks)){var i=this._events.previousEvent(t);t.ticks=this._getTicksUntilEvent(i,t.time);}var n=this.getValueAtTime(t.time),o=this.getValueAtTime(e);return this._events.get(e).time===e&&this._events.get(e).type===s.default.Param.AutomationType.SetValue&&(o=this.getValueAtTime(e-this.sampleTime)),0.5*(e-t.time)*(n+o)+t.ticks;},s.default.TickSignal.prototype.getTicksAtTime=function(t){t=this.toSeconds(t);var e=this._events.get(t);return Math.max(this._getTicksUntilEvent(e,t),0);},s.default.TickSignal.prototype.getDurationOfTicks=function(t,e){e=this.toSeconds(e);var i=this.getTicksAtTime(e);return this.getTimeOfTick(i+t)-e;},s.default.TickSignal.prototype.getTimeOfTick=function(t){var e=this._events.get(t,"ticks"),i=this._events.getAfter(t,"ticks");if(e&&e.ticks===t)return e.time;if(e&&i&&i.type===s.default.Param.AutomationType.Linear&&e.value!==i.value){var n=this.getValueAtTime(e.time),o=(this.getValueAtTime(i.time)-n)/(i.time-e.time),a=Math.sqrt(Math.pow(n,2)-2*o*(e.ticks-t)),r=(-n+a)/o;return(r>0?r:(-n-a)/o)+e.time;}return e?0===e.value?1/0:e.time+(t-e.ticks)/e.value:t/this._initialValue;},s.default.TickSignal.prototype.ticksToTime=function(t,e){return e=this.toSeconds(e),new s.default.Time(this.getDurationOfTicks(t,e));},s.default.TickSignal.prototype.timeToTicks=function(t,e){e=this.toSeconds(e),t=this.toSeconds(t);var i=this.getTicksAtTime(e),n=this.getTicksAtTime(e+t);return new s.default.Ticks(n-i);},e.default=s.default.TickSignal;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(57),i(34),i(35),i(20);s.default.Clock=function(){var t=s.default.defaults(arguments,["callback","frequency"],s.default.Clock);s.default.Emitter.call(this),this.callback=t.callback,this._nextTick=0,this._tickSource=new s.default.TickSource(t.frequency),this._lastUpdate=0,this.frequency=this._tickSource.frequency,this._readOnly("frequency"),this._state=new s.default.TimelineState(s.default.State.Stopped),this._state.setStateAtTime(s.default.State.Stopped,0),this._boundLoop=this._loop.bind(this),this.context.on("tick",this._boundLoop);},s.default.extend(s.default.Clock,s.default.Emitter),s.default.Clock.defaults={callback:s.default.noOp,frequency:1},Object.defineProperty(s.default.Clock.prototype,"state",{get:function get(){return this._state.getValueAtTime(this.now());}}),s.default.Clock.prototype.start=function(t,e){return this.context.resume(),t=this.toSeconds(t),this._state.getValueAtTime(t)!==s.default.State.Started&&(this._state.setStateAtTime(s.default.State.Started,t),this._tickSource.start(t,e),t0)i=e[0];else if(!i&&s.default.isDefined(t))throw new Error("Tone.UserMedia: no matching device: "+t);this._device=i;var n={audio:{echoCancellation:!1,sampleRate:this.context.sampleRate,noiseSuppression:!1,mozNoiseSuppression:!1}};return i&&(n.audio.deviceId=i.deviceId),navigator.mediaDevices.getUserMedia(n).then(function(t){return this._stream||(this._stream=t,this._mediaStream=this.context.createMediaStreamSource(t),s.default.connect(this._mediaStream,this.output)),this;}.bind(this));}.bind(this));},s.default.UserMedia.prototype.close=function(){return this._stream&&(this._stream.getAudioTracks().forEach(function(t){t.stop();}),this._stream=null,this._mediaStream.disconnect(),this._mediaStream=null),this._device=null,this;},s.default.UserMedia.enumerateDevices=function(){return navigator.mediaDevices.enumerateDevices().then(function(t){return t.filter(function(t){return"audioinput"===t.kind;});});},Object.defineProperty(s.default.UserMedia.prototype,"state",{get:function get(){return this._stream&&this._stream.active?s.default.State.Started:s.default.State.Stopped;}}),Object.defineProperty(s.default.UserMedia.prototype,"deviceId",{get:function get(){return this._device?this._device.deviceId:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"groupId",{get:function get(){return this._device?this._device.groupId:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"label",{get:function get(){return this._device?this._device.label:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"mute",{get:function get(){return this._volume.mute;},set:function set(t){this._volume.mute=t;}}),s.default.UserMedia.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.close(),this._writable("volume"),this._volume.dispose(),this._volume=null,this.volume=null,this;},Object.defineProperty(s.default.UserMedia,"supported",{get:function get(){return s.default.isDefined(navigator.mediaDevices)&&s.default.isFunction(navigator.mediaDevices.getUserMedia);}}),e.default=s.default.UserMedia;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(65),i(27),i(1);s.default.Players=function(t){var e=Array.prototype.slice.call(arguments);e.shift();var i=s.default.defaults(e,["onload"],s.default.Players);for(var n in s.default.AudioNode.call(this,i),this._volume=this.output=new s.default.Volume(i.volume),this.volume=this._volume.volume,this._readOnly("volume"),this._volume.output.output.channelCount=2,this._volume.output.output.channelCountMode="explicit",this.mute=i.mute,this._players={},this._loadingCount=0,this._fadeIn=i.fadeIn,this._fadeOut=i.fadeOut,t){this._loadingCount++,this.add(n,t[n],this._bufferLoaded.bind(this,i.onload));}},s.default.extend(s.default.Players,s.default.AudioNode),s.default.Players.defaults={volume:0,mute:!1,onload:s.default.noOp,fadeIn:0,fadeOut:0},s.default.Players.prototype._bufferLoaded=function(t){this._loadingCount--,0===this._loadingCount&&t&&t(this);},Object.defineProperty(s.default.Players.prototype,"mute",{get:function get(){return this._volume.mute;},set:function set(t){this._volume.mute=t;}}),Object.defineProperty(s.default.Players.prototype,"fadeIn",{get:function get(){return this._fadeIn;},set:function set(t){this._fadeIn=t,this._forEach(function(e){e.fadeIn=t;});}}),Object.defineProperty(s.default.Players.prototype,"fadeOut",{get:function get(){return this._fadeOut;},set:function set(t){this._fadeOut=t,this._forEach(function(e){e.fadeOut=t;});}}),Object.defineProperty(s.default.Players.prototype,"state",{get:function get(){var t=!1;return this._forEach(function(e){t=t||e.state===s.default.State.Started;}),t?s.default.State.Started:s.default.State.Stopped;}}),s.default.Players.prototype.has=function(t){return this._players.hasOwnProperty(t);},s.default.Players.prototype.get=function(t){if(this.has(t))return this._players[t];throw new Error("Tone.Players: no player named "+t);},s.default.Players.prototype._forEach=function(t){for(var e in this._players){t(this._players[e],e);}return this;},Object.defineProperty(s.default.Players.prototype,"loaded",{get:function get(){var t=!0;return this._forEach(function(e){t=t&&e.loaded;}),t;}}),s.default.Players.prototype.add=function(t,e,i){return this._players[t]=new s.default.Player(e,i).connect(this.output),this._players[t].fadeIn=this._fadeIn,this._players[t].fadeOut=this._fadeOut,this;},s.default.Players.prototype.stopAll=function(t){this._forEach(function(e){e.stop(t);});},s.default.Players.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this._volume.dispose(),this._volume=null,this._writable("volume"),this.volume=null,this.output=null,this._forEach(function(t){t.dispose();}),this._players=null,this;},e.default=s.default.Players;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(6),i(11),i(32);s.default.GrainPlayer=function(){var t=s.default.defaults(arguments,["url","onload"],s.default.GrainPlayer);s.default.Source.call(this,t),this.buffer=new s.default.Buffer(t.url,t.onload.bind(void 0,this)),this._clock=new s.default.Clock(this._tick.bind(this),t.grainSize),this._loopStart=0,this._loopEnd=0,this._activeSources=[],this._playbackRate=t.playbackRate,this._grainSize=t.grainSize,this._overlap=t.overlap,this.detune=t.detune,this.overlap=t.overlap,this.loop=t.loop,this.playbackRate=t.playbackRate,this.grainSize=t.grainSize,this.loopStart=t.loopStart,this.loopEnd=t.loopEnd,this.reverse=t.reverse,this._clock.on("stop",this._onstop.bind(this));},s.default.extend(s.default.GrainPlayer,s.default.Source),s.default.GrainPlayer.defaults={onload:s.default.noOp,overlap:0.1,grainSize:0.2,playbackRate:1,detune:0,loop:!1,loopStart:0,loopEnd:0,reverse:!1},s.default.GrainPlayer.prototype._start=function(t,e,i){e=s.default.defaultArg(e,0),e=this.toSeconds(e),t=this.toSeconds(t),this._offset=e,this._clock.start(t),i&&this.stop(t+this.toSeconds(i));},s.default.GrainPlayer.prototype._stop=function(t){this._clock.stop(t);},s.default.GrainPlayer.prototype._onstop=function(t){this._activeSources.forEach(function(e){e.fadeOut=0,e.stop(t);});},s.default.GrainPlayer.prototype._tick=function(t){if(!this.loop&&this._offset>this.buffer.duration)this.stop(t);else{var e=this._offset0,"polyphony must be greater than 0"),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._readOnly("detune");for(var e=0;e1e-5)return i;});return i||this.voices.slice().sort(function(e,i){var s=e.getLevelAtTime(t+this.blockTime),n=i.getLevelAtTime(t+this.blockTime);return s<1e-5&&(s=0),n<1e-5&&(n=0),s-n;}.bind(this))[0];},s.default.PolySynth.prototype.triggerAttack=function(t,e,i){return Array.isArray(t)||(t=[t]),e=this.toSeconds(e),t.forEach(function(t){var s=this._getClosestVoice(e,t);s.triggerAttack(t,e,i),this.log("triggerAttack",s.index,t);}.bind(this)),this;},s.default.PolySynth.prototype.triggerRelease=function(t,e){return Array.isArray(t)||(t=[t]),e=this.toSeconds(e),t.forEach(function(t){var i=this._getClosestVoice(e,t);this.log("triggerRelease",i.index,t),i.triggerRelease(e);}.bind(this)),this;},s.default.PolySynth.prototype.triggerAttackRelease=function(t,e,i,n){if(i=this.toSeconds(i),this.triggerAttack(t,i,n),s.default.isArray(e)&&s.default.isArray(t))for(var o=0;o0&&requestAnimationFrame(this._boundDrawLoop);},s.default.Draw=new s.default.Draw(),e.default=s.default.Draw;},function(t,e,i){"use strict";i.r(e);var s=i(0),n=(i(3),{});s.default.prototype.send=function(t,e){n.hasOwnProperty(t)||(n[t]=this.context.createGain()),e=s.default.defaultArg(e,0);var i=new s.default.Gain(e,s.default.Type.Decibels);return this.connect(i),i.connect(n[t]),i;},s.default.prototype.receive=function(t,e){return n.hasOwnProperty(t)||(n[t]=this.context.createGain()),s.default.connect(n[t],this,0,e),this;},s.default.Context.on("init",function(t){t.buses?n=t.buses:(n={},t.buses=n);}),e.default=s.default;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(4);s.default.CtrlRandom=function(){var t=s.default.defaults(arguments,["min","max"],s.default.CtrlRandom);s.default.call(this),this.min=t.min,this.max=t.max,this.integer=t.integer;},s.default.extend(s.default.CtrlRandom),s.default.CtrlRandom.defaults={min:0,max:1,integer:!1},Object.defineProperty(s.default.CtrlRandom.prototype,"value",{get:function get(){var t=this.toSeconds(this.min),e=this.toSeconds(this.max),i=Math.random(),s=i*t+(1-i)*e;return this.integer&&(s=Math.floor(s)),s;}}),e.default=s.default.CtrlRandom;},function(t,e,i){"use strict";i.r(e);var s=i(0);s.default.CtrlMarkov=function(t,e){s.default.call(this),this.values=s.default.defaultArg(t,{}),this.value=s.default.defaultArg(e,Object.keys(this.values)[0]);},s.default.extend(s.default.CtrlMarkov),s.default.CtrlMarkov.prototype.next=function(){if(this.values.hasOwnProperty(this.value)){var t=this.values[this.value];if(s.default.isArray(t))for(var e=this._getProbDistribution(t),i=Math.random(),n=0,o=0;on&&i1&&arguments[1]!==undefined?arguments[1]:"Magenta.js";var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:10;if(0===n)throw Error("Logging level cannot be NONE.");if(o>=n){(5===n?console.warn:console.log)("%c ".concat(e," "),"background:magenta; color:white",t);}}function a(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"Magenta.js";var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:10;s("".concat(t," in ").concat(((i.d.now()-e)/1e3).toPrecision(3),"s"),n,r);}},,function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i;}),n.d(e,"d",function(){return o;}),n.d(e,"c",function(){return s;}),n.d(e,"b",function(){return u;});var r=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("cannot find the global object");}(),i=r.fetch.bind(r),o=r.performance,s=(r.navigator,!!r.webkitOfflineAudioContext),a=void 0!==r.WorkerGlobalScope;function u(t){if(t=s?44100:t,a)throw new Error("Cannot use offline audio context in a web worker.");var e=r.webkitOfflineAudioContext;return s?new e(1,t,t):new r.OfflineAudioContext(1,t,t);}}).call(this,n(9));},function(t,e,n){"use strict";n.r(e),n.d(e,"MultipleTimeSignatureException",function(){return o;}),n.d(e,"BadTimeSignatureException",function(){return s;}),n.d(e,"NegativeTimeException",function(){return a;}),n.d(e,"MultipleTempoException",function(){return u;}),n.d(e,"QuantizationStatusException",function(){return c;}),n.d(e,"clone",function(){return l;}),n.d(e,"stepsPerQuarterToStepsPerSecond",function(){return h;}),n.d(e,"quantizeToStep",function(){return p;}),n.d(e,"quantizeNoteSequence",function(){return d;}),n.d(e,"isQuantizedSequence",function(){return g;}),n.d(e,"assertIsQuantizedSequence",function(){return S;}),n.d(e,"isRelativeQuantizedSequence",function(){return y;}),n.d(e,"assertIsRelativeQuantizedSequence",function(){return b;}),n.d(e,"isAbsoluteQuantizedSequence",function(){return w;}),n.d(e,"assertIsAbsoluteQuantizedSequence",function(){return P;}),n.d(e,"unquantizeSequence",function(){return v;}),n.d(e,"createQuantizedNoteSequence",function(){return N;}),n.d(e,"mergeInstruments",function(){return T;}),n.d(e,"replaceInstruments",function(){return O;}),n.d(e,"mergeConsecutiveNotes",function(){return I;}),n.d(e,"concatenate",function(){return M;}),n.d(e,"trim",function(){return A;}),n.d(e,"split",function(){return E;});var r=n(2),i=n(1);var o=/*#__PURE__*/function(_Error){babelHelpers.inherits(o,_Error);var _super=_createSuper(o);function o(t){var _this;babelHelpers.classCallCheck(this,o);_this=_super.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this),new.target.prototype);return _this;}return babelHelpers.createClass(o);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var s=/*#__PURE__*/function(_Error2){babelHelpers.inherits(s,_Error2);var _super2=_createSuper(s);function s(t){var _this2;babelHelpers.classCallCheck(this,s);_this2=_super2.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this2),new.target.prototype);return _this2;}return babelHelpers.createClass(s);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var a=/*#__PURE__*/function(_Error3){babelHelpers.inherits(a,_Error3);var _super3=_createSuper(a);function a(t){var _this3;babelHelpers.classCallCheck(this,a);_this3=_super3.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this3),new.target.prototype);return _this3;}return babelHelpers.createClass(a);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var u=/*#__PURE__*/function(_Error4){babelHelpers.inherits(u,_Error4);var _super4=_createSuper(u);function u(t){var _this4;babelHelpers.classCallCheck(this,u);_this4=_super4.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this4),new.target.prototype);return _this4;}return babelHelpers.createClass(u);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var c=/*#__PURE__*/function(_Error5){babelHelpers.inherits(c,_Error5);var _super5=_createSuper(c);function c(t){var _this5;babelHelpers.classCallCheck(this,c);_this5=_super5.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this5),new.target.prototype);return _this5;}return babelHelpers.createClass(c);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));function l(t){return r.a.decode(r.a.encode(t).finish());}function h(t,e){return t*e/60;}function p(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0.5;var r=t*e;return Math.floor(r+(1-n));}function f(t){return t.controlChanges.concat(t.textAnnotations);}function m(t){if(t.tempos&&0!==t.tempos.length){if(t.tempos.sort(function(t,e){return t.time-e.time;}),0!==t.tempos[0].time&&t.tempos[0].qpm!==i.DEFAULT_QUARTERS_PER_MINUTE)throw new u("NoteSequence has an implicit tempo change from initial "+i.DEFAULT_QUARTERS_PER_MINUTE+" qpm to "+"".concat(t.tempos[0].qpm," qpm at ").concat(t.tempos[0].time," seconds."));for(var _e=1;_e0){if(n.timeSignatures.sort(function(t,e){return t.time-e.time;}),0!==n.timeSignatures[0].time&&(4!==n.timeSignatures[0].numerator||4!==n.timeSignatures[0].denominator))throw new o("NoteSequence has an implicit change from initial 4/4 time signature to ".concat(n.timeSignatures[0].numerator,"/")+n.timeSignatures[0].denominator+" at "+n.timeSignatures[0].time+" seconds.");for(var _t=1;_t0)m(n),n.tempos[0].time=0,n.tempos=[n.tempos[0]];else{var _t3=r.a.Tempo.create({qpm:i.DEFAULT_QUARTERS_PER_MINUTE,time:0});n.tempos.push(_t3);}var d=h(e,n.tempos[0].qpm);return n.totalQuantizedSteps=p(t.totalTime,d),function(t,e){var _iterator=_createForOfIteratorHelper(t.notes),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _n=_step.value;if(_n.quantizedStartStep=p(_n.startTime,e),_n.quantizedEndStep=p(_n.endTime,e),_n.quantizedEndStep===_n.quantizedStartStep&&(_n.quantizedEndStep+=1),_n.quantizedStartStep<0||_n.quantizedEndStep<0)throw new a("Got negative note time: start_step = "+_n.quantizedStartStep+", end_step = "+_n.quantizedEndStep);_n.quantizedEndStep>t.totalQuantizedSteps&&(t.totalQuantizedSteps=_n.quantizedEndStep);}}catch(err){_iterator.e(err);}finally{_iterator.f();}f(t).forEach(function(t){if(t.quantizedStep=p(t.time,e),t.quantizedStep<0)throw new a("Got negative event time: step = "+t.quantizedStep);});}(n,d),n;}function g(t){return t.quantizationInfo&&(t.quantizationInfo.stepsPerQuarter>0||t.quantizationInfo.stepsPerSecond>0);}function S(t){if(!g(t))throw new c("NoteSequence ".concat(t.id," is not quantized (missing quantizationInfo)"));}function y(t){return t.quantizationInfo&&t.quantizationInfo.stepsPerQuarter>0;}function b(t){if(!y(t))throw new c("NoteSequence ".concat(t.id," is not quantized or is quantized based on absolute timing"));}function w(t){return t.quantizationInfo&&t.quantizationInfo.stepsPerSecond>0;}function P(t){if(!w(t))throw new c("NoteSequence ".concat(t.id," is not quantized or is quantized based on relative timing"));}function v(t,e){b(t),m(t);var n=l(t);e?n.tempos&&n.tempos.length>0?n.tempos[0].qpm=e:n.tempos.push(r.a.Tempo.create({time:0,qpm:e})):e=t.tempos&&t.tempos.length>0?n.tempos[0].qpm:i.DEFAULT_QUARTERS_PER_MINUTE;var o=function o(t){return t/n.quantizationInfo.stepsPerQuarter*(60/e);};return n.totalTime=o(n.totalQuantizedSteps),n.notes.forEach(function(t){t.startTime=o(t.quantizedStartStep),t.endTime=o(t.quantizedEndStep),n.totalTime=Math.max(n.totalTime,t.endTime),delete t.quantizedStartStep,delete t.quantizedEndStep;}),f(n).forEach(function(t){t.time=o(t.time);}),delete n.totalQuantizedSteps,delete n.quantizationInfo,n;}function N(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:i.DEFAULT_STEPS_PER_QUARTER;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:i.DEFAULT_QUARTERS_PER_MINUTE;return r.a.create({quantizationInfo:{stepsPerQuarter:t},tempos:[{qpm:e}]});}function T(t){var e=l(t),n=e.notes.concat(e.pitchBends).concat(e.controlChanges),r=Array.from(new Set(n.filter(function(t){return!t.isDrum;}).map(function(t){return t.program;})));return n.forEach(function(t){t.isDrum?(t.program=0,t.instrument=r.length):t.instrument=r.indexOf(t.program);}),e;}function O(t,e){var n=new Set(t.notes.map(function(t){return t.instrument;})),i=new Set(e.notes.map(function(t){return t.instrument;})),o=[];t.notes.forEach(function(t){i.has(t.instrument)||o.push(r.a.Note.create(t));}),e.notes.forEach(function(t){n.has(t.instrument)&&o.push(r.a.Note.create(t));});var s=l(t);return s.notes=o.sort(function(t,e){var n=t.instrument-e.instrument;return n||t.quantizedStartStep-e.quantizedStartStep;}),s;}function I(t){S(t);var e=l(t);e.notes=[];var n=t.notes.sort(function(t,e){var n=t.instrument-e.instrument;return n||t.quantizedStartStep-e.quantizedStartStep;}),i=new r.a.Note();i.pitch=n[0].pitch,i.instrument=n[0].instrument,i.quantizedStartStep=n[0].quantizedStartStep,i.quantizedEndStep=n[0].quantizedEndStep,e.notes.push(i);var o=0;for(var _t4=1;_t4=e&&t[i]<=n&&(s||t[o]<=n);}),a[r]-=e;for(var _t5=0;_t5e||_u2.quantizedStartStep>e)&&(_t6-=1),0!==a.length){var _t8=l(n);_t8.notes=a,_t8.totalQuantizedSteps=e,o.push(_t8);}a=[],s+=e;}}if(0!==a.length){var _t9=l(n);_t9.notes=a,_t9.totalQuantizedSteps=e,o.push(_t9);}return o;}},function(t,e,n){"use strict";(function(t){var r=e;function i(t,e,n){for(var r=Object.keys(e),i=0;i0);},r.Buffer=function(){try{var t=r.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null;}catch(t){return null;}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(t){return"number"==typeof t?r.Buffer?r._Buffer_allocUnsafe(t):new r.Array(t):r.Buffer?r._Buffer_from(t):"undefined"==typeof Uint8Array?t:new Uint8Array(t);},r.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(t){return t?r.LongBits.from(t).toHash():r.LongBits.zeroHash;},r.longFromHash=function(t,e){var n=r.LongBits.fromHash(t);return r.Long?r.Long.fromBits(n.lo,n.hi,e):n.toNumber(Boolean(e));},r.merge=i,r.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1);},r.newError=o,r.ProtocolError=o("ProtocolError"),r.oneOfGetter=function(t){for(var e={},n=0;n-1;--n){if(1===e[t[n]]&&void 0!==this[t[n]]&&null!==this[t[n]])return t[n];}};},r.oneOfSetter=function(t){return function(e){for(var n=0;n3&&arguments[3]!==undefined?arguments[3]:!0;var i=arguments.length>4?arguments[4]:undefined;o.assertIsQuantizedSequence(t);var s=t.notes.sort(function(t,e){return t.quantizedStartStep===e.quantizedStartStep?e.pitch-t.pitch:t.quantizedStartStep-e.quantizedStartStep;}),c=new Int32Array(i||t.totalQuantizedSteps);var l=-1;return s.forEach(function(t){if(t.quantizedStartStep===l){if(r)return;throw new Error("`NoteSequence` is not monophonic.");}if(t.pitchn)throw Error("`NoteSequence` has a pitch outside of the valid range: "+t.pitch);c[t.quantizedStartStep]=t.pitch-e+2,c[t.quantizedEndStep]=a,l=t.quantizedStartStep;}),new u(c,e,n);}}]);return u;}();var c=/*#__PURE__*/function(){function c(){babelHelpers.classCallCheck(this,c);this.depth=1;}babelHelpers.createClass(c,[{key:"extract",value:function extract(t){var e=t.events.length,n=r.buffer([e,1]);for(var _r=0;_r=2?1:0,_r,0);}return n.toTensor().as2D(e,1);}}]);return c;}();var l=/*#__PURE__*/function(){function l(){babelHelpers.classCallCheck(this,l);this.depth=3;}babelHelpers.createClass(l,[{key:"extract",value:function extract(t){var e=t.events.length,n=r.buffer([e,3]);var i=null,o=null;for(var _r2=0;_r2=2){if(null!==i){var _e5=void 0;0===n.get(i,0)&&0===n.get(i,1)&&0===n.get(i,2)&&(i=-1),_e5=t.events[_r2]o?2:1;for(var _t11=_r2;_t11>i;--_t11){n.set(1,_t11,_e5);}}i=_r2,o=t.events[_r2];}}if(i!==e-1)if(null===i||0===n.get(i,0)&&0===n.get(i,1)&&0===n.get(i,2))for(var _t12=0;_t12i;--_t13){for(var _e6=0;_e6<3;_e6++){n.set(n.get(i,_e6),_t13,_e6);}}return n.toTensor().as2D(e,3);}}]);return l;}();var h=/*#__PURE__*/function(){function h(t){babelHelpers.classCallCheck(this,h);this.boundaryPitches=t,this.depth=t.length+1;}babelHelpers.createClass(h,[{key:"meanMelodyPitch",value:function meanMelodyPitch(t){var e=0,n=0,r=null;for(var _i3=0;_i3=2&&(r=t.minPitch+t.events[_i3]-2),null!==r&&(e+=r,n+=1);}return n?e/n:null;}},{key:"extract",value:function extract(t){var e=t.events.length,n=this.meanMelodyPitch(t);if(null===n)return r.zeros([e,this.depth]);var i=0;for(;i=this.boundaryPitches[i];){i++;}var o=r.buffer([e,this.depth]);for(var _t14=0;_t14>_e7&1&&r.notes.push(i.a.Note.create({pitch:this.pitchClasses[_e7][0],quantizedStartStep:_t17,quantizedEndStep:_t17+1,isDrum:!0}));}}return _context.abrupt("return",(r.totalQuantizedSteps=s.length,r));case 8:case"end":return _context.stop();}}},_callee,this);}));function toNoteSequence(_x,_x2,_x3){return _toNoteSequence.apply(this,arguments);}return toNoteSequence;}()}]);return f;}(p);var m=/*#__PURE__*/function(_f){babelHelpers.inherits(m,_f);var _super7=_createSuper(m);function m(){babelHelpers.classCallCheck(this,m);return _super7.apply(this,arguments);}babelHelpers.createClass(m,[{key:"toNoteSequence",value:function(){var _toNoteSequence2=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee2(t,e,n){var r,o,_e8,_t18,_n2;return regeneratorRuntime.wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:r=c.createQuantizedNoteSequence(e,n);_context2.next=3;return t.data();case 3:o=_context2.sent;for(_e8=0;_e8this.maxPitch&&(u=this.maxPitch,s.log("Pitch range exceeded when creating NoteSequence from shape.","MelodyShapeConverter"));case 15:r.notes.push(i.a.Note.create({pitch:u,quantizedStartStep:_t20,quantizedEndStep:_t20+1}));case 16:++_t20;_context5.next=8;break;case 19:return _context5.abrupt("return",(r.totalQuantizedSteps=a.length,r));case 20:case"end":return _context5.stop();}}},_callee5,this);}));function toNoteSequence(_x13,_x14,_x15){return _toNoteSequence5.apply(this,arguments);}return toNoteSequence;}()}]);return b;}(S);var w=/*#__PURE__*/function(_p4){babelHelpers.inherits(w,_p4);var _super13=_createSuper(w);function w(t){var _this13;babelHelpers.classCallCheck(this,w);_this13=_super13.call(this,t),_this13.NUM_SPLITS=3,_this13.MEL_PROG_RANGE=[0,31],_this13.BASS_PROG_RANGE=[32,39],t.melArgs.numSteps=t.numSteps,t.bassArgs.numSteps=t.numSteps,t.drumsArgs.numSteps=t.numSteps,_this13.melConverter=new g(t.melArgs),_this13.bassConverter=new g(t.bassArgs),_this13.drumsConverter=new d(t.drumsArgs),_this13.depth=_this13.melConverter.depth+_this13.bassConverter.depth+_this13.drumsConverter.depth;return _this13;}babelHelpers.createClass(w,[{key:"toTensor",value:function toTensor(t){var _this14=this;c.assertIsQuantizedSequence(t);var e=c.clone(t),n=c.clone(t),i=c.clone(t);return e.notes=t.notes.filter(function(t){return!t.isDrum&&t.program>=_this14.MEL_PROG_RANGE[0]&&t.program<=_this14.MEL_PROG_RANGE[1];}),n.notes=t.notes.filter(function(t){return!t.isDrum&&t.program>=_this14.BASS_PROG_RANGE[0]&&t.program<=_this14.BASS_PROG_RANGE[1];}),i.notes=t.notes.filter(function(t){return t.isDrum;}),r.tidy(function(){return r.concat([_this14.melConverter.toTensor(e),_this14.bassConverter.toTensor(n),_this14.drumsConverter.toTensor(i)],-1);});}},{key:"toNoteSequence",value:function(){var _toNoteSequence6=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee6(t,e,n){var _o$notes,_this15=this,_o$notes2;var i,o,s,a;return regeneratorRuntime.wrap(function _callee6$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:i=r.split(t,[this.melConverter.depth,this.bassConverter.depth,this.drumsConverter.depth],-1);_context6.next=3;return this.melConverter.toNoteSequence(i[0],e,n);case 3:o=_context6.sent;o.notes.forEach(function(t){t.instrument=0,t.program=0;});_context6.next=7;return this.bassConverter.toNoteSequence(i[1],e,n);case 7:s=_context6.sent;(_o$notes=o.notes).push.apply(_o$notes,babelHelpers.toConsumableArray(s.notes.map(function(t){return t.instrument=1,t.program=_this15.BASS_PROG_RANGE[0],t;})));_context6.next=11;return this.drumsConverter.toNoteSequence(i[2],e,n);case 11:a=_context6.sent;return _context6.abrupt("return",((_o$notes2=o.notes).push.apply(_o$notes2,babelHelpers.toConsumableArray(a.notes.map(function(t){return t.instrument=2,t;}))),i.forEach(function(t){return t.dispose();}),o));case 13:case"end":return _context6.stop();}}},_callee6,this);}));function toNoteSequence(_x16,_x17,_x18){return _toNoteSequence6.apply(this,arguments);}return toNoteSequence;}()}]);return w;}(p);var P=/*#__PURE__*/function(_p5){babelHelpers.inherits(P,_p5);var _super14=_createSuper(P);function P(t){var _this16;babelHelpers.classCallCheck(this,P);_this16=_super14.call(this,t),_this16.SEGMENTED_BY_TRACK=!0,_this16.stepsPerQuarter=t.stepsPerQuarter,_this16.totalSteps=t.totalSteps,_this16.numVelocityBins=t.numVelocityBins,_this16.minPitch=t.minPitch?t.minPitch:o.MIN_MIDI_PITCH,_this16.maxPitch=t.maxPitch?t.maxPitch:o.MAX_MIDI_PITCH,_this16.numPitches=_this16.maxPitch-_this16.minPitch+1,_this16.performanceEventDepth=2*_this16.numPitches+_this16.totalSteps+_this16.numVelocityBins,_this16.numPrograms=o.MAX_MIDI_PROGRAM-o.MIN_MIDI_PROGRAM+2,_this16.endToken=_this16.performanceEventDepth+_this16.numPrograms,_this16.depth=_this16.endToken+1,_this16.endTensor=r.tidy(function(){return r.oneHot(r.tensor1d([_this16.endToken],"int32"),_this16.depth).as1D();});return _this16;}babelHelpers.createClass(P,[{key:"trackToTensor",value:function trackToTensor(t){var _this17=this;var e=this.numSteps/this.numSegments;var n=void 0;if(t){for(;t.events.length>e-2;){t.events.pop();}n=r.buffer([t.events.length+2],"int32"),n.set(this.performanceEventDepth+(t.isDrum?this.numPrograms-1:t.program),0),t.events.forEach(function(t,e){switch(t.type){case"note-on":n.set(t.pitch-_this17.minPitch,e+1);break;case"note-off":n.set(_this17.numPitches+t.pitch-_this17.minPitch,e+1);break;case"time-shift":n.set(2*_this17.numPitches+t.steps-1,e+1);break;case"velocity-change":n.set(2*_this17.numPitches+_this17.totalSteps+t.velocityBin-1,e+1);break;default:throw new Error("Unrecognized performance event: "+t);}}),n.set(this.endToken,t.events.length+1);}else n=r.buffer([1],"int32",new Int32Array([this.endToken]));return r.tidy(function(){var t=r.oneHot(n.toTensor(),_this17.depth);return t.pad([[0,e-t.shape[0]],[0,0]]);});}},{key:"toTensor",value:function toTensor(t){var _this18=this;if(c.assertIsRelativeQuantizedSequence(t),t.quantizationInfo.stepsPerQuarter!==this.stepsPerQuarter)throw new Error("Steps per quarter note mismatch: ".concat(t.quantizationInfo.stepsPerQuarter," != ").concat(this.stepsPerQuarter));var e=c.clone(t);e.notes=t.notes.filter(function(t){return t.pitch>=_this18.minPitch&&t.pitch<=_this18.maxPitch;});var n=new Set(e.notes.map(function(t){return t.instrument;})),i=Array.from(n).map(function(t){return u.Performance.fromNoteSequence(e,_this18.totalSteps,_this18.numVelocityBins,t);}).sort(function(t,e){return e.isDrum?-1:t.isDrum?1:t.program-e.program;});for(;i.length>this.numSegments;){i.pop();}for(i.forEach(function(t){return t.setNumSteps(_this18.totalSteps);});i.length=0?e:t.length,r=t.slice(0,n),i=r.filter(function(t){return t<_this19.performanceEventDepth;}),o=r.filter(function(t){return t>=_this19.performanceEventDepth;}),_ref=o.length?o[0]-this.performanceEventDepth1&&_args8[1]!==undefined?_args8[1]:this.stepsPerQuarter;n=_args8.length>2?_args8[2]:undefined;i=c.createQuantizedNoteSequence(e,n);i.totalQuantizedSteps=this.totalSteps;o=r.tidy(function(){return r.split(t.argMax(1),_this20.numSegments);});_context8.next=7;return Promise.all(o.map(/*#__PURE__*/function(){var _ref3=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee7(t){var e,n;return regeneratorRuntime.wrap(function _callee7$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.next=2;return t.data();case 2:e=_context7.sent;n=_this20.tokensToTrack(e);return _context7.abrupt("return",(t.dispose(),n));case 5:case"end":return _context7.stop();}}},_callee7);}));return function(_x20){return _ref3.apply(this,arguments);};}()));case 7:_context8.sent.forEach(function(t,e){var _i$notes;t.setNumSteps(_this20.totalSteps),(_i$notes=i.notes).push.apply(_i$notes,babelHelpers.toConsumableArray(t.toNoteSequence(e).notes));});return _context8.abrupt("return",i);case 9:case"end":return _context8.stop();}}},_callee8,this);}));function toNoteSequence(_x19){return _toNoteSequence7.apply(this,arguments);}return toNoteSequence;}()}]);return P;}(p);var v=/*#__PURE__*/function(_p6){babelHelpers.inherits(v,_p6);var _super15=_createSuper(v);function v(t){var _this21;babelHelpers.classCallCheck(this,v);_this21=_super15.call(this,t),_this21.TAPIFY_CHANNEL=3,_this21.stepsPerQuarter=t.stepsPerQuarter||o.DEFAULT_STEPS_PER_QUARTER,_this21.pitchClasses=t.pitchClasses||l,_this21.pitchToClass=new Map();var _loop2=function _loop2(_t21){_this21.pitchClasses[_t21].forEach(function(e){_this21.pitchToClass.set(e,_t21);});};for(var _t21=0;_t21<_this21.pitchClasses.length;++_t21){_loop2(_t21);}_this21.humanize=t.humanize||!1,_this21.tapify=t.tapify||!1,_this21.splitInstruments=t.splitInstruments||!1,_this21.depth=3;return _this21;}babelHelpers.createClass(v,[{key:"toTensor",value:function toTensor(t){var _this22=this;var e=c.isRelativeQuantizedSequence(t)?t:c.quantizeNoteSequence(t,this.stepsPerQuarter),n=this.numSteps,i=e.tempos&&e.tempos.length?e.tempos[0].qpm:o.DEFAULT_QUARTERS_PER_MINUTE,s=60/i/this.stepsPerQuarter,a=[];for(var _t22=0;_t22=a.length)throw Error("Model does not support sequences with more than ".concat(n," steps (").concat(n*s," seconds at qpm ").concat(i,")."));var r=_this22.tapify?_this22.TAPIFY_CHANNEL:_this22.pitchToClass.get(t.pitch);(!a[e].has(r)||a[e].get(r).velocity2&&_args9[2]!==undefined?_args9[2]:o.DEFAULT_QUARTERS_PER_MINUTE;if(!(e&&e!==this.stepsPerQuarter)){_context9.next=4;break;}throw Error("`stepsPerQuarter` is set by the model.");case 4:e=this.stepsPerQuarter;r=this.splitInstruments?t.shape[0]/this.pitchClasses.length:t.shape[0];s=60/n/this.stepsPerQuarter;a=i.a.create({totalTime:r*s,tempos:[{qpm:n}]});_context9.next=10;return t.data();case 10:u=_context9.sent;l=this.pitchClasses.length;for(_t24=0;_t240.5){_e12=c(Math.round(_u3*o.MAX_MIDI_VELOCITY),o.MIN_MIDI_VELOCITY,o.MAX_MIDI_VELOCITY),_r5=c(_h2/2,-0.5,0.5);a.notes.push(i.a.Note.create({pitch:this.pitchClasses[_n4][0],startTime:(_t24-_r5)*s,endTime:(_t24-_r5+1)*s,velocity:_e12,isDrum:!0}));}}}return _context9.abrupt("return",a);case 14:case"end":return _context9.stop();}}},_callee9,this);}));function toNoteSequence(_x21,_x22){return _toNoteSequence8.apply(this,arguments);}return toNoteSequence;}()}]);return v;}(p);},function(t,e,n){"use strict";n.r(e),n.d(e,"Performance",function(){return a;});var r=n(2),i=n(1),o=n(7),s=n(4);var a=/*#__PURE__*/function(){function a(t,e,n,r,i){babelHelpers.classCallCheck(this,a);this.events=t,this.maxShiftSteps=e,this.numVelocityBins=n,this.program=r,this.isDrum=i;}babelHelpers.createClass(a,[{key:"getNumSteps",value:function getNumSteps(){return this.events.filter(function(t){return"time-shift"===t.type;}).map(function(t){return t.steps;}).reduce(function(t,e){return t+e;},0);}},{key:"setNumSteps",value:function setNumSteps(t){var e=this.getNumSteps();if(et?(this.events.push({type:"time-shift",steps:t-e}),e=t):(this.events.push({type:"time-shift",steps:this.maxShiftSteps}),e+=this.maxShiftSteps);}}else if(e>t)for(;this.events.length&&e>t;){var _n6=this.events[this.events.length-1];"time-shift"===_n6.type?e-_n6.steps_e13?n.notes.push(r.a.Note.create({pitch:c.pitch,velocity:_i4,instrument:t,quantizedStartStep:_e13,quantizedEndStep:o,program:this.program,isDrum:this.isDrum})):s.log("Ignoring zero-length note: (pitch = ".concat(c.pitch,", step = ").concat(o,")"),"Performance");}else s.log("Ignoring note-off with no previous note-on:(pitch = ".concat(c.pitch,", step = ").concat(o,")"),"Performance");break;case"time-shift":o+=c.steps;break;case"velocity-change":if(!e)throw new Error("Unexpected velocity change event: "+c);_a=i.MIN_MIDI_VELOCITY+(c.velocityBin-1)*e+1;break;default:throw new Error("Unrecognized performance event: "+c);}}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}return u.forEach(function(e,i){var _iterator4=_createForOfIteratorHelper(e),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _step4$value=babelHelpers.slicedToArray(_step4.value,2),_a3=_step4$value[0],_u4=_step4$value[1];o>_a3?n.notes.push(r.a.Note.create({pitch:i,velocity:_u4,instrument:t,quantizedStartStep:_a3,quantizedEndStep:o,program:_this23.program,isDrum:_this23.isDrum})):s.log("Ignoring zero-length note: (pitch = ".concat(i,", step = ").concat(o,")"),"Performance");}}catch(err){_iterator4.e(err);}finally{_iterator4.f();}}),n.totalQuantizedSteps=o,n;}}],[{key:"fromNoteSequence",value:function fromNoteSequence(t,e,n,r){o.assertIsQuantizedSequence(t);var s=t.notes.filter(function(t,e){return void 0===r||t.instrument===r;}),u=s.sort(function(t,e){return t.startTime===e.startTime?t.pitch-e.pitch:t.startTime-e.startTime;}),c=u.map(function(t,e){return{step:t.quantizedStartStep,index:e,isOffset:0};}),l=u.map(function(t,e){return{step:t.quantizedEndStep,index:e,isOffset:1};}),h=c.concat(l).sort(function(t,e){return t.step===e.step?t.index===e.index?t.isOffset-e.isOffset:t.index-e.index:t.step-e.step;}),p=n?Math.ceil((i.MIDI_VELOCITIES-1)/n):void 0,f=[];var m=0,d=n;var _iterator5=_createForOfIteratorHelper(h),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var _t26=_step5.value;if(_t26.step>m){for(;_t26.step>m+e;){f.push({type:"time-shift",steps:e}),m+=e;}f.push({type:"time-shift",steps:_t26.step-m}),m=_t26.step;}if(_t26.isOffset)f.push({type:"note-off",pitch:u[_t26.index].pitch});else{if(p){var _e14=Math.floor((u[_t26.index].velocity-i.MIN_MIDI_VELOCITY-1)/p)+1;_e14!==d&&(f.push({type:"velocity-change",velocityBin:_e14}),d=_e14);}f.push({type:"note-on",pitch:u[_t26.index].pitch});}}}catch(err){_iterator5.e(err);}finally{_iterator5.f();}var g=!!s.some(function(t){return t.isDrum;})&&(!s.some(function(t){return!t.isDrum;})||void 0),S=Array.from(new Set(s.map(function(t){return t.program;}))),y=g||1!==S.length?void 0:S[0],b=new a(f,e,n,y,g);return b.setNumSteps(t.totalQuantizedSteps),b;}}]);return a;}();},function(t,e,n){"use strict";t.exports=h;var r,i=n(8),o=i.LongBits,s=i.base64,a=i.utf8;function u(t,e,n){this.fn=t,this.len=e,this.next=void 0,this.val=n;}function c(){}function l(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states;}function h(){this.len=0,this.head=new u(c,0,0),this.tail=this.head,this.states=null;}var p=function p(){return i.Buffer?function(){return(h.create=function(){return new r();})();}:function(){return new h();};};function f(t,e,n){e[n]=255&t;}function m(t,e){this.len=t,this.next=void 0,this.val=e;}function d(t,e,n){for(;t.hi;){e[n++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;}for(;t.lo>127;){e[n++]=127&t.lo|128,t.lo=t.lo>>>7;}e[n++]=t.lo;}function g(t,e,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24;}h.create=p(),h.alloc=function(t){return new i.Array(t);},i.Array!==Array&&(h.alloc=i.pool(h.alloc,i.Array.prototype.subarray)),h.prototype._push=function(t,e,n){return this.tail=this.tail.next=new u(t,e,n),this.len+=e,this;},m.prototype=Object.create(u.prototype),m.prototype.fn=function(t,e,n){for(;t>127;){e[n++]=127&t|128,t>>>=7;}e[n]=t;},h.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new m((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this;},h.prototype.int32=function(t){return t<0?this._push(d,10,o.fromNumber(t)):this.uint32(t);},h.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0);},h.prototype.uint64=function(t){var e=o.from(t);return this._push(d,e.length(),e);},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(t){var e=o.from(t).zzEncode();return this._push(d,e.length(),e);},h.prototype.bool=function(t){return this._push(f,1,t?1:0);},h.prototype.fixed32=function(t){return this._push(g,4,t>>>0);},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(t){var e=o.from(t);return this._push(g,4,e.lo)._push(g,4,e.hi);},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(t){return this._push(i.float.writeFloatLE,4,t);},h.prototype.double=function(t){return this._push(i.float.writeDoubleLE,8,t);};var S=i.Array.prototype.set?function(t,e,n){e.set(t,n);}:function(t,e,n){for(var r=0;r>>0;if(!e)return this._push(f,1,0);if(i.isString(t)){var n=h.alloc(e=s.length(t));s.decode(t,n,0),t=n;}return this.uint32(e)._push(S,e,t);},h.prototype.string=function(t){var e=a.length(t);return e?this.uint32(e)._push(a.write,e,t):this._push(f,1,0);},h.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new u(c,0,0),this.len=0,this;},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(c,0,0),this.len=0),this;},h.prototype.ldelim=function(){var t=this.head,e=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=t.next,this.tail=e,this.len+=n),this;},h.prototype.finish=function(){for(var t=this.head.next,e=this.constructor.alloc(this.len),n=0;t;){t.fn(t.val,e,n),n+=t.len,t=t.next;}return e;},h._configure=function(t){r=t,h.create=p(),r._configure();};},function(t,e,n){"use strict";t.exports=u;var r,i=n(8),o=i.LongBits,s=i.utf8;function a(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len);}function u(t){this.buf=t,this.pos=0,this.len=t.length;}var c,l="undefined"!=typeof Uint8Array?function(t){if(babelHelpers.instanceof(t,Uint8Array)||Array.isArray(t))return new u(t);throw Error("illegal buffer");}:function(t){if(Array.isArray(t))return new u(t);throw Error("illegal buffer");},h=function h(){return i.Buffer?function(t){return(u.create=function(t){return i.Buffer.isBuffer(t)?new r(t):l(t);})(t);}:l;};function p(){var t=new o(0,0),e=0;if(!(this.len-this.pos>4)){for(;e<3;++e){if(this.pos>=this.len)throw a(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*e)>>>0,t;}for(;e<4;++e){if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;}if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(e=0,this.len-this.pos>4){for(;e<5;++e){if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t;}}else for(;e<5;++e){if(this.pos>=this.len)throw a(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t;}throw Error("invalid varint encoding");}function f(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0;}function m(){if(this.pos+8>this.len)throw a(this,8);return new o(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4));}u.create=h(),u.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,u.prototype.uint32=(c=4294967295,function(){if(c=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return c;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return c;}),u.prototype.int32=function(){return 0|this.uint32();},u.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0;},u.prototype.bool=function(){return 0!==this.uint32();},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return f(this.buf,this.pos+=4);},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|f(this.buf,this.pos+=4);},u.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var t=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t;},u.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t;},u.prototype.bytes=function(){var t=this.uint32(),e=this.pos,n=this.pos+t;if(n>this.len)throw a(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,n):e===n?new this.buf.constructor(0):this._slice.call(this.buf,e,n);},u.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length);},u.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw a(this,t);this.pos+=t;}else do{if(this.pos>=this.len)throw a(this);}while(128&this.buf[this.pos++]);return this;},u.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());){this.skipType(t);}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos);}return this;},u._configure=function(t){r=t,u.create=h(),r._configure();var e=i.Long?"toLong":"toNumber";i.merge(u.prototype,{int64:function int64(){return p.call(this)[e](!1);},uint64:function uint64(){return p.call(this)[e](!0);},sint64:function sint64(){return p.call(this).zzDecode()[e](!1);},fixed64:function fixed64(){return m.call(this)[e](!0);},sfixed64:function sfixed64(){return m.call(this)[e](!1);}});};},function(t,e,n){"use strict";var r,i,o=n(20),s=o.Reader,a=o.Writer,u=o.util,c=o.roots.default||(o.roots.default={});c.tensorflow=((i={}).magenta=((r={}).NoteSequence=function(){function t(t){if(this.timeSignatures=[],this.keySignatures=[],this.tempos=[],this.notes=[],this.pitchBends=[],this.controlChanges=[],this.partInfos=[],this.textAnnotations=[],this.sectionAnnotations=[],this.sectionGroups=[],t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.id=t.string();break;case 2:r.filename=t.string();break;case 18:r.referenceNumber=u.Long?t.int64().toNumber():t.int64();break;case 3:r.collectionName=t.string();break;case 4:r.ticksPerQuarter=t.int32();break;case 5:r.timeSignatures&&r.timeSignatures.length||(r.timeSignatures=[]),r.timeSignatures.push(c.tensorflow.magenta.NoteSequence.TimeSignature.decode(t,t.uint32()));break;case 6:r.keySignatures&&r.keySignatures.length||(r.keySignatures=[]),r.keySignatures.push(c.tensorflow.magenta.NoteSequence.KeySignature.decode(t,t.uint32()));break;case 7:r.tempos&&r.tempos.length||(r.tempos=[]),r.tempos.push(c.tensorflow.magenta.NoteSequence.Tempo.decode(t,t.uint32()));break;case 8:r.notes&&r.notes.length||(r.notes=[]),r.notes.push(c.tensorflow.magenta.NoteSequence.Note.decode(t,t.uint32()));break;case 9:r.totalTime=t.double();break;case 16:r.totalQuantizedSteps=u.Long?t.int64().toNumber():t.int64();break;case 10:r.pitchBends&&r.pitchBends.length||(r.pitchBends=[]),r.pitchBends.push(c.tensorflow.magenta.NoteSequence.PitchBend.decode(t,t.uint32()));break;case 11:r.controlChanges&&r.controlChanges.length||(r.controlChanges=[]),r.controlChanges.push(c.tensorflow.magenta.NoteSequence.ControlChange.decode(t,t.uint32()));break;case 12:r.partInfos&&r.partInfos.length||(r.partInfos=[]),r.partInfos.push(c.tensorflow.magenta.NoteSequence.PartInfo.decode(t,t.uint32()));break;case 13:r.sourceInfo=c.tensorflow.magenta.NoteSequence.SourceInfo.decode(t,t.uint32());break;case 14:r.textAnnotations&&r.textAnnotations.length||(r.textAnnotations=[]),r.textAnnotations.push(c.tensorflow.magenta.NoteSequence.TextAnnotation.decode(t,t.uint32()));break;case 20:r.sectionAnnotations&&r.sectionAnnotations.length||(r.sectionAnnotations=[]),r.sectionAnnotations.push(c.tensorflow.magenta.NoteSequence.SectionAnnotation.decode(t,t.uint32()));break;case 21:r.sectionGroups&&r.sectionGroups.length||(r.sectionGroups=[]),r.sectionGroups.push(c.tensorflow.magenta.NoteSequence.SectionGroup.decode(t,t.uint32()));break;case 15:r.quantizationInfo=c.tensorflow.magenta.NoteSequence.QuantizationInfo.decode(t,t.uint32());break;case 17:r.subsequenceInfo=c.tensorflow.magenta.NoteSequence.SubsequenceInfo.decode(t,t.uint32());break;case 19:r.sequenceMetadata=c.tensorflow.magenta.SequenceMetadata.decode(t,t.uint32());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.id&&t.hasOwnProperty("id")&&!u.isString(t.id))return"id: string expected";if(null!=t.filename&&t.hasOwnProperty("filename")&&!u.isString(t.filename))return"filename: string expected";if(null!=t.referenceNumber&&t.hasOwnProperty("referenceNumber")&&!(u.isInteger(t.referenceNumber)||t.referenceNumber&&u.isInteger(t.referenceNumber.low)&&u.isInteger(t.referenceNumber.high)))return"referenceNumber: integer|Long expected";if(null!=t.collectionName&&t.hasOwnProperty("collectionName")&&!u.isString(t.collectionName))return"collectionName: string expected";if(null!=t.ticksPerQuarter&&t.hasOwnProperty("ticksPerQuarter")&&!u.isInteger(t.ticksPerQuarter))return"ticksPerQuarter: integer expected";if(null!=t.timeSignatures&&t.hasOwnProperty("timeSignatures")){if(!Array.isArray(t.timeSignatures))return"timeSignatures: array expected";for(var e=0;e>>0,t.referenceNumber.high>>>0).toNumber())),null!=t.collectionName&&(e.collectionName=String(t.collectionName)),null!=t.ticksPerQuarter&&(e.ticksPerQuarter=0|t.ticksPerQuarter),t.timeSignatures){if(!Array.isArray(t.timeSignatures))throw TypeError(".tensorflow.magenta.NoteSequence.timeSignatures: array expected");e.timeSignatures=[];for(var n=0;n>>0,t.totalQuantizedSteps.high>>>0).toNumber())),t.pitchBends){if(!Array.isArray(t.pitchBends))throw TypeError(".tensorflow.magenta.NoteSequence.pitchBends: array expected");for(e.pitchBends=[],n=0;n>>0,t.totalQuantizedSteps.high>>>0).toNumber():t.totalQuantizedSteps),null!=t.subsequenceInfo&&t.hasOwnProperty("subsequenceInfo")&&(n.subsequenceInfo=c.tensorflow.magenta.NoteSequence.SubsequenceInfo.toObject(t.subsequenceInfo,e)),null!=t.referenceNumber&&t.hasOwnProperty("referenceNumber")&&("number"==typeof t.referenceNumber?n.referenceNumber=e.longs===String?String(t.referenceNumber):t.referenceNumber:n.referenceNumber=e.longs===String?u.Long.prototype.toString.call(t.referenceNumber):e.longs===Number?new u.LongBits(t.referenceNumber.low>>>0,t.referenceNumber.high>>>0).toNumber():t.referenceNumber),null!=t.sequenceMetadata&&t.hasOwnProperty("sequenceMetadata")&&(n.sequenceMetadata=c.tensorflow.magenta.SequenceMetadata.toObject(t.sequenceMetadata,e)),t.sectionAnnotations&&t.sectionAnnotations.length)for(n.sectionAnnotations=[],i=0;i>>3){case 1:r.pitch=t.int32();break;case 11:r.pitchName=t.int32();break;case 2:r.velocity=t.int32();break;case 3:r.startTime=t.double();break;case 13:r.quantizedStartStep=u.Long?t.int64().toNumber():t.int64();break;case 4:r.endTime=t.double();break;case 14:r.quantizedEndStep=u.Long?t.int64().toNumber():t.int64();break;case 5:r.numerator=t.int32();break;case 6:r.denominator=t.int32();break;case 7:r.instrument=t.int32();break;case 8:r.program=t.int32();break;case 9:r.isDrum=t.bool();break;case 10:r.part=t.int32();break;case 12:r.voice=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.pitch&&t.hasOwnProperty("pitch")&&!u.isInteger(t.pitch))return"pitch: integer expected";if(null!=t.pitchName&&t.hasOwnProperty("pitchName"))switch(t.pitchName){default:return"pitchName: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:}return null!=t.velocity&&t.hasOwnProperty("velocity")&&!u.isInteger(t.velocity)?"velocity: integer expected":null!=t.startTime&&t.hasOwnProperty("startTime")&&"number"!=typeof t.startTime?"startTime: number expected":null!=t.quantizedStartStep&&t.hasOwnProperty("quantizedStartStep")&&!(u.isInteger(t.quantizedStartStep)||t.quantizedStartStep&&u.isInteger(t.quantizedStartStep.low)&&u.isInteger(t.quantizedStartStep.high))?"quantizedStartStep: integer|Long expected":null!=t.endTime&&t.hasOwnProperty("endTime")&&"number"!=typeof t.endTime?"endTime: number expected":null!=t.quantizedEndStep&&t.hasOwnProperty("quantizedEndStep")&&!(u.isInteger(t.quantizedEndStep)||t.quantizedEndStep&&u.isInteger(t.quantizedEndStep.low)&&u.isInteger(t.quantizedEndStep.high))?"quantizedEndStep: integer|Long expected":null!=t.numerator&&t.hasOwnProperty("numerator")&&!u.isInteger(t.numerator)?"numerator: integer expected":null!=t.denominator&&t.hasOwnProperty("denominator")&&!u.isInteger(t.denominator)?"denominator: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null!=t.part&&t.hasOwnProperty("part")&&!u.isInteger(t.part)?"part: integer expected":null!=t.voice&&t.hasOwnProperty("voice")&&!u.isInteger(t.voice)?"voice: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Note))return t;var e=new c.tensorflow.magenta.NoteSequence.Note();switch(null!=t.pitch&&(e.pitch=0|t.pitch),t.pitchName){case"UNKNOWN_PITCH_NAME":case 0:e.pitchName=0;break;case"F_FLAT_FLAT":case 1:e.pitchName=1;break;case"C_FLAT_FLAT":case 2:e.pitchName=2;break;case"G_FLAT_FLAT":case 3:e.pitchName=3;break;case"D_FLAT_FLAT":case 4:e.pitchName=4;break;case"A_FLAT_FLAT":case 5:e.pitchName=5;break;case"E_FLAT_FLAT":case 6:e.pitchName=6;break;case"B_FLAT_FLAT":case 7:e.pitchName=7;break;case"F_FLAT":case 8:e.pitchName=8;break;case"C_FLAT":case 9:e.pitchName=9;break;case"G_FLAT":case 10:e.pitchName=10;break;case"D_FLAT":case 11:e.pitchName=11;break;case"A_FLAT":case 12:e.pitchName=12;break;case"E_FLAT":case 13:e.pitchName=13;break;case"B_FLAT":case 14:e.pitchName=14;break;case"F":case 15:e.pitchName=15;break;case"C":case 16:e.pitchName=16;break;case"G":case 17:e.pitchName=17;break;case"D":case 18:e.pitchName=18;break;case"A":case 19:e.pitchName=19;break;case"E":case 20:e.pitchName=20;break;case"B":case 21:e.pitchName=21;break;case"F_SHARP":case 22:e.pitchName=22;break;case"C_SHARP":case 23:e.pitchName=23;break;case"G_SHARP":case 24:e.pitchName=24;break;case"D_SHARP":case 25:e.pitchName=25;break;case"A_SHARP":case 26:e.pitchName=26;break;case"E_SHARP":case 27:e.pitchName=27;break;case"B_SHARP":case 28:e.pitchName=28;break;case"F_SHARP_SHARP":case 29:e.pitchName=29;break;case"C_SHARP_SHARP":case 30:e.pitchName=30;break;case"G_SHARP_SHARP":case 31:e.pitchName=31;break;case"D_SHARP_SHARP":case 32:e.pitchName=32;break;case"A_SHARP_SHARP":case 33:e.pitchName=33;break;case"E_SHARP_SHARP":case 34:e.pitchName=34;break;case"B_SHARP_SHARP":case 35:e.pitchName=35;}return null!=t.velocity&&(e.velocity=0|t.velocity),null!=t.startTime&&(e.startTime=Number(t.startTime)),null!=t.quantizedStartStep&&(u.Long?(e.quantizedStartStep=u.Long.fromValue(t.quantizedStartStep)).unsigned=!1:"string"==typeof t.quantizedStartStep?e.quantizedStartStep=parseInt(t.quantizedStartStep,10):"number"==typeof t.quantizedStartStep?e.quantizedStartStep=t.quantizedStartStep:"object"==babelHelpers.typeof(t.quantizedStartStep)&&(e.quantizedStartStep=new u.LongBits(t.quantizedStartStep.low>>>0,t.quantizedStartStep.high>>>0).toNumber())),null!=t.endTime&&(e.endTime=Number(t.endTime)),null!=t.quantizedEndStep&&(u.Long?(e.quantizedEndStep=u.Long.fromValue(t.quantizedEndStep)).unsigned=!1:"string"==typeof t.quantizedEndStep?e.quantizedEndStep=parseInt(t.quantizedEndStep,10):"number"==typeof t.quantizedEndStep?e.quantizedEndStep=t.quantizedEndStep:"object"==babelHelpers.typeof(t.quantizedEndStep)&&(e.quantizedEndStep=new u.LongBits(t.quantizedEndStep.low>>>0,t.quantizedEndStep.high>>>0).toNumber())),null!=t.numerator&&(e.numerator=0|t.numerator),null!=t.denominator&&(e.denominator=0|t.denominator),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),null!=t.part&&(e.part=0|t.part),null!=t.voice&&(e.voice=0|t.voice),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults){if(n.pitch=0,n.velocity=0,n.startTime=0,n.endTime=0,n.numerator=0,n.denominator=0,n.instrument=0,n.program=0,n.isDrum=!1,n.part=0,n.pitchName=e.enums===String?"UNKNOWN_PITCH_NAME":0,n.voice=0,u.Long){var r=new u.Long(0,0,!1);n.quantizedStartStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStartStep=e.longs===String?"0":0;u.Long?(r=new u.Long(0,0,!1),n.quantizedEndStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r):n.quantizedEndStep=e.longs===String?"0":0;}return null!=t.pitch&&t.hasOwnProperty("pitch")&&(n.pitch=t.pitch),null!=t.velocity&&t.hasOwnProperty("velocity")&&(n.velocity=t.velocity),null!=t.startTime&&t.hasOwnProperty("startTime")&&(n.startTime=e.json&&!isFinite(t.startTime)?String(t.startTime):t.startTime),null!=t.endTime&&t.hasOwnProperty("endTime")&&(n.endTime=e.json&&!isFinite(t.endTime)?String(t.endTime):t.endTime),null!=t.numerator&&t.hasOwnProperty("numerator")&&(n.numerator=t.numerator),null!=t.denominator&&t.hasOwnProperty("denominator")&&(n.denominator=t.denominator),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),null!=t.part&&t.hasOwnProperty("part")&&(n.part=t.part),null!=t.pitchName&&t.hasOwnProperty("pitchName")&&(n.pitchName=e.enums===String?c.tensorflow.magenta.NoteSequence.PitchName[t.pitchName]:t.pitchName),null!=t.voice&&t.hasOwnProperty("voice")&&(n.voice=t.voice),null!=t.quantizedStartStep&&t.hasOwnProperty("quantizedStartStep")&&("number"==typeof t.quantizedStartStep?n.quantizedStartStep=e.longs===String?String(t.quantizedStartStep):t.quantizedStartStep:n.quantizedStartStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStartStep):e.longs===Number?new u.LongBits(t.quantizedStartStep.low>>>0,t.quantizedStartStep.high>>>0).toNumber():t.quantizedStartStep),null!=t.quantizedEndStep&&t.hasOwnProperty("quantizedEndStep")&&("number"==typeof t.quantizedEndStep?n.quantizedEndStep=e.longs===String?String(t.quantizedEndStep):t.quantizedEndStep:n.quantizedEndStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedEndStep):e.longs===Number?new u.LongBits(t.quantizedEndStep.low>>>0,t.quantizedEndStep.high>>>0).toNumber():t.quantizedEndStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PitchName=(e={},(n=Object.create(e))[e[0]="UNKNOWN_PITCH_NAME"]=0,n[e[1]="F_FLAT_FLAT"]=1,n[e[2]="C_FLAT_FLAT"]=2,n[e[3]="G_FLAT_FLAT"]=3,n[e[4]="D_FLAT_FLAT"]=4,n[e[5]="A_FLAT_FLAT"]=5,n[e[6]="E_FLAT_FLAT"]=6,n[e[7]="B_FLAT_FLAT"]=7,n[e[8]="F_FLAT"]=8,n[e[9]="C_FLAT"]=9,n[e[10]="G_FLAT"]=10,n[e[11]="D_FLAT"]=11,n[e[12]="A_FLAT"]=12,n[e[13]="E_FLAT"]=13,n[e[14]="B_FLAT"]=14,n[e[15]="F"]=15,n[e[16]="C"]=16,n[e[17]="G"]=17,n[e[18]="D"]=18,n[e[19]="A"]=19,n[e[20]="E"]=20,n[e[21]="B"]=21,n[e[22]="F_SHARP"]=22,n[e[23]="C_SHARP"]=23,n[e[24]="G_SHARP"]=24,n[e[25]="D_SHARP"]=25,n[e[26]="A_SHARP"]=26,n[e[27]="E_SHARP"]=27,n[e[28]="B_SHARP"]=28,n[e[29]="F_SHARP_SHARP"]=29,n[e[30]="C_SHARP_SHARP"]=30,n[e[31]="G_SHARP_SHARP"]=31,n[e[32]="D_SHARP_SHARP"]=32,n[e[33]="A_SHARP_SHARP"]=33,n[e[34]="E_SHARP_SHARP"]=34,n[e[35]="B_SHARP_SHARP"]=35,n),t.TimeSignature=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.numerator=t.int32();break;case 3:r.denominator=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.numerator&&t.hasOwnProperty("numerator")&&!u.isInteger(t.numerator)?"numerator: integer expected":null!=t.denominator&&t.hasOwnProperty("denominator")&&!u.isInteger(t.denominator)?"denominator: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.TimeSignature))return t;var e=new c.tensorflow.magenta.NoteSequence.TimeSignature();return null!=t.time&&(e.time=Number(t.time)),null!=t.numerator&&(e.numerator=0|t.numerator),null!=t.denominator&&(e.denominator=0|t.denominator),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.numerator=0,n.denominator=0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.numerator&&t.hasOwnProperty("numerator")&&(n.numerator=t.numerator),null!=t.denominator&&t.hasOwnProperty("denominator")&&(n.denominator=t.denominator),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.KeySignature=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.key=t.int32();break;case 3:r.mode=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time)return"time: number expected";if(null!=t.key&&t.hasOwnProperty("key"))switch(t.key){default:return"key: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 6:case 7:case 8:case 8:case 9:case 10:case 10:case 11:}if(null!=t.mode&&t.hasOwnProperty("mode"))switch(t.mode){default:return"mode: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.KeySignature))return t;var e=new c.tensorflow.magenta.NoteSequence.KeySignature();switch(null!=t.time&&(e.time=Number(t.time)),t.key){case"C":case 0:e.key=0;break;case"C_SHARP":case 1:e.key=1;break;case"D_FLAT":case 1:e.key=1;break;case"D":case 2:e.key=2;break;case"D_SHARP":case 3:e.key=3;break;case"E_FLAT":case 3:e.key=3;break;case"E":case 4:e.key=4;break;case"F":case 5:e.key=5;break;case"F_SHARP":case 6:e.key=6;break;case"G_FLAT":case 6:e.key=6;break;case"G":case 7:e.key=7;break;case"G_SHARP":case 8:e.key=8;break;case"A_FLAT":case 8:e.key=8;break;case"A":case 9:e.key=9;break;case"A_SHARP":case 10:e.key=10;break;case"B_FLAT":case 10:e.key=10;break;case"B":case 11:e.key=11;}switch(t.mode){case"MAJOR":case 0:e.mode=0;break;case"MINOR":case 1:e.mode=1;break;case"NOT_SPECIFIED":case 2:e.mode=2;break;case"MIXOLYDIAN":case 3:e.mode=3;break;case"DORIAN":case 4:e.mode=4;break;case"PHRYGIAN":case 5:e.mode=5;break;case"LYDIAN":case 6:e.mode=6;break;case"LOCRIAN":case 7:e.mode=7;}return e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.key=e.enums===String?"C":0,n.mode=e.enums===String?"MAJOR":0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.key&&t.hasOwnProperty("key")&&(n.key=e.enums===String?c.tensorflow.magenta.NoteSequence.KeySignature.Key[t.key]:t.key),null!=t.mode&&t.hasOwnProperty("mode")&&(n.mode=e.enums===String?c.tensorflow.magenta.NoteSequence.KeySignature.Mode[t.mode]:t.mode),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.Key=function(){var t={},e=Object.create(t);return e[t[0]="C"]=0,e[t[1]="C_SHARP"]=1,e.D_FLAT=1,e[t[2]="D"]=2,e[t[3]="D_SHARP"]=3,e.E_FLAT=3,e[t[4]="E"]=4,e[t[5]="F"]=5,e[t[6]="F_SHARP"]=6,e.G_FLAT=6,e[t[7]="G"]=7,e[t[8]="G_SHARP"]=8,e.A_FLAT=8,e[t[9]="A"]=9,e[t[10]="A_SHARP"]=10,e.B_FLAT=10,e[t[11]="B"]=11,e;}(),t.Mode=function(){var t={},e=Object.create(t);return e[t[0]="MAJOR"]=0,e[t[1]="MINOR"]=1,e[t[2]="NOT_SPECIFIED"]=2,e[t[3]="MIXOLYDIAN"]=3,e[t[4]="DORIAN"]=4,e[t[5]="PHRYGIAN"]=5,e[t[6]="LYDIAN"]=6,e[t[7]="LOCRIAN"]=7,e;}(),t;}(),t.Tempo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.qpm=t.double();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.qpm&&t.hasOwnProperty("qpm")&&"number"!=typeof t.qpm?"qpm: number expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Tempo))return t;var e=new c.tensorflow.magenta.NoteSequence.Tempo();return null!=t.time&&(e.time=Number(t.time)),null!=t.qpm&&(e.qpm=Number(t.qpm)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.qpm=0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.qpm&&t.hasOwnProperty("qpm")&&(n.qpm=e.json&&!isFinite(t.qpm)?String(t.qpm):t.qpm),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PitchBend=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.bend=t.int32();break;case 3:r.instrument=t.int32();break;case 4:r.program=t.int32();break;case 5:r.isDrum=t.bool();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.bend&&t.hasOwnProperty("bend")&&!u.isInteger(t.bend)?"bend: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.PitchBend))return t;var e=new c.tensorflow.magenta.NoteSequence.PitchBend();return null!=t.time&&(e.time=Number(t.time)),null!=t.bend&&(e.bend=0|t.bend),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.bend=0,n.instrument=0,n.program=0,n.isDrum=!1),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.bend&&t.hasOwnProperty("bend")&&(n.bend=t.bend),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.ControlChange=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 7:r.quantizedStep=u.Long?t.int64().toNumber():t.int64();break;case 2:r.controlNumber=t.int32();break;case 3:r.controlValue=t.int32();break;case 4:r.instrument=t.int32();break;case 5:r.program=t.int32();break;case 6:r.isDrum=t.bool();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&!(u.isInteger(t.quantizedStep)||t.quantizedStep&&u.isInteger(t.quantizedStep.low)&&u.isInteger(t.quantizedStep.high))?"quantizedStep: integer|Long expected":null!=t.controlNumber&&t.hasOwnProperty("controlNumber")&&!u.isInteger(t.controlNumber)?"controlNumber: integer expected":null!=t.controlValue&&t.hasOwnProperty("controlValue")&&!u.isInteger(t.controlValue)?"controlValue: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.ControlChange))return t;var e=new c.tensorflow.magenta.NoteSequence.ControlChange();return null!=t.time&&(e.time=Number(t.time)),null!=t.quantizedStep&&(u.Long?(e.quantizedStep=u.Long.fromValue(t.quantizedStep)).unsigned=!1:"string"==typeof t.quantizedStep?e.quantizedStep=parseInt(t.quantizedStep,10):"number"==typeof t.quantizedStep?e.quantizedStep=t.quantizedStep:"object"==babelHelpers.typeof(t.quantizedStep)&&(e.quantizedStep=new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber())),null!=t.controlNumber&&(e.controlNumber=0|t.controlNumber),null!=t.controlValue&&(e.controlValue=0|t.controlValue),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,n.controlNumber=0,n.controlValue=0,n.instrument=0,n.program=0,n.isDrum=!1,u.Long){var r=new u.Long(0,0,!1);n.quantizedStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStep=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.controlNumber&&t.hasOwnProperty("controlNumber")&&(n.controlNumber=t.controlNumber),null!=t.controlValue&&t.hasOwnProperty("controlValue")&&(n.controlValue=t.controlValue),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&("number"==typeof t.quantizedStep?n.quantizedStep=e.longs===String?String(t.quantizedStep):t.quantizedStep:n.quantizedStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStep):e.longs===Number?new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber():t.quantizedStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PartInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.part=t.int32();break;case 2:r.name=t.string();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.part&&t.hasOwnProperty("part")&&!u.isInteger(t.part)?"part: integer expected":null!=t.name&&t.hasOwnProperty("name")&&!u.isString(t.name)?"name: string expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.PartInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.PartInfo();return null!=t.part&&(e.part=0|t.part),null!=t.name&&(e.name=String(t.name)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.part=0,n.name=""),null!=t.part&&t.hasOwnProperty("part")&&(n.part=t.part),null!=t.name&&t.hasOwnProperty("name")&&(n.name=t.name),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SourceInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sourceType=t.int32();break;case 2:r.encodingType=t.int32();break;case 3:r.parser=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.sourceType&&t.hasOwnProperty("sourceType"))switch(t.sourceType){default:return"sourceType: enum value expected";case 0:case 1:case 2:}if(null!=t.encodingType&&t.hasOwnProperty("encodingType"))switch(t.encodingType){default:return"encodingType: enum value expected";case 0:case 1:case 2:case 3:case 4:}if(null!=t.parser&&t.hasOwnProperty("parser"))switch(t.parser){default:return"parser: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SourceInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.SourceInfo();switch(t.sourceType){case"UNKNOWN_SOURCE_TYPE":case 0:e.sourceType=0;break;case"SCORE_BASED":case 1:e.sourceType=1;break;case"PERFORMANCE_BASED":case 2:e.sourceType=2;}switch(t.encodingType){case"UNKNOWN_ENCODING_TYPE":case 0:e.encodingType=0;break;case"MUSIC_XML":case 1:e.encodingType=1;break;case"ABC":case 2:e.encodingType=2;break;case"MIDI":case 3:e.encodingType=3;break;case"MUSICNET":case 4:e.encodingType=4;}switch(t.parser){case"UNKNOWN_PARSER":case 0:e.parser=0;break;case"MUSIC21":case 1:e.parser=1;break;case"PRETTY_MIDI":case 2:e.parser=2;break;case"MAGENTA_MUSIC_XML":case 3:e.parser=3;break;case"MAGENTA_MUSICNET":case 4:e.parser=4;break;case"MAGENTA_ABC":case 5:e.parser=5;break;case"TONEJS_MIDI_CONVERT":case 6:e.parser=6;}return e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.sourceType=e.enums===String?"UNKNOWN_SOURCE_TYPE":0,n.encodingType=e.enums===String?"UNKNOWN_ENCODING_TYPE":0,n.parser=e.enums===String?"UNKNOWN_PARSER":0),null!=t.sourceType&&t.hasOwnProperty("sourceType")&&(n.sourceType=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.SourceType[t.sourceType]:t.sourceType),null!=t.encodingType&&t.hasOwnProperty("encodingType")&&(n.encodingType=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.EncodingType[t.encodingType]:t.encodingType),null!=t.parser&&t.hasOwnProperty("parser")&&(n.parser=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.Parser[t.parser]:t.parser),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.SourceType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_SOURCE_TYPE"]=0,e[t[1]="SCORE_BASED"]=1,e[t[2]="PERFORMANCE_BASED"]=2,e;}(),t.EncodingType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_ENCODING_TYPE"]=0,e[t[1]="MUSIC_XML"]=1,e[t[2]="ABC"]=2,e[t[3]="MIDI"]=3,e[t[4]="MUSICNET"]=4,e;}(),t.Parser=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_PARSER"]=0,e[t[1]="MUSIC21"]=1,e[t[2]="PRETTY_MIDI"]=2,e[t[3]="MAGENTA_MUSIC_XML"]=3,e[t[4]="MAGENTA_MUSICNET"]=4,e[t[5]="MAGENTA_ABC"]=5,e[t[6]="TONEJS_MIDI_CONVERT"]=6,e;}(),t;}(),t.TextAnnotation=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 4:r.quantizedStep=u.Long?t.int64().toNumber():t.int64();break;case 2:r.text=t.string();break;case 3:r.annotationType=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time)return"time: number expected";if(null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&!(u.isInteger(t.quantizedStep)||t.quantizedStep&&u.isInteger(t.quantizedStep.low)&&u.isInteger(t.quantizedStep.high)))return"quantizedStep: integer|Long expected";if(null!=t.text&&t.hasOwnProperty("text")&&!u.isString(t.text))return"text: string expected";if(null!=t.annotationType&&t.hasOwnProperty("annotationType"))switch(t.annotationType){default:return"annotationType: enum value expected";case 0:case 1:case 2:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.TextAnnotation))return t;var e=new c.tensorflow.magenta.NoteSequence.TextAnnotation();switch(null!=t.time&&(e.time=Number(t.time)),null!=t.quantizedStep&&(u.Long?(e.quantizedStep=u.Long.fromValue(t.quantizedStep)).unsigned=!1:"string"==typeof t.quantizedStep?e.quantizedStep=parseInt(t.quantizedStep,10):"number"==typeof t.quantizedStep?e.quantizedStep=t.quantizedStep:"object"==babelHelpers.typeof(t.quantizedStep)&&(e.quantizedStep=new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber())),null!=t.text&&(e.text=String(t.text)),t.annotationType){case"UNKNOWN":case 0:e.annotationType=0;break;case"CHORD_SYMBOL":case 1:e.annotationType=1;break;case"BEAT":case 2:e.annotationType=2;}return e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,n.text="",n.annotationType=e.enums===String?"UNKNOWN":0,u.Long){var r=new u.Long(0,0,!1);n.quantizedStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStep=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.text&&t.hasOwnProperty("text")&&(n.text=t.text),null!=t.annotationType&&t.hasOwnProperty("annotationType")&&(n.annotationType=e.enums===String?c.tensorflow.magenta.NoteSequence.TextAnnotation.TextAnnotationType[t.annotationType]:t.annotationType),null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&("number"==typeof t.quantizedStep?n.quantizedStep=e.longs===String?String(t.quantizedStep):t.quantizedStep:n.quantizedStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStep):e.longs===Number?new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber():t.quantizedStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.TextAnnotationType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN"]=0,e[t[1]="CHORD_SYMBOL"]=1,e[t[2]="BEAT"]=2,e;}(),t;}(),t.QuantizationInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.stepsPerQuarter=t.int32();break;case 2:r.stepsPerSecond=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";var e={};if(null!=t.stepsPerQuarter&&t.hasOwnProperty("stepsPerQuarter")&&(e.resolution=1,!u.isInteger(t.stepsPerQuarter)))return"stepsPerQuarter: integer expected";if(null!=t.stepsPerSecond&&t.hasOwnProperty("stepsPerSecond")){if(1===e.resolution)return"resolution: multiple values";if(e.resolution=1,!u.isInteger(t.stepsPerSecond))return"stepsPerSecond: integer expected";}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.QuantizationInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.QuantizationInfo();return null!=t.stepsPerQuarter&&(e.stepsPerQuarter=0|t.stepsPerQuarter),null!=t.stepsPerSecond&&(e.stepsPerSecond=0|t.stepsPerSecond),e;},t.toObject=function(t,e){e||(e={});var n={};return null!=t.stepsPerQuarter&&t.hasOwnProperty("stepsPerQuarter")&&(n.stepsPerQuarter=t.stepsPerQuarter,e.oneofs&&(n.resolution="stepsPerQuarter")),null!=t.stepsPerSecond&&t.hasOwnProperty("stepsPerSecond")&&(n.stepsPerSecond=t.stepsPerSecond,e.oneofs&&(n.resolution="stepsPerSecond")),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SubsequenceInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.startTimeOffset=t.double();break;case 2:r.endTimeOffset=t.double();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.startTimeOffset&&t.hasOwnProperty("startTimeOffset")&&"number"!=typeof t.startTimeOffset?"startTimeOffset: number expected":null!=t.endTimeOffset&&t.hasOwnProperty("endTimeOffset")&&"number"!=typeof t.endTimeOffset?"endTimeOffset: number expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SubsequenceInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.SubsequenceInfo();return null!=t.startTimeOffset&&(e.startTimeOffset=Number(t.startTimeOffset)),null!=t.endTimeOffset&&(e.endTimeOffset=Number(t.endTimeOffset)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.startTimeOffset=0,n.endTimeOffset=0),null!=t.startTimeOffset&&t.hasOwnProperty("startTimeOffset")&&(n.startTimeOffset=e.json&&!isFinite(t.startTimeOffset)?String(t.startTimeOffset):t.startTimeOffset),null!=t.endTimeOffset&&t.hasOwnProperty("endTimeOffset")&&(n.endTimeOffset=e.json&&!isFinite(t.endTimeOffset)?String(t.endTimeOffset):t.endTimeOffset),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SectionAnnotation=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 4:r.sectionId=u.Long?t.int64().toNumber():t.int64();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.sectionId&&t.hasOwnProperty("sectionId")&&!(u.isInteger(t.sectionId)||t.sectionId&&u.isInteger(t.sectionId.low)&&u.isInteger(t.sectionId.high))?"sectionId: integer|Long expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SectionAnnotation))return t;var e=new c.tensorflow.magenta.NoteSequence.SectionAnnotation();return null!=t.time&&(e.time=Number(t.time)),null!=t.sectionId&&(u.Long?(e.sectionId=u.Long.fromValue(t.sectionId)).unsigned=!1:"string"==typeof t.sectionId?e.sectionId=parseInt(t.sectionId,10):"number"==typeof t.sectionId?e.sectionId=t.sectionId:"object"==babelHelpers.typeof(t.sectionId)&&(e.sectionId=new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber())),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,u.Long){var r=new u.Long(0,0,!1);n.sectionId=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.sectionId=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.sectionId&&t.hasOwnProperty("sectionId")&&("number"==typeof t.sectionId?n.sectionId=e.longs===String?String(t.sectionId):t.sectionId:n.sectionId=e.longs===String?u.Long.prototype.toString.call(t.sectionId):e.longs===Number?new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber():t.sectionId),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.Section=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sectionId=u.Long?t.int64().toNumber():t.int64();break;case 2:r.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.decode(t,t.uint32());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";var e={};if(null!=t.sectionId&&t.hasOwnProperty("sectionId")&&(e.sectionType=1,!(u.isInteger(t.sectionId)||t.sectionId&&u.isInteger(t.sectionId.low)&&u.isInteger(t.sectionId.high))))return"sectionId: integer|Long expected";if(null!=t.sectionGroup&&t.hasOwnProperty("sectionGroup")){if(1===e.sectionType)return"sectionType: multiple values";e.sectionType=1;var n=c.tensorflow.magenta.NoteSequence.SectionGroup.verify(t.sectionGroup);if(n)return"sectionGroup."+n;}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Section))return t;var e=new c.tensorflow.magenta.NoteSequence.Section();if(null!=t.sectionId&&(u.Long?(e.sectionId=u.Long.fromValue(t.sectionId)).unsigned=!1:"string"==typeof t.sectionId?e.sectionId=parseInt(t.sectionId,10):"number"==typeof t.sectionId?e.sectionId=t.sectionId:"object"==babelHelpers.typeof(t.sectionId)&&(e.sectionId=new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber())),null!=t.sectionGroup){if("object"!=babelHelpers.typeof(t.sectionGroup))throw TypeError(".tensorflow.magenta.NoteSequence.Section.sectionGroup: object expected");e.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.fromObject(t.sectionGroup);}return e;},t.toObject=function(t,e){e||(e={});var n={};return null!=t.sectionId&&t.hasOwnProperty("sectionId")&&("number"==typeof t.sectionId?n.sectionId=e.longs===String?String(t.sectionId):t.sectionId:n.sectionId=e.longs===String?u.Long.prototype.toString.call(t.sectionId):e.longs===Number?new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber():t.sectionId,e.oneofs&&(n.sectionType="sectionId")),null!=t.sectionGroup&&t.hasOwnProperty("sectionGroup")&&(n.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.toObject(t.sectionGroup,e),e.oneofs&&(n.sectionType="sectionGroup")),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SectionGroup=function(){function t(t){if(this.sections=[],t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sections&&r.sections.length||(r.sections=[]),r.sections.push(c.tensorflow.magenta.NoteSequence.Section.decode(t,t.uint32()));break;case 2:r.numTimes=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.sections&&t.hasOwnProperty("sections")){if(!Array.isArray(t.sections))return"sections: array expected";for(var e=0;e>>3){case 1:r.title=t.string();break;case 2:r.artist=t.string();break;case 3:r.genre&&r.genre.length||(r.genre=[]),r.genre.push(t.string());break;case 4:r.composers&&r.composers.length||(r.composers=[]),r.composers.push(t.string());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.title&&t.hasOwnProperty("title")&&!u.isString(t.title))return"title: string expected";if(null!=t.artist&&t.hasOwnProperty("artist")&&!u.isString(t.artist))return"artist: string expected";if(null!=t.genre&&t.hasOwnProperty("genre")){if(!Array.isArray(t.genre))return"genre: array expected";for(var e=0;e>>3){case 1:r.min=t.int32();break;case 2:r.max=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.min&&t.hasOwnProperty("min")&&!u.isInteger(t.min)?"min: integer expected":null!=t.max&&t.hasOwnProperty("max")&&!u.isInteger(t.max)?"max: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.VelocityRange))return t;var e=new c.tensorflow.magenta.VelocityRange();return null!=t.min&&(e.min=0|t.min),null!=t.max&&(e.max=0|t.max),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.min=0,n.max=0),null!=t.min&&t.hasOwnProperty("min")&&(n.min=t.min),null!=t.max&&t.hasOwnProperty("max")&&(n.max=t.max),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),r),i),t.exports=c;},,function(t,e,n){"use strict";n.r(e),n.d(e,"ChordQuality",function(){return vt;}),n.d(e,"ChordSymbolException",function(){return Nt;}),n.d(e,"ChordEncodingException",function(){return Tt;}),n.d(e,"ChordSymbols",function(){return Ot;}),n.d(e,"ChordEncoder",function(){return It;}),n.d(e,"chordEncoderFromType",function(){return Mt;}),n.d(e,"MajorMinorChordEncoder",function(){return At;}),n.d(e,"TriadChordEncoder",function(){return kt;}),n.d(e,"PitchChordEncoder",function(){return qt;});var r={};n.r(r),n.d(r,"names",function(){return a;}),n.d(r,"tokenize",function(){return h;}),n.d(r,"props",function(){return m;}),n.d(r,"name",function(){return d;}),n.d(r,"pc",function(){return g;}),n.d(r,"midi",function(){return S;}),n.d(r,"midiToFreq",function(){return y;}),n.d(r,"freq",function(){return b;}),n.d(r,"freqToMidi",function(){return v;}),n.d(r,"chroma",function(){return N;}),n.d(r,"oct",function(){return T;}),n.d(r,"stepToLetter",function(){return O;}),n.d(r,"altToAcc",function(){return M;}),n.d(r,"from",function(){return A;}),n.d(r,"build",function(){return k;}),n.d(r,"fromMidi",function(){return q;}),n.d(r,"simplify",function(){return E;}),n.d(r,"enharmonic",function(){return _;});var i={};n.r(i),n.d(i,"names",function(){return lt;}),n.d(i,"props",function(){return pt;}),n.d(i,"intervals",function(){return ft;}),n.d(i,"notes",function(){return mt;}),n.d(i,"exists",function(){return dt;}),n.d(i,"supersets",function(){return gt;}),n.d(i,"subsets",function(){return St;}),n.d(i,"tokenize",function(){return bt;});var o=n(0),s="C C# Db D D# Eb E F F# Gb G G# Ab A A# Bb B".split(" "),a=function a(t){return"string"!=typeof t?s.slice():s.filter(function(e){var n=e[1]||" ";return-1!==t.indexOf(n);});},u=a(" #"),c=a(" b"),l=/^([a-gA-G]?)(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)$/;function h(t){"string"!=typeof t&&(t="");var e=l.exec(t);return[e[1].toUpperCase(),e[2].replace(/x/g,"##"),e[3],e[4]];}var p=Object.freeze({pc:null,name:null,step:null,alt:null,oct:null,octStr:null,chroma:null,midi:null,freq:null}),f=[0,2,4,5,7,9,11],m=function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(t){var e=h(t);if(""===e[0]||""!==e[3])return p;var n=e[0],r=e[1],i=e[2],o={letter:n,acc:r,octStr:i,pc:n+r,name:n+r+i,step:(n.charCodeAt(0)+3)%7,alt:"b"===r[0]?-r.length:r.length,oct:i.length?+i:null,chroma:0,midi:null,freq:null};return o.chroma=(f[o.step]+o.alt+120)%12,o.midi=null!==o.oct?f[o.step]+o.alt+12*(o.oct+1):null,o.freq=y(o.midi),Object.freeze(o);}),d=function d(t){return m(t).name;},g=function g(t){return m(t).pc;},S=function S(t){if("number"!=typeof t&&"string"!=typeof t)return null;var e,n=m(t).midi,r=n||0===n?n:+t;return(e=r)>=0&&e<=127?r:null;},y=function y(t,e){return void 0===e&&(e=440),"number"==typeof t?Math.pow(2,(t-69)/12)*e:null;},b=function b(t){return m(t).freq||y(t);},w=Math.log(2),P=Math.log(440),v=function v(t){var e=12*(Math.log(t)-P)/w+69;return Math.round(100*e)/100;},N=function N(t){return m(t).chroma;},T=function T(t){return m(t).oct;},O=function O(t){return"CDEFGAB"[t];},I=function I(t,e){return Array(e+1).join(t);},M=function M(t){return function(t,e){return"number"!=typeof t?"":e(t);}(t,function(t){return t<0?I("b",-t):I("#",t);});},A=function A(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=e?Object.assign({},m(e),t):t,r=n.step,i=n.alt,o=n.oct;if("number"!=typeof r)return null;var s=O(r);if(!s)return null;var a=s+M(i);return o||0===o?a+o:a;},k=A;function q(t,e){return void 0===e&&(e=!1),t=Math.round(t),(!0===e?u:c)[t%12]+(Math.floor(t/12)-1);}var E=function E(t,e){void 0===e&&(e=!0);var n=m(t),r=n.alt,i=n.chroma,o=n.midi;if(null===i)return null;var s=!1===e?r<0:r>0;return null===o?g(q(i,s)):q(o,s);},_=function _(t){return E(t,!1);};var x=new RegExp("^([-+]?\\d+)(d{1,4}|m|M|P|A{1,4})|(AA|A|P|M|m|d|dd)([-+]?\\d+)$"),C=[0,2,4,5,7,9,11],z=("1P 2m 2M 3m 3M 4P 5P 6m 6M 7m 7M 8P".split(" "),Object.freeze({name:null,num:null,q:null,step:null,alt:null,dir:null,type:null,simple:null,semitones:null,chroma:null,oct:null})),D=function D(t){return(Math.abs(t)-1)%7;},j=function j(t){var e=function(t){var e=x.exec(""+t);return null===e?null:e[1]?[e[1],e[2]]:[e[4],e[3]];}(t);if(null===e)return z;var n,r,i={num:0,q:"d",name:"",type:"M",step:0,dir:-1,simple:1,alt:0,oct:0,semitones:0,chroma:0,ic:0};return i.num=+e[0],i.q=e[1],i.step=D(i.num),i.type="PMMPPMM"[i.step],"M"===i.type&&"P"===i.q?z:(i.name=""+i.num+i.q,i.dir=i.num<0?-1:1,i.simple=8===i.num||-8===i.num?i.num:i.dir*(i.step+1),i.alt=(n=i.type,"M"===(r=i.q)&&"M"===n||"P"===r&&"P"===n?0:"m"===r&&"M"===n?-1:/^A+$/.test(r)?r.length:/^d+$/.test(r)?"P"===n?-r.length:-r.length-1:null),i.oct=Math.floor((Math.abs(i.num)-1)/7),i.semitones=i.dir*(C[i.step]+i.alt+12*i.oct),i.chroma=(i.dir*(C[i.step]+i.alt)%12+12)%12,Object.freeze(i));},L={};function R(t){return"string"!=typeof t?z:L[t]||(L[t]=j(t));}"P m M m M P d P m M m M".split(" ");var B=[0,2,4,-1,1,3,5],U=B.map(function(t){return Math.floor(7*t/12);}),G=[3,0,4,1,5,2,6];var F=function F(t,e,n){var r=G[function(t){var e=(t+1)%7;return e<0?7+e:e;}(t)],i=Math.floor((t+1)/7);return void 0===e?{step:r,alt:i,dir:n}:{step:r,alt:i,oct:e+4*i+U[r],dir:n};},Q=function Q(t){return function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(e){var n=t(e);return null===n.name?null:function(t){var e=t.step,n=t.alt,r=t.oct,i=t.dir;void 0===i&&(i=1);var o=B[e]+7*n;return null===r?[i*o]:[i*o,i*(r-U[e]-4*n)];}(n);});},V=Q(m),H=Q(R);function $(t,e){if(1===arguments.length)return function(e){return $(t,e);};var n=V(t),r=H(e);if(null===n||null===r)return null;var i=1===n.length?[n[0]+r[0]]:[n[0]+r[0],n[1]+r[1]];return k(F(i[0],i[1]));}var K=n(37),W=n(38),J=function J(t){return N(t)||function(t){return R(t).chroma;}(t)||0;},Y=function Y(t){return parseInt(X(t),2);};function X(t){if(tt(t))return t;if(!Array.isArray(t))return"";var e=[0,0,0,0,0,0,0,0,0,0,0,0];return t.map(J).forEach(function(t){e[t]=1;}),e.join("");}var Z=/^[01]{12}$/;function tt(t){return Z.test(t);}"1P 2m 2M 3m 3M 4P 5d 5P 6m 6M 7m 7M".split(" ");function et(t,e){return arguments.length>1?et(t)(e):(t=Y(t),function(e){return(e=Y(e))!==t&&(e&t)===e;});}function nt(t,e){return arguments.length>1?nt(t)(e):(t=Y(t),function(e){return(e=Y(e))!==t&&(e|t)===e;});}var rt,it,ot,st=function st(t){var e=Object.keys(t).sort(),n=[],r=[],i=function i(t,e,_i5){n[t]=e,r[_i5]=r[_i5]||[],r[_i5].push(t);};e.forEach(function(e){var n=t[e][0].split(" "),r=t[e][1],o=X(n);i(e,n,o),r&&r.forEach(function(t){return i(t,n,o);});});var o=Object.keys(n).sort(),s=function s(t){return n[t];};return s.names=function(t){return"string"==typeof t?(r[t]||[]).slice():(!0===t?o:e).slice();},s;},at=st(K),ut=st(W),ct=(rt=at,it=ut,(ot=function ot(t){return rt(t)||it(t);}).names=function(t){return rt.names(t).concat(it.names(t));},Object.freeze({name:null,intervals:[],names:[],chroma:null,setnum:null}));at.names;var lt=ut.names,ht=Object.freeze({name:null,names:[],intervals:[],chroma:null,setnum:null}),pt=function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(t){var e=ut(t);if(!e)return ht;var n={intervals:e,name:t};return n.chroma=X(e),n.setnum=parseInt(n.chroma,2),n.names=ut.names(n.chroma),n;}),ft=function ft(t){return pt(bt(t)[1]).intervals;};function mt(t,e){if(e)return pt(e).intervals.map($(t));var n=bt(t),r=n[0],i=n[1];return pt(i).intervals.map($(r));}var dt=function dt(t){return void 0!==ut(bt(t)[1]);},gt=function gt(t){if(!ft(t).length)return[];var e=nt(ft(t));return ut.names().filter(function(t){return e(ut(t));});},St=function St(t){var e=et(ft(t));return ut.names().filter(function(t){return e(ut(t));});},yt=/^(6|64|7|9|11|13)$/;function bt(t){var e=h(t);return""===e[0]?["",t]:"A"===e[0]&&"ug"===e[3]?["","aug"]:yt.test(e[2])?[e[0]+e[1],e[2]+e[3]]:[e[0]+e[1]+e[2],e[3]];}var wt=n(1);var Pt=[["1P","3M","5P"],["1P","3m","5P"],["1P","3M","5A"],["1P","3m","5d"]];var vt;!function(t){t[t.Major=0]="Major",t[t.Minor=1]="Minor",t[t.Augmented=2]="Augmented",t[t.Diminished=3]="Diminished",t[t.Other=4]="Other";}(vt||(vt={}));var Nt=/*#__PURE__*/function(_Error6){babelHelpers.inherits(Nt,_Error6);var _super16=_createSuper(Nt);function Nt(t){var _this24;babelHelpers.classCallCheck(this,Nt);_this24=_super16.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this24),new.target.prototype);return _this24;}return babelHelpers.createClass(Nt);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var Tt=/*#__PURE__*/function(_Error7){babelHelpers.inherits(Tt,_Error7);var _super17=_createSuper(Tt);function Tt(t){var _this25;babelHelpers.classCallCheck(this,Tt);_this25=_super17.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this25),new.target.prototype);return _this25;}return babelHelpers.createClass(Tt);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var Ot=/*#__PURE__*/function(){function Ot(){babelHelpers.classCallCheck(this,Ot);}babelHelpers.createClass(Ot,null,[{key:"pitches",value:function pitches(t){if(!i.tokenize(t)[0]||!i.exists(t))throw new Nt("Unrecognized chord symbol: "+t);return i.notes(t).map(r.chroma);}},{key:"root",value:function root(t){var e=i.tokenize(t)[0];if(!e)throw new Nt("Chord symbol has unknown root: "+t);return r.chroma(e);}},{key:"quality",value:function quality(t){if(!i.exists(t))throw new Nt("Unrecognized chord symbol: "+t);var e=i.intervals(t),n=Pt.map(function(t){return t.every(function(t){return e.includes(t);});}),r=n.indexOf(!0),o=n.lastIndexOf(!0);return r>=0&&r===o?r:vt.Other;}}]);return Ot;}();var It=/*#__PURE__*/function(){function It(){babelHelpers.classCallCheck(this,It);}babelHelpers.createClass(It,[{key:"encodeProgression",value:function encodeProgression(t,e){var _this26=this;var n=t.map(function(t){return _this26.encode(t);}),r=Array.from(Array(e).keys()).map(function(t){return Math.floor(t*n.length/e);});return o.stack(r.map(function(t){return n[t];}));}}]);return It;}();function Mt(t){switch(t){case"MajorMinorChordEncoder":return new At();case"TriadChordEncoder":return new kt();case"PitchChordEncoder":return new qt();default:throw new Error("Unknown chord encoder type: "+t);}}var At=/*#__PURE__*/function(_It){babelHelpers.inherits(At,_It);var _super18=_createSuper(At);function At(){var _this27;babelHelpers.classCallCheck(this,At);_this27=_super18.apply(this,arguments),_this27.depth=1+2*wt.NUM_PITCH_CLASSES;return _this27;}babelHelpers.createClass(At,[{key:"index",value:function index(t){if(t===wt.NO_CHORD)return 0;var e=Ot.root(t),n=1+Ot.quality(t)*wt.NUM_PITCH_CLASSES+e;if(n>=this.depth)throw new Tt("Chord is neither major nor minor: "+t);return n;}},{key:"encode",value:function encode(t){var _this28=this;return o.tidy(function(){return o.oneHot(o.tensor1d([_this28.index(t)],"int32"),_this28.depth).as1D();});}}]);return At;}(It);var kt=/*#__PURE__*/function(_It2){babelHelpers.inherits(kt,_It2);var _super19=_createSuper(kt);function kt(){var _this29;babelHelpers.classCallCheck(this,kt);_this29=_super19.apply(this,arguments),_this29.depth=1+4*wt.NUM_PITCH_CLASSES;return _this29;}babelHelpers.createClass(kt,[{key:"index",value:function index(t){if(t===wt.NO_CHORD)return 0;var e=Ot.root(t),n=1+Ot.quality(t)*wt.NUM_PITCH_CLASSES+e;if(n>=this.depth)throw new Tt("Chord is not a standard triad: "+t);return n;}},{key:"encode",value:function encode(t){var _this30=this;return o.tidy(function(){return o.oneHot(o.tensor1d([_this30.index(t)],"int32"),_this30.depth).as1D();});}}]);return kt;}(It);var qt=/*#__PURE__*/function(_It3){babelHelpers.inherits(qt,_It3);var _super20=_createSuper(qt);function qt(){var _this31;babelHelpers.classCallCheck(this,qt);_this31=_super20.apply(this,arguments),_this31.depth=1+3*wt.NUM_PITCH_CLASSES;return _this31;}babelHelpers.createClass(qt,[{key:"encode",value:function encode(t){var _this32=this;return o.tidy(function(){if(t===wt.NO_CHORD)return o.oneHot(o.tensor1d([0],"int32"),_this32.depth).as1D();var e=Ot.root(t),n=o.oneHot(o.tensor1d([e],"int32"),wt.NUM_PITCH_CLASSES).as1D(),r=o.buffer([wt.NUM_PITCH_CLASSES]);Ot.pitches(t).forEach(function(t){return r.set(1,t);});var i=r.toTensor().as1D(),s=n;return o.concat1d([o.tensor1d([0]),n,i,s]);});}}]);return qt;}(It);},,function(t,e,n){"use strict";t.exports=n(21);},function(t,e,n){"use strict";var r=e;function i(){r.util._configure(),r.Writer._configure(r.BufferWriter),r.Reader._configure(r.BufferReader);}r.build="minimal",r.Writer=n(14),r.BufferWriter=n(30),r.Reader=n(15),r.BufferReader=n(31),r.util=n(8),r.rpc=n(32),r.roots=n(34),r.configure=i,i();},function(t,e,n){"use strict";t.exports=function(t,e){var n=new Array(arguments.length-1),r=0,i=2,o=!0;for(;i1&&"="===t.charAt(e);){++n;}return Math.ceil(3*t.length)/4-n;};for(var i=new Array(64),o=new Array(123),s=0;s<64;){o[i[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;}r.encode=function(t,e,n){for(var r,o=null,s=[],a=0,u=0;e>2],r=(3&c)<<4,u=1;break;case 1:s[a++]=i[r|c>>4],r=(15&c)<<2,u=2;break;case 2:s[a++]=i[r|c>>6],s[a++]=i[63&c],u=0;}a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,s)),a=0);}return u&&(s[a++]=i[r],s[a++]=61,1===u&&(s[a++]=61)),o?(a&&o.push(String.fromCharCode.apply(String,s.slice(0,a))),o.join("")):String.fromCharCode.apply(String,s.slice(0,a));};r.decode=function(t,e,n){for(var r,i=n,s=0,a=0;a1)break;if(void 0===(u=o[u]))throw Error("invalid encoding");switch(s){case 0:r=u,s=1;break;case 1:e[n++]=r<<2|(48&u)>>4,r=u,s=2;break;case 2:e[n++]=(15&r)<<4|(60&u)>>2,r=u,s=3;break;case 3:e[n++]=(3&r)<<6|u,s=0;}}if(1===s)throw Error("invalid encoding");return n-i;},r.test=function(t){return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t);};},function(t,e,n){"use strict";function r(){this._listeners={};}t.exports=r,r.prototype.on=function(t,e,n){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:n||this}),this;},r.prototype.off=function(t,e){if(void 0===t)this._listeners={};else if(void 0===e)this._listeners[t]=[];else for(var n=this._listeners[t],r=0;r0?0:2147483648,n,r);else if(isNaN(e))t(2143289344,n,r);else if(e>34028234663852886e22)t((i<<31|2139095040)>>>0,n,r);else if(e<11754943508222875e-54)t((i<<31|Math.round(e/1401298464324817e-60))>>>0,n,r);else{var o=Math.floor(Math.log(e)/Math.LN2);t((i<<31|o+127<<23|8388607&Math.round(e*Math.pow(2,-o)*8388608))>>>0,n,r);}}function n(t,e,n){var r=t(e,n),i=2*(r>>31)+1,o=r>>>23&255,s=8388607&r;return 255===o?s?NaN:i*(1/0):0===o?1401298464324817e-60*i*s:i*Math.pow(2,o-150)*(s+8388608);}t.writeFloatLE=e.bind(null,i),t.writeFloatBE=e.bind(null,o),t.readFloatLE=n.bind(null,s),t.readFloatBE=n.bind(null,a);}(),"undefined"!=typeof Float64Array?function(){var e=new Float64Array([-0]),n=new Uint8Array(e.buffer),r=128===n[7];function i(t,r,i){e[0]=t,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3],r[i+4]=n[4],r[i+5]=n[5],r[i+6]=n[6],r[i+7]=n[7];}function o(t,r,i){e[0]=t,r[i]=n[7],r[i+1]=n[6],r[i+2]=n[5],r[i+3]=n[4],r[i+4]=n[3],r[i+5]=n[2],r[i+6]=n[1],r[i+7]=n[0];}function s(t,r){return n[0]=t[r],n[1]=t[r+1],n[2]=t[r+2],n[3]=t[r+3],n[4]=t[r+4],n[5]=t[r+5],n[6]=t[r+6],n[7]=t[r+7],e[0];}function a(t,r){return n[7]=t[r],n[6]=t[r+1],n[5]=t[r+2],n[4]=t[r+3],n[3]=t[r+4],n[2]=t[r+5],n[1]=t[r+6],n[0]=t[r+7],e[0];}t.writeDoubleLE=r?i:o,t.writeDoubleBE=r?o:i,t.readDoubleLE=r?s:a,t.readDoubleBE=r?a:s;}():function(){function e(t,e,n,r,i,o){var s=r<0?1:0;if(s&&(r=-r),0===r)t(0,i,o+e),t(1/r>0?0:2147483648,i,o+n);else if(isNaN(r))t(0,i,o+e),t(2146959360,i,o+n);else if(r>17976931348623157e292)t(0,i,o+e),t((s<<31|2146435072)>>>0,i,o+n);else{var a;if(r<22250738585072014e-324)t((a=r/5e-324)>>>0,i,o+e),t((s<<31|a/4294967296)>>>0,i,o+n);else{var u=Math.floor(Math.log(r)/Math.LN2);1024===u&&(u=1023),t(4503599627370496*(a=r*Math.pow(2,-u))>>>0,i,o+e),t((s<<31|u+1023<<20|1048576*a&1048575)>>>0,i,o+n);}}}function n(t,e,n,r,i){var o=t(r,i+e),s=t(r,i+n),a=2*(s>>31)+1,u=s>>>20&2047,c=4294967296*(1048575&s)+o;return 2047===u?c?NaN:a*(1/0):0===u?5e-324*a*c:a*Math.pow(2,u-1075)*(c+4503599627370496);}t.writeDoubleLE=e.bind(null,i,0,4),t.writeDoubleBE=e.bind(null,o,4,0),t.readDoubleLE=n.bind(null,s,0,4),t.readDoubleBE=n.bind(null,a,4,0);}(),t;}function i(t,e,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24;}function o(t,e,n){e[n]=t>>>24,e[n+1]=t>>>16&255,e[n+2]=t>>>8&255,e[n+3]=255&t;}function s(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0;}function a(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0;}t.exports=r(r);},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod;}catch(t){}return null;}module.exports=inquire;},function(t,e,n){"use strict";var r=e;r.length=function(t){for(var e=0,n=0,r=0;r191&&r<224?o[s++]=(31&r)<<6|63&t[e++]:r>239&&r<365?(r=((7&r)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,o[s++]=55296+(r>>10),o[s++]=56320+(1023&r)):o[s++]=(15&r)<<12|(63&t[e++])<<6|63&t[e++],s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),s=0);}return i?(s&&i.push(String.fromCharCode.apply(String,o.slice(0,s))),i.join("")):String.fromCharCode.apply(String,o.slice(0,s));},r.write=function(t,e,n){for(var r,i,o=n,s=0;s>6|192,e[n++]=63&r|128):55296==(64512&r)&&56320==(64512&(i=t.charCodeAt(s+1)))?(r=65536+((1023&r)<<10)+(1023&i),++s,e[n++]=r>>18|240,e[n++]=r>>12&63|128,e[n++]=r>>6&63|128,e[n++]=63&r|128):(e[n++]=r>>12|224,e[n++]=r>>6&63|128,e[n++]=63&r|128);}return n-o;};},function(t,e,n){"use strict";t.exports=function(t,e,n){var r=n||8192,i=r>>>1,o=null,s=r;return function(n){if(n<1||n>i)return t(n);s+n>r&&(o=t(r),s=0);var a=e.call(o,s,s+=n);return 7&s&&(s=1+(7|s)),a;};};},function(t,e,n){"use strict";t.exports=i;var r=n(8);function i(t,e){this.lo=t>>>0,this.hi=e>>>0;}var o=i.zero=new i(0,0);o.toNumber=function(){return 0;},o.zzEncode=o.zzDecode=function(){return this;},o.length=function(){return 1;};var s=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(t){if(0===t)return o;var e=t<0;e&&(t=-t);var n=t>>>0,r=(t-n)/4294967296>>>0;return e&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new i(n,r);},i.from=function(t){if("number"==typeof t)return i.fromNumber(t);if(r.isString(t)){if(!r.Long)return i.fromNumber(parseInt(t,10));t=r.Long.fromString(t);}return t.low||t.high?new i(t.low>>>0,t.high>>>0):o;},i.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=1+~this.lo>>>0,n=~this.hi>>>0;return e||(n=n+1>>>0),-(e+4294967296*n);}return this.lo+4294967296*this.hi;},i.prototype.toLong=function(t){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(t)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(t)};};var a=String.prototype.charCodeAt;i.fromHash=function(t){return t===s?o:new i((a.call(t,0)|a.call(t,1)<<8|a.call(t,2)<<16|a.call(t,3)<<24)>>>0,(a.call(t,4)|a.call(t,5)<<8|a.call(t,6)<<16|a.call(t,7)<<24)>>>0);},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24);},i.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this;},i.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this;},i.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===e?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:n<128?9:10;};},function(t,e,n){"use strict";t.exports=o;var r=n(14);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(8);function o(){r.call(this);}function s(t,e,n){t.length<40?i.utf8.write(t,e,n):e.utf8Write?e.utf8Write(t,n):e.write(t,n);}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&babelHelpers.instanceof(i.Buffer.prototype,Uint8Array)&&"set"===i.Buffer.prototype.set.name?function(t,e,n){e.set(t,n);}:function(t,e,n){if(t.copy)t.copy(e,n,0,t.length);else for(var r=0;r>>0;return this.uint32(e),e&&this._push(o.writeBytesBuffer,e,t),this;},o.prototype.string=function(t){var e=i.Buffer.byteLength(t);return this.uint32(e),e&&this._push(s,e,t),this;},o._configure();},function(t,e,n){"use strict";t.exports=o;var r=n(15);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(8);function o(t){r.call(this,t);}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice);},o.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len));},o._configure();},function(t,e,n){"use strict";e.Service=n(33);},function(t,e,n){"use strict";t.exports=i;var r=n(8);function i(t,e,n){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=Boolean(e),this.responseDelimited=Boolean(n);}(i.prototype=Object.create(r.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function t(e,n,i,o,s){if(!o)throw TypeError("request must be specified");var a=this;if(!s)return r.asPromise(t,a,e,n,i,o);if(a.rpcImpl)try{return a.rpcImpl(e,n[a.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(t,n){if(t)return a.emit("error",t,e),s(t);if(null!==n){if(!babelHelpers.instanceof(n,i))try{n=i[a.responseDelimited?"decodeDelimited":"decode"](n);}catch(t){return a.emit("error",t,e),s(t);}return a.emit("data",n,e),s(null,n);}a.end(!0);});}catch(t){return a.emit("error",t,e),void setTimeout(function(){s(t);},0);}else setTimeout(function(){s(Error("already ended"));},0);},i.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this;};},function(t,e,n){"use strict";t.exports={};},,function(t,e,n){"use strict";n.r(e),n.d(e,"auxiliaryInputFromSpec",function(){return i;}),n.d(e,"AuxiliaryInput",function(){return o;}),n.d(e,"BinaryCounter",function(){return s;});var r=n(0);function i(t){switch(t.type){case"BinaryCounter":return new s(t.args);default:throw new Error("Unknown auxiliary input: "+t);}}var o=/*#__PURE__*/babelHelpers.createClass(function o(t){babelHelpers.classCallCheck(this,o);this.depth=t;});var s=/*#__PURE__*/function(_o){babelHelpers.inherits(s,_o);var _super21=_createSuper(s);function s(t){babelHelpers.classCallCheck(this,s);return _super21.call(this,t.numBits);}babelHelpers.createClass(s,[{key:"getTensors",value:function getTensors(t){var e=r.buffer([t,this.depth]);for(var _n7=0;_n70?t.tempos[i-1].bpm:t.tempos[0].bpm,s=r.ticks/t.ppq-n,a=60/o*s;r.time=a+e,e=r.time,n+=s;}),this.timeSignatures.sort(function(t,e){return t.ticks-e.ticks;}),this.timeSignatures.forEach(function(e,n){var r=n>0?t.timeSignatures[n-1]:t.timeSignatures[0],i=(e.ticks-r.ticks)/t.ppq/r.timeSignature[0]/(r.timeSignature[1]/4);r.measures=r.measures||0,e.measures=i+r.measures;});},t.prototype.ticksToSeconds=function(t){var e=r.search(this.tempos,t);if(-1!==e){var n=this.tempos[e],i=n.time,o=(t-n.ticks)/this.ppq;return i+60/n.bpm*o;}return 0.5*(t/this.ppq);},t.prototype.ticksToMeasures=function(t){var e=r.search(this.timeSignatures,t);if(-1!==e){var n=this.timeSignatures[e],i=(t-n.ticks)/this.ppq;return n.measures+i/(n.timeSignature[0]/n.timeSignature[1])/4;}return t/this.ppq/4;},Object.defineProperty(t.prototype,"ppq",{get:function get(){return i.get(this);},enumerable:!0,configurable:!0}),t.prototype.secondsToTicks=function(t){var e=r.search(this.tempos,t,"time");if(-1!==e){var n=this.tempos[e],i=(t-n.time)/(60/n.bpm);return Math.round(n.ticks+i*this.ppq);}var o=t/0.5;return Math.round(o*this.ppq);},t.prototype.toJSON=function(){return{keySignatures:this.keySignatures,meta:this.meta,name:this.name,ppq:this.ppq,tempos:this.tempos.map(function(t){return{bpm:t.bpm,ticks:t.ticks};}),timeSignatures:this.timeSignatures};},t.prototype.fromJSON=function(t){this.name=t.name,this.tempos=t.tempos.map(function(t){return Object.assign({},t);}),this.timeSignatures=t.timeSignatures.map(function(t){return Object.assign({},t);}),this.keySignatures=t.keySignatures.map(function(t){return Object.assign({},t);}),this.meta=t.meta.map(function(t){return Object.assign({},t);}),i.set(this,t.ppq),this.update();},t.prototype.setTempo=function(t){this.tempos=[{bpm:t,ticks:0}],this.update();},t;}();e.Header=o;},,,,,,function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{u(r.next(t));}catch(t){o(t);}}function a(t){try{u(r.throw(t));}catch(t){o(t);}}function u(t){var e;t.done?i(t.value):(e=t.value,babelHelpers.instanceof(e,n)?e:new n(function(t){t(e);})).then(s,a);}u((r=r.apply(t,e||[])).next());});},i=this&&this.__generator||function(t,e){var n,r,i,o,s={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1];},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this;}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;){try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue;}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&t[i-1][n]<=e)return i-1;for(;re)return s;a[n]>e?o=s:a[n]=t.absoluteTime;});if(-1!==e){var n=s.splice(e,1)[0];l.addNote({durationTicks:n.absoluteTime-t.absoluteTime,midi:t.noteNumber,noteOffVelocity:n.velocity/127,ticks:t.absoluteTime,velocity:t.velocity/127});}},l=this;i.length;){u();}t.filter(function(t){return"controller"===t.type;}).forEach(function(t){n.addCC({number:t.controllerType,ticks:t.absoluteTime,value:t.value/127});}),t.filter(function(t){return"pitchBend"===t.type;}).forEach(function(t){n.addPitchBend({ticks:t.absoluteTime,value:t.value/Math.pow(2,13)});});}}return t.prototype.addNote=function(t){var e=c.get(this),n=new u.Note({midi:0,ticks:0,velocity:1},{ticks:0,velocity:0},e);return Object.assign(n,t),r.insert(this.notes,n,"ticks"),this;},t.prototype.addCC=function(t){var e=c.get(this),n=new i.ControlChange({controllerType:t.number},e);return delete t.number,Object.assign(n,t),Array.isArray(this.controlChanges[n.number])||(this.controlChanges[n.number]=[]),r.insert(this.controlChanges[n.number],n,"ticks"),this;},t.prototype.addPitchBend=function(t){var e=c.get(this),n=new s.PitchBend({},e);return Object.assign(n,t),r.insert(this.pitchBends,n,"ticks"),this;},Object.defineProperty(t.prototype,"duration",{get:function get(){if(!this.notes.length)return 0;for(var t=this.notes[this.notes.length-1].time+this.notes[this.notes.length-1].duration,e=0;e6&&arguments[6]!==undefined?arguments[6]:1;var u=document.createElementNS(r,"path");return u.setAttributeNS(null,"d",e),u.setAttributeNS(null,"transform","translate(".concat(n,", ").concat(i,") scale(").concat(o,", ").concat(s,")")),u.setAttributeNS(null,"opacity",""+a),t.appendChild(u),u;}function o(t,e,n,i,o){var s=arguments.length>5&&arguments[5]!==undefined?arguments[5]:!1;var a=arguments.length>6&&arguments[6]!==undefined?arguments[6]:1;var u=arguments.length>7&&arguments[7]!==undefined?arguments[7]:1;var c=document.createElementNS(r,"text");c.setAttributeNS(null,"font-family","Times"),c.setAttributeNS(null,"font-size",o),s&&c.setAttributeNS(null,"font-weight","bold"),c.setAttributeNS(null,"transform","translate(".concat(n,", ").concat(i,") scale(").concat(a,", ").concat(u,")"));var l=document.createTextNode(e);return c.appendChild(l),t.appendChild(c),c;}function s(t,e){var n=document.createElementNS(r,"g");return n.setAttribute("data-id",e),t.appendChild(n),n;}function a(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:1;var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;var o=t.querySelector("animate");if(!o){(o=document.createElementNS(r,"animate")).setAttributeNS(null,"attributeName","opacity"),o.setAttributeNS(null,"dur","4s"),o.setAttributeNS(null,"fill","freeze"),o.setAttributeNS(null,"keyTimes","0; 0.25; 0.5; 0.75; 1");var _t28=(n+3*i)/4;o.setAttributeNS(null,"values","".concat(n,"; ").concat(_t28,"; ").concat(i,"; ").concat(_t28,"; ").concat(n));}return e?o.setAttributeNS(null,"repeatCount","indefinite"):o.setAttributeNS(null,"repeatCount","1"),t.appendChild(o),t;}},function(t,e,n){"use strict";n.r(e),n.d(e,"PATH_SCALE",function(){return r;}),n.d(e,"staffLinePath",function(){return o;}),n.d(e,"extraLinePath",function(){return s;}),n.d(e,"barPath",function(){return a;}),n.d(e,"stemPath",function(){return u;}),n.d(e,"singleFlagPath",function(){return c;}),n.d(e,"multiFlagPath",function(){return l;}),n.d(e,"tiePath",function(){return h;}),n.d(e,"dotPath",function(){return p;}),n.d(e,"NOTE_PATHS",function(){return f;}),n.d(e,"REST_PATHS",function(){return m;}),n.d(e,"CLEF_PATHS",function(){return d;}),n.d(e,"ACCIDENTAL_PATHS",function(){return g;});var r=100,i="M 0,10 C 0,-15 35,-50 80,-50 110,-50 125,-35 125,-10 \n125,15 90,50 45,50 15,50 0,35 0,10 Z",o="m 0,0 h 100",s="m -25,0 h 175",a="m 0,-200 v 400",u="m 0,0 v 100 h 15 v -100 z",c="M0,0 h 12 c 7,100 175,156 62,314 79,-177 -49,\n-193 -61,-200 l -13,-5 z",l="m 0,0 h 10 c 6,72 173,64 84,227 44,-120 -44,\n-123 -94,-167 z",h="M 0,25 C 10,46 30,67 50,67 69,67 90,47 100,25 94,\n65 73,89 50,89 26,89 5,63 0,25 Z",p="M 5 -20 a 20 20 0 1 0 0.00001 0 z",f={4:{path:"m 0,0 c 0,-37 49,-51 79,-51 31,0 83,13 83,51 0,39 \n-55,51 -84,51 C 49,51 0,37 0,0 Z m 111,31 c 13,-19 0,-58 -22,-68 -33,-15 \n-53,10 -39,49 9,27 48,39 61,19 z",width:150,stemVSteps:0,stemAnchor:0,flags:0},2:{path:"m 0,10 c 0,-25 35,-60 80,-60 15,0 45,4 45,40 C 125,16 \n89,50 45,50 17,50 0,36 0,10 Z m 71,7 c 17,-11 45,-34 38,-45 -7,-10 -39,1 \n-57,12 -19,11 -42,31 -36,42 6,10 37,2 55,-9 z",width:125,stemVSteps:7,stemAnchor:-10,flags:0},1:{path:i,width:125,stemVSteps:7,stemAnchor:-10,flags:0},0.5:{path:i,width:125,stemVSteps:7,stemAnchor:-10,flags:1},0.25:{path:i,width:125,stemVSteps:9,stemAnchor:-10,flags:2},0.125:{path:i,width:125,stemVSteps:11,stemAnchor:-10,flags:3},0.0625:{path:i,width:125,stemVSteps:13,stemAnchor:-10,flags:4}},m={4:"m 0,-50 h 125 v -50 H 0 Z",2:"M 0,0 H 125 V -50 H 0 Z",1:"m 0,-25 c 39,-39 37,-75 8,-120 l 6,-5 61,103 C \n40,-13 31,4 73,71 l -5,5 C 14,52 16,125 67,144 l -4,6 C -37,102 -1,22 59,60 Z",0.5:"m 52,-47 c 26,-2 42,-21 48,-42 l 12,4 L 64,83 52,79 \n88,-49 c 0,0 -17,22 -57,22 -16,0 -31,-13 -31,-27 0,-18 10,-31 27,-31 17,0 \n33,15 25,38 z",0.25:"m 129,-191 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -20,69 \nc -7,18 -22,33 -45,35 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 15,27 \n31,27 40,0 57,-22 57,-22 l -36,128 12,4 77,-270 z",0.125:"m 129,-191 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -20,69 \nc -7,18 -22,33 -45,35 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 15,27 \n31,27 40,0 57,-22 57,-22 L 68,20 C 61,37 46,51 24,52 32,29 16,14 -1,14 c \n-17,0 -27,13 -27,31 0,14 15,27 31,27 38,0 55,-20 57,-22 l -36,128 12,4 \n105,-369 z",0.0625:"m 158,-292 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -17,61 \nv 0 c -6,21 -22,40 -48,42 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 \n15,27 31,27 40,0 57,-22 57,-22 l -20,69 c -7,18 -22,33 -45,35 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 L 68,20 C \n61,37 46,51 24,52 32,29 16,14 -1,14 c -17,0 -27,13 -27,31 0,14 15,27 31,27 \n38,0 55,-20 57,-22 l -36,128 12,4 134,-469 z"},d={50:{path:"m 101,-199 c -49,0 -100,28 -100,83 0,39 58,57 82,26 15,-20 \n-4,-47 -32,-47 -23,1 -25,0 -25,-8 0,-22 40,-46 71,-41 91,16 67,208 -105,302 \n75,-27 198,-94 211,-201 6,-66 -42,-114 -102,-114 z m 143,33 c -13,0 -23,11 \n-23,24 0,14 10,24 23,24 13,0 23,-11 23,-24 0,-13 -10,-24 -23,-24 z m 2,83 c \n-13,0 -23,11 -23,24 0,14 10,24 23,24 13,0 23,-11 23,-24 0,-13 -10,-24 -23,-24 \nz",upper:-4,lower:3},71:{path:"M 139,48 C 102,57 76,120 131,151 41,128 64,24 129,2 L \n117,-57 C -32,47 26,217 166,182 Z m 12,-1 27,131 C 242,153 216,46 151,47 \nZ m -35,-177 c 34,-23 82,-117 50,-140 -23,-17 -71,33 -50,140 z m -10,10 c \n-23,-77 -20,-200 48,-213 19,-4 89,171 -26,266 l 13,66 c 120,-6 137,155 \n39,191 l 12,58 c 30,131 -137,145 -138,47 0,-29 37,-59 63,-37 21,18 25,71 \n-25,70 32,42 103,0 91,-65 L 167,193 C 56,232 -112,63 106,-120 Z",upper:-7,lower:8}},g=[null,"m -49,-121 v 52 l -29,9 v -48 h -8 v 51 l -20,6 v 29 l \n20,-6 v 70 l -20,6 v 30 l 20,-6 v 51 h 8 V 69 l 30,-8 v 50 h 8 V 58 l 20,-6 \nV 23 l -20,6 v -71 l 20,-6 v -29 l -20,6 v -50 z m 1,82 v 71 l -29,9 v -71 z","M -106,-166 V 67 c 52,-42 85,-56 85,-94 0,-47 -46,-51 \n-73,-22 v -117 z m 31,120 c 20,0 42,46 -20,91 V -7 c 0,-28 10,-39 20,-39 z","m -81,-58 v -48 H -92 V 73 l 60,-13 v 50 h 11 V -72 Z m \n50,24 v 58 l -50,11 v -58 z"];},function(t,e,n){"use strict";n.r(e),n.d(e,"MIN_RESOLUTION",function(){return r;}),n.d(e,"STEM_WIDTH",function(){return i;}),n.d(e,"LINE_STROKE",function(){return o;}),n.d(e,"COMPACT_SPACING",function(){return s;});var r=0.0625,i=15,o=1,s=150;},function(t,e,n){"use strict";n.r(e),n.d(e,"MAX_QUARTER_DIVISION",function(){return u;}),n.d(e,"ScrollType",function(){return c;}),n.d(e,"StaffSVGRender",function(){return l;});var r=n(2),i=n(0),o=n(1);var s=[{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[0,1,0,1,0,0,1,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,0,3,0,3,0,0,3,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,0,1,0,3,0,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,0,3,0,2,0,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,3,0,0,3,0,3,0,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,2,0,0,2,0,2,0,0,3]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-7],accidental:[3,0,3,0,3,0,0,3,0,3,0,0]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[0,1,0,1,0,3,0,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,0,3,0,3,0,2,0,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,0,1,0,3,0,3,0,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,0,3,0,2,0,2,0,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,3,0,0,3,0,3,0,3,0,0]}],a=[{accidental:1,pitches:[]},{accidental:2,pitches:[70,75,68,73,66]},{accidental:1,pitches:[78,73]},{accidental:2,pitches:[70,75,68]},{accidental:1,pitches:[78,73,80,75]},{accidental:2,pitches:[70]},{accidental:2,pitches:[70,75,68,73,66,71]},{accidental:1,pitches:[78]},{accidental:2,pitches:[70,75,68,73]},{accidental:1,pitches:[78,73,80]},{accidental:2,pitches:[70,75]},{accidental:1,pitches:[78,73,80,75,70]}],u=16;var c;!function(t){t[t.PAGE=0]="PAGE",t[t.NOTE=1]="NOTE",t[t.BAR=2]="BAR";}(c||(c={}));var l=/*#__PURE__*/function(){function l(t,e,n){var _this33=this;babelHelpers.classCallCheck(this,l);this.handleScrollEvent=function(t){_this33.lastKnownScrollLeft=_this33.parentElement.scrollLeft,_this33.ticking||window.requestAnimationFrame(function(){_this33.changeAndDrawSignaturesIfNeeded(_this33.lastKnownScrollLeft),_this33.ticking=!1;}),_this33.ticking=!0;},this.scoreInfo=t,this.config={noteHeight:e.noteHeight||6,noteSpacing:e.noteSpacing||1,pixelsPerTimeStep:e.pixelsPerTimeStep||30,noteRGB:e.noteRGB||"8, 41, 64",activeNoteRGB:e.activeNoteRGB||"240, 84, 119"},this.div=n,this.timeSignatureNumerator=4,this.timeSignatureDenominator=4,this.key=e.defaultKey||0,this.scrollType=e.scrollType||c.PAGE,this.scale=this.config.noteHeight/o.PATH_SCALE,(void 0===e.pixelsPerTimeStep||e.pixelsPerTimeStep<=0)&&(this.config.pixelsPerTimeStep=0,this.config.noteSpacing=r.COMPACT_SPACING*this.scale),this.clear(),this.redraw();}babelHelpers.createClass(l,[{key:"clear",value:function clear(){for(;this.div.lastChild;){this.div.removeChild(this.div.lastChild);}this.div.style.overflow="visible",this.div.style.position="relative",this.overlaySVG=document.createElementNS(i.SVGNS,"svg"),this.overlaySVG.style.position="absolute",this.div.appendChild(this.overlaySVG),this.overlayG=Object(i.createSVGGroupChild)(this.overlaySVG,"overlay"),this.signaturesBlinking=!1,this.signaturesQuarters=0,this.parentElement=document.createElement("div"),this.parentElement.style.overflow="auto",this.div.appendChild(this.parentElement),this.ticking=!1,this.lastKnownScrollLeft=0,this.parentElement.addEventListener("scroll",this.handleScrollEvent),this.staffSVG=document.createElementNS(i.SVGNS,"svg"),this.parentElement.appendChild(this.staffSVG),this.staffG=Object(i.createSVGGroupChild)(this.staffSVG,"staff"),this.linesG=Object(i.createSVGGroupChild)(this.staffSVG,"lines"),this.setStroke(this.linesG),this.staffG.appendChild(this.linesG),this.musicG=Object(i.createSVGGroupChild)(this.staffSVG,"music"),this.setFill(this.musicG),this.setStroke(this.musicG,0),this.staffG.appendChild(this.musicG),this.signaturesG=Object(i.createSVGGroupChild)(this.staffSVG,"signatures"),this.staffG.appendChild(this.signaturesG);var t=0,e=0;this.scoreInfo.notes.forEach(function(n){t+=n.pitch,++e;});var n=t/e;this.clef=n<60?50:71,this.signaturesList=[{x:0,q:0}],this.signatureCurrent=0,this.signatureNext=0,this.changeKeySignatureIfNeeded(0),this.changeTimeSignatureIfNeeded(0),this.vStepSize=this.config.noteHeight/2,this.hStepSize=this.config.pixelsPerTimeStep,this.staffOffset=0,this.height=0,this.width=0,this.musicBlockMap=new Map(),this.playingNotes=[],this.lastBar=0,this.barAccidentals={},this.lastQ=-1;}},{key:"isPaintingActiveNote",value:function isPaintingActiveNote(t,e){var n=t.start===e.start,r=t.start<=e.start&&t.start+t.length>=e.start+e.length;return n||r;}},{key:"redraw",value:function redraw(t,e){var _this34=this;var n=-1;var r=0===this.config.pixelsPerTimeStep;if(t){var _o2=[];this.playingNotes.forEach(function(e){_this34.isPaintingActiveNote(e,t)?_o2.push(e):_this34.highlightElement(_this34.getGroup(e),!1);}),this.playingNotes=_o2;var _s2=this.getGroup(t);if(_s2){this.playingNotes.push(t),this.highlightElement(_s2,!0),n=_s2.getBoundingClientRect().left-this.staffSVG.getBoundingClientRect().left;var _o3=t.start,_a4=_s2.getAttribute("data-is-bar-beginning");(this.scrollType!==c.BAR||_a4)&&this.scrollIntoViewIfNeeded(e,n),!r&&this.signaturesBlinking&&_o3>=this.signaturesQuarters&&(this.signaturesBlinking=!1,Object(i.setFade)(this.overlayG,this.signaturesBlinking));}}else{this.setDetails();var _t29=-1===this.lastQ;var _e15=0,_n8=0;_t29?(_n8=this.drawSignatures(this.overlayG,_e15,!0,!0,!0),r&&(this.width=0,_n8+=this.config.noteSpacing),_n8+=this.drawRests(this.initialRest,_e15+_n8)):_e15=this.width,this.musicBlockMap.forEach(function(t,i){r||(_e15=_this34.quartersToTime(i)*_this34.hStepSize),i>_this34.lastQ?(_n8+=_this34.drawMusicBlock(t,_e15+_n8),_this34.lastQ=i):i===_this34.lastQ&&(_n8+=_this34.drawRests(t,_e15+_n8));});var _i6=this.staffSVG.getBoundingClientRect(),_o4=this.musicG.getBoundingClientRect();if(this.updateVerticalBoundaries(_o4.top-_i6.top,_o4.bottom-_i6.top),r)this.width+=_n8;else{var _t30=this.musicBlockMap.get(this.lastQ),_e16=this.quartersToTime(this.lastQ+_t30.notes[0].length);this.width=_e16*this.config.pixelsPerTimeStep;}this.staffSVG.setAttributeNS(null,"width",""+this.width),this.redrawStaff(this.linesG,0,this.width);}return n;}},{key:"drawMusicBlock",value:function drawMusicBlock(t,e){var _this35=this;var n=t.notes[0].start;var s=this.drawBarIfNeeded(n,e);s+=this.drawSignaturesIfNeeded(n,e+s);var a=0;for(var _e17=4;_e17>=r.MIN_RESOLUTION&&!a;_e17/=2){_e17<=t.notes[0].length&&(a=_e17);}if(0===a){var _e18=0===t.notes[0].length?"[infinite]":""+4/t.notes[0].length;console.warn(" StaffRender ","background:orange; color:white","StaffRender does not handle notes shorther than 1/".concat(4/r.MIN_RESOLUTION,"th, and this score tries to draw a 1/").concat(_e18,"th. Shortest possible note will be drawn instead.")),a=r.MIN_RESOLUTION;}var u=o.NOTE_PATHS[a];var c;if(u.stemAnchor&&(c=Object(i.createSVGGroupChild)(this.musicG,"stem")),t.notes.forEach(function(n){var r=n.vSteps*_this35.vStepSize,c=2*(n.vSteps>0?Math.floor(n.vSteps/2):Math.ceil(n.vSteps/2)),_l=n.vSteps>0?-2:2;for(var _t31=c;Math.abs(_t31)>4;_t31+=_l){Object(i.drawSVGPath)(_this35.linesG,o.extraLinePath,e+s,_t31*_this35.vStepSize,_this35.scale,1);}if(n.g=n.tiedFrom?n.tiedFrom.g:Object(i.createSVGGroupChild)(_this35.musicG,"".concat(n.start,"-").concat(n.pitch)),t.isBarBeginning&&n.g.setAttribute("data-is-bar-beginning","true"),n.tiedFrom){var _t32=e+s-n.tiedFrom.xHeadRight;Object(i.drawSVGPath)(n.g,o.tiePath,n.tiedFrom.xHeadRight,r,_t32/o.PATH_SCALE,_this35.scale*(n.vSteps<0?-1:1),n.opacity);}Object(i.drawSVGPath)(n.g,u.path,e+s,r,_this35.scale,_this35.scale,n.opacity),n.xHeadRight=e+s+u.width*_this35.scale,1.5*a<=n.length&&Object(i.drawSVGPath)(n.g,o.dotPath,e+s+u.width*_this35.scale+_this35.vStepSize/2,r-_this35.vStepSize/2,_this35.scale,_this35.scale,n.opacity),0!==n.accidental&&Object(i.drawSVGPath)(n.g,o.ACCIDENTAL_PATHS[n.accidental],e+s,r,_this35.scale,_this35.scale,n.opacity);}),u.stemAnchor){var _n9,_a5,_l5=e+s;var h=u.stemAnchor*this.scale,p=t.minVStep+t.maxVStep<0,f=u.flags>2?2*(u.flags-2):0;if(p?(_n9=t.maxVStep*this.vStepSize-h,_a5=(t.minVStep+7+f)*this.vStepSize):(_l5+=(u.width-r.STEM_WIDTH)*this.scale,_n9=t.minVStep*this.vStepSize+h,_a5=(t.maxVStep-7-f)*this.vStepSize),Object(i.drawSVGPath)(c,o.stemPath,_l5,_n9,this.scale,(_a5-_n9)/o.PATH_SCALE),1===u.flags)Object(i.drawSVGPath)(c,o.singleFlagPath,_l5,_a5,this.scale,this.scale*(p?-1:1),1);else if(u.flags>1)for(var _t33=0;_t33=r&&(this.config.pixelsPerTimeStep>0?e-=this.config.noteSpacing:n=this.config.noteSpacing,Object(i.drawSVGPath)(this.linesG,o.barPath,e,0,1,this.scale),this.lastBar=r),n;}},{key:"drawRests",value:function drawRests(t,e){var n=0,s=t.restToNextLength;if(s){this.config.pixelsPerTimeStep>0&&(e+=this.quartersToTime(t.notes[0].length)*this.hStepSize);var _a6=t.notes[0].start+t.notes[0].length,_u5=0;var _c4=this.lastBar+this.getBarLength()-_a6;var _l6;for(s>_c4&&(_u5=s-_c4,s=_c4),_l6=4;_l6>this.getBarLength()&&_l6>=r.MIN_RESOLUTION;_l6/=2){;}var h=_l6;for(;(s||_u5)&&h>=r.MIN_RESOLUTION;){if(h<=s){n+=this.drawBarIfNeeded(_a6,e+n),n+=this.drawSignaturesIfNeeded(_a6,e+n);var _t34=Object(i.drawSVGPath)(this.musicG,o.REST_PATHS[h],e+n,0,this.scale,this.scale);this.config.pixelsPerTimeStep>0?e+=this.quartersToTime(h)*this.hStepSize:(n+=_t34.getBoundingClientRect().width,n+=this.config.noteSpacing),_a6+=h,s-=h;}if(_u5&&s<=0){var _t35=this.getBarLength();for(_u5>_t35?(s=_t35,_u5-=_t35):(s=_u5,_u5=0),_l6=4;_l6>this.getBarLength()&&_l6>=r.MIN_RESOLUTION;_l6/=2){;}h=_l6;}s0?3:2);this.signaturesList.push({x:e-_a7,q:t}),null===this.signatureNext&&(this.signatureNext=e);var _u6=t>0?Object(i.createSVGGroupChild)(this.signaturesG,"signatures"):this.overlayG;n+=this.drawSignatures(_u6,e+n,!1,o,s);}return 0===this.config.pixelsPerTimeStep?n:0;}},{key:"drawSignatures",value:function drawSignatures(t,e,n,s,u){var _this36=this;var c=r.COMPACT_SPACING*this.scale;var _l4,h=c;var p=t===this.overlayG||this.config.pixelsPerTimeStep>0;if(p){(_l4=document.createElementNS(i.SVGNS,"rect")).setAttributeNS(null,"x",""+e),_l4.setAttributeNS(null,"y","0"),_l4.setAttributeNS(null,"width","1"),_l4.setAttributeNS(null,"height","1"),_l4.setAttribute("data-id","background"),t.appendChild(_l4);var _n10=document.defaultView.getComputedStyle(this.div.parentElement);_l4.setAttributeNS(null,"fill",_n10.getPropertyValue("background-color"));}if(n){var _n11=Object(i.drawSVGPath)(t,o.CLEF_PATHS[this.clef].path,e+h,0,this.scale,this.scale);this.setFill(_n11),h+=3*c;}if(s){var _n12=a[this.key].accidental,_r7=71===this.clef?0:14;a[this.key].pitches.forEach(function(s){var a=_this36.getPitchDetails(s).vSteps,u=Object(i.drawSVGPath)(t,o.ACCIDENTAL_PATHS[_n12],e+h,(_r7+a)*_this36.vStepSize,_this36.scale,_this36.scale);_this36.setFill(u),h+=u.getBoundingClientRect().width;});}if(u){var _n13=Object(i.createSVGGroupChild)(t,"time-key"),_r8=2.85*this.config.noteHeight+"px";Object(i.drawSVGText)(_n13,""+this.timeSignatureNumerator,e+h,-0.5,_r8,!0),Object(i.drawSVGText)(_n13,""+this.timeSignatureDenominator,e+h,4*this.vStepSize-0.5,_r8,!0),this.setFill(_n13),h+=_n13.getBoundingClientRect().width+c;}var f=this.redrawStaff(t,e,h);this.setStroke(f);var m=this.div.getBoundingClientRect(),d=t.getBoundingClientRect();if(this.updateVerticalBoundaries(d.top-m.top,d.bottom-m.top),p&&(_l4.setAttributeNS(null,"y",""+-this.staffOffset),_l4.setAttributeNS(null,"height",""+this.height),_l4.setAttributeNS(null,"width",""+h)),t===this.overlayG){this.overlaySVG.setAttributeNS(null,"width",""+(h+5));for(var _e19=0;_e19<5;++_e19){var _n14=Object(i.drawSVGPath)(t,o.stemPath,h+_e19,_e19*_e19-this.staffOffset,1/r.STEM_WIDTH,(this.height-2*_e19*_e19)/o.PATH_SCALE,(_e19-5)*(_e19-5)*2/o.PATH_SCALE);this.setFill(_n14);}}if(this.config.pixelsPerTimeStep>0){var _n15=0===this.signaturesQuarters;return _n15&&(this.signaturesQuarters=this.timeToQuarters(h/this.hStepSize)),(_n15||e>0)&&(this.signaturesBlinking=!0,Object(i.setFade)(t,this.signaturesBlinking)),0;}return h;}},{key:"changeKeySignatureIfNeeded",value:function changeKeySignatureIfNeeded(t){if(this.scoreInfo.keySignatures){var _e20=this.key;for(var _n16=0;_n160&&0===t&&(this.signatureNext=0,this.signaturesBlinking=!0,Object(i.setFade)(this.overlayG,this.signaturesBlinking));}},{key:"getBarLength",value:function getBarLength(){return 4*this.timeSignatureNumerator/this.timeSignatureDenominator;}},{key:"scrollIntoViewIfNeeded",value:function scrollIntoViewIfNeeded(t,e){if(t)if(this.scrollType===c.PAGE){var _t38=this.parentElement.getBoundingClientRect().width;e>this.parentElement.scrollLeft+_t38&&(this.parentElement.scrollLeft=e-20);}else{var _t39=this.parentElement.getBoundingClientRect().width;this.parentElement.scrollLeft=e-0.5*_t39;}}},{key:"updateVerticalBoundaries",value:function updateVerticalBoundaries(t,e){var n=0;if(t<0){this.staffOffset-=t;var _e22="translate(0, ".concat(this.staffOffset,")");this.overlayG.setAttributeNS(null,"transform",_e22),this.staffG.setAttributeNS(null,"transform",_e22),n=this.height-t;}if((n=Math.max(n,e-t))>this.height){this.height=n,this.overlaySVG.setAttributeNS(null,"height",""+this.height),this.staffSVG.setAttributeNS(null,"height",""+this.height);var _t40=this.div.querySelectorAll('rect[data-id="background"]');for(var _e23=0;_e23<_t40.length;++_e23){var _n20=_t40[_e23];_n20.setAttributeNS(null,"y",""+-this.staffOffset),_n20.setAttributeNS(null,"height",""+this.height);}}}},{key:"setFill",value:function setFill(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;t.setAttributeNS(null,"fill",this.getColor(e));}},{key:"setStroke",value:function setStroke(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:r.LINE_STROKE;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;t.setAttributeNS(null,"stroke",this.getColor(n)),t.setAttributeNS(null,"stroke-width",""+e);}},{key:"getColor",value:function getColor(t){return"rgb(".concat(t?this.config.activeNoteRGB:this.config.noteRGB,")");}},{key:"getOpacity",value:function getOpacity(t){return t?t/127*0.8+0.2:1;}},{key:"getGroup",value:function getGroup(t){var e=t.start,n=t.pitch;return this.staffSVG.querySelector("g[data-id=\"".concat(e,"-").concat(n,"\"]"));}},{key:"highlightElement",value:function highlightElement(t,e){t.setAttribute("fill",this.getColor(e)),t.setAttribute("stroke",this.getColor(e));}},{key:"getBarBeginnings",value:function getBarBeginnings(){var t=new Set();var e=0;this.scoreInfo.notes.forEach(function(t){t.start+t.length>e&&(e=t.start+t.length);});var n=this.scoreInfo.timeSignatures?this.scoreInfo.timeSignatures.slice(0):[{start:0,numerator:4,denominator:4}];n.sort(function(t,e){return t.start-e.start;});var r=0;for(var _i7=0;_i7=r&&(a=s.next(),_this37.barAccidentals={},n.isBarBeginning=!0),t.forEach(function(t){_this37.analyzePitch(t,e),n.minVStep=Math.max(t.vSteps,n.minVStep),n.maxVStep=Math.min(t.vSteps,n.maxVStep),n.notes.push(t);}),i&&(i.restToNextLength=e-o),_this37.musicBlockMap.set(e,n),i=n,o=e+n.notes[0].length;}),this.initialRest={maxVStep:0,minVStep:0,restToNextLength:this.musicBlockMap.values().next().value.notes[0].start,isBarBeginning:!0,notes:[{start:0,length:0,vSteps:0,accidental:0,opacity:0,pitch:0,xHeadRight:0}]},this.key=r;}},{key:"getQNote",value:function getQNote(t){return{start:t.start,length:t.length,vSteps:0,accidental:0,opacity:this.getOpacity(t.intensity),pitch:t.pitch,xHeadRight:0};}},{key:"splitQNote",value:function splitQNote(t,e){var n=t.start+t.length-e;return e>t.start&&n>0?(t.length-=n,{start:e,length:n,vSteps:t.vSteps,accidental:t.accidental,opacity:t.opacity,pitch:t.pitch,xHeadRight:0,tiedFrom:t}):null;}},{key:"analyzePitch",value:function analyzePitch(t,e){var n=this.getPitchDetails(t.pitch);n.vSteps in this.barAccidentals?n.accidental===this.barAccidentals[n.vSteps]?n.accidental=0:(3===this.barAccidentals[n.vSteps]?n.accidental=n.keyAccidental:0===n.accidental&&(n.accidental=3),this.barAccidentals[n.vSteps]=n.accidental):(t.tiedFrom&&(n.accidental=0),this.barAccidentals[n.vSteps]=n.accidental),t.vSteps=n.vSteps,t.accidental=n.accidental;}},{key:"getPitchDetails",value:function getPitchDetails(t){var e=t-60,n=Math.floor(e/12),r=e-12*n,i=s[this.key].steps[r],o=71===this.clef?6:-6,u=1===a[this.key].accidental?69+(r+3)%12:64+(r+8)%12;return{vSteps:o-7*n+i,accidental:s[this.key].accidental[r],keyAccidental:a[this.key].pitches.indexOf(u)>-1?a[this.key].accidental:0};}}]);return l;}();},function(t,e,n){"use strict";n.r(e);var r=n(3);n.d(e,"MAX_QUARTER_DIVISION",function(){return r.MAX_QUARTER_DIVISION;}),n.d(e,"ScrollType",function(){return r.ScrollType;}),n.d(e,"StaffSVGRender",function(){return r.StaffSVGRender;});}]);},,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"aux_inputs",function(){return r;}),n.d(e,"chords",function(){return i;}),n.d(e,"constants",function(){return o;}),n.d(e,"data",function(){return s;}),n.d(e,"logging",function(){return a;}),n.d(e,"melodies",function(){return u;}),n.d(e,"performance",function(){return c;}),n.d(e,"sequences",function(){return l;}),n.d(e,"MetronomeCallbackObject",function(){return p;}),n.d(e,"Metronome",function(){return f;}),n.d(e,"MidiConversionError",function(){return S;}),n.d(e,"midiToSequenceProto",function(){return y;}),n.d(e,"sequenceProtoToMidi",function(){return b;}),n.d(e,"urlToBlob",function(){return w;}),n.d(e,"blobToNoteSequence",function(){return P;}),n.d(e,"urlToNoteSequence",function(){return v;}),n.d(e,"BasePlayerCallback",function(){return I;}),n.d(e,"BasePlayer",function(){return M;}),n.d(e,"Player",function(){return k;}),n.d(e,"SoundFontPlayer",function(){return q;}),n.d(e,"PlayerWithClick",function(){return E;}),n.d(e,"MIDIPlayer",function(){return _;}),n.d(e,"BaseRecorderCallback",function(){return x;}),n.d(e,"Recorder",function(){return C;}),n.d(e,"BaseVisualizer",function(){return D;}),n.d(e,"PianoRollCanvasVisualizer",function(){return j;}),n.d(e,"Visualizer",function(){return L;}),n.d(e,"BaseSVGVisualizer",function(){return R;}),n.d(e,"PianoRollSVGVisualizer",function(){return B;}),n.d(e,"WaterfallSVGVisualizer",function(){return U;}),n.d(e,"ScrollType",function(){return G;}),n.d(e,"StaffSVGVisualizer",function(){return F;});var r=n(36),i=n(18),o=n(1),s=n(12),a=n(4),u=n(10),c=n(13),l=n(7),h=n(3);var p=/*#__PURE__*/babelHelpers.createClass(function p(){babelHelpers.classCallCheck(this,p);});var f=/*#__PURE__*/function(){function f(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;babelHelpers.classCallCheck(this,f);this.clicksPerQuarter=1,this.muted=!1,this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.loClickNote="c5",this.hiClickNote="g5",this.ticking=!1,this.startedAt=null,this.step=-1,this.reset(),this.callbackObject=t,this.clicksPerQuarter=e;}babelHelpers.createClass(f,[{key:"isTicking",value:function isTicking(){return this.ticking;}},{key:"getStartedAt",value:function getStartedAt(){return this.startedAt;}},{key:"getOffsetTime",value:function getOffsetTime(){return h.immediate()-this.startedAt;}},{key:"start",value:function start(){var _this38=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:120;this.reset(),this.ticking=!0,this.callbackObject.click||(this.callbackObject.click=function(){}),this.callbackObject.quarter||(this.callbackObject.quarter=function(){}),this.callbackObject.bar||(this.callbackObject.bar=function(){});var e=0;var n=4*this.clicksPerQuarter;h.Transport.scheduleRepeat(function(t){_this38.startedAt||(_this38.startedAt=t);var r=t-_this38.startedAt;_this38.step++;var i=_this38.step%n,o=Math.floor(i/_this38.clicksPerQuarter),s=i%_this38.clicksPerQuarter;_this38.callbackObject.click(r,i),0===s&&_this38.callbackObject.quarter(r,o),_this38.muted||(0===i?_this38.hiClick.triggerAttack(_this38.hiClickNote,t,0.1):_this38.loClick.triggerAttack(_this38.loClickNote,t,0.1)),0===i&&(_this38.callbackObject.bar(r,e),e++);},n+"n"),h.Transport.bpm.value=t,h.Transport.start();}},{key:"stop",value:function stop(){this.ticking=!1,h.Transport.cancel(),h.Transport.stop();}},{key:"reset",value:function reset(){this.muted=!1,this.ticking=!1,this.step=-1,this.startedAt=null;}}]);return f;}();var m=n(46),d=n(6),g=n(2);var S=/*#__PURE__*/function(_Error8){babelHelpers.inherits(S,_Error8);var _super22=_createSuper(S);function S(t){var _this39;babelHelpers.classCallCheck(this,S);_this39=_super22.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this39),new.target.prototype);return _this39;}return babelHelpers.createClass(S);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));function y(t){var e=new m.Midi(t),n=g.a.create();n.ticksPerQuarter=e.header.ppq,n.sourceInfo=g.a.SourceInfo.create({parser:g.a.SourceInfo.Parser.TONEJS_MIDI_CONVERT,encodingType:g.a.SourceInfo.EncodingType.MIDI});var _iterator6=_createForOfIteratorHelper(e.header.timeSignatures),_step6;try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var _t41=_step6.value;n.timeSignatures.push(g.a.TimeSignature.create({time:e.header.ticksToSeconds(_t41.ticks),numerator:_t41.timeSignature[0],denominator:_t41.timeSignature[1]}));}}catch(err){_iterator6.e(err);}finally{_iterator6.f();}n.timeSignatures.length||n.timeSignatures.push(g.a.TimeSignature.create({time:0,numerator:4,denominator:4}));var _iterator7=_createForOfIteratorHelper(e.header.tempos),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var _t42=_step7.value;n.tempos.push(g.a.Tempo.create({time:_t42.time,qpm:_t42.bpm}));}}catch(err){_iterator7.e(err);}finally{_iterator7.f();}var r=-1;var _iterator8=_createForOfIteratorHelper(e.tracks),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var _t43=_step8.value;_t43.notes.length>0&&(r+=1);var _iterator9=_createForOfIteratorHelper(_t43.notes),_step9;try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _e24=_step9.value;var _i8=_e24.time,_s5=_i8+_e24.duration;n.notes.push(g.a.Note.create({instrument:r,program:_t43.instrument.number,startTime:_i8,endTime:_s5,pitch:_e24.midi,velocity:Math.floor(_e24.velocity*o.MIDI_VELOCITIES),isDrum:_t43.instrument.percussion})),_s5>n.totalTime&&(n.totalTime=_s5);}}catch(err){_iterator9.e(err);}finally{_iterator9.f();}}}catch(err){_iterator8.e(err);}finally{_iterator8.f();}return n;}function b(t){l.isQuantizedSequence(t)&&(t=l.unquantizeSequence(t));var e=new m.Midi();e.fromJSON({header:{name:"",ppq:t.ticksPerQuarter||o.DEFAULT_TICKS_PER_QUARTER,tempos:[],timeSignatures:[],keySignatures:[],meta:[]},tracks:[]});var n=Array.from(t.tempos||[]);0===n.length&&n.push({time:0,qpm:o.DEFAULT_QUARTERS_PER_MINUTE}),n.sort(function(t,e){return t.time-e.time;});for(var _i9=0,_n21=n;_i9<_n21.length;_i9++){var _t44=_n21[_i9];e.header.tempos.push({ticks:e.header.secondsToTicks(_t44.time),bpm:_t44.qpm}),e.header.update();}if(t.timeSignatures&&0!==t.timeSignatures.length){var _iterator10=_createForOfIteratorHelper(t.timeSignatures),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _n22=_step10.value;e.header.timeSignatures.push({ticks:e.header.secondsToTicks(_n22.time),timeSignature:[_n22.numerator,_n22.denominator]});}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}}else e.header.timeSignatures.push({ticks:0,timeSignature:[4,4]});e.header.update();var r=new Map();var _iterator11=_createForOfIteratorHelper(t.notes),_step11;try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var _e26=_step11.value;var _t46=_e26.instrument?_e26.instrument:0,_n23=void 0===_e26.program?o.DEFAULT_PROGRAM:_e26.program,_i10=!!_e26.isDrum,_s6=JSON.stringify([_t46,_n23,_i10]);r.has(_s6)||r.set(_s6,[]),r.get(_s6).push(_e26);}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}return r.forEach(function(t,n){var _JSON$parse$slice=JSON.parse(n).slice(1),_JSON$parse$slice2=babelHelpers.slicedToArray(_JSON$parse$slice,2),r=_JSON$parse$slice2[0],i=_JSON$parse$slice2[1],s=e.addTrack();s.channel=i?o.DRUM_CHANNEL:o.NON_DRUM_CHANNELS[(e.tracks.length-1)%o.NON_DRUM_CHANNELS.length],s.instrument.number=r;var _iterator12=_createForOfIteratorHelper(t),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var _e25=_step12.value;var _t45=void 0===_e25.velocity?o.DEFAULT_VELOCITY:_e25.velocity;s.addNote({midi:_e25.pitch,time:_e25.startTime,duration:_e25.endTime-_e25.startTime,velocity:(_t45+1)/o.MIDI_VELOCITIES});}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}}),e.toArray();}function w(t){return new Promise(function(e,n){Object(d.a)(t).then(function(t){return t.blob();}).then(function(t){e(t);}).catch(function(t){return n(t);});});}function P(t){return new Promise(function(e,n){var r=new FileReader();r.onload=function(t){try{var _t47=y(r.result);e(_t47);}catch(t){n(t);}},r.onerror=function(t){return n(t);},r.readAsArrayBuffer(t);});}function v(t){return w(t).then(P);}var N=/*#__PURE__*/function(){function N(t){babelHelpers.classCallCheck(this,N);this.FADE_SECONDS=0.1,this.baseURL=t,this.buffers=new h.Buffers([]),this.sourceMap=new Map(),this.initialized=!1;}babelHelpers.createClass(N,[{key:"initialize",value:function(){var _initialize=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee10(){var _this40=this;return regeneratorRuntime.wrap(function _callee10$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:_context10.next=2;return Object(d.a)(this.baseURL+"/instrument.json").then(function(t){return t.json();}).then(function(t){_this40.name=t.name,_this40.minPitch=t.minPitch,_this40.maxPitch=t.maxPitch,_this40.durationSeconds=t.durationSeconds,_this40.releaseSeconds=t.releaseSeconds,_this40.percussive=t.percussive,_this40.velocities=t.velocities,_this40.initialized=!0;});case 2:case"end":return _context10.stop();}}},_callee10,this);}));function initialize(){return _initialize.apply(this,arguments);}return initialize;}()},{key:"sampleInfoToName",value:function sampleInfoToName(t){return this.velocities?"p".concat(t.pitch,"_v").concat(t.velocity):"p"+t.pitch;}},{key:"sampleNameToURL",value:function sampleNameToURL(t){return"".concat(this.baseURL,"/").concat(t,".mp3");}},{key:"nearestVelocity",value:function nearestVelocity(t){if(!this.velocities)return t;t||(t=o.DEFAULT_VELOCITY);var e=void 0,n=o.MIDI_VELOCITIES;return this.velocities.forEach(function(r){var i=Math.abs(r-t);i_this41.maxPitch)||(a.log("Pitch ".concat(t.pitch," is outside the valid range for ").concat(_this41.name,", ignoring."),"SoundFont"),!1);}).map(function(t){return _this41.sampleInfoToName({pitch:t.pitch,velocity:_this41.nearestVelocity(t.velocity)});}),n=Array.from(new Set(e)).filter(function(t){return!_this41.buffers.has(t);}).map(function(t){return{name:t,url:_this41.sampleNameToURL(t)};});_context11.t1=n.length>0;if(!_context11.t1){_context11.next=11;break;}n.forEach(function(t){return _this41.buffers.add(t.name,t.url);});_context11.next=10;return new Promise(function(t){return h.Buffer.on("load",t);});case 10:a.log("Loaded samples for ".concat(this.name,"."),"SoundFont");case 11:case"end":return _context11.stop();}}},_callee11,this);}));function loadSamples(_x23){return _loadSamples.apply(this,arguments);}return loadSamples;}()},{key:"playNote",value:function playNote(t,e,n,r,i){var o=this.getBuffer(t,e);r>this.durationSeconds&&a.log("Requested note duration longer than sample duration: ".concat(r," > ").concat(this.durationSeconds),"SoundFont");var s=new h.BufferSource({buffer:o,fadeOut:this.FADE_SECONDS}).connect(i);if(s.start(n,0,void 0,1,0),!this.percussive&&rthis.maxPitch)return void a.log("Pitch ".concat(t," is outside the valid range for ").concat(this.name," (").concat(this.minPitch,"-").concat(this.maxPitch,")"),"SoundFont");var n=this.sampleInfoToName({pitch:t,velocity:this.nearestVelocity(e)});if(!this.buffers.has(n))throw new Error("Buffer not found for ".concat(this.name,": ").concat(n));var r=this.buffers.get(n);if(!r.loaded)throw new Error("Buffer not loaded for ".concat(this.name,": ").concat(n));return r;}}]);return N;}();var T=/*#__PURE__*/function(){function T(t){babelHelpers.classCallCheck(this,T);this.baseURL=t,this.instruments=new Map(),this.initialized=!1;}babelHelpers.createClass(T,[{key:"initialize",value:function(){var _initialize2=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee12(){var _this42=this;return regeneratorRuntime.wrap(function _callee12$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.next=2;return Object(d.a)(this.baseURL+"/soundfont.json").then(function(t){return t.json();}).then(function(t){_this42.name=t.name;for(var _e27 in t.instruments){var _n24="".concat(_this42.baseURL,"/").concat(t.instruments[_e27]);_this42.instruments.set("drums"===_e27?"drums":+_e27,new N(_n24));}_this42.initialized=!0;});case 2:case"end":return _context12.stop();}}},_callee12,this);}));function initialize(){return _initialize2.apply(this,arguments);}return initialize;}()},{key:"loadSamples",value:function(){var _loadSamples2=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee13(t){var _this43=this;var e;return regeneratorRuntime.wrap(function _callee13$(_context13){while(1){switch(_context13.prev=_context13.next){case 0:_context13.t0=this.initialized;if(_context13.t0){_context13.next=4;break;}_context13.next=4;return this.initialize();case 4:e=new Map();t.forEach(function(t){t.isDrum=t.isDrum||!1,t.program=t.program||0;var n=t.isDrum?"drums":t.program,r={pitch:t.pitch,velocity:t.velocity};e.has(n)?e.get(n).push(r):_this43.instruments.has(n)?e.set(n,[r]):a.log("No instrument in ".concat(_this43.name," for: program=").concat(t.program,", isDrum=").concat(t.isDrum),"SoundFont");});_context13.next=8;return Promise.all(Array.from(e.keys()).map(function(t){return _this43.instruments.get(t).loadSamples(e.get(t));}));case 8:case"end":return _context13.stop();}}},_callee13,this);}));function loadSamples(_x24){return _loadSamples2.apply(this,arguments);}return loadSamples;}()},{key:"playNote",value:function playNote(t,e,n,r){var i=arguments.length>4&&arguments[4]!==undefined?arguments[4]:0;var o=arguments.length>5&&arguments[5]!==undefined?arguments[5]:!1;var s=arguments.length>6?arguments[6]:undefined;var u=o?"drums":i;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(u)?this.instruments.get(u).playNote(t,e,n,r,s):a.log("No instrument in ".concat(this.name," for: program=").concat(i,", isDrum=").concat(o),"SoundFont");}},{key:"playNoteDown",value:function playNoteDown(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;var i=arguments.length>4?arguments[4]:undefined;var o=r?"drums":n;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(o)?this.instruments.get(o).playNoteDown(t,e,i):a.log("No instrument in ".concat(this.name," for: program=").concat(n,", isDrum=").concat(r),"SoundFont");}},{key:"playNoteUp",value:function playNoteUp(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;var i=arguments.length>4?arguments[4]:undefined;var o=r?"drums":n;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(o)?this.instruments.get(o).playNoteUp(t,e,i):a.log("No instrument in ".concat(this.name," for: program=").concat(n,", isDrum=").concat(r),"SoundFont");}}]);return T;}();function O(t,e){return t.quantizedStartStepe.quantizedStartStep?1:t.pitch0&&arguments[0]!==undefined?arguments[0]:!1;var e=arguments.length>1?arguments[1]:undefined;babelHelpers.classCallCheck(this,M);this.playClick=t,this.callbackObject=e,this.desiredQPM=void 0;}babelHelpers.createClass(M,[{key:"setTempo",value:function setTempo(t){this.desiredQPM=t,"started"===h.Transport.state&&(h.Transport.bpm.value=t);}},{key:"makeClickSequence",value:function makeClickSequence(t){var e=l.clone(t),n=e.notes.map(function(t){return t.quantizedEndStep;}),r=Math.max.apply(Math,babelHelpers.toConsumableArray(n));for(var _t49=0;_t490&&t.tempos[0].qpm>0?h.Transport.bpm.value=t.tempos[0].qpm:h.Transport.bpm.value=o.DEFAULT_QUARTERS_PER_MINUTE,n)t=l.unquantizeSequence(t,e);else if(e)throw new Error("Cannot specify a `qpm` for a non-quantized sequence.");var r=new h.Part(function(t,e){_this44.currentPart===r&&((_this44.playClick||e.pitch!==o.LO_CLICK_PITCH&&e.pitch!==o.HI_CLICK_PITCH)&&_this44.playNote(t,e),_this44.callbackObject&&h.Draw.schedule(function(){_this44.callbackObject.run(e,t);},t));},t.notes.map(function(t){return[t.startTime,t];}));return this.currentPart=r,this.desiredQPM&&(h.Transport.bpm.value=this.desiredQPM),this.currentPart.start(),"started"!==h.Transport.state&&h.Transport.start(),new Promise(function(e){_this44.scheduledStop=h.Transport.schedule(function(){_this44.stop(),e(),_this44.callbackObject&&_this44.callbackObject.stop();},"+"+t.totalTime);});}},{key:"stop",value:function stop(){this.isPlaying()&&(this.currentPart.stop(),h.Transport.stop(),this.currentPart=null),h.Transport.clear(this.scheduledStop),this.scheduledStop=void 0,this.desiredQPM=void 0;}},{key:"pause",value:function pause(){if(!this.isPlaying())throw new Error("Cannot pause playback while the player is stopped.");h.Transport.pause();}},{key:"resume",value:function resume(){if("paused"!==this.getPlayState())throw new Error("Cannot resume playback while \"".concat(this.getPlayState(),"\"."));h.Transport.start();}},{key:"seekTo",value:function seekTo(t){if(!this.isPlaying())throw new Error("Cannot seek while the player is stopped.");h.Transport.seconds=t;}},{key:"isPlaying",value:function isPlaying(){return!!this.currentPart;}},{key:"getPlayState",value:function getPlayState(){return this.isPlaying()?h.Transport.state:"stopped";}}]);return M;}();var A=/*#__PURE__*/function(){function A(){var _this45=this;babelHelpers.classCallCheck(this,A);this.DRUM_PITCH_TO_CLASS=new Map(),this.kick=new h.MembraneSynth().toMaster(),this.tomLow=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.tomMid=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.tomHigh=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.closedHihat=new h.MetalSynth({frequency:400,envelope:{attack:0.001,decay:0.1,release:0.8},harmonicity:5.1,modulationIndex:32,resonance:4e3,octaves:1}).toMaster(),this.openHihat=new h.MetalSynth({frequency:400,envelope:{attack:0.001,decay:0.5,release:0.8,sustain:1},harmonicity:5.1,modulationIndex:32,resonance:4e3,octaves:1}).toMaster(),this.ride=new h.MetalSynth().toMaster(),this.crash=new h.MetalSynth({frequency:300,envelope:{attack:0.001,decay:1,release:3},harmonicity:5.1,modulationIndex:64,resonance:4e3,octaves:1.5}).toMaster(),this.snare=new h.NoiseSynth({noise:{type:"white"},envelope:{attack:0.005,decay:0.05,sustain:0.1,release:0.4}}).toMaster(),this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.pitchPlayers=[function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.kick.triggerAttackRelease("C2","8n",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.snare.triggerAttackRelease("16n",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.closedHihat.triggerAttack(t,0.3,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.openHihat.triggerAttack(t,0.3,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomLow.triggerAttack("G3",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomMid.triggerAttack("C4",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomHigh.triggerAttack("F4",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.crash.triggerAttack(t,1,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.ride.triggerAttack(t,0.5,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.loClick.triggerAttack("G5",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.hiClick.triggerAttack("C6",t,e);}];var _loop3=function _loop3(_t50){s.DEFAULT_DRUM_PITCH_CLASSES[_t50].forEach(function(e){_this45.DRUM_PITCH_TO_CLASS.set(e,_t50);});};for(var _t50=0;_t50=32&&e<=39?this.bassSynth:this.polySynth;}}]);return k;}(M);k.tone=h;var q=/*#__PURE__*/function(_M2){babelHelpers.inherits(q,_M2);var _super24=_createSuper(q);function q(t){var _this47;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:h.Master;var n=arguments.length>2?arguments[2]:undefined;var r=arguments.length>3?arguments[3]:undefined;var i=arguments.length>4?arguments[4]:undefined;babelHelpers.classCallCheck(this,q);_this47=_super24.call(this,!1,i),_this47.soundFont=new T(t),_this47.output=e,_this47.programOutputs=n,_this47.drumOutputs=r;return _this47;}babelHelpers.createClass(q,[{key:"loadSamples",value:function(){var _loadSamples3=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee14(t){return regeneratorRuntime.wrap(function _callee14$(_context14){while(1){switch(_context14.prev=_context14.next){case 0:_context14.next=2;return this.soundFont.loadSamples(t.notes.map(function(t){return{pitch:t.pitch,velocity:t.velocity,program:t.program||0,isDrum:t.isDrum||!1};}));case 2:case"end":return _context14.stop();}}},_callee14,this);}));function loadSamples(_x25){return _loadSamples3.apply(this,arguments);}return loadSamples;}()},{key:"loadAllSamples",value:function(){var _loadAllSamples=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee15(){var t,e,n,r,i,_s7,_r12,_args15=arguments;return regeneratorRuntime.wrap(function _callee15$(_context15){while(1){switch(_context15.prev=_context15.next){case 0:t=_args15.length>0&&_args15[0]!==undefined?_args15[0]:0;e=_args15.length>1&&_args15[1]!==undefined?_args15[1]:!1;n=g.a.create(),r=e?o.MIN_DRUM_PITCH:o.MIN_PIANO_PITCH,i=e?o.MAX_DRUM_PITCH:o.MAX_PIANO_PITCH;for(_s7=r;_s7<=i;_s7++){for(_r12=o.MIN_MIDI_VELOCITY;_r120&&arguments[0]!==undefined?arguments[0]:{};var e=arguments.length>1?arguments[1]:undefined;babelHelpers.classCallCheck(this,C);this.notes=[],this.midiInputs=[],this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.config={playClick:t.playClick,qpm:t.qpm||o.DEFAULT_QUARTERS_PER_MINUTE,playCountIn:t.playCountIn,startRecordingAtFirstNote:t.startRecordingAtFirstNote||!1},this.callbackObject=e,this.recording=!1,this.onNotes=new Map();}babelHelpers.createClass(C,[{key:"initialize",value:function(){var _initialize3=babelHelpers.asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee17(){var _this51=this;return regeneratorRuntime.wrap(function _callee17$(_context17){while(1){switch(_context17.prev=_context17.next){case 0:_context17.next=2;return navigator.requestMIDIAccess().then(function(t){return _this51.midiReady(t);},function(t){return console.log("Something went wrong",t);});case 2:case"end":return _context17.stop();}}},_callee17);}));function initialize(){return _initialize3.apply(this,arguments);}return initialize;}()},{key:"midiReady",value:function midiReady(t){a.log("Initialized Recorder","Recorder");var e=t.inputs.values();for(var _t54=e.next();_t54&&!_t54.done;_t54=e.next()){this.midiInputs.push(_t54.value);}}},{key:"isRecording",value:function isRecording(){return this.recording;}},{key:"setTempo",value:function setTempo(t){this.config.qpm=t,"started"===h.Transport.state&&(h.Transport.bpm.value=t);}},{key:"enablePlayClick",value:function enablePlayClick(t){this.config.playClick=t;}},{key:"enablePlayCountIn",value:function enablePlayCountIn(t){this.config.playCountIn=t;}},{key:"initClickLoop",value:function initClickLoop(){var _this52=this;var t=0;this.clickLoop=new h.Loop(function(e){t%4==0?_this52.loClick.triggerAttack("G5",e):_this52.hiClick.triggerAttack("C6",e),t++,_this52.config.playCountIn&&4===t&&(h.Transport.stop(),_this52.clickLoop.stop());},"4n");}},{key:"getMIDIInputs",value:function getMIDIInputs(){return this.midiInputs;}},{key:"start",value:function start(t){var _this53=this;var e=t||this.midiInputs;var _iterator13=_createForOfIteratorHelper(e),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _t56=_step13.value;_t56.onmidimessage=function(t){_this53.midiMessageReceived(t);};}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}if(this.config.playClick||this.config.playCountIn?(this.initClickLoop(),h.Transport.bpm.value=this.config.qpm,h.Transport.start(),this.clickLoop.start()):this.clickLoop=null,this.recording=!0,this.firstNoteTimestamp=void 0,this.notes=[],this.onNotes=new Map(),!this.startRecordingAtFirstNote){var _t55=Date.now();this.firstNoteTimestamp=_t55;}}},{key:"stop",value:function stop(){var _this54=this;this.recording=!1;var t=Date.now();this.onNotes.forEach(function(e,n){_this54.noteOff(n,t);});var _iterator14=_createForOfIteratorHelper(this.midiInputs),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _t57=_step14.value;_t57.onmidimessage=null;}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}return this.clickLoop&&(h.Transport.stop(),this.clickLoop.stop()),0===this.notes.length?null:this.getNoteSequence();}},{key:"getNoteSequence",value:function getNoteSequence(){return 0===this.notes.length?null:g.a.create({notes:this.notes,totalTime:this.notes[this.notes.length-1].endTime});}},{key:"reset",value:function reset(){var t=this.stop();return this.firstNoteTimestamp=void 0,this.notes=[],this.onNotes=new Map(),t;}},{key:"midiMessageReceived",value:function midiMessageReceived(t){if(!this.recording)return;var e;e=void 0!==t.timeStamp&&0!==t.timeStamp?t.timeStamp:d.d.now();var n=e+d.d.timing.navigationStart;void 0===this.firstNoteTimestamp&&(this.firstNoteTimestamp=n);var r=t.data[0]>>4,i=t.data[1],o=t.data.length>2?t.data[2]:1,s=t.srcElement;8===r||9===r&&0===o?(this.callbackObject&&this.callbackObject.noteOff&&this.callbackObject.noteOff(i,o,s),this.noteOff(i,n),this.callbackObject&&this.callbackObject.run&&this.callbackObject.run(this.getNoteSequence())):9===r&&(this.callbackObject&&this.callbackObject.noteOn&&this.callbackObject.noteOn(i,o,s),this.noteOn(i,o,n));}},{key:"noteOn",value:function noteOn(t,e,n){var r=new g.a.Note();r.pitch=t,r.startTime=(n-this.firstNoteTimestamp)/1e3,r.velocity=e,this.onNotes.set(t,r);}},{key:"noteOff",value:function noteOff(t,e){var n=this.onNotes.get(t);n&&(n.endTime=(e-this.firstNoteTimestamp)/1e3,this.notes.push(n)),this.onNotes.delete(t);}}]);return C;}();var z=n(55);var D=/*#__PURE__*/function(){function D(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};babelHelpers.classCallCheck(this,D);this.noteSequence=t,this.sequenceIsQuantized=l.isQuantizedSequence(this.noteSequence);if(this.config={noteHeight:e.noteHeight||6,noteSpacing:e.noteSpacing||1,pixelsPerTimeStep:e.pixelsPerTimeStep||30,noteRGB:e.noteRGB||"8, 41, 64",activeNoteRGB:e.activeNoteRGB||"240, 84, 119",minPitch:e.minPitch,maxPitch:e.maxPitch},this.sequenceIsQuantized){var _e28=t.quantizationInfo.stepsPerQuarter;this.config.pixelsPerTimeStep=_e28?this.config.pixelsPerTimeStep/_e28:7;}var n=this.getSize();this.width=n.width,this.height=n.height;}babelHelpers.createClass(D,[{key:"updateMinMaxPitches",value:function updateMinMaxPitches(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;if(!this.config.minPitch||!this.config.maxPitch){void 0===this.config.minPitch&&(this.config.minPitch=o.MAX_MIDI_PITCH),void 0===this.config.maxPitch&&(this.config.maxPitch=o.MIN_MIDI_PITCH);var _iterator15=_createForOfIteratorHelper(this.noteSequence.notes),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var _t58=_step15.value;this.config.minPitch=Math.min(_t58.pitch,this.config.minPitch),this.config.maxPitch=Math.max(_t58.pitch,this.config.maxPitch);}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}t||(this.config.minPitch-=2,this.config.maxPitch+=2);}}},{key:"getSize",value:function getSize(){this.updateMinMaxPitches();var t=(this.config.maxPitch-this.config.minPitch)*this.config.noteHeight,e=this.sequenceIsQuantized?this.noteSequence.totalQuantizedSteps:this.noteSequence.totalTime;if(!e)throw new Error("The sequence you are using with the visualizer does not have a "+(this.sequenceIsQuantized?"totalQuantizedSteps":"totalTime")+" field set, so the visualizer can't be horizontally sized correctly.");return{width:e*this.config.pixelsPerTimeStep,height:t};}},{key:"getNotePosition",value:function getNotePosition(t,e){var n=this.getNoteEndTime(t)-this.getNoteStartTime(t),r=this.getNoteStartTime(t)*this.config.pixelsPerTimeStep,i=Math.max(this.config.pixelsPerTimeStep*n-this.config.noteSpacing,1);return{x:r,y:this.height-(t.pitch-this.config.minPitch)*this.config.noteHeight,w:i,h:this.config.noteHeight};}},{key:"scrollIntoViewIfNeeded",value:function scrollIntoViewIfNeeded(t,e){if(t&&this.parentElement){var _t59=this.parentElement.getBoundingClientRect().width;e>this.parentElement.scrollLeft+_t59&&(this.parentElement.scrollLeft=e-20);}}},{key:"getNoteStartTime",value:function getNoteStartTime(t){return this.sequenceIsQuantized?t.quantizedStartStep:Math.round(1e8*t.startTime)/1e8;}},{key:"getNoteEndTime",value:function getNoteEndTime(t){return this.sequenceIsQuantized?t.quantizedEndStep:Math.round(1e8*t.endTime)/1e8;}},{key:"isPaintingActiveNote",value:function isPaintingActiveNote(t,e){var n=this.getNoteStartTime(t)===this.getNoteStartTime(e),r=this.getNoteStartTime(t)<=this.getNoteStartTime(e)&&this.getNoteEndTime(t)>=this.getNoteEndTime(e);return n||r;}}]);return D;}();var j=/*#__PURE__*/function(_D){babelHelpers.inherits(j,_D);var _super27=_createSuper(j);function j(t,e){var _this55;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,j);_this55=_super27.call(this,t,n),_this55.ctx=e.getContext("2d"),_this55.parentElement=e.parentElement;var r=window.devicePixelRatio||1;_this55.ctx&&(_this55.ctx.canvas.width=r*_this55.width,_this55.ctx.canvas.height=r*_this55.height,e.style.width=_this55.width+"px",e.style.height=_this55.height+"px",_this55.ctx.scale(r,r)),_this55.redraw();return _this55;}babelHelpers.createClass(j,[{key:"redraw",value:function redraw(t,e){var n;this.clear();for(var _e29=0;_e292&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,L);_this56=_super28.call(this,t,e,n),a.log("mm.Visualizer is deprecated, and will be removed in a future version. Please use mm.PianoRollCanvasVisualizer instead","mm.Visualizer",5);return _this56;}return babelHelpers.createClass(L);}(j);var R=/*#__PURE__*/function(_D2){babelHelpers.inherits(R,_D2);var _super29=_createSuper(R);function R(t){var _this57;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};babelHelpers.classCallCheck(this,R);_this57=_super29.call(this,t,e),_this57.drawn=!1;return _this57;}babelHelpers.createClass(R,[{key:"redraw",value:function redraw(t,e){if(this.drawn||this.draw(),!t)return null;var n;this.unfillActiveRect(this.svg);for(var _e30=0;_e302&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,B);if(_this58=_super30.call(this,t,n),!babelHelpers.instanceof(e,SVGSVGElement))throw new Error("This visualizer requires an element to display the visualization");_this58.svg=e,_this58.parentElement=e.parentElement;var r=_this58.getSize();_this58.width=r.width,_this58.height=r.height,_this58.svg.style.width=_this58.width+"px",_this58.svg.style.height=_this58.height+"px",_this58.clear(),_this58.draw();return babelHelpers.possibleConstructorReturn(_this58);}return babelHelpers.createClass(B);}(R);var U=/*#__PURE__*/function(_R2){babelHelpers.inherits(U,_R2);var _super31=_createSuper(U);function U(t,e){var _this59;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,U);if(_this59=_super31.call(this,t,n),_this59.NOTES_PER_OCTAVE=12,_this59.WHITE_NOTES_PER_OCTAVE=7,_this59.LOW_C=24,_this59.firstDrawnOctave=0,_this59.lastDrawnOctave=6,!babelHelpers.instanceof(e,HTMLDivElement))throw new Error("This visualizer requires a
        element to display the visualization");_this59.config.whiteNoteWidth=n.whiteNoteWidth||20,_this59.config.blackNoteWidth=n.blackNoteWidth||2*_this59.config.whiteNoteWidth/3,_this59.config.whiteNoteHeight=n.whiteNoteHeight||70,_this59.config.blackNoteHeight=n.blackNoteHeight||140/3,_this59.config.showOnlyOctavesUsed=n.showOnlyOctavesUsed,_this59.setupDOM(e);var r=_this59.getSize();_this59.width=r.width,_this59.height=r.height,_this59.svg.style.width=_this59.width+"px",_this59.svg.style.height=_this59.height+"px",_this59.svgPiano.style.width=_this59.width+"px",_this59.svgPiano.style.height=_this59.config.whiteNoteHeight+"px",_this59.parentElement.style.width=_this59.width+_this59.config.whiteNoteWidth+"px",_this59.parentElement.scrollTop=_this59.parentElement.scrollHeight,_this59.clear(),_this59.drawPiano(),_this59.draw();return babelHelpers.possibleConstructorReturn(_this59);}babelHelpers.createClass(U,[{key:"setupDOM",value:function setupDOM(t){this.parentElement=document.createElement("div"),this.parentElement.classList.add("waterfall-notes-container");var e=Math.max(t.getBoundingClientRect().height,200);this.parentElement.style.paddingTop=e-this.config.whiteNoteHeight+"px",this.parentElement.style.height=e-this.config.whiteNoteHeight+"px",this.parentElement.style.boxSizing="border-box",this.parentElement.style.overflowX="hidden",this.parentElement.style.overflowY="auto",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svgPiano=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.classList.add("waterfall-notes"),this.svgPiano.classList.add("waterfall-piano"),this.parentElement.appendChild(this.svg),t.innerHTML="",t.appendChild(this.parentElement),t.appendChild(this.svgPiano);}},{key:"redraw",value:function redraw(t,e){if(this.drawn||this.draw(),!t)return null;this.clearActiveNotes(),this.parentElement.style.paddingTop=this.parentElement.style.height;for(var _e32=0;_e32this.config.minPitch&&(this.firstDrawnOctave=_t63-1,_e34=!0),!_n29&&_r19>this.config.maxPitch&&(this.lastDrawnOctave=_t63-1,_n29=!0);}t=(this.lastDrawnOctave-this.firstDrawnOctave+1)*this.WHITE_NOTES_PER_OCTAVE;}var e=t*this.config.whiteNoteWidth,n=this.sequenceIsQuantized?this.noteSequence.totalQuantizedSteps:this.noteSequence.totalTime;if(!n)throw new Error("The sequence you are using with the visualizer does not have a "+(this.sequenceIsQuantized?"totalQuantizedSteps":"totalTime")+" field set, so the visualizer can't be horizontally sized correctly.");return{width:e,height:Math.max(n*this.config.pixelsPerTimeStep,1)};}},{key:"getNotePosition",value:function getNotePosition(t,e){var n=this.svgPiano.querySelector("rect[data-pitch=\"".concat(t.pitch,"\"]"));if(!n)return null;var r=this.getNoteEndTime(t)-this.getNoteStartTime(t),i=Number(n.getAttribute("x")),o=Number(n.getAttribute("width")),s=Math.max(this.config.pixelsPerTimeStep*r-this.config.noteSpacing,1);return{x:i,y:this.height-this.getNoteStartTime(t)*this.config.pixelsPerTimeStep-s,w:o,h:s};}},{key:"drawPiano",value:function drawPiano(){this.svgPiano.innerHTML="";var t=this.config.whiteNoteWidth-this.config.blackNoteWidth/2,e=[1,3,6,8,10];var n=0,r=0;this.config.showOnlyOctavesUsed?r=this.firstDrawnOctave*this.NOTES_PER_OCTAVE+this.LOW_C:(r=this.LOW_C-3,this.drawWhiteKey(r,n),this.drawWhiteKey(r+2,this.config.whiteNoteWidth),r+=3,n=2*this.config.whiteNoteWidth);for(var _t64=this.firstDrawnOctave;_t64<=this.lastDrawnOctave;_t64++){for(var _t65=0;_t652&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,F);_this60=_super32.call(this,t,n),(void 0===n.pixelsPerTimeStep||n.pixelsPerTimeStep<=0)&&(_this60.config.pixelsPerTimeStep=0),_this60.instruments=n.instruments||[],_this60.render=new z.StaffSVGRender(_this60.getScoreInfo(t),{noteHeight:_this60.config.noteHeight,noteSpacing:_this60.config.noteSpacing,pixelsPerTimeStep:_this60.config.pixelsPerTimeStep,noteRGB:_this60.config.noteRGB,activeNoteRGB:_this60.config.activeNoteRGB,defaultKey:n.defaultKey||0,scrollType:n.scrollType||G.PAGE},e),_this60.drawnNotes=t.notes.length,_this60.clear(),_this60.redraw();return _this60;}babelHelpers.createClass(F,[{key:"clear",value:function clear(){this.render.clear();}},{key:"redraw",value:function redraw(t,e){this.drawnNotes!==this.noteSequence.notes.length&&(this.render.scoreInfo=this.getScoreInfo(this.noteSequence));var n=t?this.getNoteInfo(t):void 0;return this.render.redraw(n,e);}},{key:"isNoteInInstruments",value:function isNoteInInstruments(t){return void 0===t.instrument||0===this.instruments.length||this.instruments.indexOf(t.instrument)>=0;}},{key:"timeToQuarters",value:function timeToQuarters(t){var e=t*this.noteSequence.tempos[0].qpm/60;return Math.round(16*e)/16;}},{key:"quantizedStepsToQuarters",value:function quantizedStepsToQuarters(t){var e=t/this.noteSequence.quantizationInfo.stepsPerQuarter;return Math.round(16*e)/16;}},{key:"getNoteInfo",value:function getNoteInfo(t){var e=this.sequenceIsQuantized?this.quantizedStepsToQuarters(t.quantizedStartStep):this.timeToQuarters(t.startTime);return{start:e,length:(this.sequenceIsQuantized?this.quantizedStepsToQuarters(t.quantizedEndStep):this.timeToQuarters(t.endTime))-e,pitch:t.pitch,intensity:t.velocity};}},{key:"getScoreInfo",value:function getScoreInfo(t){var _this61=this;var e=[];return t.notes.forEach(function(t){_this61.isNoteInInstruments(t)&&e.push(_this61.getNoteInfo(t));}),{notes:e,tempos:t.tempos?t.tempos.map(function(t){return{start:_this61.timeToQuarters(t.time),qpm:t.qpm};}):[],keySignatures:t.keySignatures?t.keySignatures.map(function(t){return{start:_this61.timeToQuarters(t.time),key:t.key};}):[],timeSignatures:t.timeSignatures?t.timeSignatures.map(function(t){return{start:_this61.timeToQuarters(t.time),numerator:t.numerator,denominator:t.denominator};}):[]};}},{key:"clearActiveNotes",value:function clearActiveNotes(){this.redraw();}}]);return F;}(D);},,,,,,,,,,,,function(t,e){function n(t){for(var e,n=new r(t),i=[];!n.eof();){var o=s();i.push(o);}return i;function s(){var t={};t.deltaTime=n.readVarInt();var r=n.readUInt8();if(240==(240&r)){if(255!==r){if(240==r){t.type="sysEx";o=n.readVarInt();return t.data=n.readBytes(o),t;}if(247==r){t.type="endSysEx";o=n.readVarInt();return t.data=n.readBytes(o),t;}throw"Unrecognised MIDI event type byte: "+r;}t.meta=!0;var i=n.readUInt8(),o=n.readVarInt();switch(i){case 0:if(t.type="sequenceNumber",2!==o)throw"Expected length for sequenceNumber event is 2, got "+o;return t.number=n.readUInt16(),t;case 1:return t.type="text",t.text=n.readString(o),t;case 2:return t.type="copyrightNotice",t.text=n.readString(o),t;case 3:return t.type="trackName",t.text=n.readString(o),t;case 4:return t.type="instrumentName",t.text=n.readString(o),t;case 5:return t.type="lyrics",t.text=n.readString(o),t;case 6:return t.type="marker",t.text=n.readString(o),t;case 7:return t.type="cuePoint",t.text=n.readString(o),t;case 32:if(t.type="channelPrefix",1!=o)throw"Expected length for channelPrefix event is 1, got "+o;return t.channel=n.readUInt8(),t;case 33:if(t.type="portPrefix",1!=o)throw"Expected length for portPrefix event is 1, got "+o;return t.port=n.readUInt8(),t;case 47:if(t.type="endOfTrack",0!=o)throw"Expected length for endOfTrack event is 0, got "+o;return t;case 81:if(t.type="setTempo",3!=o)throw"Expected length for setTempo event is 3, got "+o;return t.microsecondsPerBeat=n.readUInt24(),t;case 84:if(t.type="smpteOffset",5!=o)throw"Expected length for smpteOffset event is 5, got "+o;var s=n.readUInt8();return t.frameRate={0:24,32:25,64:29,96:30}[96&s],t.hour=31&s,t.min=n.readUInt8(),t.sec=n.readUInt8(),t.frame=n.readUInt8(),t.subFrame=n.readUInt8(),t;case 88:if(t.type="timeSignature",4!=o)throw"Expected length for timeSignature event is 4, got "+o;return t.numerator=n.readUInt8(),t.denominator=1<>4;switch(t.channel=15&r,u){case 8:return t.type="noteOff",t.noteNumber=a,t.velocity=n.readUInt8(),t;case 9:var c=n.readUInt8();return t.type=0===c?"noteOff":"noteOn",t.noteNumber=a,t.velocity=c,0===c&&(t.byte9=!0),t;case 10:return t.type="noteAftertouch",t.noteNumber=a,t.amount=n.readUInt8(),t;case 11:return t.type="controller",t.controllerType=a,t.value=n.readUInt8(),t;case 12:return t.type="programChange",t.programNumber=a,t;case 13:return t.type="channelAftertouch",t.amount=a,t;case 14:return t.type="pitchBend",t.value=a+(n.readUInt8()<<7)-8192,t;default:throw"Unrecognised MIDI event type: "+u;}}}}function r(t){this.buffer=t,this.bufferLen=this.buffer.length,this.pos=0;}r.prototype.eof=function(){return this.pos>=this.bufferLen;},r.prototype.readUInt8=function(){var t=this.buffer[this.pos];return this.pos+=1,t;},r.prototype.readInt8=function(){var t=this.readUInt8();return 128&t?t-256:t;},r.prototype.readUInt16=function(){return(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readInt16=function(){var t=this.readUInt16();return 32768&t?t-65536:t;},r.prototype.readUInt24=function(){return(this.readUInt8()<<16)+(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readInt24=function(){var t=this.readUInt24();return 8388608&t?t-16777216:t;},r.prototype.readUInt32=function(){return(this.readUInt8()<<24)+(this.readUInt8()<<16)+(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readBytes=function(t){var e=this.buffer.slice(this.pos,this.pos+t);return this.pos+=t,e;},r.prototype.readString=function(t){var e=this.readBytes(t);return String.fromCharCode.apply(null,e);},r.prototype.readVarInt=function(){for(var t=0;!this.eof();){var e=this.readUInt8();if(!(128&e))return t+e;t+=127&e,t<<=7;}return t;},r.prototype.readChunk=function(){var t=this.readString(4),e=this.readUInt32();return{id:t,length:e,data:this.readBytes(e)};},t.exports=function(t){var e=new r(t),i=e.readChunk();if("MThd"!=i.id)throw"Bad MIDI file. Expected 'MHdr', got: '"+i.id+"'";for(var o=function(t){var e=new r(t),n=e.readUInt16(),i=e.readUInt16(),o={format:n,numTracks:i},s=e.readUInt16();32768&s?(o.framesPerSecond=256-(s>>8),o.ticksPerFrame=255&s):o.ticksPerBeat=s;return o;}(i.data),s=[],a=0;!e.eof()&&a>7&127;t.writeUInt8(p),t.writeUInt8(f);break;default:throw"Unrecognized event type: "+i;}return u;}function i(){this.buffer=[];}i.prototype.writeUInt8=function(t){this.buffer.push(255&t);},i.prototype.writeInt8=i.prototype.writeUInt8,i.prototype.writeUInt16=function(t){var e=t>>8&255,n=255&t;this.writeUInt8(e),this.writeUInt8(n);},i.prototype.writeInt16=i.prototype.writeUInt16,i.prototype.writeUInt24=function(t){var e=t>>16&255,n=t>>8&255,r=255&t;this.writeUInt8(e),this.writeUInt8(n),this.writeUInt8(r);},i.prototype.writeInt24=i.prototype.writeUInt24,i.prototype.writeUInt32=function(t){var e=t>>24&255,n=t>>16&255,r=t>>8&255,i=255&t;this.writeUInt8(e),this.writeUInt8(n),this.writeUInt8(r),this.writeUInt8(i);},i.prototype.writeInt32=i.prototype.writeUInt32,i.prototype.writeBytes=function(t){this.buffer=this.buffer.concat(Array.prototype.slice.call(t,0));},i.prototype.writeString=function(t){var e,n=t.length,r=[];for(e=0;e>=7;e;){var r=127&e|128;n.push(r),e>>=7;}this.writeBytes(n.reverse());}},i.prototype.writeChunk=function(t,e){this.writeString(t),this.writeUInt32(e.length),this.writeBytes(e);},t.exports=function(t,e){if("object"!=babelHelpers.typeof(t))throw"Invalid MIDI data";e=e||{};var r,o=t.header||{},s=t.tracks||[],a=s.length,u=new i();for(function(t,e,n){var r=null==e.format?1:e.format,o=128;e.timeDivision?o=e.timeDivision:e.ticksPerFrame&&e.framesPerSecond?o=-(255&e.framesPerSecond)<<8|255&e.ticksPerFrame:e.ticksPerBeat&&(o=32767&e.ticksPerBeat);var s=new i();s.writeUInt16(r),s.writeUInt16(n),s.writeUInt16(o),t.writeChunk("MThd",s.buffer);}(u,o,a),r=0;r-1&&Array.isArray(o)?t(o,n,r):n.push(o);}return n;}(t,[],e);}t.exports=function(t){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return r(t);},t.exports.from=r,t.exports.depth=function(t,e){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return i(t,e);},t.exports.fromDepth=i;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(54);e.createControlChanges=function(){return new Proxy({},{get:function get(t,e){return t[e]?t[e]:r.controlChangeIds.hasOwnProperty(e)?t[r.controlChangeIds[e]]:void 0;},set:function set(t,e,n){return r.controlChangeIds.hasOwnProperty(e)?t[r.controlChangeIds[e]]=n:t[e]=n,!0;}});};},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=new WeakMap(),i=function(){function t(t,e){r.set(this,e),this.ticks=t.absoluteTime,this.value=t.value;}return Object.defineProperty(t.prototype,"time",{get:function get(){return r.get(this).ticksToSeconds(this.ticks);},set:function set(t){var e=r.get(this);this.ticks=e.secondsToTicks(t);},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{ticks:this.ticks,time:this.time,value:this.value};},t;}();e.PitchBend=i;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(87),i=new WeakMap(),o=function(){function t(t,e){if(this.number=0,i.set(this,e),this.number=0,t){var n=t.find(function(t){return"programChange"===t.type;});n&&(this.number=n.programNumber);}}return Object.defineProperty(t.prototype,"name",{get:function get(){return this.percussion?r.DrumKitByPatchID[this.number]:r.instrumentByPatchID[this.number];},set:function set(t){var e=r.instrumentByPatchID.indexOf(t);-1!==e&&(this.number=e);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"family",{get:function get(){return this.percussion?"drums":r.InstrumentFamilyByID[Math.floor(this.number/8)];},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percussion",{get:function get(){return 9===i.get(this).channel;},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{family:this.family,name:this.name,number:this.number};},t.prototype.fromJSON=function(t){this.number=t.number;},t;}();e.Instrument=o;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.instrumentByPatchID=["acoustic grand piano","bright acoustic piano","electric grand piano","honky-tonk piano","electric piano 1","electric piano 2","harpsichord","clavi","celesta","glockenspiel","music box","vibraphone","marimba","xylophone","tubular bells","dulcimer","drawbar organ","percussive organ","rock organ","church organ","reed organ","accordion","harmonica","tango accordion","acoustic guitar (nylon)","acoustic guitar (steel)","electric guitar (jazz)","electric guitar (clean)","electric guitar (muted)","overdriven guitar","distortion guitar","guitar harmonics","acoustic bass","electric bass (finger)","electric bass (pick)","fretless bass","slap bass 1","slap bass 2","synth bass 1","synth bass 2","violin","viola","cello","contrabass","tremolo strings","pizzicato strings","orchestral harp","timpani","string ensemble 1","string ensemble 2","synthstrings 1","synthstrings 2","choir aahs","voice oohs","synth voice","orchestra hit","trumpet","trombone","tuba","muted trumpet","french horn","brass section","synthbrass 1","synthbrass 2","soprano sax","alto sax","tenor sax","baritone sax","oboe","english horn","bassoon","clarinet","piccolo","flute","recorder","pan flute","blown bottle","shakuhachi","whistle","ocarina","lead 1 (square)","lead 2 (sawtooth)","lead 3 (calliope)","lead 4 (chiff)","lead 5 (charang)","lead 6 (voice)","lead 7 (fifths)","lead 8 (bass + lead)","pad 1 (new age)","pad 2 (warm)","pad 3 (polysynth)","pad 4 (choir)","pad 5 (bowed)","pad 6 (metallic)","pad 7 (halo)","pad 8 (sweep)","fx 1 (rain)","fx 2 (soundtrack)","fx 3 (crystal)","fx 4 (atmosphere)","fx 5 (brightness)","fx 6 (goblins)","fx 7 (echoes)","fx 8 (sci-fi)","sitar","banjo","shamisen","koto","kalimba","bag pipe","fiddle","shanai","tinkle bell","agogo","steel drums","woodblock","taiko drum","melodic tom","synth drum","reverse cymbal","guitar fret noise","breath noise","seashore","bird tweet","telephone ring","helicopter","applause","gunshot"],e.InstrumentFamilyByID=["piano","chromatic percussion","organ","guitar","bass","strings","ensemble","brass","reed","pipe","synth lead","synth pad","synth effects","world","percussive","sound effects"],e.DrumKitByPatchID={0:"standard kit",8:"room kit",16:"power kit",24:"electronic kit",25:"tr-808 kit",32:"jazz kit",40:"brush kit",48:"orchestra kit",56:"sound fx kit"};},function(t,e,n){"use strict";function r(t){return["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"][t%12];}Object.defineProperty(e,"__esModule",{value:!0});var i,o,s=(i=/^([a-g]{1}(?:b|#|x|bb)?)(-?[0-9]+)/i,o={cbb:-2,cb:-1,c:0,"c#":1,cx:2,dbb:0,db:1,d:2,"d#":3,dx:4,ebb:2,eb:3,e:4,"e#":5,ex:6,fbb:3,fb:4,f:5,"f#":6,fx:7,gbb:5,gb:6,g:7,"g#":8,gx:9,abb:7,ab:8,a:9,"a#":10,ax:11,bbb:9,bb:10,b:11,"b#":12,bx:13},function(t){var e=i.exec(t),n=e[1],r=e[2];return o[n.toLowerCase()]+12*(parseInt(r,10)+1);}),a=new WeakMap(),u=function(){function t(t,e,n){a.set(this,n),this.midi=t.midi,this.velocity=t.velocity,this.noteOffVelocity=e.velocity,this.ticks=t.ticks,this.durationTicks=e.ticks-t.ticks;}return Object.defineProperty(t.prototype,"name",{get:function get(){return t=this.midi,e=Math.floor(t/12)-1,r(t)+e.toString();var t,e;},set:function set(t){this.midi=s(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"octave",{get:function get(){return Math.floor(this.midi/12)-1;},set:function set(t){var e=t-this.octave;this.midi+=12*e;},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pitch",{get:function get(){return r(this.midi);},set:function set(t){this.midi=12*(this.octave+1)+["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"].indexOf(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function get(){var t=a.get(this);return t.ticksToSeconds(this.ticks+this.durationTicks)-t.ticksToSeconds(this.ticks);},set:function set(t){var e=a.get(this).secondsToTicks(this.time+t);this.durationTicks=e-this.ticks;},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"time",{get:function get(){return a.get(this).ticksToSeconds(this.ticks);},set:function set(t){var e=a.get(this);this.ticks=e.secondsToTicks(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bars",{get:function get(){return a.get(this).ticksToMeasures(this.ticks);},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{duration:this.duration,durationTicks:this.durationTicks,midi:this.midi,name:this.name,ticks:this.ticks,time:this.time,velocity:this.velocity};},t;}();e.Note=u;}]);});!function(e,t){"object"==(typeof exports==="undefined"?"undefined":babelHelpers.typeof(exports))&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t();}(0,function(){"use strict";function e(e){var t=!0,n=!1,o=null,d={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList);}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""));}function u(e){t=!1;}function a(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c);}function c(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c));}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&s(e.activeElement),t=!0);},!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),a());},!0),a(),e.addEventListener("focus",function(e){var n,o,u;i(e.target)&&(t||(n=e.target,o=n.type,"INPUT"===(u=n.tagName)&&d[o]&&!n.readOnly||"TEXTAREA"===u&&!n.readOnly||n.isContentEditable))&&s(e.target);},!0),e.addEventListener("blur",function(e){var t;i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(o),o=window.setTimeout(function(){n=!1;},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")));},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""));}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready");}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{});}window.dispatchEvent(t);}"undefined"!=typeof document&&e(document);});/** + */n.prototype.toString=function(){for(var t in n){var e=t[0].match(/^[A-Z]$/),i=n[t]===this.constructor;if(n.isFunction(n[t])&&e&&i)return t;}return"Tone";},n.prototype.dispose=function(){return this;},n.prototype.set=function(t,e){if(n.isString(t)){var i={};i[t]=e,t=i;}t:for(var s in t){e=t[s];var o=this;if(-1!==s.indexOf(".")){for(var a=s.split("."),r=0;r1&&(this.input=new Array(t)),1===e?this.output=this.context.createGain():e>1&&(this.output=new Array(e));},Object.defineProperty(s.default.AudioNode.prototype,"channelCount",{get:function get(){return this.output.channelCount;},set:function set(t){return this.output.channelCount=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"channelCountMode",{get:function get(){return this.output.channelCountMode;},set:function set(t){return this.output.channelCountMode=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"channelInterpretation",{get:function get(){return this.output.channelInterpretation;},set:function set(t){return this.output.channelInterpretation=t;}}),Object.defineProperty(s.default.AudioNode.prototype,"numberOfInputs",{get:function get(){return this.input?s.default.isArray(this.input)?this.input.length:1:0;}}),Object.defineProperty(s.default.AudioNode.prototype,"numberOfOutputs",{get:function get(){return this.output?s.default.isArray(this.output)?this.output.length:1:0;}}),s.default.AudioNode.prototype.connect=function(t,e,i){return s.default.isArray(this.output)?(e=s.default.defaultArg(e,0),this.output[e].connect(t,0,i)):s.default.connect(this.output,t,e,i),this;},s.default.AudioNode.prototype.disconnect=function(t,e,i){return s.default.isArray(this.output)?(e=s.default.defaultArg(e,0),this.output[e].disconnect(t,0,i)):s.default.disconnect(this.output,t,e,i),this;},s.default.AudioNode.prototype.chain=function(){var t=Array.from(arguments);return t.unshift(this),s.default.connectSeries.apply(void 0,t),this;},s.default.AudioNode.prototype.fan=function(){for(var t=0;t0){var i=this._state.get(e);if(i&&i.state===s.default.State.Started&&i.time!==e){var n,o=e-this.toSeconds(i.time);i.duration&&(n=this.toSeconds(i.duration)-o),this._start(t,this.toSeconds(i.offset)+o,n);}}}.bind(this),this._syncedStop=function(t){var e=s.default.Transport.getSecondsAtTime(Math.max(t-this.sampleTime,0));this._state.getValueAtTime(e)===s.default.State.Started&&this._stop(t);}.bind(this),s.default.Transport.on("start loopStart",this._syncedStart),s.default.Transport.on("stop pause loopEnd",this._syncedStop),this;},s.default.Source.prototype.unsync=function(){this._synced&&(s.default.Transport.off("stop pause loopEnd",this._syncedStop),s.default.Transport.off("start loopStart",this._syncedStart)),this._synced=!1;for(var t=0;t0;}}),Object.defineProperty(s.default.Buffer.prototype,"duration",{get:function get(){return this._buffer?this._buffer.duration:0;}}),Object.defineProperty(s.default.Buffer.prototype,"length",{get:function get(){return this._buffer?this._buffer.length:0;}}),Object.defineProperty(s.default.Buffer.prototype,"numberOfChannels",{get:function get(){return this._buffer?this._buffer.numberOfChannels:0;}}),s.default.Buffer.prototype.fromArray=function(t){var e=t[0].length>0,i=e?t.length:1,s=e?t[0].length:t.length,n=this.context.createBuffer(i,s,this.context.sampleRate);e||1!==i||(t=[t]);for(var o=0;o0&&e%this._ppq!=0&&e%(2*this._swingTicks)!=0){var i=e%(2*this._swingTicks)/(2*this._swingTicks),n=Math.sin(i*Math.PI)*this._swingAmount;t+=s.default.Ticks(2*this._swingTicks/3).toSeconds()*n;}this.loop&&e>=this._loopEnd&&(this.emit("loopEnd",t),this._clock.setTicksAtTime(this._loopStart,t),e=this._loopStart,this.emit("loopStart",t,this._clock.getSecondsAtTime(t)),this.emit("loop",t)),this._timeline.forEachAtTime(e,function(e){e.invoke(t);});},s.default.Transport.prototype.schedule=function(t,e){var i=new s.default.TransportEvent(this,{time:s.default.TransportTime(e),callback:t});return this._addEvent(i,this._timeline);},s.default.Transport.prototype.scheduleRepeat=function(t,e,i,n){var o=new s.default.TransportRepeatEvent(this,{callback:t,interval:s.default.Time(e),time:s.default.TransportTime(i),duration:s.default.Time(s.default.defaultArg(n,1/0))});return this._addEvent(o,this._repeatedEvents);},s.default.Transport.prototype.scheduleOnce=function(t,e){var i=new s.default.TransportEvent(this,{time:s.default.TransportTime(e),callback:t,once:!0});return this._addEvent(i,this._timeline);},s.default.Transport.prototype.clear=function(t){if(this._scheduledEvents.hasOwnProperty(t)){var e=this._scheduledEvents[t.toString()];e.timeline.remove(e.event),e.event.dispose(),delete this._scheduledEvents[t.toString()];}return this;},s.default.Transport.prototype._addEvent=function(t,e){return this._scheduledEvents[t.id.toString()]={event:t,timeline:e},e.add(t),t.id;},s.default.Transport.prototype.cancel=function(t){return t=s.default.defaultArg(t,0),t=this.toTicks(t),this._timeline.forEachFrom(t,function(t){this.clear(t.id);}.bind(this)),this._repeatedEvents.forEachFrom(t,function(t){this.clear(t.id);}.bind(this)),this;},s.default.Transport.prototype._bindClockEvents=function(){this._clock.on("start",function(t,e){e=s.default.Ticks(e).toSeconds(),this.emit("start",t,e);}.bind(this)),this._clock.on("stop",function(t){this.emit("stop",t);}.bind(this)),this._clock.on("pause",function(t){this.emit("pause",t);}.bind(this));},Object.defineProperty(s.default.Transport.prototype,"state",{get:function get(){return this._clock.getStateAtTime(this.now());}}),s.default.Transport.prototype.start=function(t,e){return s.default.isDefined(e)&&(e=this.toTicks(e)),this._clock.start(t,e),this;},s.default.Transport.prototype.stop=function(t){return this._clock.stop(t),this;},s.default.Transport.prototype.pause=function(t){return this._clock.pause(t),this;},s.default.Transport.prototype.toggle=function(t){return t=this.toSeconds(t),this._clock.getStateAtTime(t)!==s.default.State.Started?this.start(t):this.stop(t),this;},Object.defineProperty(s.default.Transport.prototype,"timeSignature",{get:function get(){return this._timeSignature;},set:function set(t){s.default.isArray(t)&&(t=t[0]/t[1]*4),this._timeSignature=t;}}),Object.defineProperty(s.default.Transport.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t);}}),Object.defineProperty(s.default.Transport.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t);}}),s.default.Transport.prototype.setLoopPoints=function(t,e){return this.loopStart=t,this.loopEnd=e,this;},Object.defineProperty(s.default.Transport.prototype,"swing",{get:function get(){return this._swingAmount;},set:function set(t){this._swingAmount=t;}}),Object.defineProperty(s.default.Transport.prototype,"swingSubdivision",{get:function get(){return s.default.Ticks(this._swingTicks).toNotation();},set:function set(t){this._swingTicks=this.toTicks(t);}}),Object.defineProperty(s.default.Transport.prototype,"position",{get:function get(){var t=this.now(),e=this._clock.getTicksAtTime(t);return s.default.Ticks(e).toBarsBeatsSixteenths();},set:function set(t){var e=this.toTicks(t);this.ticks=e;}}),Object.defineProperty(s.default.Transport.prototype,"seconds",{get:function get(){return this._clock.seconds;},set:function set(t){var e=this.now(),i=this.bpm.timeToTicks(t,e);this.ticks=i;}}),Object.defineProperty(s.default.Transport.prototype,"progress",{get:function get(){if(this.loop){var t=this.now();return(this._clock.getTicksAtTime(t)-this._loopStart)/(this._loopEnd-this._loopStart);}return 0;}}),Object.defineProperty(s.default.Transport.prototype,"ticks",{get:function get(){return this._clock.ticks;},set:function set(t){if(this._clock.ticks!==t){var e=this.now();this.state===s.default.State.Started?(this.emit("stop",e),this._clock.setTicksAtTime(t,e),this.emit("start",e,this.seconds)):this._clock.setTicksAtTime(t,e);}}}),s.default.Transport.prototype.getTicksAtTime=function(t){return Math.round(this._clock.getTicksAtTime(t));},s.default.Transport.prototype.getSecondsAtTime=function(t){return this._clock.getSecondsAtTime(t);},Object.defineProperty(s.default.Transport.prototype,"PPQ",{get:function get(){return this._ppq;},set:function set(t){var e=this.bpm.value;this._ppq=t,this.bpm.value=e;}}),s.default.Transport.prototype._fromUnits=function(t){return 1/(60/t/this.PPQ);},s.default.Transport.prototype._toUnits=function(t){return t/this.PPQ*60;},s.default.Transport.prototype.nextSubdivision=function(t){if(t=this.toTicks(t),this.state!==s.default.State.Started)return 0;var e=this.now(),i=t-this.getTicksAtTime(e)%t;return this._clock.nextTickTime(i,e);},s.default.Transport.prototype.syncSignal=function(t,e){if(!e){var i=this.now();e=0!==t.getValueAtTime(i)?t.getValueAtTime(i)/this.bpm.getValueAtTime(i):0;}var n=new s.default.Gain(e);return this.bpm.chain(n,t._param),this._syncedSignals.push({ratio:n,signal:t,initial:t.value}),t.value=0,this;},s.default.Transport.prototype.unsyncSignal=function(t){for(var e=this._syncedSignals.length-1;e>=0;e--){var i=this._syncedSignals[e];i.signal===t&&(i.ratio.dispose(),i.signal.value=i.initial,this._syncedSignals.splice(e,1));}return this;},s.default.Transport.prototype.dispose=function(){return s.default.Emitter.prototype.dispose.call(this),this._clock.dispose(),this._clock=null,this._writable("bpm"),this.bpm=null,this._timeline.dispose(),this._timeline=null,this._repeatedEvents.dispose(),this._repeatedEvents=null,this;};var n=s.default.Transport;s.default.Transport=new n(),s.default.Context.on("init",function(t){t.transport&&t.transport.isTransport?s.default.Transport=t.transport:s.default.Transport=new n();}),s.default.Context.on("close",function(t){t.transport&&t.transport.isTransport&&t.transport.dispose();}),e.default=s.default.Transport;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(6),i(16),i(64);s.default.Oscillator=function(){var t=s.default.defaults(arguments,["frequency","type"],s.default.Oscillator);s.default.Source.call(this,t),this._oscillator=null,this.frequency=new s.default.Signal(t.frequency,s.default.Type.Frequency),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._wave=null,this._partials=t.partials,this._partialCount=t.partialCount,this._phase=t.phase,this._type=t.type,t.partialCount&&t.type!==s.default.Oscillator.Type.Custom&&(this._type=this.baseType+t.partialCount.toString()),this.phase=this._phase,this._readOnly(["frequency","detune"]);},s.default.extend(s.default.Oscillator,s.default.Source),s.default.Oscillator.defaults={type:"sine",frequency:440,detune:0,phase:0,partials:[],partialCount:0},s.default.Oscillator.Type={Sine:"sine",Triangle:"triangle",Sawtooth:"sawtooth",Square:"square",Custom:"custom"},s.default.Oscillator.prototype._start=function(t){this.log("start",t);var e=new s.default.OscillatorNode();this._oscillator=e,this._wave?this._oscillator.setPeriodicWave(this._wave):this._oscillator.type=this._type,this._oscillator.connect(this.output),this.frequency.connect(this._oscillator.frequency),this.detune.connect(this._oscillator.detune),t=this.toSeconds(t),this._oscillator.start(t);},s.default.Oscillator.prototype._stop=function(t){return this.log("stop",t),this._oscillator&&(t=this.toSeconds(t),this._oscillator.stop(t)),this;},s.default.Oscillator.prototype.restart=function(t){return this._oscillator&&this._oscillator.cancelStop(),this._state.cancel(this.toSeconds(t)),this;},s.default.Oscillator.prototype.syncFrequency=function(){return s.default.Transport.syncSignal(this.frequency),this;},s.default.Oscillator.prototype.unsyncFrequency=function(){return s.default.Transport.unsyncSignal(this.frequency),this;},Object.defineProperty(s.default.Oscillator.prototype,"type",{get:function get(){return this._type;},set:function set(t){var e=[s.default.Oscillator.Type.Sine,s.default.Oscillator.Type.Square,s.default.Oscillator.Type.Triangle,s.default.Oscillator.Type.Sawtooth].includes(t);if(0===this._phase&&e)this._wave=null,this._partialCount=0,null!==this._oscillator&&(this._oscillator.type=t);else{var i=this._getRealImaginary(t,this._phase),n=this.context.createPeriodicWave(i[0],i[1]);this._wave=n,null!==this._oscillator&&this._oscillator.setPeriodicWave(this._wave);}this._type=t;}}),Object.defineProperty(s.default.Oscillator.prototype,"baseType",{get:function get(){return this._type.replace(this.partialCount,"");},set:function set(t){this.partialCount&&this._type!==s.default.Oscillator.Type.Custom&&t!==s.default.Oscillator.Type.Custom?this.type=t+this.partialCount:this.type=t;}}),Object.defineProperty(s.default.Oscillator.prototype,"partialCount",{get:function get(){return this._partialCount;},set:function set(t){var e=this._type,i=/^(sine|triangle|square|sawtooth)(\d+)$/.exec(this._type);i&&(e=i[1]),this._type!==s.default.Oscillator.Type.Custom&&(this.type=0===t?e:e+t.toString());}}),s.default.Oscillator.prototype.get=function(){var t=s.default.prototype.get.apply(this,arguments);return t.type!==s.default.Oscillator.Type.Custom&&delete t.partials,t;},s.default.Oscillator.prototype._getRealImaginary=function(t,e){var i=2048,n=new Float32Array(i),o=new Float32Array(i),a=1;if(t===s.default.Oscillator.Type.Custom)a=this._partials.length+1,this._partialCount=this._partials.length,i=a;else{var r=/^(sine|triangle|square|sawtooth)(\d+)$/.exec(t);r?(a=parseInt(r[2])+1,this._partialCount=parseInt(r[2]),t=r[1],i=a=Math.max(a,2)):this._partialCount=0,this._partials=[];}for(var l=1;l>1&1?-1:1):0,this._partials[l-1]=u;break;case s.default.Oscillator.Type.Custom:u=this._partials[l-1];break;default:throw new TypeError("Tone.Oscillator: invalid type: "+t);}0!==u?(n[l]=-u*Math.sin(e*l),o[l]=u*Math.cos(e*l)):(n[l]=0,o[l]=0);}return[n,o];},s.default.Oscillator.prototype._inverseFFT=function(t,e,i){for(var s=0,n=t.length,o=0;othis.memory){var i=this.length-this.memory;this._timeline.splice(0,i);}return this;},s.default.Timeline.prototype.remove=function(t){var e=this._timeline.indexOf(t);return-1!==e&&this._timeline.splice(e,1),this;},s.default.Timeline.prototype.get=function(t,e){e=s.default.defaultArg(e,"time");var i=this._search(t,e);return-1!==i?this._timeline[i]:null;},s.default.Timeline.prototype.peek=function(){return this._timeline[0];},s.default.Timeline.prototype.shift=function(){return this._timeline.shift();},s.default.Timeline.prototype.getAfter=function(t,e){e=s.default.defaultArg(e,"time");var i=this._search(t,e);return i+10&&this._timeline[i-1][e]=0?this._timeline[n-1]:null;},s.default.Timeline.prototype.cancel=function(t){if(this._timeline.length>1){var e=this._search(t);if(e>=0){if(this._timeline[e].time===t){for(var i=e;i>=0&&this._timeline[i].time===t;i--){e=i;}this._timeline=this._timeline.slice(0,e);}else this._timeline=this._timeline.slice(0,e+1);}else this._timeline=[];}else 1===this._timeline.length&&this._timeline[0].time>=t&&(this._timeline=[]);return this;},s.default.Timeline.prototype.cancelBefore=function(t){var e=this._search(t);return e>=0&&(this._timeline=this._timeline.slice(e+1)),this;},s.default.Timeline.prototype.previousEvent=function(t){var e=this._timeline.indexOf(t);return e>0?this._timeline[e-1]:null;},s.default.Timeline.prototype._search=function(t,e){if(0===this._timeline.length)return-1;e=s.default.defaultArg(e,"time");var i=0,n=this._timeline.length,o=n;if(n>0&&this._timeline[n-1][e]<=t)return n-1;for(;it)return a;r[e]>t?o=a:i=a+1;}return-1;},s.default.Timeline.prototype._iterate=function(t,e,i){e=s.default.defaultArg(e,0),i=s.default.defaultArg(i,this._timeline.length-1),this._timeline.slice(e,i+1).forEach(function(e){t.call(this,e);}.bind(this));},s.default.Timeline.prototype.forEach=function(t){return this._iterate(t),this;},s.default.Timeline.prototype.forEachBefore=function(t,e){var i=this._search(t);return-1!==i&&this._iterate(e,0,i),this;},s.default.Timeline.prototype.forEachAfter=function(t,e){var i=this._search(t);return this._iterate(e,i+1),this;},s.default.Timeline.prototype.forEachBetween=function(t,e,i){var s=this._search(t),n=this._search(e);return-1!==s&&-1!==n?(this._timeline[s].time!==t&&(s+=1),this._timeline[n].time===e&&(n-=1),this._iterate(i,s,n)):-1===s&&this._iterate(i,0,n),this;},s.default.Timeline.prototype.forEachFrom=function(t,e){for(var i=this._search(t);i>=0&&this._timeline[i].time>=t;){i--;}return this._iterate(e,i+1),this;},s.default.Timeline.prototype.forEachAtTime=function(t,e){var i=this._search(t);return-1!==i&&this._iterate(function(i){i.time===t&&e.call(this,i);},0,i),this;},s.default.Timeline.prototype.dispose=function(){return s.default.prototype.dispose.call(this),this._timeline=null,this;},e.default=s.default.Timeline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(21),i(2);s.default.Monophonic=function(t){t=s.default.defaultArg(t,s.default.Monophonic.defaults),s.default.Instrument.call(this,t),this.portamento=t.portamento;},s.default.extend(s.default.Monophonic,s.default.Instrument),s.default.Monophonic.defaults={portamento:0},s.default.Monophonic.prototype.triggerAttack=function(t,e,i){return this.log("triggerAttack",t,e,i),e=this.toSeconds(e),this._triggerEnvelopeAttack(e,i),this.setNote(t,e),this;},s.default.Monophonic.prototype.triggerRelease=function(t){return this.log("triggerRelease",t),t=this.toSeconds(t),this._triggerEnvelopeRelease(t),this;},s.default.Monophonic.prototype._triggerEnvelopeAttack=function(){},s.default.Monophonic.prototype._triggerEnvelopeRelease=function(){},s.default.Monophonic.prototype.getLevelAtTime=function(t){return t=this.toSeconds(t),this.envelope.getValueAtTime(t);},s.default.Monophonic.prototype.setNote=function(t,e){if(e=this.toSeconds(e),this.portamento>0&&this.getLevelAtTime(e)>0.05){var i=this.toSeconds(this.portamento);this.frequency.exponentialRampTo(t,i,e);}else this.frequency.setValueAtTime(t,e);return this;},e.default=s.default.Monophonic;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(29),i(5),i(2);s.default.Scale=function(t,e){s.default.SignalBase.call(this),this._outputMin=s.default.defaultArg(t,0),this._outputMax=s.default.defaultArg(e,1),this._scale=this.input=new s.default.Multiply(1),this._add=this.output=new s.default.Add(0),this._scale.connect(this._add),this._setRange();},s.default.extend(s.default.Scale,s.default.SignalBase),Object.defineProperty(s.default.Scale.prototype,"min",{get:function get(){return this._outputMin;},set:function set(t){this._outputMin=t,this._setRange();}}),Object.defineProperty(s.default.Scale.prototype,"max",{get:function get(){return this._outputMax;},set:function set(t){this._outputMax=t,this._setRange();}}),s.default.Scale.prototype._setRange=function(){this._add.value=this._outputMin,this._scale.value=this._outputMax-this._outputMin;},s.default.Scale.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._add.dispose(),this._add=null,this._scale.dispose(),this._scale=null,this;},e.default=s.default.Scale;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(3),i(1);s.default.Volume=function(){var t=s.default.defaults(arguments,["volume"],s.default.Volume);s.default.AudioNode.call(this,t),this.output=this.input=new s.default.Gain(t.volume,s.default.Type.Decibels),this._unmutedVolume=t.volume,this.volume=this.output.gain,this._readOnly("volume"),this.mute=t.mute;},s.default.extend(s.default.Volume,s.default.AudioNode),s.default.Volume.defaults={volume:0,mute:!1},Object.defineProperty(s.default.Volume.prototype,"mute",{get:function get(){return this.volume.value===-1/0;},set:function set(t){!this.mute&&t?(this._unmutedVolume=this.volume.value,this.volume.value=-1/0):this.mute&&!t&&(this.volume.value=this._unmutedVolume);}}),s.default.Volume.prototype.dispose=function(){return this.input.dispose(),s.default.AudioNode.prototype.dispose.call(this),this._writable("volume"),this.volume.dispose(),this.volume=null,this;},e.default=s.default.Volume;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(3),i(30);s.default.Zero=function(){s.default.SignalBase.call(this),this._gain=this.input=this.output=new s.default.Gain(),s.default.connect(this.context.getConstant(0),this._gain);},s.default.extend(s.default.Zero,s.default.SignalBase),s.default.Zero.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._gain.dispose(),this._gain=null,this;},e.default=s.default.Zero;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(3);s.default.Add=function(t){s.default.Signal.call(this),this.createInsOuts(2,0),this._sum=this.input[0]=this.input[1]=this.output=new s.default.Gain(),this._param=this.input[1]=new s.default.Signal(t),this._param.connect(this._sum);},s.default.extend(s.default.Add,s.default.Signal),s.default.Add.prototype.dispose=function(){return s.default.Signal.prototype.dispose.call(this),this._sum.dispose(),this._sum=null,this;},e.default=s.default.Add;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(1);s.default.SignalBase=function(){s.default.AudioNode.call(this);},s.default.extend(s.default.SignalBase,s.default.AudioNode),s.default.SignalBase.prototype.connect=function(t,e,i){return s.default.Signal&&s.default.Signal===t.constructor||s.default.Param&&s.default.Param===t.constructor?(t._param.cancelScheduledValues(0),t._param.setValueAtTime(0,0),t.overridden=!0):babelHelpers.instanceof(t,AudioParam)&&(t.cancelScheduledValues(0),t.setValueAtTime(0,0)),s.default.AudioNode.prototype.connect.call(this,t,e,i),this;},e.default=s.default.SignalBase;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(47),i(3);s.default.AmplitudeEnvelope=function(){s.default.Envelope.apply(this,arguments),this.input=this.output=new s.default.Gain(),this._sig.connect(this.output.gain);},s.default.extend(s.default.AmplitudeEnvelope,s.default.Envelope),s.default.AmplitudeEnvelope.prototype.dispose=function(){return s.default.Envelope.prototype.dispose.call(this),this;},e.default=s.default.AmplitudeEnvelope;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(3),i(1);s.default.BufferSource=function(){var t=s.default.defaults(arguments,["buffer","onload"],s.default.BufferSource);s.default.AudioNode.call(this,t),this.onended=t.onended,this._startTime=-1,this._sourceStarted=!1,this._sourceStopped=!1,this._stopTime=-1,this._gainNode=this.output=new s.default.Gain(0),this._source=this.context.createBufferSource(),s.default.connect(this._source,this._gainNode),this._source.onended=this._onended.bind(this),this._buffer=new s.default.Buffer(t.buffer,t.onload),this.playbackRate=new s.default.Param({param:this._source.playbackRate,units:s.default.Type.Positive,value:t.playbackRate}),this.fadeIn=t.fadeIn,this.fadeOut=t.fadeOut,this.curve=t.curve,this._onendedTimeout=-1,this.loop=t.loop,this.loopStart=t.loopStart,this.loopEnd=t.loopEnd;},s.default.extend(s.default.BufferSource,s.default.AudioNode),s.default.BufferSource.defaults={onended:s.default.noOp,onload:s.default.noOp,loop:!1,loopStart:0,loopEnd:0,fadeIn:0,fadeOut:0,curve:"linear",playbackRate:1},Object.defineProperty(s.default.BufferSource.prototype,"state",{get:function get(){return this.getStateAtTime(this.now());}}),s.default.BufferSource.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),-1!==this._startTime&&this._startTime<=t&&(-1===this._stopTime||t0?(this._gainNode.gain.setValueAtTime(0,t),"linear"===this.curve?this._gainNode.gain.linearRampToValueAtTime(n,t+o):this._gainNode.gain.exponentialApproachValueAtTime(n,t,o)):this._gainNode.gain.setValueAtTime(n,t),this._startTime=t,s.default.isDefined(i)){var a=this.toSeconds(i);a=Math.max(a,0),this.stop(t+a);}if(this.loop){var r=this.loopEnd||this.buffer.duration,l=this.loopStart;e>=r&&(e=(e-l)%(r-l)+l);}return this._source.buffer=this.buffer.get(),this._source.loopEnd=this.loopEnd||this.buffer.duration,e0?"linear"===this.curve?this._gainNode.gain.linearRampTo(0,e,t):this._gainNode.gain.targetRampTo(0,e,t):(this._gainNode.gain.cancelAndHoldAtTime(t),this._gainNode.gain.setValueAtTime(0,t)),s.default.context.clearTimeout(this._onendedTimeout),this._onendedTimeout=s.default.context.setTimeout(this._onended.bind(this),this._stopTime-this.now()),this;},s.default.BufferSource.prototype.cancelStop=function(){if(-1!==this._startTime&&!this._sourceStopped){var t=this.toSeconds(this.fadeIn);this._gainNode.gain.cancelScheduledValues(this._startTime+t+this.sampleTime),this.context.clearTimeout(this._onendedTimeout),this._stopTime=-1;}return this;},s.default.BufferSource.prototype._onended=function(){if(!this._sourceStopped){this._sourceStopped=!0;var t="exponential"===this.curve?2*this.fadeOut:0;this._sourceStarted&&-1!==this._stopTime&&this._source.stop(this._stopTime+t),this.onended(this),setTimeout(function(){this._source&&(this._source.disconnect(),this._gainNode.disconnect());}.bind(this),1e3*t+100);}},Object.defineProperty(s.default.BufferSource.prototype,"loopStart",{get:function get(){return this._source.loopStart;},set:function set(t){this._source.loopStart=this.toSeconds(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"loopEnd",{get:function get(){return this._source.loopEnd;},set:function set(t){this._source.loopEnd=this.toSeconds(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"buffer",{get:function get(){return this._buffer;},set:function set(t){this._buffer.set(t);}}),Object.defineProperty(s.default.BufferSource.prototype,"loop",{get:function get(){return this._source.loop;},set:function set(t){this._source.loop=t,this.cancelStop();}}),s.default.BufferSource.prototype.dispose=function(){return this._wasDisposed||(this._wasDisposed=!0,s.default.AudioNode.prototype.dispose.call(this),this.onended=null,this._source.onended=null,this._source.disconnect(),this._source=null,this._gainNode.dispose(),this._gainNode=null,this._buffer.dispose(),this._buffer=null,this._startTime=-1,this.playbackRate=null,s.default.context.clearTimeout(this._onendedTimeout)),this;},e.default=s.default.BufferSource;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(8),i(2),i(5),i(3);s.default.FeedbackEffect=function(){var t=s.default.defaults(arguments,["feedback"],s.default.FeedbackEffect);s.default.Effect.call(this,t),this._feedbackGain=new s.default.Gain(t.feedback,s.default.Type.NormalRange),this.feedback=this._feedbackGain.gain,this.effectReturn.chain(this._feedbackGain,this.effectSend),this._readOnly(["feedback"]);},s.default.extend(s.default.FeedbackEffect,s.default.Effect),s.default.FeedbackEffect.defaults={feedback:0.125},s.default.FeedbackEffect.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._writable(["feedback"]),this._feedbackGain.dispose(),this._feedbackGain=null,this.feedback=null,this;},e.default=s.default.FeedbackEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(24),i(4);s.default.TimelineState=function(t){s.default.Timeline.call(this),this._initial=t;},s.default.extend(s.default.TimelineState,s.default.Timeline),s.default.TimelineState.prototype.getValueAtTime=function(t){var e=this.get(t);return null!==e?e.state:this._initial;},s.default.TimelineState.prototype.setStateAtTime=function(t,e){return this.add({state:t,time:e}),this;},s.default.TimelineState.prototype.getLastState=function(t,e){e=this.toSeconds(e);for(var i=this._search(e);i>=0;i--){var s=this._timeline[i];if(s.state===t)return s;}},s.default.TimelineState.prototype.getNextState=function(t,e){e=this.toSeconds(e);var i=this._search(e);if(-1!==i)for(var s=i;s0&&(i=(1-o)/(1/i));if(0===i)this._sig.setValueAtTime(e,t);else if("linear"===this._attackCurve)this._sig.linearRampTo(e,i,t);else if("exponential"===this._attackCurve)this._sig.targetRampTo(e,i,t);else if(i>0){this._sig.cancelAndHoldAtTime(t);for(var a=this._attackCurve,r=1;r0){var i=this.toSeconds(this.release);if("linear"===this._releaseCurve)this._sig.linearRampTo(0,i,t);else if("exponential"===this._releaseCurve)this._sig.targetRampTo(0,i,t);else{var n=this._releaseCurve;s.default.isArray(n)&&(this._sig.cancelAndHoldAtTime(t),this._sig.setValueCurveAtTime(n,t,i,e));}}return this;},s.default.Envelope.prototype.getValueAtTime=function(t){return this._sig.getValueAtTime(t);},s.default.Envelope.prototype.triggerAttackRelease=function(t,e,i){return e=this.toSeconds(e),this.triggerAttack(e,i),this.triggerRelease(e+this.toSeconds(t)),this;},s.default.Envelope.prototype.cancel=function(t){return this._sig.cancelScheduledValues(t),this;},s.default.Envelope.prototype.connect=s.default.SignalBase.prototype.connect,function(){var t,e,i=[];for(t=0;t<128;t++){i[t]=Math.sin(t/127*(Math.PI/2));}var n=[];for(t=0;t<127;t++){e=t/127;var o=Math.sin(e*(2*Math.PI)*6.4-Math.PI/2)+1;n[t]=o/10+0.83*e;}n[127]=1;var a=[];for(t=0;t<128;t++){a[t]=Math.ceil(t/127*5)/5;}var r=[];for(t=0;t<128;t++){e=t/127,r[t]=0.5*(1-Math.cos(Math.PI*e));}var l,u=[];for(t=0;t<128;t++){e=t/127;var d=4*Math.pow(e,3)+0.2,f=Math.cos(d*Math.PI*2*e);u[t]=Math.abs(f*(1-e));}function h(t){for(var e=new Array(t.length),i=0;i1){e=1/0,s.default.isNumber(this._loop)&&(e=this._loop*this._getLoopDuration());var n=this._state.getAfter(i);null!==n&&(e=Math.min(e,n.time-i)),e!==1/0&&(this._state.setStateAtTime(s.default.State.Stopped,i+e+1),e=s.default.Ticks(e));var o=s.default.Ticks(this._getLoopDuration());t.id=s.default.Transport.scheduleRepeat(this._tick.bind(this),o,s.default.Ticks(i),e);}else t.id=s.default.Transport.schedule(this._tick.bind(this),s.default.Ticks(i));}}.bind(this)),this;},Object.defineProperty(s.default.Event.prototype,"state",{get:function get(){return this._state.getValueAtTime(s.default.Transport.ticks);}}),Object.defineProperty(s.default.Event.prototype,"startOffset",{get:function get(){return this._startOffset;},set:function set(t){this._startOffset=t;}}),Object.defineProperty(s.default.Event.prototype,"probability",{get:function get(){return this._probability;},set:function set(t){this._probability=t;}}),Object.defineProperty(s.default.Event.prototype,"humanize",{get:function get(){return this._humanize;},set:function set(t){this._humanize=t;}}),s.default.Event.prototype.start=function(t){return t=this.toTicks(t),this._state.getValueAtTime(t)===s.default.State.Stopped&&(this._state.add({state:s.default.State.Started,time:t,id:void 0}),this._rescheduleEvents(t)),this;},s.default.Event.prototype.stop=function(t){if(this.cancel(t),t=this.toTicks(t),this._state.getValueAtTime(t)===s.default.State.Started){this._state.setStateAtTime(s.default.State.Stopped,t);var e=this._state.getBefore(t),i=t;null!==e&&(i=e.time),this._rescheduleEvents(i);}return this;},s.default.Event.prototype.cancel=function(t){return t=s.default.defaultArg(t,-1/0),t=this.toTicks(t),this._state.forEachFrom(t,function(t){s.default.Transport.clear(t.id);}),this._state.cancel(t),this;},s.default.Event.prototype._tick=function(t){var e=s.default.Transport.getTicksAtTime(t);if(!this.mute&&this._state.getValueAtTime(e)===s.default.State.Started){if(this.probability<1&&Math.random()>this.probability)return;if(this.humanize){var i=0.02;s.default.isBoolean(this.humanize)||(i=this.toSeconds(this.humanize)),t+=(2*Math.random()-1)*i;}this.callback(t,this.value);}},s.default.Event.prototype._getLoopDuration=function(){return Math.round((this._loopEnd-this._loopStart)/this._playbackRate);},Object.defineProperty(s.default.Event.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){this._loop=t,this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t,this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t),this._loop&&this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t),this._loop&&this._rescheduleEvents();}}),Object.defineProperty(s.default.Event.prototype,"progress",{get:function get(){if(this._loop){var t=s.default.Transport.ticks,e=this._state.get(t);if(null!==e&&e.state===s.default.State.Started){var i=this._getLoopDuration();return(t-e.time)%i/i;}return 0;}return 0;}}),s.default.Event.prototype.dispose=function(){this.cancel(),this._state.dispose(),this._state=null,this.callback=null,this.value=null;},e.default=s.default.Event;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(13),i(29),i(10),i(3),i(1);s.default.MidSideMerge=function(){s.default.AudioNode.call(this),this.createInsOuts(2,0),this.mid=this.input[0]=new s.default.Gain(),this._left=new s.default.Add(),this._timesTwoLeft=new s.default.Multiply(Math.SQRT1_2),this.side=this.input[1]=new s.default.Gain(),this._right=new s.default.Subtract(),this._timesTwoRight=new s.default.Multiply(Math.SQRT1_2),this._merge=this.output=new s.default.Merge(),this.mid.connect(this._left,0,0),this.side.connect(this._left,0,1),this.mid.connect(this._right,0,0),this.side.connect(this._right,0,1),this._left.connect(this._timesTwoLeft),this._right.connect(this._timesTwoRight),this._timesTwoLeft.connect(this._merge,0,0),this._timesTwoRight.connect(this._merge,0,1);},s.default.extend(s.default.MidSideMerge,s.default.AudioNode),s.default.MidSideMerge.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.mid.dispose(),this.mid=null,this.side.dispose(),this.side=null,this._left.dispose(),this._left=null,this._timesTwoLeft.dispose(),this._timesTwoLeft=null,this._right.dispose(),this._right=null,this._timesTwoRight.dispose(),this._timesTwoRight=null,this._merge.dispose(),this._merge=null,this;},e.default=s.default.MidSideMerge;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(29),i(13),i(2),i(19),i(1);s.default.MidSideSplit=function(){s.default.AudioNode.call(this),this.createInsOuts(0,2),this._split=this.input=new s.default.Split(),this._midAdd=new s.default.Add(),this.mid=this.output[0]=new s.default.Multiply(Math.SQRT1_2),this._sideSubtract=new s.default.Subtract(),this.side=this.output[1]=new s.default.Multiply(Math.SQRT1_2),this._split.connect(this._midAdd,0,0),this._split.connect(this._midAdd,1,1),this._split.connect(this._sideSubtract,0,0),this._split.connect(this._sideSubtract,1,1),this._midAdd.connect(this.mid),this._sideSubtract.connect(this.side);},s.default.extend(s.default.MidSideSplit,s.default.AudioNode),s.default.MidSideSplit.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.mid.dispose(),this.mid=null,this.side.dispose(),this.side=null,this._midAdd.dispose(),this._midAdd=null,this._sideSubtract.dispose(),this._sideSubtract=null,this._split.dispose(),this._split=null,this;},e.default=s.default.MidSideSplit;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2),i(9),i(1),i(59);s.default.LowpassCombFilter=function(){var t=s.default.defaults(arguments,["delayTime","resonance","dampening"],s.default.LowpassCombFilter);s.default.AudioNode.call(this),this._combFilter=this.output=new s.default.FeedbackCombFilter(t.delayTime,t.resonance),this.delayTime=this._combFilter.delayTime,this._lowpass=this.input=new s.default.Filter({frequency:t.dampening,type:"lowpass",Q:0,rolloff:-12}),this.dampening=this._lowpass.frequency,this.resonance=this._combFilter.resonance,this._lowpass.connect(this._combFilter),this._readOnly(["dampening","resonance","delayTime"]);},s.default.extend(s.default.LowpassCombFilter,s.default.AudioNode),s.default.LowpassCombFilter.defaults={delayTime:0.1,resonance:0.5,dampening:3e3},s.default.LowpassCombFilter.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this._writable(["dampening","resonance","delayTime"]),this._combFilter.dispose(),this._combFilter=null,this.resonance=null,this.delayTime=null,this._lowpass.dispose(),this._lowpass=null,this.dampening=null,this;},e.default=s.default.LowpassCombFilter;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(45);s.default.Ticks=function(t,e){if(!babelHelpers.instanceof(this,s.default.Ticks))return new s.default.Ticks(t,e);s.default.TransportTime.call(this,t,e);},s.default.extend(s.default.Ticks,s.default.TransportTime),s.default.Ticks.prototype._defaultUnits="i",s.default.Ticks.prototype._now=function(){return s.default.Transport.ticks;},s.default.Ticks.prototype._beatsToUnits=function(t){return this._getPPQ()*t;},s.default.Ticks.prototype._secondsToUnits=function(t){return Math.floor(t/(60/this._getBpm())*this._getPPQ());},s.default.Ticks.prototype._ticksToUnits=function(t){return t;},s.default.Ticks.prototype.toTicks=function(){return this.valueOf();},s.default.Ticks.prototype.toSeconds=function(){return this.valueOf()/this._getPPQ()*(60/this._getBpm());},e.default=s.default.Ticks;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(55);s.default.TransportEvent=function(t,e){e=s.default.defaultArg(e,s.default.TransportEvent.defaults),s.default.call(this),this.Transport=t,this.id=s.default.TransportEvent._eventId++,this.time=s.default.Ticks(e.time),this.callback=e.callback,this._once=e.once;},s.default.extend(s.default.TransportEvent),s.default.TransportEvent.defaults={once:!1,callback:s.default.noOp},s.default.TransportEvent._eventId=0,s.default.TransportEvent.prototype.invoke=function(t){this.callback&&(this.callback(t),this._once&&this.Transport&&this.Transport.clear(this.id));},s.default.TransportEvent.prototype.dispose=function(){return s.default.prototype.dispose.call(this),this.Transport=null,this.callback=null,this.time=null,this;},e.default=s.default.TransportEvent;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(82),i(34),i(24),i(14);s.default.TickSource=function(){var t=s.default.defaults(arguments,["frequency"],s.default.TickSource);this.frequency=new s.default.TickSignal(t.frequency),this._readOnly("frequency"),this._state=new s.default.TimelineState(s.default.State.Stopped),this._state.setStateAtTime(s.default.State.Stopped,0),this._tickOffset=new s.default.Timeline(),this.setTicksAtTime(0,0);},s.default.extend(s.default.TickSource),s.default.TickSource.defaults={frequency:1},Object.defineProperty(s.default.TickSource.prototype,"state",{get:function get(){return this._state.getValueAtTime(this.now());}}),s.default.TickSource.prototype.start=function(t,e){return t=this.toSeconds(t),this._state.getValueAtTime(t)!==s.default.State.Started&&(this._state.setStateAtTime(s.default.State.Started,t),s.default.isDefined(e)&&this.setTicksAtTime(e,t)),this;},s.default.TickSource.prototype.stop=function(t){if(t=this.toSeconds(t),this._state.getValueAtTime(t)===s.default.State.Stopped){var e=this._state.get(t);e.time>0&&(this._tickOffset.cancel(e.time),this._state.cancel(e.time));}return this._state.cancel(t),this._state.setStateAtTime(s.default.State.Stopped,t),this.setTicksAtTime(0,t),this;},s.default.TickSource.prototype.pause=function(t){return t=this.toSeconds(t),this._state.getValueAtTime(t)===s.default.State.Started&&this._state.setStateAtTime(s.default.State.Paused,t),this;},s.default.TickSource.prototype.cancel=function(t){return t=this.toSeconds(t),this._state.cancel(t),this._tickOffset.cancel(t),this;},s.default.TickSource.prototype.getTicksAtTime=function(t){t=this.toSeconds(t);var e=this._state.getLastState(s.default.State.Stopped,t),i={state:s.default.State.Paused,time:t};this._state.add(i);var n=e,o=0;return this._state.forEachBetween(e.time,t+this.sampleTime,function(t){var e=n.time,i=this._tickOffset.get(t.time);i.time>=n.time&&(o=i.ticks,e=i.time),n.state===s.default.State.Started&&t.state!==s.default.State.Started&&(o+=this.frequency.getTicksAtTime(t.time)-this.frequency.getTicksAtTime(e)),n=t;}.bind(this)),this._state.remove(i),o;},Object.defineProperty(s.default.TickSource.prototype,"ticks",{get:function get(){return this.getTicksAtTime(this.now());},set:function set(t){this.setTicksAtTime(t,this.now());}}),Object.defineProperty(s.default.TickSource.prototype,"seconds",{get:function get(){return this.getSecondsAtTime(this.now());},set:function set(t){var e=this.now(),i=this.frequency.timeToTicks(t,e);this.setTicksAtTime(i,e);}}),s.default.TickSource.prototype.getSecondsAtTime=function(t){t=this.toSeconds(t);var e=this._state.getLastState(s.default.State.Stopped,t),i={state:s.default.State.Paused,time:t};this._state.add(i);var n=e,o=0;return this._state.forEachBetween(e.time,t+this.sampleTime,function(t){var e=n.time,i=this._tickOffset.get(t.time);i.time>=n.time&&(o=i.seconds,e=i.time),n.state===s.default.State.Started&&t.state!==s.default.State.Started&&(o+=t.time-e),n=t;}.bind(this)),this._state.remove(i),o;},s.default.TickSource.prototype.setTicksAtTime=function(t,e){return e=this.toSeconds(e),this._tickOffset.cancel(e),this._tickOffset.add({time:e,ticks:t,seconds:this.frequency.getDurationOfTicks(t,e)}),this;},s.default.TickSource.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),this._state.getValueAtTime(t);},s.default.TickSource.prototype.getTimeOfTick=function(t,e){e=s.default.defaultArg(e,this.now());var i=this._tickOffset.get(e),n=this._state.get(e),o=Math.max(i.time,n.time),a=this.frequency.getTicksAtTime(o)+t-i.ticks;return this.frequency.getTimeOfTick(a);},s.default.TickSource.prototype.forEachTickBetween=function(t,e,i){var n=this._state.get(t);if(this._state.forEachBetween(t,e,function(e){n.state===s.default.State.Started&&e.state!==s.default.State.Started&&this.forEachTickBetween(Math.max(n.time,t),e.time-this.sampleTime,i),n=e;}.bind(this)),t=Math.max(n.time,t),n.state===s.default.State.Started&&this._state){var o=this.frequency.getTicksAtTime(t),a=(o-this.frequency.getTicksAtTime(n.time))%1;0!==a&&(a=1-a);for(var r=this.frequency.getTimeOfTick(o+a),l=null;r3&&(s=parseFloat(parseFloat(s).toFixed(3))),[i,e,s].join(":");},s.default.Time.prototype.toTicks=function(){var t=this._beatsToUnits(1),e=this.valueOf()/t;return Math.round(e*this._getPPQ());},s.default.Time.prototype.toSeconds=function(){return this.valueOf();},s.default.Time.prototype.toMidi=function(){return s.default.Frequency.ftom(this.toFrequency());},e.default=s.default.Time;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(3),i(1);s.default.supported&&(OscillatorNode.prototype.setPeriodicWave||(OscillatorNode.prototype.setPeriodicWave=OscillatorNode.prototype.setWaveTable),AudioContext.prototype.createPeriodicWave||(AudioContext.prototype.createPeriodicWave=AudioContext.prototype.createWaveTable)),s.default.OscillatorNode=function(){var t=s.default.defaults(arguments,["frequency","type"],s.default.OscillatorNode);s.default.AudioNode.call(this,t),this.onended=t.onended,this._startTime=-1,this._stopTime=-1,this._gainNode=this.output=new s.default.Gain(0),this._oscillator=this.context.createOscillator(),s.default.connect(this._oscillator,this._gainNode),this.type=t.type,this.frequency=new s.default.Param({param:this._oscillator.frequency,units:s.default.Type.Frequency,value:t.frequency}),this.detune=new s.default.Param({param:this._oscillator.detune,units:s.default.Type.Cents,value:t.detune}),this._gain=1;},s.default.extend(s.default.OscillatorNode,s.default.AudioNode),s.default.OscillatorNode.defaults={frequency:440,detune:0,type:"sine",onended:s.default.noOp},Object.defineProperty(s.default.OscillatorNode.prototype,"state",{get:function get(){return this.getStateAtTime(this.now());}}),s.default.OscillatorNode.prototype.getStateAtTime=function(t){return t=this.toSeconds(t),-1!==this._startTime&&t>=this._startTime&&(-1===this._stopTime||t<=this._stopTime)?s.default.State.Started:s.default.State.Stopped;},s.default.OscillatorNode.prototype.start=function(t){if(this.log("start",t),-1!==this._startTime)throw new Error("cannot call OscillatorNode.start more than once");return this._startTime=this.toSeconds(t),this._startTime=Math.max(this._startTime,this.context.currentTime),this._oscillator.start(this._startTime),this._gainNode.gain.setValueAtTime(1,this._startTime),this;},s.default.OscillatorNode.prototype.setPeriodicWave=function(t){return this._oscillator.setPeriodicWave(t),this;},s.default.OscillatorNode.prototype.stop=function(t){return this.log("stop",t),this.assert(-1!==this._startTime,"'start' must be called before 'stop'"),this.cancelStop(),this._stopTime=this.toSeconds(t),this._stopTime=Math.max(this._stopTime,this.context.currentTime),this._stopTime>this._startTime?(this._gainNode.gain.setValueAtTime(0,this._stopTime),this.context.clearTimeout(this._timeout),this._timeout=this.context.setTimeout(function(){this._oscillator.stop(this.now()),this.onended(),setTimeout(function(){this._oscillator&&(this._oscillator.disconnect(),this._gainNode.disconnect());}.bind(this),100);}.bind(this),this._stopTime-this.context.currentTime)):this._gainNode.gain.cancelScheduledValues(this._startTime),this;},s.default.OscillatorNode.prototype.cancelStop=function(){return-1!==this._startTime&&(this._gainNode.gain.cancelScheduledValues(this._startTime+this.sampleTime),this.context.clearTimeout(this._timeout),this._stopTime=-1),this;},Object.defineProperty(s.default.OscillatorNode.prototype,"type",{get:function get(){return this._oscillator.type;},set:function set(t){this._oscillator.type=t;}}),s.default.OscillatorNode.prototype.dispose=function(){return this._wasDisposed||(this._wasDisposed=!0,this.context.clearTimeout(this._timeout),s.default.AudioNode.prototype.dispose.call(this),this.onended=null,this._oscillator.disconnect(),this._oscillator=null,this._gainNode.dispose(),this._gainNode=null,this.frequency.dispose(),this.frequency=null,this.detune.dispose(),this.detune=null),this;};e.default=s.default.OscillatorNode;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(6),i(57),i(32);s.default.Player=function(t){var e;babelHelpers.instanceof(t,s.default.Buffer)&&t.loaded?(t=t.get(),e=s.default.Player.defaults):e=s.default.defaults(arguments,["url","onload"],s.default.Player),s.default.Source.call(this,e),this.autostart=e.autostart,this._buffer=new s.default.Buffer({url:e.url,onload:this._onload.bind(this,e.onload),reverse:e.reverse}),babelHelpers.instanceof(t,AudioBuffer)&&this._buffer.set(t),this._loop=e.loop,this._loopStart=e.loopStart,this._loopEnd=e.loopEnd,this._playbackRate=e.playbackRate,this._activeSources=[],this.fadeIn=e.fadeIn,this.fadeOut=e.fadeOut;},s.default.extend(s.default.Player,s.default.Source),s.default.Player.defaults={onload:s.default.noOp,playbackRate:1,loop:!1,autostart:!1,loopStart:0,loopEnd:0,reverse:!1,fadeIn:0,fadeOut:0},s.default.Player.prototype.load=function(t,e){return this._buffer.load(t,this._onload.bind(this,e));},s.default.Player.prototype._onload=function(t){(t=s.default.defaultArg(t,s.default.noOp))(this),this.autostart&&this.start();},s.default.Player.prototype._onSourceEnd=function(t){var e=this._activeSources.indexOf(t);this._activeSources.splice(e,1),0!==this._activeSources.length||this._synced||this._state.setStateAtTime(s.default.State.Stopped,s.default.now());},s.default.Player.prototype._start=function(t,e,i){e=this._loop?s.default.defaultArg(e,this._loopStart):s.default.defaultArg(e,0),e=this.toSeconds(e),this._synced&&(e*=this._playbackRate);var n=s.default.defaultArg(i,Math.max(this._buffer.duration-e,0));n=this.toSeconds(n),n/=this._playbackRate,t=this.toSeconds(t);var o=new s.default.BufferSource({buffer:this._buffer,loop:this._loop,loopStart:this._loopStart,loopEnd:this._loopEnd,onended:this._onSourceEnd.bind(this),playbackRate:this._playbackRate,fadeIn:this.fadeIn,fadeOut:this.fadeOut}).connect(this.output);return this._loop||this._synced||this._state.setStateAtTime(s.default.State.Stopped,t+n),this._activeSources.push(o),this._loop&&s.default.isUndef(i)?o.start(t,e):o.start(t,e,n-this.toSeconds(this.fadeOut)),this;},s.default.Player.prototype._stop=function(t){return t=this.toSeconds(t),this._activeSources.forEach(function(e){e.stop(t);}),this;},s.default.Player.prototype.restart=function(t,e,i){return this._stop(t),this._start(t,e,i),this;},s.default.Player.prototype.seek=function(t,e){return e=this.toSeconds(e),this._state.getValueAtTime(e)===s.default.State.Started&&(t=this.toSeconds(t),this._stop(e),this._start(e,t)),this;},s.default.Player.prototype.setLoopPoints=function(t,e){return this.loopStart=t,this.loopEnd=e,this;},Object.defineProperty(s.default.Player.prototype,"loopStart",{get:function get(){return this._loopStart;},set:function set(t){this._loopStart=t,this._activeSources.forEach(function(e){e.loopStart=t;});}}),Object.defineProperty(s.default.Player.prototype,"loopEnd",{get:function get(){return this._loopEnd;},set:function set(t){this._loopEnd=t,this._activeSources.forEach(function(e){e.loopEnd=t;});}}),Object.defineProperty(s.default.Player.prototype,"buffer",{get:function get(){return this._buffer;},set:function set(t){this._buffer.set(t);}}),Object.defineProperty(s.default.Player.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){if(this._loop!==t&&(this._loop=t,this._activeSources.forEach(function(e){e.loop=t;}),t)){var e=this._state.getNextState(s.default.State.Stopped,this.now());e&&this._state.cancel(e.time);}}}),Object.defineProperty(s.default.Player.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t;var e=this.now(),i=this._state.getNextState(s.default.State.Stopped,e);i&&this._state.cancel(i.time),this._activeSources.forEach(function(i){i.cancelStop(),i.playbackRate.setValueAtTime(t,e);});}}),Object.defineProperty(s.default.Player.prototype,"reverse",{get:function get(){return this._buffer.reverse;},set:function set(t){this._buffer.reverse=t;}}),Object.defineProperty(s.default.Player.prototype,"loaded",{get:function get(){return this._buffer.loaded;}}),s.default.Player.prototype.dispose=function(){return this._activeSources.forEach(function(t){t.dispose();}),this._activeSources=null,s.default.Source.prototype.dispose.call(this),this._buffer.dispose(),this._buffer=null,this;},e.default=s.default.Player;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(31),i(41),i(37),i(2),i(9),i(25);s.default.MonoSynth=function(t){t=s.default.defaultArg(t,s.default.MonoSynth.defaults),s.default.Monophonic.call(this,t),this.oscillator=new s.default.OmniOscillator(t.oscillator),this.frequency=this.oscillator.frequency,this.detune=this.oscillator.detune,this.filter=new s.default.Filter(t.filter),this.filter.frequency.value=5e3,this.filterEnvelope=new s.default.FrequencyEnvelope(t.filterEnvelope),this.envelope=new s.default.AmplitudeEnvelope(t.envelope),this.oscillator.chain(this.filter,this.envelope,this.output),this.filterEnvelope.connect(this.filter.frequency),this._readOnly(["oscillator","frequency","detune","filter","filterEnvelope","envelope"]);},s.default.extend(s.default.MonoSynth,s.default.Monophonic),s.default.MonoSynth.defaults={frequency:"C4",detune:0,oscillator:{type:"square"},filter:{Q:6,type:"lowpass",rolloff:-24},envelope:{attack:0.005,decay:0.1,sustain:0.9,release:1},filterEnvelope:{attack:0.06,decay:0.2,sustain:0.5,release:2,baseFrequency:200,octaves:7,exponent:2}},s.default.MonoSynth.prototype._triggerEnvelopeAttack=function(t,e){return t=this.toSeconds(t),this.envelope.triggerAttack(t,e),this.filterEnvelope.triggerAttack(t),this.oscillator.start(t),0===this.envelope.sustain&&this.oscillator.stop(t+this.envelope.attack+this.envelope.decay),this;},s.default.MonoSynth.prototype._triggerEnvelopeRelease=function(t){return this.envelope.triggerRelease(t),this.filterEnvelope.triggerRelease(t),this.oscillator.stop(t+this.envelope.release),this;},s.default.MonoSynth.prototype.dispose=function(){return s.default.Monophonic.prototype.dispose.call(this),this._writable(["oscillator","frequency","detune","filter","filterEnvelope","envelope"]),this.oscillator.dispose(),this.oscillator=null,this.envelope.dispose(),this.envelope=null,this.filterEnvelope.dispose(),this.filterEnvelope=null,this.filter.dispose(),this.filter=null,this.frequency=null,this.detune=null,this;},e.default=s.default.MonoSynth;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(6),i(17),i(5),i(3);s.default.FatOscillator=function(){var t=s.default.defaults(arguments,["frequency","type","spread"],s.default.FatOscillator);s.default.Source.call(this,t),this.frequency=new s.default.Signal(t.frequency,s.default.Type.Frequency),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._oscillators=[],this._spread=t.spread,this._type=t.type,this._phase=t.phase,this._partials=t.partials,this._partialCount=t.partialCount,this.count=t.count,this._readOnly(["frequency","detune"]);},s.default.extend(s.default.FatOscillator,s.default.Source),s.default.FatOscillator.defaults={frequency:440,detune:0,phase:0,spread:20,count:3,type:"sawtooth",partials:[],partialCount:0},s.default.FatOscillator.prototype._start=function(t){t=this.toSeconds(t),this._forEach(function(e){e.start(t);});},s.default.FatOscillator.prototype._stop=function(t){t=this.toSeconds(t),this._forEach(function(e){e.stop(t);});},s.default.FatOscillator.prototype.restart=function(t){t=this.toSeconds(t),this._forEach(function(e){e.restart(t);});},s.default.FatOscillator.prototype._forEach=function(t){for(var e=0;e1){var e=-t/2,i=t/(this._oscillators.length-1);this._forEach(function(t,s){t.detune.value=e+i*s;});}}}),Object.defineProperty(s.default.FatOscillator.prototype,"count",{get:function get(){return this._oscillators.length;},set:function set(t){if(t=Math.max(t,1),this._oscillators.length!==t){this._forEach(function(t){t.dispose();}),this._oscillators=[];for(var e=0;e=this._loopStart&&t.startOffset=i&&(t.loop=!1,t.start(s.default.Ticks(e))):t.startOffset>=i&&t.start(s.default.Ticks(e));},Object.defineProperty(s.default.Part.prototype,"startOffset",{get:function get(){return this._startOffset;},set:function set(t){this._startOffset=t,this._forEach(function(t){t.startOffset+=this._startOffset;});}}),s.default.Part.prototype.stop=function(t){var e=this.toTicks(t);return this._state.cancel(e),this._state.setStateAtTime(s.default.State.Stopped,e),this._forEach(function(e){e.stop(t);}),this;},s.default.Part.prototype.at=function(t,e){t=s.default.TransportTime(t);for(var i=s.default.Ticks(1).toSeconds(),n=0;n=0;i--){var n=this._events[i];n.startOffset===t&&(s.default.isUndef(e)||s.default.isDefined(e)&&n.value===e)&&(this._events.splice(i,1),n.dispose());}return this;},s.default.Part.prototype.removeAll=function(){return this._forEach(function(t){t.dispose();}),this._events=[],this;},s.default.Part.prototype.cancel=function(t){return this._forEach(function(e){e.cancel(t);}),this._state.cancel(this.toTicks(t)),this;},s.default.Part.prototype._forEach=function(t,e){if(this._events){e=s.default.defaultArg(e,this);for(var i=this._events.length-1;i>=0;i--){var n=this._events[i];babelHelpers.instanceof(n,s.default.Part)?n._forEach(t,e):t.call(e,n);}}return this;},s.default.Part.prototype._setAll=function(t,e){this._forEach(function(i){i[t]=e;});},s.default.Part.prototype._tick=function(t,e){this.mute||this.callback(t,e);},s.default.Part.prototype._testLoopBoundries=function(t){this._loop&&(t.startOffset=this._loopEnd)?t.cancel(0):t.state===s.default.State.Stopped&&this._restartEvent(t);},Object.defineProperty(s.default.Part.prototype,"probability",{get:function get(){return this._probability;},set:function set(t){this._probability=t,this._setAll("probability",t);}}),Object.defineProperty(s.default.Part.prototype,"humanize",{get:function get(){return this._humanize;},set:function set(t){this._humanize=t,this._setAll("humanize",t);}}),Object.defineProperty(s.default.Part.prototype,"loop",{get:function get(){return this._loop;},set:function set(t){this._loop=t,this._forEach(function(e){e._loopStart=this._loopStart,e._loopEnd=this._loopEnd,e.loop=t,this._testLoopBoundries(e);});}}),Object.defineProperty(s.default.Part.prototype,"loopEnd",{get:function get(){return s.default.Ticks(this._loopEnd).toSeconds();},set:function set(t){this._loopEnd=this.toTicks(t),this._loop&&this._forEach(function(e){e.loopEnd=t,this._testLoopBoundries(e);});}}),Object.defineProperty(s.default.Part.prototype,"loopStart",{get:function get(){return s.default.Ticks(this._loopStart).toSeconds();},set:function set(t){this._loopStart=this.toTicks(t),this._loop&&this._forEach(function(t){t.loopStart=this.loopStart,this._testLoopBoundries(t);});}}),Object.defineProperty(s.default.Part.prototype,"playbackRate",{get:function get(){return this._playbackRate;},set:function set(t){this._playbackRate=t,this._setAll("playbackRate",t);}}),Object.defineProperty(s.default.Part.prototype,"length",{get:function get(){return this._events.length;}}),s.default.Part.prototype.dispose=function(){return s.default.Event.prototype.dispose.call(this),this.removeAll(),this.callback=null,this._events=null,this;},e.default=s.default.Part;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(51);s.default.Loop=function(){var t=s.default.defaults(arguments,["callback","interval"],s.default.Loop);s.default.call(this),this._event=new s.default.Event({callback:this._tick.bind(this),loop:!0,loopEnd:t.interval,playbackRate:t.playbackRate,probability:t.probability}),this.callback=t.callback,this.iterations=t.iterations;},s.default.extend(s.default.Loop),s.default.Loop.defaults={interval:"4n",callback:s.default.noOp,playbackRate:1,iterations:1/0,probability:!0,mute:!1},s.default.Loop.prototype.start=function(t){return this._event.start(t),this;},s.default.Loop.prototype.stop=function(t){return this._event.stop(t),this;},s.default.Loop.prototype.cancel=function(t){return this._event.cancel(t),this;},s.default.Loop.prototype._tick=function(t){this.callback(t);},Object.defineProperty(s.default.Loop.prototype,"state",{get:function get(){return this._event.state;}}),Object.defineProperty(s.default.Loop.prototype,"progress",{get:function get(){return this._event.progress;}}),Object.defineProperty(s.default.Loop.prototype,"interval",{get:function get(){return this._event.loopEnd;},set:function set(t){this._event.loopEnd=t;}}),Object.defineProperty(s.default.Loop.prototype,"playbackRate",{get:function get(){return this._event.playbackRate;},set:function set(t){this._event.playbackRate=t;}}),Object.defineProperty(s.default.Loop.prototype,"humanize",{get:function get(){return this._event.humanize;},set:function set(t){this._event.humanize=t;}}),Object.defineProperty(s.default.Loop.prototype,"probability",{get:function get(){return this._event.probability;},set:function set(t){this._event.probability=t;}}),Object.defineProperty(s.default.Loop.prototype,"mute",{get:function get(){return this._event.mute;},set:function set(t){this._event.mute=t;}}),Object.defineProperty(s.default.Loop.prototype,"iterations",{get:function get(){return!0===this._event.loop?1/0:this._event.loop;},set:function set(t){this._event.loop=t===1/0||t;}}),s.default.Loop.prototype.dispose=function(){this._event.dispose(),this._event=null,this.callback=null;},e.default=s.default.Loop;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(15),i(33);s.default.StereoXFeedbackEffect=function(){var t=s.default.defaults(arguments,["feedback"],s.default.FeedbackEffect);s.default.StereoEffect.call(this,t),this.feedback=new s.default.Signal(t.feedback,s.default.Type.NormalRange),this._feedbackLR=new s.default.Gain(),this._feedbackRL=new s.default.Gain(),this.effectReturnL.chain(this._feedbackLR,this.effectSendR),this.effectReturnR.chain(this._feedbackRL,this.effectSendL),this.feedback.fan(this._feedbackLR.gain,this._feedbackRL.gain),this._readOnly(["feedback"]);},s.default.extend(s.default.StereoXFeedbackEffect,s.default.StereoEffect),s.default.StereoXFeedbackEffect.prototype.dispose=function(){return s.default.StereoEffect.prototype.dispose.call(this),this._writable(["feedback"]),this.feedback.dispose(),this.feedback=null,this._feedbackLR.dispose(),this._feedbackLR=null,this._feedbackRL.dispose(),this._feedbackRL=null,this;},e.default=s.default.StereoXFeedbackEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(8),i(53),i(52);s.default.MidSideEffect=function(){s.default.Effect.apply(this,arguments),this._midSideSplit=new s.default.MidSideSplit(),this._midSideMerge=new s.default.MidSideMerge(),this.midSend=this._midSideSplit.mid,this.sideSend=this._midSideSplit.side,this.midReturn=this._midSideMerge.mid,this.sideReturn=this._midSideMerge.side,this.effectSend.connect(this._midSideSplit),this._midSideMerge.connect(this.effectReturn);},s.default.extend(s.default.MidSideEffect,s.default.Effect),s.default.MidSideEffect.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._midSideSplit.dispose(),this._midSideSplit=null,this._midSideMerge.dispose(),this._midSideMerge=null,this.midSend=null,this.sideSend=null,this.midReturn=null,this.sideReturn=null,this;},e.default=s.default.MidSideEffect;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11),i(8);s.default.Convolver=function(){var t=s.default.defaults(arguments,["url","onload"],s.default.Convolver);s.default.Effect.call(this,t),this._convolver=this.context.createConvolver(),this._buffer=new s.default.Buffer(t.url,function(e){this.buffer=e.get(),t.onload();}.bind(this)),this._buffer.loaded&&(this.buffer=this._buffer),this.normalize=t.normalize,this.connectEffect(this._convolver);},s.default.extend(s.default.Convolver,s.default.Effect),s.default.Convolver.defaults={onload:s.default.noOp,normalize:!0},Object.defineProperty(s.default.Convolver.prototype,"buffer",{get:function get(){return this._buffer.length?this._buffer:null;},set:function set(t){this._buffer.set(t),this._convolver.buffer&&(this.effectSend.disconnect(),this._convolver.disconnect(),this._convolver=this.context.createConvolver(),this.connectEffect(this._convolver)),this._convolver.buffer=this._buffer.get();}}),Object.defineProperty(s.default.Convolver.prototype,"normalize",{get:function get(){return this._convolver.normalize;},set:function set(t){this._convolver.normalize=t;}}),s.default.Convolver.prototype.load=function(t,e){return this._buffer.load(t,function(t){this.buffer=t,e&&e();}.bind(this));},s.default.Convolver.prototype.dispose=function(){return s.default.Effect.prototype.dispose.call(this),this._buffer.dispose(),this._buffer=null,this._convolver.disconnect(),this._convolver=null,this;},e.default=s.default.Convolver;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(7),i(5),i(13);s.default.Modulo=function(t){s.default.SignalBase.call(this),this.createInsOuts(1,0),this._shaper=new s.default.WaveShaper(Math.pow(2,16)),this._multiply=new s.default.Multiply(),this._subtract=this.output=new s.default.Subtract(),this._modSignal=new s.default.Signal(t),s.default.connect(this.input,this._shaper),s.default.connect(this.input,this._subtract),this._modSignal.connect(this._multiply,0,0),this._shaper.connect(this._multiply,0,1),this._multiply.connect(this._subtract,0,1),this._setWaveShaper(t);},s.default.extend(s.default.Modulo,s.default.SignalBase),s.default.Modulo.prototype._setWaveShaper=function(t){this._shaper.setMap(function(e){return Math.floor((e+1e-4)/t);});},Object.defineProperty(s.default.Modulo.prototype,"value",{get:function get(){return this._modSignal.value;},set:function set(t){this._modSignal.value=t,this._setWaveShaper(t);}}),s.default.Modulo.prototype.dispose=function(){return s.default.SignalBase.prototype.dispose.call(this),this._shaper.dispose(),this._shaper=null,this._multiply.dispose(),this._multiply=null,this._subtract.dispose(),this._subtract=null,this._modSignal.dispose(),this._modSignal=null,this;},e.default=s.default.Modulo;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(20),i(92);s.default.OfflineContext=function(t,e,i){var n=new OfflineAudioContext(t,e*i,i);s.default.Context.call(this,{context:n,clockSource:"offline",lookAhead:0,updateInterval:128/i}),this._duration=e,this._currentTime=0;},s.default.extend(s.default.OfflineContext,s.default.Context),s.default.OfflineContext.prototype.now=function(){return this._currentTime;},s.default.OfflineContext.prototype.resume=function(){return Promise.resolve();},s.default.OfflineContext.prototype.render=function(){for(;this._duration-this._currentTime>=0;){this.emit("tick"),this._currentTime+=0.005;}return this._context.startRendering();},s.default.OfflineContext.prototype.close=function(){return this._context=null,Promise.resolve();},e.default=s.default.OfflineContext;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(16),i(11),i(76),i(40);s.default.Offline=function(t,e){var i=s.default.context.sampleRate,n=s.default.context,o=new s.default.OfflineContext(2,e,i);s.default.context=o;var a=t(s.default.Transport),r=null;return r=a&&s.default.isFunction(a.then)?a.then(function(){return o.render();}):o.render(),s.default.context=n,r.then(function(t){return new s.default.Buffer(t);});},e.default=s.default.Offline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(11);s.default.Buffers=function(t){var e=Array.prototype.slice.call(arguments);e.shift();var i=s.default.defaults(e,["onload","baseUrl"],s.default.Buffers);for(var n in s.default.call(this),this._buffers={},this.baseUrl=i.baseUrl,this._loadingCount=0,t){this._loadingCount++,this.add(n,t[n],this._bufferLoaded.bind(this,i.onload));}},s.default.extend(s.default.Buffers),s.default.Buffers.defaults={onload:s.default.noOp,baseUrl:""},s.default.Buffers.prototype.has=function(t){return this._buffers.hasOwnProperty(t);},s.default.Buffers.prototype.get=function(t){if(this.has(t))return this._buffers[t];throw new Error("Tone.Buffers: no buffer named "+t);},s.default.Buffers.prototype._bufferLoaded=function(t){this._loadingCount--,0===this._loadingCount&&t&&t(this);},Object.defineProperty(s.default.Buffers.prototype,"loaded",{get:function get(){var t=!0;for(var e in this._buffers){var i=this.get(e);t=t&&i.loaded;}return t;}}),s.default.Buffers.prototype.add=function(t,e,i){return i=s.default.defaultArg(i,s.default.noOp),babelHelpers.instanceof(e,s.default.Buffer)?(this._buffers[t]=e,i(this)):babelHelpers.instanceof(e,AudioBuffer)?(this._buffers[t]=new s.default.Buffer(e),i(this)):s.default.isString(e)&&(this._buffers[t]=new s.default.Buffer(this.baseUrl+e,i)),this;},s.default.Buffers.prototype.dispose=function(){for(var t in s.default.prototype.dispose.call(this),this._buffers){this._buffers[t].dispose();}return this._buffers=null,this;},e.default=s.default.Buffers;},function(t,e,i){"use strict";i.r(e);var s=i(0);s.default.CtrlPattern=function(){var t=s.default.defaults(arguments,["values","type"],s.default.CtrlPattern);s.default.call(this),this.values=t.values,this.index=0,this._type=null,this._shuffled=null,this._direction=null,this.type=t.type;},s.default.extend(s.default.CtrlPattern),s.default.CtrlPattern.Type={Up:"up",Down:"down",UpDown:"upDown",DownUp:"downUp",AlternateUp:"alternateUp",AlternateDown:"alternateDown",Random:"random",RandomWalk:"randomWalk",RandomOnce:"randomOnce"},s.default.CtrlPattern.defaults={type:s.default.CtrlPattern.Type.Up,values:[]},Object.defineProperty(s.default.CtrlPattern.prototype,"value",{get:function get(){if(0!==this.values.length){if(1===this.values.length)return this.values[0];this.index=Math.min(this.index,this.values.length-1);var t=this.values[this.index];return this.type===s.default.CtrlPattern.Type.RandomOnce&&(this.values.length!==this._shuffled.length&&this._shuffleValues(),t=this.values[this._shuffled[this.index]]),t;}}}),Object.defineProperty(s.default.CtrlPattern.prototype,"type",{get:function get(){return this._type;},set:function set(t){this._type=t,this._shuffled=null,this._type===s.default.CtrlPattern.Type.Up||this._type===s.default.CtrlPattern.Type.UpDown||this._type===s.default.CtrlPattern.Type.RandomOnce||this._type===s.default.CtrlPattern.Type.AlternateUp?this.index=0:this._type!==s.default.CtrlPattern.Type.Down&&this._type!==s.default.CtrlPattern.Type.DownUp&&this._type!==s.default.CtrlPattern.Type.AlternateDown||(this.index=this.values.length-1),this._type===s.default.CtrlPattern.Type.UpDown||this._type===s.default.CtrlPattern.Type.AlternateUp?this._direction=s.default.CtrlPattern.Type.Up:this._type!==s.default.CtrlPattern.Type.DownUp&&this._type!==s.default.CtrlPattern.Type.AlternateDown||(this._direction=s.default.CtrlPattern.Type.Down),this._type===s.default.CtrlPattern.Type.RandomOnce?this._shuffleValues():this._type===s.default.CtrlPattern.Type.Random&&(this.index=Math.floor(Math.random()*this.values.length));}}),s.default.CtrlPattern.prototype.next=function(){var t=this.type;return t===s.default.CtrlPattern.Type.Up?(this.index++,this.index>=this.values.length&&(this.index=0)):t===s.default.CtrlPattern.Type.Down?(this.index--,this.index<0&&(this.index=this.values.length-1)):t===s.default.CtrlPattern.Type.UpDown||t===s.default.CtrlPattern.Type.DownUp?(this._direction===s.default.CtrlPattern.Type.Up?this.index++:this.index--,this.index<0?(this.index=1,this._direction=s.default.CtrlPattern.Type.Up):this.index>=this.values.length&&(this.index=this.values.length-2,this._direction=s.default.CtrlPattern.Type.Down)):t===s.default.CtrlPattern.Type.Random?this.index=Math.floor(Math.random()*this.values.length):t===s.default.CtrlPattern.Type.RandomWalk?Math.random()<0.5?(this.index--,this.index=Math.max(this.index,0)):(this.index++,this.index=Math.min(this.index,this.values.length-1)):t===s.default.CtrlPattern.Type.RandomOnce?(this.index++,this.index>=this.values.length&&(this.index=0,this._shuffleValues())):t===s.default.CtrlPattern.Type.AlternateUp?(this._direction===s.default.CtrlPattern.Type.Up?(this.index+=2,this._direction=s.default.CtrlPattern.Type.Down):(this.index-=1,this._direction=s.default.CtrlPattern.Type.Up),this.index>=this.values.length&&(this.index=0,this._direction=s.default.CtrlPattern.Type.Up)):t===s.default.CtrlPattern.Type.AlternateDown&&(this._direction===s.default.CtrlPattern.Type.Up?(this.index+=1,this._direction=s.default.CtrlPattern.Type.Down):(this.index-=2,this._direction=s.default.CtrlPattern.Type.Up),this.index<0&&(this.index=this.values.length-1,this._direction=s.default.CtrlPattern.Type.Down)),this.value;},s.default.CtrlPattern.prototype._shuffleValues=function(){var t=[];this._shuffled=[];for(var e=0;e0;){var i=t.splice(Math.floor(t.length*Math.random()),1);this._shuffled.push(i[0]);}},s.default.CtrlPattern.prototype.dispose=function(){this._shuffled=null,this.values=null;},e.default=s.default.CtrlPattern;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(56),i(55);s.default.TransportRepeatEvent=function(t,e){s.default.TransportEvent.call(this,t,e),e=s.default.defaultArg(e,s.default.TransportRepeatEvent.defaults),this.duration=s.default.Ticks(e.duration),this._interval=s.default.Ticks(e.interval),this._currentId=-1,this._nextId=-1,this._nextTick=this.time,this._boundRestart=this._restart.bind(this),this.Transport.on("start loopStart",this._boundRestart),this._restart();},s.default.extend(s.default.TransportRepeatEvent,s.default.TransportEvent),s.default.TransportRepeatEvent.defaults={duration:1/0,interval:1},s.default.TransportRepeatEvent.prototype.invoke=function(t){this._createEvents(t),s.default.TransportEvent.prototype.invoke.call(this,t);},s.default.TransportRepeatEvent.prototype._createEvents=function(t){var e=this.Transport.getTicksAtTime(t);e>=this.time&&e>=this._nextTick&&this._nextTick+this._intervalthis.time&&(this._nextTick=this.time+Math.ceil((e-this.time)/this._interval)*this._interval),this._currentId=this.Transport.scheduleOnce(this.invoke.bind(this),s.default.Ticks(this._nextTick)),this._nextTick+=this._interval,this._nextId=this.Transport.scheduleOnce(this.invoke.bind(this),s.default.Ticks(this._nextTick));},s.default.TransportRepeatEvent.prototype.dispose=function(){return this.Transport.clear(this._currentId),this.Transport.clear(this._nextId),this.Transport.off("start loopStart",this._boundRestart),this._boundCreateEvents=null,s.default.TransportEvent.prototype.dispose.call(this),this.duration=null,this._interval=null,this;},e.default=s.default.TransportRepeatEvent;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(4);s.default.IntervalTimeline=function(){s.default.call(this),this._root=null,this._length=0;},s.default.extend(s.default.IntervalTimeline),s.default.IntervalTimeline.prototype.add=function(t){if(s.default.isUndef(t.time)||s.default.isUndef(t.duration))throw new Error("Tone.IntervalTimeline: events must have time and duration parameters");t.time=t.time.valueOf();var e=new n(t.time,t.time+t.duration,t);for(null===this._root?this._root=e:this._root.insert(e),this._length++;null!==e;){e.updateHeight(),e.updateMax(),this._rebalance(e),e=e.parent;}return this;},s.default.IntervalTimeline.prototype.remove=function(t){if(null!==this._root){var e=[];this._root.search(t.time,e);for(var i=0;i0){if(null===t.left.right)(e=t.left).right=t.right,i=e;else{for(e=t.left.right;null!==e.right;){e=e.right;}e.parent.right=e.left,i=e.parent,e.left=t.left,e.right=t.right;}}else if(null===t.right.left)(e=t.right).left=t.left,i=e;else{for(e=t.right.left;null!==e.left;){e=e.left;}e.parent.left=e.right,i=e.parent,e.left=t.left,e.right=t.right;}null!==t.parent?t.isLeftChild()?t.parent.left=e:t.parent.right=e:this._setRoot(e),this._rebalance(i);}t.dispose();},s.default.IntervalTimeline.prototype._rotateLeft=function(t){var e=t.parent,i=t.isLeftChild(),s=t.right;t.right=s.left,s.left=t,null!==e?i?e.left=s:e.right=s:this._setRoot(s);},s.default.IntervalTimeline.prototype._rotateRight=function(t){var e=t.parent,i=t.isLeftChild(),s=t.left;t.left=s.right,s.right=t,null!==e?i?e.left=s:e.right=s:this._setRoot(s);},s.default.IntervalTimeline.prototype._rebalance=function(t){var e=t.getBalance();e>1?t.left.getBalance()<0?this._rotateLeft(t.left):this._rotateRight(t):e<-1&&(t.right.getBalance()>0?this._rotateRight(t.right):this._rotateLeft(t));},s.default.IntervalTimeline.prototype.get=function(t){if(null!==this._root){var e=[];if(this._root.search(t,e),e.length>0){for(var i=e[0],s=1;si.low&&(i=e[s]);}return i.event;}}return null;},s.default.IntervalTimeline.prototype.forEach=function(t){if(null!==this._root){var e=[];this._root.traverse(function(t){e.push(t);});for(var i=0;i=0;s--){var n=i[s].event;n&&e(n);}}return this;},s.default.IntervalTimeline.prototype.forEachFrom=function(t,e){if(null!==this._root){var i=[];this._root.searchAfter(t,i);for(var s=i.length-1;s>=0;s--){e(i[s].event);}}return this;},s.default.IntervalTimeline.prototype.dispose=function(){var t=[];null!==this._root&&this._root.traverse(function(e){t.push(e);});for(var e=0;ethis.max||(null!==this.left&&this.left.search(t,e),this.low<=t&&this.high>t&&e.push(this),this.low>t||null!==this.right&&this.right.search(t,e));},n.prototype.searchAfter=function(t,e){this.low>=t&&(e.push(this),null!==this.left&&this.left.searchAfter(t,e)),null!==this.right&&this.right.searchAfter(t,e);},n.prototype.traverse=function(t){t(this),null!==this.left&&this.left.traverse(t),null!==this.right&&this.right.traverse(t);},n.prototype.updateHeight=function(){null!==this.left&&null!==this.right?this.height=Math.max(this.left.height,this.right.height)+1:null!==this.right?this.height=this.right.height+1:null!==this.left?this.height=this.left.height+1:this.height=0;},n.prototype.updateMax=function(){this.max=this.high,null!==this.left&&(this.max=Math.max(this.max,this.left.max)),null!==this.right&&(this.max=Math.max(this.max,this.right.max));},n.prototype.getBalance=function(){var t=0;return null!==this.left&&null!==this.right?t=this.left.height-this.right.height:null!==this.left?t=this.left.height+1:null!==this.right&&(t=-(this.right.height+1)),t;},n.prototype.isLeftChild=function(){return null!==this.parent&&this.parent.left===this;},Object.defineProperty(n.prototype,"left",{get:function get(){return this._left;},set:function set(t){this._left=t,null!==t&&(t.parent=this),this.updateHeight(),this.updateMax();}}),Object.defineProperty(n.prototype,"right",{get:function get(){return this._right;},set:function set(t){this._right=t,null!==t&&(t.parent=this),this.updateHeight(),this.updateMax();}}),n.prototype.dispose=function(){this.parent=null,this._left=null,this._right=null,this.event=null;},e.default=s.default.IntervalTimeline;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(2);function n(t){return function(e,i){i=this.toSeconds(i),t.apply(this,arguments);var s=this._events.get(i),n=this._events.previousEvent(s),o=this._getTicksUntilEvent(n,i);return s.ticks=Math.max(o,0),this;};}s.default.TickSignal=function(t){t=s.default.defaultArg(t,1),s.default.Signal.call(this,{units:s.default.Type.Ticks,value:t}),this._events.memory=1/0,this.cancelScheduledValues(0),this._events.add({type:s.default.Param.AutomationType.SetValue,time:0,value:t});},s.default.extend(s.default.TickSignal,s.default.Signal),s.default.TickSignal.prototype.setValueAtTime=n(s.default.Signal.prototype.setValueAtTime),s.default.TickSignal.prototype.linearRampToValueAtTime=n(s.default.Signal.prototype.linearRampToValueAtTime),s.default.TickSignal.prototype.setTargetAtTime=function(t,e,i){e=this.toSeconds(e),this.setRampPoint(e),t=this._fromUnits(t);for(var s=this._events.get(e),n=Math.round(Math.max(1/i,1)),o=0;o<=n;o++){var a=i*o+e,r=this._exponentialApproach(s.time,s.value,t,i,a);this.linearRampToValueAtTime(this._toUnits(r),a);}return this;},s.default.TickSignal.prototype.exponentialRampToValueAtTime=function(t,e){e=this.toSeconds(e),t=this._fromUnits(t);for(var i=this._events.get(e),s=Math.round(Math.max(10*(e-i.time),1)),n=(e-i.time)/s,o=0;o<=s;o++){var a=n*o+i.time,r=this._exponentialInterpolate(i.time,i.value,e,t,a);this.linearRampToValueAtTime(this._toUnits(r),a);}return this;},s.default.TickSignal.prototype._getTicksUntilEvent=function(t,e){if(null===t)t={ticks:0,time:0};else if(s.default.isUndef(t.ticks)){var i=this._events.previousEvent(t);t.ticks=this._getTicksUntilEvent(i,t.time);}var n=this.getValueAtTime(t.time),o=this.getValueAtTime(e);return this._events.get(e).time===e&&this._events.get(e).type===s.default.Param.AutomationType.SetValue&&(o=this.getValueAtTime(e-this.sampleTime)),0.5*(e-t.time)*(n+o)+t.ticks;},s.default.TickSignal.prototype.getTicksAtTime=function(t){t=this.toSeconds(t);var e=this._events.get(t);return Math.max(this._getTicksUntilEvent(e,t),0);},s.default.TickSignal.prototype.getDurationOfTicks=function(t,e){e=this.toSeconds(e);var i=this.getTicksAtTime(e);return this.getTimeOfTick(i+t)-e;},s.default.TickSignal.prototype.getTimeOfTick=function(t){var e=this._events.get(t,"ticks"),i=this._events.getAfter(t,"ticks");if(e&&e.ticks===t)return e.time;if(e&&i&&i.type===s.default.Param.AutomationType.Linear&&e.value!==i.value){var n=this.getValueAtTime(e.time),o=(this.getValueAtTime(i.time)-n)/(i.time-e.time),a=Math.sqrt(Math.pow(n,2)-2*o*(e.ticks-t)),r=(-n+a)/o;return(r>0?r:(-n-a)/o)+e.time;}return e?0===e.value?1/0:e.time+(t-e.ticks)/e.value:t/this._initialValue;},s.default.TickSignal.prototype.ticksToTime=function(t,e){return e=this.toSeconds(e),new s.default.Time(this.getDurationOfTicks(t,e));},s.default.TickSignal.prototype.timeToTicks=function(t,e){e=this.toSeconds(e),t=this.toSeconds(t);var i=this.getTicksAtTime(e),n=this.getTicksAtTime(e+t);return new s.default.Ticks(n-i);},e.default=s.default.TickSignal;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(57),i(34),i(35),i(20);s.default.Clock=function(){var t=s.default.defaults(arguments,["callback","frequency"],s.default.Clock);s.default.Emitter.call(this),this.callback=t.callback,this._nextTick=0,this._tickSource=new s.default.TickSource(t.frequency),this._lastUpdate=0,this.frequency=this._tickSource.frequency,this._readOnly("frequency"),this._state=new s.default.TimelineState(s.default.State.Stopped),this._state.setStateAtTime(s.default.State.Stopped,0),this._boundLoop=this._loop.bind(this),this.context.on("tick",this._boundLoop);},s.default.extend(s.default.Clock,s.default.Emitter),s.default.Clock.defaults={callback:s.default.noOp,frequency:1},Object.defineProperty(s.default.Clock.prototype,"state",{get:function get(){return this._state.getValueAtTime(this.now());}}),s.default.Clock.prototype.start=function(t,e){return this.context.resume(),t=this.toSeconds(t),this._state.getValueAtTime(t)!==s.default.State.Started&&(this._state.setStateAtTime(s.default.State.Started,t),this._tickSource.start(t,e),t0)i=e[0];else if(!i&&s.default.isDefined(t))throw new Error("Tone.UserMedia: no matching device: "+t);this._device=i;var n={audio:{echoCancellation:!1,sampleRate:this.context.sampleRate,noiseSuppression:!1,mozNoiseSuppression:!1}};return i&&(n.audio.deviceId=i.deviceId),navigator.mediaDevices.getUserMedia(n).then(function(t){return this._stream||(this._stream=t,this._mediaStream=this.context.createMediaStreamSource(t),s.default.connect(this._mediaStream,this.output)),this;}.bind(this));}.bind(this));},s.default.UserMedia.prototype.close=function(){return this._stream&&(this._stream.getAudioTracks().forEach(function(t){t.stop();}),this._stream=null,this._mediaStream.disconnect(),this._mediaStream=null),this._device=null,this;},s.default.UserMedia.enumerateDevices=function(){return navigator.mediaDevices.enumerateDevices().then(function(t){return t.filter(function(t){return"audioinput"===t.kind;});});},Object.defineProperty(s.default.UserMedia.prototype,"state",{get:function get(){return this._stream&&this._stream.active?s.default.State.Started:s.default.State.Stopped;}}),Object.defineProperty(s.default.UserMedia.prototype,"deviceId",{get:function get(){return this._device?this._device.deviceId:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"groupId",{get:function get(){return this._device?this._device.groupId:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"label",{get:function get(){return this._device?this._device.label:null;}}),Object.defineProperty(s.default.UserMedia.prototype,"mute",{get:function get(){return this._volume.mute;},set:function set(t){this._volume.mute=t;}}),s.default.UserMedia.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this.close(),this._writable("volume"),this._volume.dispose(),this._volume=null,this.volume=null,this;},Object.defineProperty(s.default.UserMedia,"supported",{get:function get(){return s.default.isDefined(navigator.mediaDevices)&&s.default.isFunction(navigator.mediaDevices.getUserMedia);}}),e.default=s.default.UserMedia;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(65),i(27),i(1);s.default.Players=function(t){var e=Array.prototype.slice.call(arguments);e.shift();var i=s.default.defaults(e,["onload"],s.default.Players);for(var n in s.default.AudioNode.call(this,i),this._volume=this.output=new s.default.Volume(i.volume),this.volume=this._volume.volume,this._readOnly("volume"),this._volume.output.output.channelCount=2,this._volume.output.output.channelCountMode="explicit",this.mute=i.mute,this._players={},this._loadingCount=0,this._fadeIn=i.fadeIn,this._fadeOut=i.fadeOut,t){this._loadingCount++,this.add(n,t[n],this._bufferLoaded.bind(this,i.onload));}},s.default.extend(s.default.Players,s.default.AudioNode),s.default.Players.defaults={volume:0,mute:!1,onload:s.default.noOp,fadeIn:0,fadeOut:0},s.default.Players.prototype._bufferLoaded=function(t){this._loadingCount--,0===this._loadingCount&&t&&t(this);},Object.defineProperty(s.default.Players.prototype,"mute",{get:function get(){return this._volume.mute;},set:function set(t){this._volume.mute=t;}}),Object.defineProperty(s.default.Players.prototype,"fadeIn",{get:function get(){return this._fadeIn;},set:function set(t){this._fadeIn=t,this._forEach(function(e){e.fadeIn=t;});}}),Object.defineProperty(s.default.Players.prototype,"fadeOut",{get:function get(){return this._fadeOut;},set:function set(t){this._fadeOut=t,this._forEach(function(e){e.fadeOut=t;});}}),Object.defineProperty(s.default.Players.prototype,"state",{get:function get(){var t=!1;return this._forEach(function(e){t=t||e.state===s.default.State.Started;}),t?s.default.State.Started:s.default.State.Stopped;}}),s.default.Players.prototype.has=function(t){return this._players.hasOwnProperty(t);},s.default.Players.prototype.get=function(t){if(this.has(t))return this._players[t];throw new Error("Tone.Players: no player named "+t);},s.default.Players.prototype._forEach=function(t){for(var e in this._players){t(this._players[e],e);}return this;},Object.defineProperty(s.default.Players.prototype,"loaded",{get:function get(){var t=!0;return this._forEach(function(e){t=t&&e.loaded;}),t;}}),s.default.Players.prototype.add=function(t,e,i){return this._players[t]=new s.default.Player(e,i).connect(this.output),this._players[t].fadeIn=this._fadeIn,this._players[t].fadeOut=this._fadeOut,this;},s.default.Players.prototype.stopAll=function(t){this._forEach(function(e){e.stop(t);});},s.default.Players.prototype.dispose=function(){return s.default.AudioNode.prototype.dispose.call(this),this._volume.dispose(),this._volume=null,this._writable("volume"),this.volume=null,this.output=null,this._forEach(function(t){t.dispose();}),this._players=null,this;},e.default=s.default.Players;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(6),i(11),i(32);s.default.GrainPlayer=function(){var t=s.default.defaults(arguments,["url","onload"],s.default.GrainPlayer);s.default.Source.call(this,t),this.buffer=new s.default.Buffer(t.url,t.onload.bind(void 0,this)),this._clock=new s.default.Clock(this._tick.bind(this),t.grainSize),this._loopStart=0,this._loopEnd=0,this._activeSources=[],this._playbackRate=t.playbackRate,this._grainSize=t.grainSize,this._overlap=t.overlap,this.detune=t.detune,this.overlap=t.overlap,this.loop=t.loop,this.playbackRate=t.playbackRate,this.grainSize=t.grainSize,this.loopStart=t.loopStart,this.loopEnd=t.loopEnd,this.reverse=t.reverse,this._clock.on("stop",this._onstop.bind(this));},s.default.extend(s.default.GrainPlayer,s.default.Source),s.default.GrainPlayer.defaults={onload:s.default.noOp,overlap:0.1,grainSize:0.2,playbackRate:1,detune:0,loop:!1,loopStart:0,loopEnd:0,reverse:!1},s.default.GrainPlayer.prototype._start=function(t,e,i){e=s.default.defaultArg(e,0),e=this.toSeconds(e),t=this.toSeconds(t),this._offset=e,this._clock.start(t),i&&this.stop(t+this.toSeconds(i));},s.default.GrainPlayer.prototype._stop=function(t){this._clock.stop(t);},s.default.GrainPlayer.prototype._onstop=function(t){this._activeSources.forEach(function(e){e.fadeOut=0,e.stop(t);});},s.default.GrainPlayer.prototype._tick=function(t){if(!this.loop&&this._offset>this.buffer.duration)this.stop(t);else{var e=this._offset0,"polyphony must be greater than 0"),this.detune=new s.default.Signal(t.detune,s.default.Type.Cents),this._readOnly("detune");for(var e=0;e1e-5)return i;});return i||this.voices.slice().sort(function(e,i){var s=e.getLevelAtTime(t+this.blockTime),n=i.getLevelAtTime(t+this.blockTime);return s<1e-5&&(s=0),n<1e-5&&(n=0),s-n;}.bind(this))[0];},s.default.PolySynth.prototype.triggerAttack=function(t,e,i){return Array.isArray(t)||(t=[t]),e=this.toSeconds(e),t.forEach(function(t){var s=this._getClosestVoice(e,t);s.triggerAttack(t,e,i),this.log("triggerAttack",s.index,t);}.bind(this)),this;},s.default.PolySynth.prototype.triggerRelease=function(t,e){return Array.isArray(t)||(t=[t]),e=this.toSeconds(e),t.forEach(function(t){var i=this._getClosestVoice(e,t);this.log("triggerRelease",i.index,t),i.triggerRelease(e);}.bind(this)),this;},s.default.PolySynth.prototype.triggerAttackRelease=function(t,e,i,n){if(i=this.toSeconds(i),this.triggerAttack(t,i,n),s.default.isArray(e)&&s.default.isArray(t))for(var o=0;o0&&requestAnimationFrame(this._boundDrawLoop);},s.default.Draw=new s.default.Draw(),e.default=s.default.Draw;},function(t,e,i){"use strict";i.r(e);var s=i(0),n=(i(3),{});s.default.prototype.send=function(t,e){n.hasOwnProperty(t)||(n[t]=this.context.createGain()),e=s.default.defaultArg(e,0);var i=new s.default.Gain(e,s.default.Type.Decibels);return this.connect(i),i.connect(n[t]),i;},s.default.prototype.receive=function(t,e){return n.hasOwnProperty(t)||(n[t]=this.context.createGain()),s.default.connect(n[t],this,0,e),this;},s.default.Context.on("init",function(t){t.buses?n=t.buses:(n={},t.buses=n);}),e.default=s.default;},function(t,e,i){"use strict";i.r(e);var s=i(0);i(4);s.default.CtrlRandom=function(){var t=s.default.defaults(arguments,["min","max"],s.default.CtrlRandom);s.default.call(this),this.min=t.min,this.max=t.max,this.integer=t.integer;},s.default.extend(s.default.CtrlRandom),s.default.CtrlRandom.defaults={min:0,max:1,integer:!1},Object.defineProperty(s.default.CtrlRandom.prototype,"value",{get:function get(){var t=this.toSeconds(this.min),e=this.toSeconds(this.max),i=Math.random(),s=i*t+(1-i)*e;return this.integer&&(s=Math.floor(s)),s;}}),e.default=s.default.CtrlRandom;},function(t,e,i){"use strict";i.r(e);var s=i(0);s.default.CtrlMarkov=function(t,e){s.default.call(this),this.values=s.default.defaultArg(t,{}),this.value=s.default.defaultArg(e,Object.keys(this.values)[0]);},s.default.extend(s.default.CtrlMarkov),s.default.CtrlMarkov.prototype.next=function(){if(this.values.hasOwnProperty(this.value)){var t=this.values[this.value];if(s.default.isArray(t))for(var e=this._getProbDistribution(t),i=Math.random(),n=0,o=0;on&&i1&&arguments[1]!==undefined?arguments[1]:"Magenta.js";var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:10;if(0===n)throw Error("Logging level cannot be NONE.");if(o>=n){(5===n?console.warn:console.log)("%c ".concat(e," "),"background:magenta; color:white",t);}}function a(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"Magenta.js";var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:10;s("".concat(t," in ").concat(((i.d.now()-e)/1e3).toPrecision(3),"s"),n,r);}},,function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i;}),n.d(e,"d",function(){return o;}),n.d(e,"c",function(){return s;}),n.d(e,"b",function(){return u;});var r=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("cannot find the global object");}(),i=r.fetch.bind(r),o=r.performance,s=(r.navigator,!!r.webkitOfflineAudioContext),a=void 0!==r.WorkerGlobalScope;function u(t){if(t=s?44100:t,a)throw new Error("Cannot use offline audio context in a web worker.");var e=r.webkitOfflineAudioContext;return s?new e(1,t,t):new r.OfflineAudioContext(1,t,t);}}).call(this,n(9));},function(t,e,n){"use strict";n.r(e),n.d(e,"MultipleTimeSignatureException",function(){return o;}),n.d(e,"BadTimeSignatureException",function(){return s;}),n.d(e,"NegativeTimeException",function(){return a;}),n.d(e,"MultipleTempoException",function(){return u;}),n.d(e,"QuantizationStatusException",function(){return c;}),n.d(e,"clone",function(){return l;}),n.d(e,"stepsPerQuarterToStepsPerSecond",function(){return h;}),n.d(e,"quantizeToStep",function(){return p;}),n.d(e,"quantizeNoteSequence",function(){return d;}),n.d(e,"isQuantizedSequence",function(){return g;}),n.d(e,"assertIsQuantizedSequence",function(){return S;}),n.d(e,"isRelativeQuantizedSequence",function(){return y;}),n.d(e,"assertIsRelativeQuantizedSequence",function(){return b;}),n.d(e,"isAbsoluteQuantizedSequence",function(){return w;}),n.d(e,"assertIsAbsoluteQuantizedSequence",function(){return P;}),n.d(e,"unquantizeSequence",function(){return v;}),n.d(e,"createQuantizedNoteSequence",function(){return N;}),n.d(e,"mergeInstruments",function(){return T;}),n.d(e,"replaceInstruments",function(){return O;}),n.d(e,"mergeConsecutiveNotes",function(){return I;}),n.d(e,"concatenate",function(){return M;}),n.d(e,"trim",function(){return A;}),n.d(e,"split",function(){return E;});var r=n(2),i=n(1);var o=/*#__PURE__*/function(_Error){babelHelpers.inherits(o,_Error);var _super=_createSuper(o);function o(t){var _this;babelHelpers.classCallCheck(this,o);_this=_super.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this),new.target.prototype);return _this;}return babelHelpers.createClass(o);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var s=/*#__PURE__*/function(_Error2){babelHelpers.inherits(s,_Error2);var _super2=_createSuper(s);function s(t){var _this2;babelHelpers.classCallCheck(this,s);_this2=_super2.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this2),new.target.prototype);return _this2;}return babelHelpers.createClass(s);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var a=/*#__PURE__*/function(_Error3){babelHelpers.inherits(a,_Error3);var _super3=_createSuper(a);function a(t){var _this3;babelHelpers.classCallCheck(this,a);_this3=_super3.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this3),new.target.prototype);return _this3;}return babelHelpers.createClass(a);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var u=/*#__PURE__*/function(_Error4){babelHelpers.inherits(u,_Error4);var _super4=_createSuper(u);function u(t){var _this4;babelHelpers.classCallCheck(this,u);_this4=_super4.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this4),new.target.prototype);return _this4;}return babelHelpers.createClass(u);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var c=/*#__PURE__*/function(_Error5){babelHelpers.inherits(c,_Error5);var _super5=_createSuper(c);function c(t){var _this5;babelHelpers.classCallCheck(this,c);_this5=_super5.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this5),new.target.prototype);return _this5;}return babelHelpers.createClass(c);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));function l(t){return r.a.decode(r.a.encode(t).finish());}function h(t,e){return t*e/60;}function p(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0.5;var r=t*e;return Math.floor(r+(1-n));}function f(t){return t.controlChanges.concat(t.textAnnotations);}function m(t){if(t.tempos&&0!==t.tempos.length){if(t.tempos.sort(function(t,e){return t.time-e.time;}),0!==t.tempos[0].time&&t.tempos[0].qpm!==i.DEFAULT_QUARTERS_PER_MINUTE)throw new u("NoteSequence has an implicit tempo change from initial "+i.DEFAULT_QUARTERS_PER_MINUTE+" qpm to "+"".concat(t.tempos[0].qpm," qpm at ").concat(t.tempos[0].time," seconds."));for(var _e=1;_e0){if(n.timeSignatures.sort(function(t,e){return t.time-e.time;}),0!==n.timeSignatures[0].time&&(4!==n.timeSignatures[0].numerator||4!==n.timeSignatures[0].denominator))throw new o("NoteSequence has an implicit change from initial 4/4 time signature to ".concat(n.timeSignatures[0].numerator,"/")+n.timeSignatures[0].denominator+" at "+n.timeSignatures[0].time+" seconds.");for(var _t=1;_t0)m(n),n.tempos[0].time=0,n.tempos=[n.tempos[0]];else{var _t3=r.a.Tempo.create({qpm:i.DEFAULT_QUARTERS_PER_MINUTE,time:0});n.tempos.push(_t3);}var d=h(e,n.tempos[0].qpm);return n.totalQuantizedSteps=p(t.totalTime,d),function(t,e){var _iterator=_createForOfIteratorHelper(t.notes),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _n=_step.value;if(_n.quantizedStartStep=p(_n.startTime,e),_n.quantizedEndStep=p(_n.endTime,e),_n.quantizedEndStep===_n.quantizedStartStep&&(_n.quantizedEndStep+=1),_n.quantizedStartStep<0||_n.quantizedEndStep<0)throw new a("Got negative note time: start_step = "+_n.quantizedStartStep+", end_step = "+_n.quantizedEndStep);_n.quantizedEndStep>t.totalQuantizedSteps&&(t.totalQuantizedSteps=_n.quantizedEndStep);}}catch(err){_iterator.e(err);}finally{_iterator.f();}f(t).forEach(function(t){if(t.quantizedStep=p(t.time,e),t.quantizedStep<0)throw new a("Got negative event time: step = "+t.quantizedStep);});}(n,d),n;}function g(t){return t.quantizationInfo&&(t.quantizationInfo.stepsPerQuarter>0||t.quantizationInfo.stepsPerSecond>0);}function S(t){if(!g(t))throw new c("NoteSequence ".concat(t.id," is not quantized (missing quantizationInfo)"));}function y(t){return t.quantizationInfo&&t.quantizationInfo.stepsPerQuarter>0;}function b(t){if(!y(t))throw new c("NoteSequence ".concat(t.id," is not quantized or is quantized based on absolute timing"));}function w(t){return t.quantizationInfo&&t.quantizationInfo.stepsPerSecond>0;}function P(t){if(!w(t))throw new c("NoteSequence ".concat(t.id," is not quantized or is quantized based on relative timing"));}function v(t,e){b(t),m(t);var n=l(t);e?n.tempos&&n.tempos.length>0?n.tempos[0].qpm=e:n.tempos.push(r.a.Tempo.create({time:0,qpm:e})):e=t.tempos&&t.tempos.length>0?n.tempos[0].qpm:i.DEFAULT_QUARTERS_PER_MINUTE;var o=function o(t){return t/n.quantizationInfo.stepsPerQuarter*(60/e);};return n.totalTime=o(n.totalQuantizedSteps),n.notes.forEach(function(t){t.startTime=o(t.quantizedStartStep),t.endTime=o(t.quantizedEndStep),n.totalTime=Math.max(n.totalTime,t.endTime),delete t.quantizedStartStep,delete t.quantizedEndStep;}),f(n).forEach(function(t){t.time=o(t.time);}),delete n.totalQuantizedSteps,delete n.quantizationInfo,n;}function N(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:i.DEFAULT_STEPS_PER_QUARTER;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:i.DEFAULT_QUARTERS_PER_MINUTE;return r.a.create({quantizationInfo:{stepsPerQuarter:t},tempos:[{qpm:e}]});}function T(t){var e=l(t),n=e.notes.concat(e.pitchBends).concat(e.controlChanges),r=Array.from(new Set(n.filter(function(t){return!t.isDrum;}).map(function(t){return t.program;})));return n.forEach(function(t){t.isDrum?(t.program=0,t.instrument=r.length):t.instrument=r.indexOf(t.program);}),e;}function O(t,e){var n=new Set(t.notes.map(function(t){return t.instrument;})),i=new Set(e.notes.map(function(t){return t.instrument;})),o=[];t.notes.forEach(function(t){i.has(t.instrument)||o.push(r.a.Note.create(t));}),e.notes.forEach(function(t){n.has(t.instrument)&&o.push(r.a.Note.create(t));});var s=l(t);return s.notes=o.sort(function(t,e){var n=t.instrument-e.instrument;return n||t.quantizedStartStep-e.quantizedStartStep;}),s;}function I(t){S(t);var e=l(t);e.notes=[];var n=t.notes.sort(function(t,e){var n=t.instrument-e.instrument;return n||t.quantizedStartStep-e.quantizedStartStep;}),i=new r.a.Note();i.pitch=n[0].pitch,i.instrument=n[0].instrument,i.quantizedStartStep=n[0].quantizedStartStep,i.quantizedEndStep=n[0].quantizedEndStep,e.notes.push(i);var o=0;for(var _t4=1;_t4=e&&t[i]<=n&&(s||t[o]<=n);}),a[r]-=e;for(var _t5=0;_t5e||_u2.quantizedStartStep>e)&&(_t6-=1),0!==a.length){var _t8=l(n);_t8.notes=a,_t8.totalQuantizedSteps=e,o.push(_t8);}a=[],s+=e;}}if(0!==a.length){var _t9=l(n);_t9.notes=a,_t9.totalQuantizedSteps=e,o.push(_t9);}return o;}},function(t,e,n){"use strict";(function(t){var r=e;function i(t,e,n){for(var r=Object.keys(e),i=0;i0);},r.Buffer=function(){try{var t=r.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null;}catch(t){return null;}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(t){return"number"==typeof t?r.Buffer?r._Buffer_allocUnsafe(t):new r.Array(t):r.Buffer?r._Buffer_from(t):"undefined"==typeof Uint8Array?t:new Uint8Array(t);},r.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(t){return t?r.LongBits.from(t).toHash():r.LongBits.zeroHash;},r.longFromHash=function(t,e){var n=r.LongBits.fromHash(t);return r.Long?r.Long.fromBits(n.lo,n.hi,e):n.toNumber(Boolean(e));},r.merge=i,r.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1);},r.newError=o,r.ProtocolError=o("ProtocolError"),r.oneOfGetter=function(t){for(var e={},n=0;n-1;--n){if(1===e[t[n]]&&void 0!==this[t[n]]&&null!==this[t[n]])return t[n];}};},r.oneOfSetter=function(t){return function(e){for(var n=0;n3&&arguments[3]!==undefined?arguments[3]:!0;var i=arguments.length>4?arguments[4]:undefined;o.assertIsQuantizedSequence(t);var s=t.notes.sort(function(t,e){return t.quantizedStartStep===e.quantizedStartStep?e.pitch-t.pitch:t.quantizedStartStep-e.quantizedStartStep;}),c=new Int32Array(i||t.totalQuantizedSteps);var l=-1;return s.forEach(function(t){if(t.quantizedStartStep===l){if(r)return;throw new Error("`NoteSequence` is not monophonic.");}if(t.pitchn)throw Error("`NoteSequence` has a pitch outside of the valid range: "+t.pitch);c[t.quantizedStartStep]=t.pitch-e+2,c[t.quantizedEndStep]=a,l=t.quantizedStartStep;}),new u(c,e,n);}}]);return u;}();var c=/*#__PURE__*/function(){function c(){babelHelpers.classCallCheck(this,c);this.depth=1;}babelHelpers.createClass(c,[{key:"extract",value:function extract(t){var e=t.events.length,n=r.buffer([e,1]);for(var _r=0;_r=2?1:0,_r,0);}return n.toTensor().as2D(e,1);}}]);return c;}();var l=/*#__PURE__*/function(){function l(){babelHelpers.classCallCheck(this,l);this.depth=3;}babelHelpers.createClass(l,[{key:"extract",value:function extract(t){var e=t.events.length,n=r.buffer([e,3]);var i=null,o=null;for(var _r2=0;_r2=2){if(null!==i){var _e5=void 0;0===n.get(i,0)&&0===n.get(i,1)&&0===n.get(i,2)&&(i=-1),_e5=t.events[_r2]o?2:1;for(var _t11=_r2;_t11>i;--_t11){n.set(1,_t11,_e5);}}i=_r2,o=t.events[_r2];}}if(i!==e-1)if(null===i||0===n.get(i,0)&&0===n.get(i,1)&&0===n.get(i,2))for(var _t12=0;_t12i;--_t13){for(var _e6=0;_e6<3;_e6++){n.set(n.get(i,_e6),_t13,_e6);}}return n.toTensor().as2D(e,3);}}]);return l;}();var h=/*#__PURE__*/function(){function h(t){babelHelpers.classCallCheck(this,h);this.boundaryPitches=t,this.depth=t.length+1;}babelHelpers.createClass(h,[{key:"meanMelodyPitch",value:function meanMelodyPitch(t){var e=0,n=0,r=null;for(var _i3=0;_i3=2&&(r=t.minPitch+t.events[_i3]-2),null!==r&&(e+=r,n+=1);}return n?e/n:null;}},{key:"extract",value:function extract(t){var e=t.events.length,n=this.meanMelodyPitch(t);if(null===n)return r.zeros([e,this.depth]);var i=0;for(;i=this.boundaryPitches[i];){i++;}var o=r.buffer([e,this.depth]);for(var _t14=0;_t14>_e7&1&&r.notes.push(i.a.Note.create({pitch:this.pitchClasses[_e7][0],quantizedStartStep:_t17,quantizedEndStep:_t17+1,isDrum:!0}));}}return _context.abrupt("return",(r.totalQuantizedSteps=s.length,r));case 8:case"end":return _context.stop();}}},_callee,this);}));function toNoteSequence(_x,_x2,_x3){return _toNoteSequence.apply(this,arguments);}return toNoteSequence;}()}]);return f;}(p);var m=/*#__PURE__*/function(_f){babelHelpers.inherits(m,_f);var _super7=_createSuper(m);function m(){babelHelpers.classCallCheck(this,m);return _super7.apply(this,arguments);}babelHelpers.createClass(m,[{key:"toNoteSequence",value:function(){var _toNoteSequence2=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(t,e,n){var r,o,_e8,_t18,_n2;return _regeneratorRuntime().wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:r=c.createQuantizedNoteSequence(e,n);_context2.next=3;return t.data();case 3:o=_context2.sent;for(_e8=0;_e8this.maxPitch&&(u=this.maxPitch,s.log("Pitch range exceeded when creating NoteSequence from shape.","MelodyShapeConverter"));case 15:r.notes.push(i.a.Note.create({pitch:u,quantizedStartStep:_t20,quantizedEndStep:_t20+1}));case 16:++_t20;_context5.next=8;break;case 19:return _context5.abrupt("return",(r.totalQuantizedSteps=a.length,r));case 20:case"end":return _context5.stop();}}},_callee5,this);}));function toNoteSequence(_x13,_x14,_x15){return _toNoteSequence5.apply(this,arguments);}return toNoteSequence;}()}]);return b;}(S);var w=/*#__PURE__*/function(_p4){babelHelpers.inherits(w,_p4);var _super13=_createSuper(w);function w(t){var _this13;babelHelpers.classCallCheck(this,w);_this13=_super13.call(this,t),_this13.NUM_SPLITS=3,_this13.MEL_PROG_RANGE=[0,31],_this13.BASS_PROG_RANGE=[32,39],t.melArgs.numSteps=t.numSteps,t.bassArgs.numSteps=t.numSteps,t.drumsArgs.numSteps=t.numSteps,_this13.melConverter=new g(t.melArgs),_this13.bassConverter=new g(t.bassArgs),_this13.drumsConverter=new d(t.drumsArgs),_this13.depth=_this13.melConverter.depth+_this13.bassConverter.depth+_this13.drumsConverter.depth;return _this13;}babelHelpers.createClass(w,[{key:"toTensor",value:function toTensor(t){var _this14=this;c.assertIsQuantizedSequence(t);var e=c.clone(t),n=c.clone(t),i=c.clone(t);return e.notes=t.notes.filter(function(t){return!t.isDrum&&t.program>=_this14.MEL_PROG_RANGE[0]&&t.program<=_this14.MEL_PROG_RANGE[1];}),n.notes=t.notes.filter(function(t){return!t.isDrum&&t.program>=_this14.BASS_PROG_RANGE[0]&&t.program<=_this14.BASS_PROG_RANGE[1];}),i.notes=t.notes.filter(function(t){return t.isDrum;}),r.tidy(function(){return r.concat([_this14.melConverter.toTensor(e),_this14.bassConverter.toTensor(n),_this14.drumsConverter.toTensor(i)],-1);});}},{key:"toNoteSequence",value:function(){var _toNoteSequence6=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(t,e,n){var _o$notes,_this15=this,_o$notes2;var i,o,s,a;return _regeneratorRuntime().wrap(function _callee6$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:i=r.split(t,[this.melConverter.depth,this.bassConverter.depth,this.drumsConverter.depth],-1);_context6.next=3;return this.melConverter.toNoteSequence(i[0],e,n);case 3:o=_context6.sent;o.notes.forEach(function(t){t.instrument=0,t.program=0;});_context6.next=7;return this.bassConverter.toNoteSequence(i[1],e,n);case 7:s=_context6.sent;(_o$notes=o.notes).push.apply(_o$notes,babelHelpers.toConsumableArray(s.notes.map(function(t){return t.instrument=1,t.program=_this15.BASS_PROG_RANGE[0],t;})));_context6.next=11;return this.drumsConverter.toNoteSequence(i[2],e,n);case 11:a=_context6.sent;return _context6.abrupt("return",((_o$notes2=o.notes).push.apply(_o$notes2,babelHelpers.toConsumableArray(a.notes.map(function(t){return t.instrument=2,t;}))),i.forEach(function(t){return t.dispose();}),o));case 13:case"end":return _context6.stop();}}},_callee6,this);}));function toNoteSequence(_x16,_x17,_x18){return _toNoteSequence6.apply(this,arguments);}return toNoteSequence;}()}]);return w;}(p);var P=/*#__PURE__*/function(_p5){babelHelpers.inherits(P,_p5);var _super14=_createSuper(P);function P(t){var _this16;babelHelpers.classCallCheck(this,P);_this16=_super14.call(this,t),_this16.SEGMENTED_BY_TRACK=!0,_this16.stepsPerQuarter=t.stepsPerQuarter,_this16.totalSteps=t.totalSteps,_this16.numVelocityBins=t.numVelocityBins,_this16.minPitch=t.minPitch?t.minPitch:o.MIN_MIDI_PITCH,_this16.maxPitch=t.maxPitch?t.maxPitch:o.MAX_MIDI_PITCH,_this16.numPitches=_this16.maxPitch-_this16.minPitch+1,_this16.performanceEventDepth=2*_this16.numPitches+_this16.totalSteps+_this16.numVelocityBins,_this16.numPrograms=o.MAX_MIDI_PROGRAM-o.MIN_MIDI_PROGRAM+2,_this16.endToken=_this16.performanceEventDepth+_this16.numPrograms,_this16.depth=_this16.endToken+1,_this16.endTensor=r.tidy(function(){return r.oneHot(r.tensor1d([_this16.endToken],"int32"),_this16.depth).as1D();});return _this16;}babelHelpers.createClass(P,[{key:"trackToTensor",value:function trackToTensor(t){var _this17=this;var e=this.numSteps/this.numSegments;var n=void 0;if(t){for(;t.events.length>e-2;){t.events.pop();}n=r.buffer([t.events.length+2],"int32"),n.set(this.performanceEventDepth+(t.isDrum?this.numPrograms-1:t.program),0),t.events.forEach(function(t,e){switch(t.type){case"note-on":n.set(t.pitch-_this17.minPitch,e+1);break;case"note-off":n.set(_this17.numPitches+t.pitch-_this17.minPitch,e+1);break;case"time-shift":n.set(2*_this17.numPitches+t.steps-1,e+1);break;case"velocity-change":n.set(2*_this17.numPitches+_this17.totalSteps+t.velocityBin-1,e+1);break;default:throw new Error("Unrecognized performance event: "+t);}}),n.set(this.endToken,t.events.length+1);}else n=r.buffer([1],"int32",new Int32Array([this.endToken]));return r.tidy(function(){var t=r.oneHot(n.toTensor(),_this17.depth);return t.pad([[0,e-t.shape[0]],[0,0]]);});}},{key:"toTensor",value:function toTensor(t){var _this18=this;if(c.assertIsRelativeQuantizedSequence(t),t.quantizationInfo.stepsPerQuarter!==this.stepsPerQuarter)throw new Error("Steps per quarter note mismatch: ".concat(t.quantizationInfo.stepsPerQuarter," != ").concat(this.stepsPerQuarter));var e=c.clone(t);e.notes=t.notes.filter(function(t){return t.pitch>=_this18.minPitch&&t.pitch<=_this18.maxPitch;});var n=new Set(e.notes.map(function(t){return t.instrument;})),i=Array.from(n).map(function(t){return u.Performance.fromNoteSequence(e,_this18.totalSteps,_this18.numVelocityBins,t);}).sort(function(t,e){return e.isDrum?-1:t.isDrum?1:t.program-e.program;});for(;i.length>this.numSegments;){i.pop();}for(i.forEach(function(t){return t.setNumSteps(_this18.totalSteps);});i.length=0?e:t.length,r=t.slice(0,n),i=r.filter(function(t){return t<_this19.performanceEventDepth;}),o=r.filter(function(t){return t>=_this19.performanceEventDepth;}),_ref=o.length?o[0]-this.performanceEventDepth1&&_args8[1]!==undefined?_args8[1]:this.stepsPerQuarter;n=_args8.length>2?_args8[2]:undefined;i=c.createQuantizedNoteSequence(e,n);i.totalQuantizedSteps=this.totalSteps;o=r.tidy(function(){return r.split(t.argMax(1),_this20.numSegments);});_context8.next=7;return Promise.all(o.map(/*#__PURE__*/function(){var _ref3=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(t){var e,n;return _regeneratorRuntime().wrap(function _callee7$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.next=2;return t.data();case 2:e=_context7.sent;n=_this20.tokensToTrack(e);return _context7.abrupt("return",(t.dispose(),n));case 5:case"end":return _context7.stop();}}},_callee7);}));return function(_x20){return _ref3.apply(this,arguments);};}()));case 7:_context8.sent.forEach(function(t,e){var _i$notes;t.setNumSteps(_this20.totalSteps),(_i$notes=i.notes).push.apply(_i$notes,babelHelpers.toConsumableArray(t.toNoteSequence(e).notes));});return _context8.abrupt("return",i);case 9:case"end":return _context8.stop();}}},_callee8,this);}));function toNoteSequence(_x19){return _toNoteSequence7.apply(this,arguments);}return toNoteSequence;}()}]);return P;}(p);var v=/*#__PURE__*/function(_p6){babelHelpers.inherits(v,_p6);var _super15=_createSuper(v);function v(t){var _this21;babelHelpers.classCallCheck(this,v);_this21=_super15.call(this,t),_this21.TAPIFY_CHANNEL=3,_this21.stepsPerQuarter=t.stepsPerQuarter||o.DEFAULT_STEPS_PER_QUARTER,_this21.pitchClasses=t.pitchClasses||l,_this21.pitchToClass=new Map();var _loop2=function _loop2(_t21){_this21.pitchClasses[_t21].forEach(function(e){_this21.pitchToClass.set(e,_t21);});};for(var _t21=0;_t21<_this21.pitchClasses.length;++_t21){_loop2(_t21);}_this21.humanize=t.humanize||!1,_this21.tapify=t.tapify||!1,_this21.splitInstruments=t.splitInstruments||!1,_this21.depth=3;return _this21;}babelHelpers.createClass(v,[{key:"toTensor",value:function toTensor(t){var _this22=this;var e=c.isRelativeQuantizedSequence(t)?t:c.quantizeNoteSequence(t,this.stepsPerQuarter),n=this.numSteps,i=e.tempos&&e.tempos.length?e.tempos[0].qpm:o.DEFAULT_QUARTERS_PER_MINUTE,s=60/i/this.stepsPerQuarter,a=[];for(var _t22=0;_t22=a.length)throw Error("Model does not support sequences with more than ".concat(n," steps (").concat(n*s," seconds at qpm ").concat(i,")."));var r=_this22.tapify?_this22.TAPIFY_CHANNEL:_this22.pitchToClass.get(t.pitch);(!a[e].has(r)||a[e].get(r).velocity2&&_args9[2]!==undefined?_args9[2]:o.DEFAULT_QUARTERS_PER_MINUTE;if(!(e&&e!==this.stepsPerQuarter)){_context9.next=4;break;}throw Error("`stepsPerQuarter` is set by the model.");case 4:e=this.stepsPerQuarter;r=this.splitInstruments?t.shape[0]/this.pitchClasses.length:t.shape[0];s=60/n/this.stepsPerQuarter;a=i.a.create({totalTime:r*s,tempos:[{qpm:n}]});_context9.next=10;return t.data();case 10:u=_context9.sent;l=this.pitchClasses.length;for(_t24=0;_t240.5){_e12=c(Math.round(_u3*o.MAX_MIDI_VELOCITY),o.MIN_MIDI_VELOCITY,o.MAX_MIDI_VELOCITY),_r5=c(_h2/2,-0.5,0.5);a.notes.push(i.a.Note.create({pitch:this.pitchClasses[_n4][0],startTime:(_t24-_r5)*s,endTime:(_t24-_r5+1)*s,velocity:_e12,isDrum:!0}));}}}return _context9.abrupt("return",a);case 14:case"end":return _context9.stop();}}},_callee9,this);}));function toNoteSequence(_x21,_x22){return _toNoteSequence8.apply(this,arguments);}return toNoteSequence;}()}]);return v;}(p);},function(t,e,n){"use strict";n.r(e),n.d(e,"Performance",function(){return a;});var r=n(2),i=n(1),o=n(7),s=n(4);var a=/*#__PURE__*/function(){function a(t,e,n,r,i){babelHelpers.classCallCheck(this,a);this.events=t,this.maxShiftSteps=e,this.numVelocityBins=n,this.program=r,this.isDrum=i;}babelHelpers.createClass(a,[{key:"getNumSteps",value:function getNumSteps(){return this.events.filter(function(t){return"time-shift"===t.type;}).map(function(t){return t.steps;}).reduce(function(t,e){return t+e;},0);}},{key:"setNumSteps",value:function setNumSteps(t){var e=this.getNumSteps();if(et?(this.events.push({type:"time-shift",steps:t-e}),e=t):(this.events.push({type:"time-shift",steps:this.maxShiftSteps}),e+=this.maxShiftSteps);}}else if(e>t)for(;this.events.length&&e>t;){var _n6=this.events[this.events.length-1];"time-shift"===_n6.type?e-_n6.steps_e13?n.notes.push(r.a.Note.create({pitch:c.pitch,velocity:_i4,instrument:t,quantizedStartStep:_e13,quantizedEndStep:o,program:this.program,isDrum:this.isDrum})):s.log("Ignoring zero-length note: (pitch = ".concat(c.pitch,", step = ").concat(o,")"),"Performance");}else s.log("Ignoring note-off with no previous note-on:(pitch = ".concat(c.pitch,", step = ").concat(o,")"),"Performance");break;case"time-shift":o+=c.steps;break;case"velocity-change":if(!e)throw new Error("Unexpected velocity change event: "+c);_a=i.MIN_MIDI_VELOCITY+(c.velocityBin-1)*e+1;break;default:throw new Error("Unrecognized performance event: "+c);}}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}return u.forEach(function(e,i){var _iterator4=_createForOfIteratorHelper(e),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _step4$value=babelHelpers.slicedToArray(_step4.value,2),_a3=_step4$value[0],_u4=_step4$value[1];o>_a3?n.notes.push(r.a.Note.create({pitch:i,velocity:_u4,instrument:t,quantizedStartStep:_a3,quantizedEndStep:o,program:_this23.program,isDrum:_this23.isDrum})):s.log("Ignoring zero-length note: (pitch = ".concat(i,", step = ").concat(o,")"),"Performance");}}catch(err){_iterator4.e(err);}finally{_iterator4.f();}}),n.totalQuantizedSteps=o,n;}}],[{key:"fromNoteSequence",value:function fromNoteSequence(t,e,n,r){o.assertIsQuantizedSequence(t);var s=t.notes.filter(function(t,e){return void 0===r||t.instrument===r;}),u=s.sort(function(t,e){return t.startTime===e.startTime?t.pitch-e.pitch:t.startTime-e.startTime;}),c=u.map(function(t,e){return{step:t.quantizedStartStep,index:e,isOffset:0};}),l=u.map(function(t,e){return{step:t.quantizedEndStep,index:e,isOffset:1};}),h=c.concat(l).sort(function(t,e){return t.step===e.step?t.index===e.index?t.isOffset-e.isOffset:t.index-e.index:t.step-e.step;}),p=n?Math.ceil((i.MIDI_VELOCITIES-1)/n):void 0,f=[];var m=0,d=n;var _iterator5=_createForOfIteratorHelper(h),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var _t26=_step5.value;if(_t26.step>m){for(;_t26.step>m+e;){f.push({type:"time-shift",steps:e}),m+=e;}f.push({type:"time-shift",steps:_t26.step-m}),m=_t26.step;}if(_t26.isOffset)f.push({type:"note-off",pitch:u[_t26.index].pitch});else{if(p){var _e14=Math.floor((u[_t26.index].velocity-i.MIN_MIDI_VELOCITY-1)/p)+1;_e14!==d&&(f.push({type:"velocity-change",velocityBin:_e14}),d=_e14);}f.push({type:"note-on",pitch:u[_t26.index].pitch});}}}catch(err){_iterator5.e(err);}finally{_iterator5.f();}var g=!!s.some(function(t){return t.isDrum;})&&(!s.some(function(t){return!t.isDrum;})||void 0),S=Array.from(new Set(s.map(function(t){return t.program;}))),y=g||1!==S.length?void 0:S[0],b=new a(f,e,n,y,g);return b.setNumSteps(t.totalQuantizedSteps),b;}}]);return a;}();},function(t,e,n){"use strict";t.exports=h;var r,i=n(8),o=i.LongBits,s=i.base64,a=i.utf8;function u(t,e,n){this.fn=t,this.len=e,this.next=void 0,this.val=n;}function c(){}function l(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states;}function h(){this.len=0,this.head=new u(c,0,0),this.tail=this.head,this.states=null;}var p=function p(){return i.Buffer?function(){return(h.create=function(){return new r();})();}:function(){return new h();};};function f(t,e,n){e[n]=255&t;}function m(t,e){this.len=t,this.next=void 0,this.val=e;}function d(t,e,n){for(;t.hi;){e[n++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;}for(;t.lo>127;){e[n++]=127&t.lo|128,t.lo=t.lo>>>7;}e[n++]=t.lo;}function g(t,e,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24;}h.create=p(),h.alloc=function(t){return new i.Array(t);},i.Array!==Array&&(h.alloc=i.pool(h.alloc,i.Array.prototype.subarray)),h.prototype._push=function(t,e,n){return this.tail=this.tail.next=new u(t,e,n),this.len+=e,this;},m.prototype=Object.create(u.prototype),m.prototype.fn=function(t,e,n){for(;t>127;){e[n++]=127&t|128,t>>>=7;}e[n]=t;},h.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new m((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this;},h.prototype.int32=function(t){return t<0?this._push(d,10,o.fromNumber(t)):this.uint32(t);},h.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0);},h.prototype.uint64=function(t){var e=o.from(t);return this._push(d,e.length(),e);},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(t){var e=o.from(t).zzEncode();return this._push(d,e.length(),e);},h.prototype.bool=function(t){return this._push(f,1,t?1:0);},h.prototype.fixed32=function(t){return this._push(g,4,t>>>0);},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(t){var e=o.from(t);return this._push(g,4,e.lo)._push(g,4,e.hi);},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(t){return this._push(i.float.writeFloatLE,4,t);},h.prototype.double=function(t){return this._push(i.float.writeDoubleLE,8,t);};var S=i.Array.prototype.set?function(t,e,n){e.set(t,n);}:function(t,e,n){for(var r=0;r>>0;if(!e)return this._push(f,1,0);if(i.isString(t)){var n=h.alloc(e=s.length(t));s.decode(t,n,0),t=n;}return this.uint32(e)._push(S,e,t);},h.prototype.string=function(t){var e=a.length(t);return e?this.uint32(e)._push(a.write,e,t):this._push(f,1,0);},h.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new u(c,0,0),this.len=0,this;},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(c,0,0),this.len=0),this;},h.prototype.ldelim=function(){var t=this.head,e=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=t.next,this.tail=e,this.len+=n),this;},h.prototype.finish=function(){for(var t=this.head.next,e=this.constructor.alloc(this.len),n=0;t;){t.fn(t.val,e,n),n+=t.len,t=t.next;}return e;},h._configure=function(t){r=t,h.create=p(),r._configure();};},function(t,e,n){"use strict";t.exports=u;var r,i=n(8),o=i.LongBits,s=i.utf8;function a(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len);}function u(t){this.buf=t,this.pos=0,this.len=t.length;}var c,l="undefined"!=typeof Uint8Array?function(t){if(babelHelpers.instanceof(t,Uint8Array)||Array.isArray(t))return new u(t);throw Error("illegal buffer");}:function(t){if(Array.isArray(t))return new u(t);throw Error("illegal buffer");},h=function h(){return i.Buffer?function(t){return(u.create=function(t){return i.Buffer.isBuffer(t)?new r(t):l(t);})(t);}:l;};function p(){var t=new o(0,0),e=0;if(!(this.len-this.pos>4)){for(;e<3;++e){if(this.pos>=this.len)throw a(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*e)>>>0,t;}for(;e<4;++e){if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;}if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(e=0,this.len-this.pos>4){for(;e<5;++e){if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t;}}else for(;e<5;++e){if(this.pos>=this.len)throw a(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t;}throw Error("invalid varint encoding");}function f(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0;}function m(){if(this.pos+8>this.len)throw a(this,8);return new o(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4));}u.create=h(),u.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,u.prototype.uint32=(c=4294967295,function(){if(c=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return c;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return c;}),u.prototype.int32=function(){return 0|this.uint32();},u.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0;},u.prototype.bool=function(){return 0!==this.uint32();},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return f(this.buf,this.pos+=4);},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|f(this.buf,this.pos+=4);},u.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var t=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t;},u.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t;},u.prototype.bytes=function(){var t=this.uint32(),e=this.pos,n=this.pos+t;if(n>this.len)throw a(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,n):e===n?new this.buf.constructor(0):this._slice.call(this.buf,e,n);},u.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length);},u.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw a(this,t);this.pos+=t;}else do{if(this.pos>=this.len)throw a(this);}while(128&this.buf[this.pos++]);return this;},u.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());){this.skipType(t);}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos);}return this;},u._configure=function(t){r=t,u.create=h(),r._configure();var e=i.Long?"toLong":"toNumber";i.merge(u.prototype,{int64:function int64(){return p.call(this)[e](!1);},uint64:function uint64(){return p.call(this)[e](!0);},sint64:function sint64(){return p.call(this).zzDecode()[e](!1);},fixed64:function fixed64(){return m.call(this)[e](!0);},sfixed64:function sfixed64(){return m.call(this)[e](!1);}});};},function(t,e,n){"use strict";var r,i,o=n(20),s=o.Reader,a=o.Writer,u=o.util,c=o.roots.default||(o.roots.default={});c.tensorflow=((i={}).magenta=((r={}).NoteSequence=function(){function t(t){if(this.timeSignatures=[],this.keySignatures=[],this.tempos=[],this.notes=[],this.pitchBends=[],this.controlChanges=[],this.partInfos=[],this.textAnnotations=[],this.sectionAnnotations=[],this.sectionGroups=[],t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.id=t.string();break;case 2:r.filename=t.string();break;case 18:r.referenceNumber=u.Long?t.int64().toNumber():t.int64();break;case 3:r.collectionName=t.string();break;case 4:r.ticksPerQuarter=t.int32();break;case 5:r.timeSignatures&&r.timeSignatures.length||(r.timeSignatures=[]),r.timeSignatures.push(c.tensorflow.magenta.NoteSequence.TimeSignature.decode(t,t.uint32()));break;case 6:r.keySignatures&&r.keySignatures.length||(r.keySignatures=[]),r.keySignatures.push(c.tensorflow.magenta.NoteSequence.KeySignature.decode(t,t.uint32()));break;case 7:r.tempos&&r.tempos.length||(r.tempos=[]),r.tempos.push(c.tensorflow.magenta.NoteSequence.Tempo.decode(t,t.uint32()));break;case 8:r.notes&&r.notes.length||(r.notes=[]),r.notes.push(c.tensorflow.magenta.NoteSequence.Note.decode(t,t.uint32()));break;case 9:r.totalTime=t.double();break;case 16:r.totalQuantizedSteps=u.Long?t.int64().toNumber():t.int64();break;case 10:r.pitchBends&&r.pitchBends.length||(r.pitchBends=[]),r.pitchBends.push(c.tensorflow.magenta.NoteSequence.PitchBend.decode(t,t.uint32()));break;case 11:r.controlChanges&&r.controlChanges.length||(r.controlChanges=[]),r.controlChanges.push(c.tensorflow.magenta.NoteSequence.ControlChange.decode(t,t.uint32()));break;case 12:r.partInfos&&r.partInfos.length||(r.partInfos=[]),r.partInfos.push(c.tensorflow.magenta.NoteSequence.PartInfo.decode(t,t.uint32()));break;case 13:r.sourceInfo=c.tensorflow.magenta.NoteSequence.SourceInfo.decode(t,t.uint32());break;case 14:r.textAnnotations&&r.textAnnotations.length||(r.textAnnotations=[]),r.textAnnotations.push(c.tensorflow.magenta.NoteSequence.TextAnnotation.decode(t,t.uint32()));break;case 20:r.sectionAnnotations&&r.sectionAnnotations.length||(r.sectionAnnotations=[]),r.sectionAnnotations.push(c.tensorflow.magenta.NoteSequence.SectionAnnotation.decode(t,t.uint32()));break;case 21:r.sectionGroups&&r.sectionGroups.length||(r.sectionGroups=[]),r.sectionGroups.push(c.tensorflow.magenta.NoteSequence.SectionGroup.decode(t,t.uint32()));break;case 15:r.quantizationInfo=c.tensorflow.magenta.NoteSequence.QuantizationInfo.decode(t,t.uint32());break;case 17:r.subsequenceInfo=c.tensorflow.magenta.NoteSequence.SubsequenceInfo.decode(t,t.uint32());break;case 19:r.sequenceMetadata=c.tensorflow.magenta.SequenceMetadata.decode(t,t.uint32());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.id&&t.hasOwnProperty("id")&&!u.isString(t.id))return"id: string expected";if(null!=t.filename&&t.hasOwnProperty("filename")&&!u.isString(t.filename))return"filename: string expected";if(null!=t.referenceNumber&&t.hasOwnProperty("referenceNumber")&&!(u.isInteger(t.referenceNumber)||t.referenceNumber&&u.isInteger(t.referenceNumber.low)&&u.isInteger(t.referenceNumber.high)))return"referenceNumber: integer|Long expected";if(null!=t.collectionName&&t.hasOwnProperty("collectionName")&&!u.isString(t.collectionName))return"collectionName: string expected";if(null!=t.ticksPerQuarter&&t.hasOwnProperty("ticksPerQuarter")&&!u.isInteger(t.ticksPerQuarter))return"ticksPerQuarter: integer expected";if(null!=t.timeSignatures&&t.hasOwnProperty("timeSignatures")){if(!Array.isArray(t.timeSignatures))return"timeSignatures: array expected";for(var e=0;e>>0,t.referenceNumber.high>>>0).toNumber())),null!=t.collectionName&&(e.collectionName=String(t.collectionName)),null!=t.ticksPerQuarter&&(e.ticksPerQuarter=0|t.ticksPerQuarter),t.timeSignatures){if(!Array.isArray(t.timeSignatures))throw TypeError(".tensorflow.magenta.NoteSequence.timeSignatures: array expected");e.timeSignatures=[];for(var n=0;n>>0,t.totalQuantizedSteps.high>>>0).toNumber())),t.pitchBends){if(!Array.isArray(t.pitchBends))throw TypeError(".tensorflow.magenta.NoteSequence.pitchBends: array expected");for(e.pitchBends=[],n=0;n>>0,t.totalQuantizedSteps.high>>>0).toNumber():t.totalQuantizedSteps),null!=t.subsequenceInfo&&t.hasOwnProperty("subsequenceInfo")&&(n.subsequenceInfo=c.tensorflow.magenta.NoteSequence.SubsequenceInfo.toObject(t.subsequenceInfo,e)),null!=t.referenceNumber&&t.hasOwnProperty("referenceNumber")&&("number"==typeof t.referenceNumber?n.referenceNumber=e.longs===String?String(t.referenceNumber):t.referenceNumber:n.referenceNumber=e.longs===String?u.Long.prototype.toString.call(t.referenceNumber):e.longs===Number?new u.LongBits(t.referenceNumber.low>>>0,t.referenceNumber.high>>>0).toNumber():t.referenceNumber),null!=t.sequenceMetadata&&t.hasOwnProperty("sequenceMetadata")&&(n.sequenceMetadata=c.tensorflow.magenta.SequenceMetadata.toObject(t.sequenceMetadata,e)),t.sectionAnnotations&&t.sectionAnnotations.length)for(n.sectionAnnotations=[],i=0;i>>3){case 1:r.pitch=t.int32();break;case 11:r.pitchName=t.int32();break;case 2:r.velocity=t.int32();break;case 3:r.startTime=t.double();break;case 13:r.quantizedStartStep=u.Long?t.int64().toNumber():t.int64();break;case 4:r.endTime=t.double();break;case 14:r.quantizedEndStep=u.Long?t.int64().toNumber():t.int64();break;case 5:r.numerator=t.int32();break;case 6:r.denominator=t.int32();break;case 7:r.instrument=t.int32();break;case 8:r.program=t.int32();break;case 9:r.isDrum=t.bool();break;case 10:r.part=t.int32();break;case 12:r.voice=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.pitch&&t.hasOwnProperty("pitch")&&!u.isInteger(t.pitch))return"pitch: integer expected";if(null!=t.pitchName&&t.hasOwnProperty("pitchName"))switch(t.pitchName){default:return"pitchName: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:}return null!=t.velocity&&t.hasOwnProperty("velocity")&&!u.isInteger(t.velocity)?"velocity: integer expected":null!=t.startTime&&t.hasOwnProperty("startTime")&&"number"!=typeof t.startTime?"startTime: number expected":null!=t.quantizedStartStep&&t.hasOwnProperty("quantizedStartStep")&&!(u.isInteger(t.quantizedStartStep)||t.quantizedStartStep&&u.isInteger(t.quantizedStartStep.low)&&u.isInteger(t.quantizedStartStep.high))?"quantizedStartStep: integer|Long expected":null!=t.endTime&&t.hasOwnProperty("endTime")&&"number"!=typeof t.endTime?"endTime: number expected":null!=t.quantizedEndStep&&t.hasOwnProperty("quantizedEndStep")&&!(u.isInteger(t.quantizedEndStep)||t.quantizedEndStep&&u.isInteger(t.quantizedEndStep.low)&&u.isInteger(t.quantizedEndStep.high))?"quantizedEndStep: integer|Long expected":null!=t.numerator&&t.hasOwnProperty("numerator")&&!u.isInteger(t.numerator)?"numerator: integer expected":null!=t.denominator&&t.hasOwnProperty("denominator")&&!u.isInteger(t.denominator)?"denominator: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null!=t.part&&t.hasOwnProperty("part")&&!u.isInteger(t.part)?"part: integer expected":null!=t.voice&&t.hasOwnProperty("voice")&&!u.isInteger(t.voice)?"voice: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Note))return t;var e=new c.tensorflow.magenta.NoteSequence.Note();switch(null!=t.pitch&&(e.pitch=0|t.pitch),t.pitchName){case"UNKNOWN_PITCH_NAME":case 0:e.pitchName=0;break;case"F_FLAT_FLAT":case 1:e.pitchName=1;break;case"C_FLAT_FLAT":case 2:e.pitchName=2;break;case"G_FLAT_FLAT":case 3:e.pitchName=3;break;case"D_FLAT_FLAT":case 4:e.pitchName=4;break;case"A_FLAT_FLAT":case 5:e.pitchName=5;break;case"E_FLAT_FLAT":case 6:e.pitchName=6;break;case"B_FLAT_FLAT":case 7:e.pitchName=7;break;case"F_FLAT":case 8:e.pitchName=8;break;case"C_FLAT":case 9:e.pitchName=9;break;case"G_FLAT":case 10:e.pitchName=10;break;case"D_FLAT":case 11:e.pitchName=11;break;case"A_FLAT":case 12:e.pitchName=12;break;case"E_FLAT":case 13:e.pitchName=13;break;case"B_FLAT":case 14:e.pitchName=14;break;case"F":case 15:e.pitchName=15;break;case"C":case 16:e.pitchName=16;break;case"G":case 17:e.pitchName=17;break;case"D":case 18:e.pitchName=18;break;case"A":case 19:e.pitchName=19;break;case"E":case 20:e.pitchName=20;break;case"B":case 21:e.pitchName=21;break;case"F_SHARP":case 22:e.pitchName=22;break;case"C_SHARP":case 23:e.pitchName=23;break;case"G_SHARP":case 24:e.pitchName=24;break;case"D_SHARP":case 25:e.pitchName=25;break;case"A_SHARP":case 26:e.pitchName=26;break;case"E_SHARP":case 27:e.pitchName=27;break;case"B_SHARP":case 28:e.pitchName=28;break;case"F_SHARP_SHARP":case 29:e.pitchName=29;break;case"C_SHARP_SHARP":case 30:e.pitchName=30;break;case"G_SHARP_SHARP":case 31:e.pitchName=31;break;case"D_SHARP_SHARP":case 32:e.pitchName=32;break;case"A_SHARP_SHARP":case 33:e.pitchName=33;break;case"E_SHARP_SHARP":case 34:e.pitchName=34;break;case"B_SHARP_SHARP":case 35:e.pitchName=35;}return null!=t.velocity&&(e.velocity=0|t.velocity),null!=t.startTime&&(e.startTime=Number(t.startTime)),null!=t.quantizedStartStep&&(u.Long?(e.quantizedStartStep=u.Long.fromValue(t.quantizedStartStep)).unsigned=!1:"string"==typeof t.quantizedStartStep?e.quantizedStartStep=parseInt(t.quantizedStartStep,10):"number"==typeof t.quantizedStartStep?e.quantizedStartStep=t.quantizedStartStep:"object"==babelHelpers.typeof(t.quantizedStartStep)&&(e.quantizedStartStep=new u.LongBits(t.quantizedStartStep.low>>>0,t.quantizedStartStep.high>>>0).toNumber())),null!=t.endTime&&(e.endTime=Number(t.endTime)),null!=t.quantizedEndStep&&(u.Long?(e.quantizedEndStep=u.Long.fromValue(t.quantizedEndStep)).unsigned=!1:"string"==typeof t.quantizedEndStep?e.quantizedEndStep=parseInt(t.quantizedEndStep,10):"number"==typeof t.quantizedEndStep?e.quantizedEndStep=t.quantizedEndStep:"object"==babelHelpers.typeof(t.quantizedEndStep)&&(e.quantizedEndStep=new u.LongBits(t.quantizedEndStep.low>>>0,t.quantizedEndStep.high>>>0).toNumber())),null!=t.numerator&&(e.numerator=0|t.numerator),null!=t.denominator&&(e.denominator=0|t.denominator),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),null!=t.part&&(e.part=0|t.part),null!=t.voice&&(e.voice=0|t.voice),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults){if(n.pitch=0,n.velocity=0,n.startTime=0,n.endTime=0,n.numerator=0,n.denominator=0,n.instrument=0,n.program=0,n.isDrum=!1,n.part=0,n.pitchName=e.enums===String?"UNKNOWN_PITCH_NAME":0,n.voice=0,u.Long){var r=new u.Long(0,0,!1);n.quantizedStartStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStartStep=e.longs===String?"0":0;u.Long?(r=new u.Long(0,0,!1),n.quantizedEndStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r):n.quantizedEndStep=e.longs===String?"0":0;}return null!=t.pitch&&t.hasOwnProperty("pitch")&&(n.pitch=t.pitch),null!=t.velocity&&t.hasOwnProperty("velocity")&&(n.velocity=t.velocity),null!=t.startTime&&t.hasOwnProperty("startTime")&&(n.startTime=e.json&&!isFinite(t.startTime)?String(t.startTime):t.startTime),null!=t.endTime&&t.hasOwnProperty("endTime")&&(n.endTime=e.json&&!isFinite(t.endTime)?String(t.endTime):t.endTime),null!=t.numerator&&t.hasOwnProperty("numerator")&&(n.numerator=t.numerator),null!=t.denominator&&t.hasOwnProperty("denominator")&&(n.denominator=t.denominator),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),null!=t.part&&t.hasOwnProperty("part")&&(n.part=t.part),null!=t.pitchName&&t.hasOwnProperty("pitchName")&&(n.pitchName=e.enums===String?c.tensorflow.magenta.NoteSequence.PitchName[t.pitchName]:t.pitchName),null!=t.voice&&t.hasOwnProperty("voice")&&(n.voice=t.voice),null!=t.quantizedStartStep&&t.hasOwnProperty("quantizedStartStep")&&("number"==typeof t.quantizedStartStep?n.quantizedStartStep=e.longs===String?String(t.quantizedStartStep):t.quantizedStartStep:n.quantizedStartStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStartStep):e.longs===Number?new u.LongBits(t.quantizedStartStep.low>>>0,t.quantizedStartStep.high>>>0).toNumber():t.quantizedStartStep),null!=t.quantizedEndStep&&t.hasOwnProperty("quantizedEndStep")&&("number"==typeof t.quantizedEndStep?n.quantizedEndStep=e.longs===String?String(t.quantizedEndStep):t.quantizedEndStep:n.quantizedEndStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedEndStep):e.longs===Number?new u.LongBits(t.quantizedEndStep.low>>>0,t.quantizedEndStep.high>>>0).toNumber():t.quantizedEndStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PitchName=(e={},(n=Object.create(e))[e[0]="UNKNOWN_PITCH_NAME"]=0,n[e[1]="F_FLAT_FLAT"]=1,n[e[2]="C_FLAT_FLAT"]=2,n[e[3]="G_FLAT_FLAT"]=3,n[e[4]="D_FLAT_FLAT"]=4,n[e[5]="A_FLAT_FLAT"]=5,n[e[6]="E_FLAT_FLAT"]=6,n[e[7]="B_FLAT_FLAT"]=7,n[e[8]="F_FLAT"]=8,n[e[9]="C_FLAT"]=9,n[e[10]="G_FLAT"]=10,n[e[11]="D_FLAT"]=11,n[e[12]="A_FLAT"]=12,n[e[13]="E_FLAT"]=13,n[e[14]="B_FLAT"]=14,n[e[15]="F"]=15,n[e[16]="C"]=16,n[e[17]="G"]=17,n[e[18]="D"]=18,n[e[19]="A"]=19,n[e[20]="E"]=20,n[e[21]="B"]=21,n[e[22]="F_SHARP"]=22,n[e[23]="C_SHARP"]=23,n[e[24]="G_SHARP"]=24,n[e[25]="D_SHARP"]=25,n[e[26]="A_SHARP"]=26,n[e[27]="E_SHARP"]=27,n[e[28]="B_SHARP"]=28,n[e[29]="F_SHARP_SHARP"]=29,n[e[30]="C_SHARP_SHARP"]=30,n[e[31]="G_SHARP_SHARP"]=31,n[e[32]="D_SHARP_SHARP"]=32,n[e[33]="A_SHARP_SHARP"]=33,n[e[34]="E_SHARP_SHARP"]=34,n[e[35]="B_SHARP_SHARP"]=35,n),t.TimeSignature=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.numerator=t.int32();break;case 3:r.denominator=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.numerator&&t.hasOwnProperty("numerator")&&!u.isInteger(t.numerator)?"numerator: integer expected":null!=t.denominator&&t.hasOwnProperty("denominator")&&!u.isInteger(t.denominator)?"denominator: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.TimeSignature))return t;var e=new c.tensorflow.magenta.NoteSequence.TimeSignature();return null!=t.time&&(e.time=Number(t.time)),null!=t.numerator&&(e.numerator=0|t.numerator),null!=t.denominator&&(e.denominator=0|t.denominator),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.numerator=0,n.denominator=0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.numerator&&t.hasOwnProperty("numerator")&&(n.numerator=t.numerator),null!=t.denominator&&t.hasOwnProperty("denominator")&&(n.denominator=t.denominator),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.KeySignature=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.key=t.int32();break;case 3:r.mode=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time)return"time: number expected";if(null!=t.key&&t.hasOwnProperty("key"))switch(t.key){default:return"key: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 6:case 7:case 8:case 8:case 9:case 10:case 10:case 11:}if(null!=t.mode&&t.hasOwnProperty("mode"))switch(t.mode){default:return"mode: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.KeySignature))return t;var e=new c.tensorflow.magenta.NoteSequence.KeySignature();switch(null!=t.time&&(e.time=Number(t.time)),t.key){case"C":case 0:e.key=0;break;case"C_SHARP":case 1:e.key=1;break;case"D_FLAT":case 1:e.key=1;break;case"D":case 2:e.key=2;break;case"D_SHARP":case 3:e.key=3;break;case"E_FLAT":case 3:e.key=3;break;case"E":case 4:e.key=4;break;case"F":case 5:e.key=5;break;case"F_SHARP":case 6:e.key=6;break;case"G_FLAT":case 6:e.key=6;break;case"G":case 7:e.key=7;break;case"G_SHARP":case 8:e.key=8;break;case"A_FLAT":case 8:e.key=8;break;case"A":case 9:e.key=9;break;case"A_SHARP":case 10:e.key=10;break;case"B_FLAT":case 10:e.key=10;break;case"B":case 11:e.key=11;}switch(t.mode){case"MAJOR":case 0:e.mode=0;break;case"MINOR":case 1:e.mode=1;break;case"NOT_SPECIFIED":case 2:e.mode=2;break;case"MIXOLYDIAN":case 3:e.mode=3;break;case"DORIAN":case 4:e.mode=4;break;case"PHRYGIAN":case 5:e.mode=5;break;case"LYDIAN":case 6:e.mode=6;break;case"LOCRIAN":case 7:e.mode=7;}return e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.key=e.enums===String?"C":0,n.mode=e.enums===String?"MAJOR":0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.key&&t.hasOwnProperty("key")&&(n.key=e.enums===String?c.tensorflow.magenta.NoteSequence.KeySignature.Key[t.key]:t.key),null!=t.mode&&t.hasOwnProperty("mode")&&(n.mode=e.enums===String?c.tensorflow.magenta.NoteSequence.KeySignature.Mode[t.mode]:t.mode),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.Key=function(){var t={},e=Object.create(t);return e[t[0]="C"]=0,e[t[1]="C_SHARP"]=1,e.D_FLAT=1,e[t[2]="D"]=2,e[t[3]="D_SHARP"]=3,e.E_FLAT=3,e[t[4]="E"]=4,e[t[5]="F"]=5,e[t[6]="F_SHARP"]=6,e.G_FLAT=6,e[t[7]="G"]=7,e[t[8]="G_SHARP"]=8,e.A_FLAT=8,e[t[9]="A"]=9,e[t[10]="A_SHARP"]=10,e.B_FLAT=10,e[t[11]="B"]=11,e;}(),t.Mode=function(){var t={},e=Object.create(t);return e[t[0]="MAJOR"]=0,e[t[1]="MINOR"]=1,e[t[2]="NOT_SPECIFIED"]=2,e[t[3]="MIXOLYDIAN"]=3,e[t[4]="DORIAN"]=4,e[t[5]="PHRYGIAN"]=5,e[t[6]="LYDIAN"]=6,e[t[7]="LOCRIAN"]=7,e;}(),t;}(),t.Tempo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.qpm=t.double();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.qpm&&t.hasOwnProperty("qpm")&&"number"!=typeof t.qpm?"qpm: number expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Tempo))return t;var e=new c.tensorflow.magenta.NoteSequence.Tempo();return null!=t.time&&(e.time=Number(t.time)),null!=t.qpm&&(e.qpm=Number(t.qpm)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.qpm=0),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.qpm&&t.hasOwnProperty("qpm")&&(n.qpm=e.json&&!isFinite(t.qpm)?String(t.qpm):t.qpm),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PitchBend=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 2:r.bend=t.int32();break;case 3:r.instrument=t.int32();break;case 4:r.program=t.int32();break;case 5:r.isDrum=t.bool();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.bend&&t.hasOwnProperty("bend")&&!u.isInteger(t.bend)?"bend: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.PitchBend))return t;var e=new c.tensorflow.magenta.NoteSequence.PitchBend();return null!=t.time&&(e.time=Number(t.time)),null!=t.bend&&(e.bend=0|t.bend),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.time=0,n.bend=0,n.instrument=0,n.program=0,n.isDrum=!1),null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.bend&&t.hasOwnProperty("bend")&&(n.bend=t.bend),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.ControlChange=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 7:r.quantizedStep=u.Long?t.int64().toNumber():t.int64();break;case 2:r.controlNumber=t.int32();break;case 3:r.controlValue=t.int32();break;case 4:r.instrument=t.int32();break;case 5:r.program=t.int32();break;case 6:r.isDrum=t.bool();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&!(u.isInteger(t.quantizedStep)||t.quantizedStep&&u.isInteger(t.quantizedStep.low)&&u.isInteger(t.quantizedStep.high))?"quantizedStep: integer|Long expected":null!=t.controlNumber&&t.hasOwnProperty("controlNumber")&&!u.isInteger(t.controlNumber)?"controlNumber: integer expected":null!=t.controlValue&&t.hasOwnProperty("controlValue")&&!u.isInteger(t.controlValue)?"controlValue: integer expected":null!=t.instrument&&t.hasOwnProperty("instrument")&&!u.isInteger(t.instrument)?"instrument: integer expected":null!=t.program&&t.hasOwnProperty("program")&&!u.isInteger(t.program)?"program: integer expected":null!=t.isDrum&&t.hasOwnProperty("isDrum")&&"boolean"!=typeof t.isDrum?"isDrum: boolean expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.ControlChange))return t;var e=new c.tensorflow.magenta.NoteSequence.ControlChange();return null!=t.time&&(e.time=Number(t.time)),null!=t.quantizedStep&&(u.Long?(e.quantizedStep=u.Long.fromValue(t.quantizedStep)).unsigned=!1:"string"==typeof t.quantizedStep?e.quantizedStep=parseInt(t.quantizedStep,10):"number"==typeof t.quantizedStep?e.quantizedStep=t.quantizedStep:"object"==babelHelpers.typeof(t.quantizedStep)&&(e.quantizedStep=new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber())),null!=t.controlNumber&&(e.controlNumber=0|t.controlNumber),null!=t.controlValue&&(e.controlValue=0|t.controlValue),null!=t.instrument&&(e.instrument=0|t.instrument),null!=t.program&&(e.program=0|t.program),null!=t.isDrum&&(e.isDrum=Boolean(t.isDrum)),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,n.controlNumber=0,n.controlValue=0,n.instrument=0,n.program=0,n.isDrum=!1,u.Long){var r=new u.Long(0,0,!1);n.quantizedStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStep=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.controlNumber&&t.hasOwnProperty("controlNumber")&&(n.controlNumber=t.controlNumber),null!=t.controlValue&&t.hasOwnProperty("controlValue")&&(n.controlValue=t.controlValue),null!=t.instrument&&t.hasOwnProperty("instrument")&&(n.instrument=t.instrument),null!=t.program&&t.hasOwnProperty("program")&&(n.program=t.program),null!=t.isDrum&&t.hasOwnProperty("isDrum")&&(n.isDrum=t.isDrum),null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&("number"==typeof t.quantizedStep?n.quantizedStep=e.longs===String?String(t.quantizedStep):t.quantizedStep:n.quantizedStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStep):e.longs===Number?new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber():t.quantizedStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.PartInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.part=t.int32();break;case 2:r.name=t.string();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.part&&t.hasOwnProperty("part")&&!u.isInteger(t.part)?"part: integer expected":null!=t.name&&t.hasOwnProperty("name")&&!u.isString(t.name)?"name: string expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.PartInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.PartInfo();return null!=t.part&&(e.part=0|t.part),null!=t.name&&(e.name=String(t.name)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.part=0,n.name=""),null!=t.part&&t.hasOwnProperty("part")&&(n.part=t.part),null!=t.name&&t.hasOwnProperty("name")&&(n.name=t.name),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SourceInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sourceType=t.int32();break;case 2:r.encodingType=t.int32();break;case 3:r.parser=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.sourceType&&t.hasOwnProperty("sourceType"))switch(t.sourceType){default:return"sourceType: enum value expected";case 0:case 1:case 2:}if(null!=t.encodingType&&t.hasOwnProperty("encodingType"))switch(t.encodingType){default:return"encodingType: enum value expected";case 0:case 1:case 2:case 3:case 4:}if(null!=t.parser&&t.hasOwnProperty("parser"))switch(t.parser){default:return"parser: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SourceInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.SourceInfo();switch(t.sourceType){case"UNKNOWN_SOURCE_TYPE":case 0:e.sourceType=0;break;case"SCORE_BASED":case 1:e.sourceType=1;break;case"PERFORMANCE_BASED":case 2:e.sourceType=2;}switch(t.encodingType){case"UNKNOWN_ENCODING_TYPE":case 0:e.encodingType=0;break;case"MUSIC_XML":case 1:e.encodingType=1;break;case"ABC":case 2:e.encodingType=2;break;case"MIDI":case 3:e.encodingType=3;break;case"MUSICNET":case 4:e.encodingType=4;}switch(t.parser){case"UNKNOWN_PARSER":case 0:e.parser=0;break;case"MUSIC21":case 1:e.parser=1;break;case"PRETTY_MIDI":case 2:e.parser=2;break;case"MAGENTA_MUSIC_XML":case 3:e.parser=3;break;case"MAGENTA_MUSICNET":case 4:e.parser=4;break;case"MAGENTA_ABC":case 5:e.parser=5;break;case"TONEJS_MIDI_CONVERT":case 6:e.parser=6;}return e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.sourceType=e.enums===String?"UNKNOWN_SOURCE_TYPE":0,n.encodingType=e.enums===String?"UNKNOWN_ENCODING_TYPE":0,n.parser=e.enums===String?"UNKNOWN_PARSER":0),null!=t.sourceType&&t.hasOwnProperty("sourceType")&&(n.sourceType=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.SourceType[t.sourceType]:t.sourceType),null!=t.encodingType&&t.hasOwnProperty("encodingType")&&(n.encodingType=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.EncodingType[t.encodingType]:t.encodingType),null!=t.parser&&t.hasOwnProperty("parser")&&(n.parser=e.enums===String?c.tensorflow.magenta.NoteSequence.SourceInfo.Parser[t.parser]:t.parser),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.SourceType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_SOURCE_TYPE"]=0,e[t[1]="SCORE_BASED"]=1,e[t[2]="PERFORMANCE_BASED"]=2,e;}(),t.EncodingType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_ENCODING_TYPE"]=0,e[t[1]="MUSIC_XML"]=1,e[t[2]="ABC"]=2,e[t[3]="MIDI"]=3,e[t[4]="MUSICNET"]=4,e;}(),t.Parser=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN_PARSER"]=0,e[t[1]="MUSIC21"]=1,e[t[2]="PRETTY_MIDI"]=2,e[t[3]="MAGENTA_MUSIC_XML"]=3,e[t[4]="MAGENTA_MUSICNET"]=4,e[t[5]="MAGENTA_ABC"]=5,e[t[6]="TONEJS_MIDI_CONVERT"]=6,e;}(),t;}(),t.TextAnnotation=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 4:r.quantizedStep=u.Long?t.int64().toNumber():t.int64();break;case 2:r.text=t.string();break;case 3:r.annotationType=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time)return"time: number expected";if(null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&!(u.isInteger(t.quantizedStep)||t.quantizedStep&&u.isInteger(t.quantizedStep.low)&&u.isInteger(t.quantizedStep.high)))return"quantizedStep: integer|Long expected";if(null!=t.text&&t.hasOwnProperty("text")&&!u.isString(t.text))return"text: string expected";if(null!=t.annotationType&&t.hasOwnProperty("annotationType"))switch(t.annotationType){default:return"annotationType: enum value expected";case 0:case 1:case 2:}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.TextAnnotation))return t;var e=new c.tensorflow.magenta.NoteSequence.TextAnnotation();switch(null!=t.time&&(e.time=Number(t.time)),null!=t.quantizedStep&&(u.Long?(e.quantizedStep=u.Long.fromValue(t.quantizedStep)).unsigned=!1:"string"==typeof t.quantizedStep?e.quantizedStep=parseInt(t.quantizedStep,10):"number"==typeof t.quantizedStep?e.quantizedStep=t.quantizedStep:"object"==babelHelpers.typeof(t.quantizedStep)&&(e.quantizedStep=new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber())),null!=t.text&&(e.text=String(t.text)),t.annotationType){case"UNKNOWN":case 0:e.annotationType=0;break;case"CHORD_SYMBOL":case 1:e.annotationType=1;break;case"BEAT":case 2:e.annotationType=2;}return e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,n.text="",n.annotationType=e.enums===String?"UNKNOWN":0,u.Long){var r=new u.Long(0,0,!1);n.quantizedStep=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.quantizedStep=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.text&&t.hasOwnProperty("text")&&(n.text=t.text),null!=t.annotationType&&t.hasOwnProperty("annotationType")&&(n.annotationType=e.enums===String?c.tensorflow.magenta.NoteSequence.TextAnnotation.TextAnnotationType[t.annotationType]:t.annotationType),null!=t.quantizedStep&&t.hasOwnProperty("quantizedStep")&&("number"==typeof t.quantizedStep?n.quantizedStep=e.longs===String?String(t.quantizedStep):t.quantizedStep:n.quantizedStep=e.longs===String?u.Long.prototype.toString.call(t.quantizedStep):e.longs===Number?new u.LongBits(t.quantizedStep.low>>>0,t.quantizedStep.high>>>0).toNumber():t.quantizedStep),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t.TextAnnotationType=function(){var t={},e=Object.create(t);return e[t[0]="UNKNOWN"]=0,e[t[1]="CHORD_SYMBOL"]=1,e[t[2]="BEAT"]=2,e;}(),t;}(),t.QuantizationInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.stepsPerQuarter=t.int32();break;case 2:r.stepsPerSecond=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";var e={};if(null!=t.stepsPerQuarter&&t.hasOwnProperty("stepsPerQuarter")&&(e.resolution=1,!u.isInteger(t.stepsPerQuarter)))return"stepsPerQuarter: integer expected";if(null!=t.stepsPerSecond&&t.hasOwnProperty("stepsPerSecond")){if(1===e.resolution)return"resolution: multiple values";if(e.resolution=1,!u.isInteger(t.stepsPerSecond))return"stepsPerSecond: integer expected";}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.QuantizationInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.QuantizationInfo();return null!=t.stepsPerQuarter&&(e.stepsPerQuarter=0|t.stepsPerQuarter),null!=t.stepsPerSecond&&(e.stepsPerSecond=0|t.stepsPerSecond),e;},t.toObject=function(t,e){e||(e={});var n={};return null!=t.stepsPerQuarter&&t.hasOwnProperty("stepsPerQuarter")&&(n.stepsPerQuarter=t.stepsPerQuarter,e.oneofs&&(n.resolution="stepsPerQuarter")),null!=t.stepsPerSecond&&t.hasOwnProperty("stepsPerSecond")&&(n.stepsPerSecond=t.stepsPerSecond,e.oneofs&&(n.resolution="stepsPerSecond")),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SubsequenceInfo=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.startTimeOffset=t.double();break;case 2:r.endTimeOffset=t.double();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.startTimeOffset&&t.hasOwnProperty("startTimeOffset")&&"number"!=typeof t.startTimeOffset?"startTimeOffset: number expected":null!=t.endTimeOffset&&t.hasOwnProperty("endTimeOffset")&&"number"!=typeof t.endTimeOffset?"endTimeOffset: number expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SubsequenceInfo))return t;var e=new c.tensorflow.magenta.NoteSequence.SubsequenceInfo();return null!=t.startTimeOffset&&(e.startTimeOffset=Number(t.startTimeOffset)),null!=t.endTimeOffset&&(e.endTimeOffset=Number(t.endTimeOffset)),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.startTimeOffset=0,n.endTimeOffset=0),null!=t.startTimeOffset&&t.hasOwnProperty("startTimeOffset")&&(n.startTimeOffset=e.json&&!isFinite(t.startTimeOffset)?String(t.startTimeOffset):t.startTimeOffset),null!=t.endTimeOffset&&t.hasOwnProperty("endTimeOffset")&&(n.endTimeOffset=e.json&&!isFinite(t.endTimeOffset)?String(t.endTimeOffset):t.endTimeOffset),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SectionAnnotation=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.time=t.double();break;case 4:r.sectionId=u.Long?t.int64().toNumber():t.int64();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.time&&t.hasOwnProperty("time")&&"number"!=typeof t.time?"time: number expected":null!=t.sectionId&&t.hasOwnProperty("sectionId")&&!(u.isInteger(t.sectionId)||t.sectionId&&u.isInteger(t.sectionId.low)&&u.isInteger(t.sectionId.high))?"sectionId: integer|Long expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.SectionAnnotation))return t;var e=new c.tensorflow.magenta.NoteSequence.SectionAnnotation();return null!=t.time&&(e.time=Number(t.time)),null!=t.sectionId&&(u.Long?(e.sectionId=u.Long.fromValue(t.sectionId)).unsigned=!1:"string"==typeof t.sectionId?e.sectionId=parseInt(t.sectionId,10):"number"==typeof t.sectionId?e.sectionId=t.sectionId:"object"==babelHelpers.typeof(t.sectionId)&&(e.sectionId=new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber())),e;},t.toObject=function(t,e){e||(e={});var n={};if(e.defaults)if(n.time=0,u.Long){var r=new u.Long(0,0,!1);n.sectionId=e.longs===String?r.toString():e.longs===Number?r.toNumber():r;}else n.sectionId=e.longs===String?"0":0;return null!=t.time&&t.hasOwnProperty("time")&&(n.time=e.json&&!isFinite(t.time)?String(t.time):t.time),null!=t.sectionId&&t.hasOwnProperty("sectionId")&&("number"==typeof t.sectionId?n.sectionId=e.longs===String?String(t.sectionId):t.sectionId:n.sectionId=e.longs===String?u.Long.prototype.toString.call(t.sectionId):e.longs===Number?new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber():t.sectionId),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.Section=function(){function t(t){if(t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sectionId=u.Long?t.int64().toNumber():t.int64();break;case 2:r.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.decode(t,t.uint32());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";var e={};if(null!=t.sectionId&&t.hasOwnProperty("sectionId")&&(e.sectionType=1,!(u.isInteger(t.sectionId)||t.sectionId&&u.isInteger(t.sectionId.low)&&u.isInteger(t.sectionId.high))))return"sectionId: integer|Long expected";if(null!=t.sectionGroup&&t.hasOwnProperty("sectionGroup")){if(1===e.sectionType)return"sectionType: multiple values";e.sectionType=1;var n=c.tensorflow.magenta.NoteSequence.SectionGroup.verify(t.sectionGroup);if(n)return"sectionGroup."+n;}return null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.NoteSequence.Section))return t;var e=new c.tensorflow.magenta.NoteSequence.Section();if(null!=t.sectionId&&(u.Long?(e.sectionId=u.Long.fromValue(t.sectionId)).unsigned=!1:"string"==typeof t.sectionId?e.sectionId=parseInt(t.sectionId,10):"number"==typeof t.sectionId?e.sectionId=t.sectionId:"object"==babelHelpers.typeof(t.sectionId)&&(e.sectionId=new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber())),null!=t.sectionGroup){if("object"!=babelHelpers.typeof(t.sectionGroup))throw TypeError(".tensorflow.magenta.NoteSequence.Section.sectionGroup: object expected");e.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.fromObject(t.sectionGroup);}return e;},t.toObject=function(t,e){e||(e={});var n={};return null!=t.sectionId&&t.hasOwnProperty("sectionId")&&("number"==typeof t.sectionId?n.sectionId=e.longs===String?String(t.sectionId):t.sectionId:n.sectionId=e.longs===String?u.Long.prototype.toString.call(t.sectionId):e.longs===Number?new u.LongBits(t.sectionId.low>>>0,t.sectionId.high>>>0).toNumber():t.sectionId,e.oneofs&&(n.sectionType="sectionId")),null!=t.sectionGroup&&t.hasOwnProperty("sectionGroup")&&(n.sectionGroup=c.tensorflow.magenta.NoteSequence.SectionGroup.toObject(t.sectionGroup,e),e.oneofs&&(n.sectionType="sectionGroup")),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),t.SectionGroup=function(){function t(t){if(this.sections=[],t)for(var e=Object.keys(t),n=0;n>>3){case 1:r.sections&&r.sections.length||(r.sections=[]),r.sections.push(c.tensorflow.magenta.NoteSequence.Section.decode(t,t.uint32()));break;case 2:r.numTimes=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.sections&&t.hasOwnProperty("sections")){if(!Array.isArray(t.sections))return"sections: array expected";for(var e=0;e>>3){case 1:r.title=t.string();break;case 2:r.artist=t.string();break;case 3:r.genre&&r.genre.length||(r.genre=[]),r.genre.push(t.string());break;case 4:r.composers&&r.composers.length||(r.composers=[]),r.composers.push(t.string());break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){if("object"!=babelHelpers.typeof(t)||null===t)return"object expected";if(null!=t.title&&t.hasOwnProperty("title")&&!u.isString(t.title))return"title: string expected";if(null!=t.artist&&t.hasOwnProperty("artist")&&!u.isString(t.artist))return"artist: string expected";if(null!=t.genre&&t.hasOwnProperty("genre")){if(!Array.isArray(t.genre))return"genre: array expected";for(var e=0;e>>3){case 1:r.min=t.int32();break;case 2:r.max=t.int32();break;default:t.skipType(7&i);}}return r;},t.decodeDelimited=function(t){return babelHelpers.instanceof(t,s)||(t=new s(t)),this.decode(t,t.uint32());},t.verify=function(t){return"object"!=babelHelpers.typeof(t)||null===t?"object expected":null!=t.min&&t.hasOwnProperty("min")&&!u.isInteger(t.min)?"min: integer expected":null!=t.max&&t.hasOwnProperty("max")&&!u.isInteger(t.max)?"max: integer expected":null;},t.fromObject=function(t){if(babelHelpers.instanceof(t,c.tensorflow.magenta.VelocityRange))return t;var e=new c.tensorflow.magenta.VelocityRange();return null!=t.min&&(e.min=0|t.min),null!=t.max&&(e.max=0|t.max),e;},t.toObject=function(t,e){e||(e={});var n={};return e.defaults&&(n.min=0,n.max=0),null!=t.min&&t.hasOwnProperty("min")&&(n.min=t.min),null!=t.max&&t.hasOwnProperty("max")&&(n.max=t.max),n;},t.prototype.toJSON=function(){return this.constructor.toObject(this,o.util.toJSONOptions);},t;}(),r),i),t.exports=c;},,function(t,e,n){"use strict";n.r(e),n.d(e,"ChordQuality",function(){return vt;}),n.d(e,"ChordSymbolException",function(){return Nt;}),n.d(e,"ChordEncodingException",function(){return Tt;}),n.d(e,"ChordSymbols",function(){return Ot;}),n.d(e,"ChordEncoder",function(){return It;}),n.d(e,"chordEncoderFromType",function(){return Mt;}),n.d(e,"MajorMinorChordEncoder",function(){return At;}),n.d(e,"TriadChordEncoder",function(){return kt;}),n.d(e,"PitchChordEncoder",function(){return qt;});var r={};n.r(r),n.d(r,"names",function(){return a;}),n.d(r,"tokenize",function(){return h;}),n.d(r,"props",function(){return m;}),n.d(r,"name",function(){return d;}),n.d(r,"pc",function(){return g;}),n.d(r,"midi",function(){return S;}),n.d(r,"midiToFreq",function(){return y;}),n.d(r,"freq",function(){return b;}),n.d(r,"freqToMidi",function(){return v;}),n.d(r,"chroma",function(){return N;}),n.d(r,"oct",function(){return T;}),n.d(r,"stepToLetter",function(){return O;}),n.d(r,"altToAcc",function(){return M;}),n.d(r,"from",function(){return A;}),n.d(r,"build",function(){return k;}),n.d(r,"fromMidi",function(){return q;}),n.d(r,"simplify",function(){return E;}),n.d(r,"enharmonic",function(){return _;});var i={};n.r(i),n.d(i,"names",function(){return lt;}),n.d(i,"props",function(){return pt;}),n.d(i,"intervals",function(){return ft;}),n.d(i,"notes",function(){return mt;}),n.d(i,"exists",function(){return dt;}),n.d(i,"supersets",function(){return gt;}),n.d(i,"subsets",function(){return St;}),n.d(i,"tokenize",function(){return bt;});var o=n(0),s="C C# Db D D# Eb E F F# Gb G G# Ab A A# Bb B".split(" "),a=function a(t){return"string"!=typeof t?s.slice():s.filter(function(e){var n=e[1]||" ";return-1!==t.indexOf(n);});},u=a(" #"),c=a(" b"),l=/^([a-gA-G]?)(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)$/;function h(t){"string"!=typeof t&&(t="");var e=l.exec(t);return[e[1].toUpperCase(),e[2].replace(/x/g,"##"),e[3],e[4]];}var p=Object.freeze({pc:null,name:null,step:null,alt:null,oct:null,octStr:null,chroma:null,midi:null,freq:null}),f=[0,2,4,5,7,9,11],m=function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(t){var e=h(t);if(""===e[0]||""!==e[3])return p;var n=e[0],r=e[1],i=e[2],o={letter:n,acc:r,octStr:i,pc:n+r,name:n+r+i,step:(n.charCodeAt(0)+3)%7,alt:"b"===r[0]?-r.length:r.length,oct:i.length?+i:null,chroma:0,midi:null,freq:null};return o.chroma=(f[o.step]+o.alt+120)%12,o.midi=null!==o.oct?f[o.step]+o.alt+12*(o.oct+1):null,o.freq=y(o.midi),Object.freeze(o);}),d=function d(t){return m(t).name;},g=function g(t){return m(t).pc;},S=function S(t){if("number"!=typeof t&&"string"!=typeof t)return null;var e,n=m(t).midi,r=n||0===n?n:+t;return(e=r)>=0&&e<=127?r:null;},y=function y(t,e){return void 0===e&&(e=440),"number"==typeof t?Math.pow(2,(t-69)/12)*e:null;},b=function b(t){return m(t).freq||y(t);},w=Math.log(2),P=Math.log(440),v=function v(t){var e=12*(Math.log(t)-P)/w+69;return Math.round(100*e)/100;},N=function N(t){return m(t).chroma;},T=function T(t){return m(t).oct;},O=function O(t){return"CDEFGAB"[t];},I=function I(t,e){return Array(e+1).join(t);},M=function M(t){return function(t,e){return"number"!=typeof t?"":e(t);}(t,function(t){return t<0?I("b",-t):I("#",t);});},A=function A(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=e?Object.assign({},m(e),t):t,r=n.step,i=n.alt,o=n.oct;if("number"!=typeof r)return null;var s=O(r);if(!s)return null;var a=s+M(i);return o||0===o?a+o:a;},k=A;function q(t,e){return void 0===e&&(e=!1),t=Math.round(t),(!0===e?u:c)[t%12]+(Math.floor(t/12)-1);}var E=function E(t,e){void 0===e&&(e=!0);var n=m(t),r=n.alt,i=n.chroma,o=n.midi;if(null===i)return null;var s=!1===e?r<0:r>0;return null===o?g(q(i,s)):q(o,s);},_=function _(t){return E(t,!1);};var x=new RegExp("^([-+]?\\d+)(d{1,4}|m|M|P|A{1,4})|(AA|A|P|M|m|d|dd)([-+]?\\d+)$"),C=[0,2,4,5,7,9,11],z=("1P 2m 2M 3m 3M 4P 5P 6m 6M 7m 7M 8P".split(" "),Object.freeze({name:null,num:null,q:null,step:null,alt:null,dir:null,type:null,simple:null,semitones:null,chroma:null,oct:null})),D=function D(t){return(Math.abs(t)-1)%7;},j=function j(t){var e=function(t){var e=x.exec(""+t);return null===e?null:e[1]?[e[1],e[2]]:[e[4],e[3]];}(t);if(null===e)return z;var n,r,i={num:0,q:"d",name:"",type:"M",step:0,dir:-1,simple:1,alt:0,oct:0,semitones:0,chroma:0,ic:0};return i.num=+e[0],i.q=e[1],i.step=D(i.num),i.type="PMMPPMM"[i.step],"M"===i.type&&"P"===i.q?z:(i.name=""+i.num+i.q,i.dir=i.num<0?-1:1,i.simple=8===i.num||-8===i.num?i.num:i.dir*(i.step+1),i.alt=(n=i.type,"M"===(r=i.q)&&"M"===n||"P"===r&&"P"===n?0:"m"===r&&"M"===n?-1:/^A+$/.test(r)?r.length:/^d+$/.test(r)?"P"===n?-r.length:-r.length-1:null),i.oct=Math.floor((Math.abs(i.num)-1)/7),i.semitones=i.dir*(C[i.step]+i.alt+12*i.oct),i.chroma=(i.dir*(C[i.step]+i.alt)%12+12)%12,Object.freeze(i));},L={};function R(t){return"string"!=typeof t?z:L[t]||(L[t]=j(t));}"P m M m M P d P m M m M".split(" ");var B=[0,2,4,-1,1,3,5],U=B.map(function(t){return Math.floor(7*t/12);}),G=[3,0,4,1,5,2,6];var F=function F(t,e,n){var r=G[function(t){var e=(t+1)%7;return e<0?7+e:e;}(t)],i=Math.floor((t+1)/7);return void 0===e?{step:r,alt:i,dir:n}:{step:r,alt:i,oct:e+4*i+U[r],dir:n};},Q=function Q(t){return function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(e){var n=t(e);return null===n.name?null:function(t){var e=t.step,n=t.alt,r=t.oct,i=t.dir;void 0===i&&(i=1);var o=B[e]+7*n;return null===r?[i*o]:[i*o,i*(r-U[e]-4*n)];}(n);});},V=Q(m),H=Q(R);function $(t,e){if(1===arguments.length)return function(e){return $(t,e);};var n=V(t),r=H(e);if(null===n||null===r)return null;var i=1===n.length?[n[0]+r[0]]:[n[0]+r[0],n[1]+r[1]];return k(F(i[0],i[1]));}var K=n(37),W=n(38),J=function J(t){return N(t)||function(t){return R(t).chroma;}(t)||0;},Y=function Y(t){return parseInt(X(t),2);};function X(t){if(tt(t))return t;if(!Array.isArray(t))return"";var e=[0,0,0,0,0,0,0,0,0,0,0,0];return t.map(J).forEach(function(t){e[t]=1;}),e.join("");}var Z=/^[01]{12}$/;function tt(t){return Z.test(t);}"1P 2m 2M 3m 3M 4P 5d 5P 6m 6M 7m 7M".split(" ");function et(t,e){return arguments.length>1?et(t)(e):(t=Y(t),function(e){return(e=Y(e))!==t&&(e&t)===e;});}function nt(t,e){return arguments.length>1?nt(t)(e):(t=Y(t),function(e){return(e=Y(e))!==t&&(e|t)===e;});}var rt,it,ot,st=function st(t){var e=Object.keys(t).sort(),n=[],r=[],i=function i(t,e,_i5){n[t]=e,r[_i5]=r[_i5]||[],r[_i5].push(t);};e.forEach(function(e){var n=t[e][0].split(" "),r=t[e][1],o=X(n);i(e,n,o),r&&r.forEach(function(t){return i(t,n,o);});});var o=Object.keys(n).sort(),s=function s(t){return n[t];};return s.names=function(t){return"string"==typeof t?(r[t]||[]).slice():(!0===t?o:e).slice();},s;},at=st(K),ut=st(W),ct=(rt=at,it=ut,(ot=function ot(t){return rt(t)||it(t);}).names=function(t){return rt.names(t).concat(it.names(t));},Object.freeze({name:null,intervals:[],names:[],chroma:null,setnum:null}));at.names;var lt=ut.names,ht=Object.freeze({name:null,names:[],intervals:[],chroma:null,setnum:null}),pt=function(t,e){return void 0===e&&(e={}),function(n){return e[n]||(e[n]=t(n));};}(function(t){var e=ut(t);if(!e)return ht;var n={intervals:e,name:t};return n.chroma=X(e),n.setnum=parseInt(n.chroma,2),n.names=ut.names(n.chroma),n;}),ft=function ft(t){return pt(bt(t)[1]).intervals;};function mt(t,e){if(e)return pt(e).intervals.map($(t));var n=bt(t),r=n[0],i=n[1];return pt(i).intervals.map($(r));}var dt=function dt(t){return void 0!==ut(bt(t)[1]);},gt=function gt(t){if(!ft(t).length)return[];var e=nt(ft(t));return ut.names().filter(function(t){return e(ut(t));});},St=function St(t){var e=et(ft(t));return ut.names().filter(function(t){return e(ut(t));});},yt=/^(6|64|7|9|11|13)$/;function bt(t){var e=h(t);return""===e[0]?["",t]:"A"===e[0]&&"ug"===e[3]?["","aug"]:yt.test(e[2])?[e[0]+e[1],e[2]+e[3]]:[e[0]+e[1]+e[2],e[3]];}var wt=n(1);var Pt=[["1P","3M","5P"],["1P","3m","5P"],["1P","3M","5A"],["1P","3m","5d"]];var vt;!function(t){t[t.Major=0]="Major",t[t.Minor=1]="Minor",t[t.Augmented=2]="Augmented",t[t.Diminished=3]="Diminished",t[t.Other=4]="Other";}(vt||(vt={}));var Nt=/*#__PURE__*/function(_Error6){babelHelpers.inherits(Nt,_Error6);var _super16=_createSuper(Nt);function Nt(t){var _this24;babelHelpers.classCallCheck(this,Nt);_this24=_super16.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this24),new.target.prototype);return _this24;}return babelHelpers.createClass(Nt);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var Tt=/*#__PURE__*/function(_Error7){babelHelpers.inherits(Tt,_Error7);var _super17=_createSuper(Tt);function Tt(t){var _this25;babelHelpers.classCallCheck(this,Tt);_this25=_super17.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this25),new.target.prototype);return _this25;}return babelHelpers.createClass(Tt);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));var Ot=/*#__PURE__*/function(){function Ot(){babelHelpers.classCallCheck(this,Ot);}babelHelpers.createClass(Ot,null,[{key:"pitches",value:function pitches(t){if(!i.tokenize(t)[0]||!i.exists(t))throw new Nt("Unrecognized chord symbol: "+t);return i.notes(t).map(r.chroma);}},{key:"root",value:function root(t){var e=i.tokenize(t)[0];if(!e)throw new Nt("Chord symbol has unknown root: "+t);return r.chroma(e);}},{key:"quality",value:function quality(t){if(!i.exists(t))throw new Nt("Unrecognized chord symbol: "+t);var e=i.intervals(t),n=Pt.map(function(t){return t.every(function(t){return e.includes(t);});}),r=n.indexOf(!0),o=n.lastIndexOf(!0);return r>=0&&r===o?r:vt.Other;}}]);return Ot;}();var It=/*#__PURE__*/function(){function It(){babelHelpers.classCallCheck(this,It);}babelHelpers.createClass(It,[{key:"encodeProgression",value:function encodeProgression(t,e){var _this26=this;var n=t.map(function(t){return _this26.encode(t);}),r=Array.from(Array(e).keys()).map(function(t){return Math.floor(t*n.length/e);});return o.stack(r.map(function(t){return n[t];}));}}]);return It;}();function Mt(t){switch(t){case"MajorMinorChordEncoder":return new At();case"TriadChordEncoder":return new kt();case"PitchChordEncoder":return new qt();default:throw new Error("Unknown chord encoder type: "+t);}}var At=/*#__PURE__*/function(_It){babelHelpers.inherits(At,_It);var _super18=_createSuper(At);function At(){var _this27;babelHelpers.classCallCheck(this,At);_this27=_super18.apply(this,arguments),_this27.depth=1+2*wt.NUM_PITCH_CLASSES;return _this27;}babelHelpers.createClass(At,[{key:"index",value:function index(t){if(t===wt.NO_CHORD)return 0;var e=Ot.root(t),n=1+Ot.quality(t)*wt.NUM_PITCH_CLASSES+e;if(n>=this.depth)throw new Tt("Chord is neither major nor minor: "+t);return n;}},{key:"encode",value:function encode(t){var _this28=this;return o.tidy(function(){return o.oneHot(o.tensor1d([_this28.index(t)],"int32"),_this28.depth).as1D();});}}]);return At;}(It);var kt=/*#__PURE__*/function(_It2){babelHelpers.inherits(kt,_It2);var _super19=_createSuper(kt);function kt(){var _this29;babelHelpers.classCallCheck(this,kt);_this29=_super19.apply(this,arguments),_this29.depth=1+4*wt.NUM_PITCH_CLASSES;return _this29;}babelHelpers.createClass(kt,[{key:"index",value:function index(t){if(t===wt.NO_CHORD)return 0;var e=Ot.root(t),n=1+Ot.quality(t)*wt.NUM_PITCH_CLASSES+e;if(n>=this.depth)throw new Tt("Chord is not a standard triad: "+t);return n;}},{key:"encode",value:function encode(t){var _this30=this;return o.tidy(function(){return o.oneHot(o.tensor1d([_this30.index(t)],"int32"),_this30.depth).as1D();});}}]);return kt;}(It);var qt=/*#__PURE__*/function(_It3){babelHelpers.inherits(qt,_It3);var _super20=_createSuper(qt);function qt(){var _this31;babelHelpers.classCallCheck(this,qt);_this31=_super20.apply(this,arguments),_this31.depth=1+3*wt.NUM_PITCH_CLASSES;return _this31;}babelHelpers.createClass(qt,[{key:"encode",value:function encode(t){var _this32=this;return o.tidy(function(){if(t===wt.NO_CHORD)return o.oneHot(o.tensor1d([0],"int32"),_this32.depth).as1D();var e=Ot.root(t),n=o.oneHot(o.tensor1d([e],"int32"),wt.NUM_PITCH_CLASSES).as1D(),r=o.buffer([wt.NUM_PITCH_CLASSES]);Ot.pitches(t).forEach(function(t){return r.set(1,t);});var i=r.toTensor().as1D(),s=n;return o.concat1d([o.tensor1d([0]),n,i,s]);});}}]);return qt;}(It);},,function(t,e,n){"use strict";t.exports=n(21);},function(t,e,n){"use strict";var r=e;function i(){r.util._configure(),r.Writer._configure(r.BufferWriter),r.Reader._configure(r.BufferReader);}r.build="minimal",r.Writer=n(14),r.BufferWriter=n(30),r.Reader=n(15),r.BufferReader=n(31),r.util=n(8),r.rpc=n(32),r.roots=n(34),r.configure=i,i();},function(t,e,n){"use strict";t.exports=function(t,e){var n=new Array(arguments.length-1),r=0,i=2,o=!0;for(;i1&&"="===t.charAt(e);){++n;}return Math.ceil(3*t.length)/4-n;};for(var i=new Array(64),o=new Array(123),s=0;s<64;){o[i[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;}r.encode=function(t,e,n){for(var r,o=null,s=[],a=0,u=0;e>2],r=(3&c)<<4,u=1;break;case 1:s[a++]=i[r|c>>4],r=(15&c)<<2,u=2;break;case 2:s[a++]=i[r|c>>6],s[a++]=i[63&c],u=0;}a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,s)),a=0);}return u&&(s[a++]=i[r],s[a++]=61,1===u&&(s[a++]=61)),o?(a&&o.push(String.fromCharCode.apply(String,s.slice(0,a))),o.join("")):String.fromCharCode.apply(String,s.slice(0,a));};r.decode=function(t,e,n){for(var r,i=n,s=0,a=0;a1)break;if(void 0===(u=o[u]))throw Error("invalid encoding");switch(s){case 0:r=u,s=1;break;case 1:e[n++]=r<<2|(48&u)>>4,r=u,s=2;break;case 2:e[n++]=(15&r)<<4|(60&u)>>2,r=u,s=3;break;case 3:e[n++]=(3&r)<<6|u,s=0;}}if(1===s)throw Error("invalid encoding");return n-i;},r.test=function(t){return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t);};},function(t,e,n){"use strict";function r(){this._listeners={};}t.exports=r,r.prototype.on=function(t,e,n){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:n||this}),this;},r.prototype.off=function(t,e){if(void 0===t)this._listeners={};else if(void 0===e)this._listeners[t]=[];else for(var n=this._listeners[t],r=0;r0?0:2147483648,n,r);else if(isNaN(e))t(2143289344,n,r);else if(e>34028234663852886e22)t((i<<31|2139095040)>>>0,n,r);else if(e<11754943508222875e-54)t((i<<31|Math.round(e/1401298464324817e-60))>>>0,n,r);else{var o=Math.floor(Math.log(e)/Math.LN2);t((i<<31|o+127<<23|8388607&Math.round(e*Math.pow(2,-o)*8388608))>>>0,n,r);}}function n(t,e,n){var r=t(e,n),i=2*(r>>31)+1,o=r>>>23&255,s=8388607&r;return 255===o?s?NaN:i*(1/0):0===o?1401298464324817e-60*i*s:i*Math.pow(2,o-150)*(s+8388608);}t.writeFloatLE=e.bind(null,i),t.writeFloatBE=e.bind(null,o),t.readFloatLE=n.bind(null,s),t.readFloatBE=n.bind(null,a);}(),"undefined"!=typeof Float64Array?function(){var e=new Float64Array([-0]),n=new Uint8Array(e.buffer),r=128===n[7];function i(t,r,i){e[0]=t,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3],r[i+4]=n[4],r[i+5]=n[5],r[i+6]=n[6],r[i+7]=n[7];}function o(t,r,i){e[0]=t,r[i]=n[7],r[i+1]=n[6],r[i+2]=n[5],r[i+3]=n[4],r[i+4]=n[3],r[i+5]=n[2],r[i+6]=n[1],r[i+7]=n[0];}function s(t,r){return n[0]=t[r],n[1]=t[r+1],n[2]=t[r+2],n[3]=t[r+3],n[4]=t[r+4],n[5]=t[r+5],n[6]=t[r+6],n[7]=t[r+7],e[0];}function a(t,r){return n[7]=t[r],n[6]=t[r+1],n[5]=t[r+2],n[4]=t[r+3],n[3]=t[r+4],n[2]=t[r+5],n[1]=t[r+6],n[0]=t[r+7],e[0];}t.writeDoubleLE=r?i:o,t.writeDoubleBE=r?o:i,t.readDoubleLE=r?s:a,t.readDoubleBE=r?a:s;}():function(){function e(t,e,n,r,i,o){var s=r<0?1:0;if(s&&(r=-r),0===r)t(0,i,o+e),t(1/r>0?0:2147483648,i,o+n);else if(isNaN(r))t(0,i,o+e),t(2146959360,i,o+n);else if(r>17976931348623157e292)t(0,i,o+e),t((s<<31|2146435072)>>>0,i,o+n);else{var a;if(r<22250738585072014e-324)t((a=r/5e-324)>>>0,i,o+e),t((s<<31|a/4294967296)>>>0,i,o+n);else{var u=Math.floor(Math.log(r)/Math.LN2);1024===u&&(u=1023),t(4503599627370496*(a=r*Math.pow(2,-u))>>>0,i,o+e),t((s<<31|u+1023<<20|1048576*a&1048575)>>>0,i,o+n);}}}function n(t,e,n,r,i){var o=t(r,i+e),s=t(r,i+n),a=2*(s>>31)+1,u=s>>>20&2047,c=4294967296*(1048575&s)+o;return 2047===u?c?NaN:a*(1/0):0===u?5e-324*a*c:a*Math.pow(2,u-1075)*(c+4503599627370496);}t.writeDoubleLE=e.bind(null,i,0,4),t.writeDoubleBE=e.bind(null,o,4,0),t.readDoubleLE=n.bind(null,s,0,4),t.readDoubleBE=n.bind(null,a,4,0);}(),t;}function i(t,e,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24;}function o(t,e,n){e[n]=t>>>24,e[n+1]=t>>>16&255,e[n+2]=t>>>8&255,e[n+3]=255&t;}function s(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0;}function a(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0;}t.exports=r(r);},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod;}catch(t){}return null;}module.exports=inquire;},function(t,e,n){"use strict";var r=e;r.length=function(t){for(var e=0,n=0,r=0;r191&&r<224?o[s++]=(31&r)<<6|63&t[e++]:r>239&&r<365?(r=((7&r)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,o[s++]=55296+(r>>10),o[s++]=56320+(1023&r)):o[s++]=(15&r)<<12|(63&t[e++])<<6|63&t[e++],s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),s=0);}return i?(s&&i.push(String.fromCharCode.apply(String,o.slice(0,s))),i.join("")):String.fromCharCode.apply(String,o.slice(0,s));},r.write=function(t,e,n){for(var r,i,o=n,s=0;s>6|192,e[n++]=63&r|128):55296==(64512&r)&&56320==(64512&(i=t.charCodeAt(s+1)))?(r=65536+((1023&r)<<10)+(1023&i),++s,e[n++]=r>>18|240,e[n++]=r>>12&63|128,e[n++]=r>>6&63|128,e[n++]=63&r|128):(e[n++]=r>>12|224,e[n++]=r>>6&63|128,e[n++]=63&r|128);}return n-o;};},function(t,e,n){"use strict";t.exports=function(t,e,n){var r=n||8192,i=r>>>1,o=null,s=r;return function(n){if(n<1||n>i)return t(n);s+n>r&&(o=t(r),s=0);var a=e.call(o,s,s+=n);return 7&s&&(s=1+(7|s)),a;};};},function(t,e,n){"use strict";t.exports=i;var r=n(8);function i(t,e){this.lo=t>>>0,this.hi=e>>>0;}var o=i.zero=new i(0,0);o.toNumber=function(){return 0;},o.zzEncode=o.zzDecode=function(){return this;},o.length=function(){return 1;};var s=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(t){if(0===t)return o;var e=t<0;e&&(t=-t);var n=t>>>0,r=(t-n)/4294967296>>>0;return e&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new i(n,r);},i.from=function(t){if("number"==typeof t)return i.fromNumber(t);if(r.isString(t)){if(!r.Long)return i.fromNumber(parseInt(t,10));t=r.Long.fromString(t);}return t.low||t.high?new i(t.low>>>0,t.high>>>0):o;},i.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=1+~this.lo>>>0,n=~this.hi>>>0;return e||(n=n+1>>>0),-(e+4294967296*n);}return this.lo+4294967296*this.hi;},i.prototype.toLong=function(t){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(t)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(t)};};var a=String.prototype.charCodeAt;i.fromHash=function(t){return t===s?o:new i((a.call(t,0)|a.call(t,1)<<8|a.call(t,2)<<16|a.call(t,3)<<24)>>>0,(a.call(t,4)|a.call(t,5)<<8|a.call(t,6)<<16|a.call(t,7)<<24)>>>0);},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24);},i.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this;},i.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this;},i.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===e?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:n<128?9:10;};},function(t,e,n){"use strict";t.exports=o;var r=n(14);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(8);function o(){r.call(this);}function s(t,e,n){t.length<40?i.utf8.write(t,e,n):e.utf8Write?e.utf8Write(t,n):e.write(t,n);}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&babelHelpers.instanceof(i.Buffer.prototype,Uint8Array)&&"set"===i.Buffer.prototype.set.name?function(t,e,n){e.set(t,n);}:function(t,e,n){if(t.copy)t.copy(e,n,0,t.length);else for(var r=0;r>>0;return this.uint32(e),e&&this._push(o.writeBytesBuffer,e,t),this;},o.prototype.string=function(t){var e=i.Buffer.byteLength(t);return this.uint32(e),e&&this._push(s,e,t),this;},o._configure();},function(t,e,n){"use strict";t.exports=o;var r=n(15);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(8);function o(t){r.call(this,t);}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice);},o.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len));},o._configure();},function(t,e,n){"use strict";e.Service=n(33);},function(t,e,n){"use strict";t.exports=i;var r=n(8);function i(t,e,n){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=Boolean(e),this.responseDelimited=Boolean(n);}(i.prototype=Object.create(r.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function t(e,n,i,o,s){if(!o)throw TypeError("request must be specified");var a=this;if(!s)return r.asPromise(t,a,e,n,i,o);if(a.rpcImpl)try{return a.rpcImpl(e,n[a.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(t,n){if(t)return a.emit("error",t,e),s(t);if(null!==n){if(!babelHelpers.instanceof(n,i))try{n=i[a.responseDelimited?"decodeDelimited":"decode"](n);}catch(t){return a.emit("error",t,e),s(t);}return a.emit("data",n,e),s(null,n);}a.end(!0);});}catch(t){return a.emit("error",t,e),void setTimeout(function(){s(t);},0);}else setTimeout(function(){s(Error("already ended"));},0);},i.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this;};},function(t,e,n){"use strict";t.exports={};},,function(t,e,n){"use strict";n.r(e),n.d(e,"auxiliaryInputFromSpec",function(){return i;}),n.d(e,"AuxiliaryInput",function(){return o;}),n.d(e,"BinaryCounter",function(){return s;});var r=n(0);function i(t){switch(t.type){case"BinaryCounter":return new s(t.args);default:throw new Error("Unknown auxiliary input: "+t);}}var o=/*#__PURE__*/babelHelpers.createClass(function o(t){babelHelpers.classCallCheck(this,o);this.depth=t;});var s=/*#__PURE__*/function(_o){babelHelpers.inherits(s,_o);var _super21=_createSuper(s);function s(t){babelHelpers.classCallCheck(this,s);return _super21.call(this,t.numBits);}babelHelpers.createClass(s,[{key:"getTensors",value:function getTensors(t){var e=r.buffer([t,this.depth]);for(var _n7=0;_n70?t.tempos[i-1].bpm:t.tempos[0].bpm,s=r.ticks/t.ppq-n,a=60/o*s;r.time=a+e,e=r.time,n+=s;}),this.timeSignatures.sort(function(t,e){return t.ticks-e.ticks;}),this.timeSignatures.forEach(function(e,n){var r=n>0?t.timeSignatures[n-1]:t.timeSignatures[0],i=(e.ticks-r.ticks)/t.ppq/r.timeSignature[0]/(r.timeSignature[1]/4);r.measures=r.measures||0,e.measures=i+r.measures;});},t.prototype.ticksToSeconds=function(t){var e=r.search(this.tempos,t);if(-1!==e){var n=this.tempos[e],i=n.time,o=(t-n.ticks)/this.ppq;return i+60/n.bpm*o;}return 0.5*(t/this.ppq);},t.prototype.ticksToMeasures=function(t){var e=r.search(this.timeSignatures,t);if(-1!==e){var n=this.timeSignatures[e],i=(t-n.ticks)/this.ppq;return n.measures+i/(n.timeSignature[0]/n.timeSignature[1])/4;}return t/this.ppq/4;},Object.defineProperty(t.prototype,"ppq",{get:function get(){return i.get(this);},enumerable:!0,configurable:!0}),t.prototype.secondsToTicks=function(t){var e=r.search(this.tempos,t,"time");if(-1!==e){var n=this.tempos[e],i=(t-n.time)/(60/n.bpm);return Math.round(n.ticks+i*this.ppq);}var o=t/0.5;return Math.round(o*this.ppq);},t.prototype.toJSON=function(){return{keySignatures:this.keySignatures,meta:this.meta,name:this.name,ppq:this.ppq,tempos:this.tempos.map(function(t){return{bpm:t.bpm,ticks:t.ticks};}),timeSignatures:this.timeSignatures};},t.prototype.fromJSON=function(t){this.name=t.name,this.tempos=t.tempos.map(function(t){return Object.assign({},t);}),this.timeSignatures=t.timeSignatures.map(function(t){return Object.assign({},t);}),this.keySignatures=t.keySignatures.map(function(t){return Object.assign({},t);}),this.meta=t.meta.map(function(t){return Object.assign({},t);}),i.set(this,t.ppq),this.update();},t.prototype.setTempo=function(t){this.tempos=[{bpm:t,ticks:0}],this.update();},t;}();e.Header=o;},,,,,,function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{u(r.next(t));}catch(t){o(t);}}function a(t){try{u(r.throw(t));}catch(t){o(t);}}function u(t){var e;t.done?i(t.value):(e=t.value,babelHelpers.instanceof(e,n)?e:new n(function(t){t(e);})).then(s,a);}u((r=r.apply(t,e||[])).next());});},i=this&&this.__generator||function(t,e){var n,r,i,o,s={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1];},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this;}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;){try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue;}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&t[i-1][n]<=e)return i-1;for(;re)return s;a[n]>e?o=s:a[n]=t.absoluteTime;});if(-1!==e){var n=s.splice(e,1)[0];l.addNote({durationTicks:n.absoluteTime-t.absoluteTime,midi:t.noteNumber,noteOffVelocity:n.velocity/127,ticks:t.absoluteTime,velocity:t.velocity/127});}},l=this;i.length;){u();}t.filter(function(t){return"controller"===t.type;}).forEach(function(t){n.addCC({number:t.controllerType,ticks:t.absoluteTime,value:t.value/127});}),t.filter(function(t){return"pitchBend"===t.type;}).forEach(function(t){n.addPitchBend({ticks:t.absoluteTime,value:t.value/Math.pow(2,13)});});}}return t.prototype.addNote=function(t){var e=c.get(this),n=new u.Note({midi:0,ticks:0,velocity:1},{ticks:0,velocity:0},e);return Object.assign(n,t),r.insert(this.notes,n,"ticks"),this;},t.prototype.addCC=function(t){var e=c.get(this),n=new i.ControlChange({controllerType:t.number},e);return delete t.number,Object.assign(n,t),Array.isArray(this.controlChanges[n.number])||(this.controlChanges[n.number]=[]),r.insert(this.controlChanges[n.number],n,"ticks"),this;},t.prototype.addPitchBend=function(t){var e=c.get(this),n=new s.PitchBend({},e);return Object.assign(n,t),r.insert(this.pitchBends,n,"ticks"),this;},Object.defineProperty(t.prototype,"duration",{get:function get(){if(!this.notes.length)return 0;for(var t=this.notes[this.notes.length-1].time+this.notes[this.notes.length-1].duration,e=0;e6&&arguments[6]!==undefined?arguments[6]:1;var u=document.createElementNS(r,"path");return u.setAttributeNS(null,"d",e),u.setAttributeNS(null,"transform","translate(".concat(n,", ").concat(i,") scale(").concat(o,", ").concat(s,")")),u.setAttributeNS(null,"opacity",""+a),t.appendChild(u),u;}function o(t,e,n,i,o){var s=arguments.length>5&&arguments[5]!==undefined?arguments[5]:!1;var a=arguments.length>6&&arguments[6]!==undefined?arguments[6]:1;var u=arguments.length>7&&arguments[7]!==undefined?arguments[7]:1;var c=document.createElementNS(r,"text");c.setAttributeNS(null,"font-family","Times"),c.setAttributeNS(null,"font-size",o),s&&c.setAttributeNS(null,"font-weight","bold"),c.setAttributeNS(null,"transform","translate(".concat(n,", ").concat(i,") scale(").concat(a,", ").concat(u,")"));var l=document.createTextNode(e);return c.appendChild(l),t.appendChild(c),c;}function s(t,e){var n=document.createElementNS(r,"g");return n.setAttribute("data-id",e),t.appendChild(n),n;}function a(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:1;var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;var o=t.querySelector("animate");if(!o){(o=document.createElementNS(r,"animate")).setAttributeNS(null,"attributeName","opacity"),o.setAttributeNS(null,"dur","4s"),o.setAttributeNS(null,"fill","freeze"),o.setAttributeNS(null,"keyTimes","0; 0.25; 0.5; 0.75; 1");var _t28=(n+3*i)/4;o.setAttributeNS(null,"values","".concat(n,"; ").concat(_t28,"; ").concat(i,"; ").concat(_t28,"; ").concat(n));}return e?o.setAttributeNS(null,"repeatCount","indefinite"):o.setAttributeNS(null,"repeatCount","1"),t.appendChild(o),t;}},function(t,e,n){"use strict";n.r(e),n.d(e,"PATH_SCALE",function(){return r;}),n.d(e,"staffLinePath",function(){return o;}),n.d(e,"extraLinePath",function(){return s;}),n.d(e,"barPath",function(){return a;}),n.d(e,"stemPath",function(){return u;}),n.d(e,"singleFlagPath",function(){return c;}),n.d(e,"multiFlagPath",function(){return l;}),n.d(e,"tiePath",function(){return h;}),n.d(e,"dotPath",function(){return p;}),n.d(e,"NOTE_PATHS",function(){return f;}),n.d(e,"REST_PATHS",function(){return m;}),n.d(e,"CLEF_PATHS",function(){return d;}),n.d(e,"ACCIDENTAL_PATHS",function(){return g;});var r=100,i="M 0,10 C 0,-15 35,-50 80,-50 110,-50 125,-35 125,-10 \n125,15 90,50 45,50 15,50 0,35 0,10 Z",o="m 0,0 h 100",s="m -25,0 h 175",a="m 0,-200 v 400",u="m 0,0 v 100 h 15 v -100 z",c="M0,0 h 12 c 7,100 175,156 62,314 79,-177 -49,\n-193 -61,-200 l -13,-5 z",l="m 0,0 h 10 c 6,72 173,64 84,227 44,-120 -44,\n-123 -94,-167 z",h="M 0,25 C 10,46 30,67 50,67 69,67 90,47 100,25 94,\n65 73,89 50,89 26,89 5,63 0,25 Z",p="M 5 -20 a 20 20 0 1 0 0.00001 0 z",f={4:{path:"m 0,0 c 0,-37 49,-51 79,-51 31,0 83,13 83,51 0,39 \n-55,51 -84,51 C 49,51 0,37 0,0 Z m 111,31 c 13,-19 0,-58 -22,-68 -33,-15 \n-53,10 -39,49 9,27 48,39 61,19 z",width:150,stemVSteps:0,stemAnchor:0,flags:0},2:{path:"m 0,10 c 0,-25 35,-60 80,-60 15,0 45,4 45,40 C 125,16 \n89,50 45,50 17,50 0,36 0,10 Z m 71,7 c 17,-11 45,-34 38,-45 -7,-10 -39,1 \n-57,12 -19,11 -42,31 -36,42 6,10 37,2 55,-9 z",width:125,stemVSteps:7,stemAnchor:-10,flags:0},1:{path:i,width:125,stemVSteps:7,stemAnchor:-10,flags:0},0.5:{path:i,width:125,stemVSteps:7,stemAnchor:-10,flags:1},0.25:{path:i,width:125,stemVSteps:9,stemAnchor:-10,flags:2},0.125:{path:i,width:125,stemVSteps:11,stemAnchor:-10,flags:3},0.0625:{path:i,width:125,stemVSteps:13,stemAnchor:-10,flags:4}},m={4:"m 0,-50 h 125 v -50 H 0 Z",2:"M 0,0 H 125 V -50 H 0 Z",1:"m 0,-25 c 39,-39 37,-75 8,-120 l 6,-5 61,103 C \n40,-13 31,4 73,71 l -5,5 C 14,52 16,125 67,144 l -4,6 C -37,102 -1,22 59,60 Z",0.5:"m 52,-47 c 26,-2 42,-21 48,-42 l 12,4 L 64,83 52,79 \n88,-49 c 0,0 -17,22 -57,22 -16,0 -31,-13 -31,-27 0,-18 10,-31 27,-31 17,0 \n33,15 25,38 z",0.25:"m 129,-191 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -20,69 \nc -7,18 -22,33 -45,35 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 15,27 \n31,27 40,0 57,-22 57,-22 l -36,128 12,4 77,-270 z",0.125:"m 129,-191 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -20,69 \nc -7,18 -22,33 -45,35 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 15,27 \n31,27 40,0 57,-22 57,-22 L 68,20 C 61,37 46,51 24,52 32,29 16,14 -1,14 c \n-17,0 -27,13 -27,31 0,14 15,27 31,27 38,0 55,-20 57,-22 l -36,128 12,4 \n105,-369 z",0.0625:"m 158,-292 c -6,21 -22,40 -48,42 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 l -17,61 \nv 0 c -6,21 -22,40 -48,42 8,-23 -8,-38 -25,-38 -17,0 -27,13 -27,31 0,14 \n15,27 31,27 40,0 57,-22 57,-22 l -20,69 c -7,18 -22,33 -45,35 8,-23 -8,-38 \n-25,-38 -17,0 -27,13 -27,31 0,14 15,27 31,27 40,0 57,-22 57,-22 L 68,20 C \n61,37 46,51 24,52 32,29 16,14 -1,14 c -17,0 -27,13 -27,31 0,14 15,27 31,27 \n38,0 55,-20 57,-22 l -36,128 12,4 134,-469 z"},d={50:{path:"m 101,-199 c -49,0 -100,28 -100,83 0,39 58,57 82,26 15,-20 \n-4,-47 -32,-47 -23,1 -25,0 -25,-8 0,-22 40,-46 71,-41 91,16 67,208 -105,302 \n75,-27 198,-94 211,-201 6,-66 -42,-114 -102,-114 z m 143,33 c -13,0 -23,11 \n-23,24 0,14 10,24 23,24 13,0 23,-11 23,-24 0,-13 -10,-24 -23,-24 z m 2,83 c \n-13,0 -23,11 -23,24 0,14 10,24 23,24 13,0 23,-11 23,-24 0,-13 -10,-24 -23,-24 \nz",upper:-4,lower:3},71:{path:"M 139,48 C 102,57 76,120 131,151 41,128 64,24 129,2 L \n117,-57 C -32,47 26,217 166,182 Z m 12,-1 27,131 C 242,153 216,46 151,47 \nZ m -35,-177 c 34,-23 82,-117 50,-140 -23,-17 -71,33 -50,140 z m -10,10 c \n-23,-77 -20,-200 48,-213 19,-4 89,171 -26,266 l 13,66 c 120,-6 137,155 \n39,191 l 12,58 c 30,131 -137,145 -138,47 0,-29 37,-59 63,-37 21,18 25,71 \n-25,70 32,42 103,0 91,-65 L 167,193 C 56,232 -112,63 106,-120 Z",upper:-7,lower:8}},g=[null,"m -49,-121 v 52 l -29,9 v -48 h -8 v 51 l -20,6 v 29 l \n20,-6 v 70 l -20,6 v 30 l 20,-6 v 51 h 8 V 69 l 30,-8 v 50 h 8 V 58 l 20,-6 \nV 23 l -20,6 v -71 l 20,-6 v -29 l -20,6 v -50 z m 1,82 v 71 l -29,9 v -71 z","M -106,-166 V 67 c 52,-42 85,-56 85,-94 0,-47 -46,-51 \n-73,-22 v -117 z m 31,120 c 20,0 42,46 -20,91 V -7 c 0,-28 10,-39 20,-39 z","m -81,-58 v -48 H -92 V 73 l 60,-13 v 50 h 11 V -72 Z m \n50,24 v 58 l -50,11 v -58 z"];},function(t,e,n){"use strict";n.r(e),n.d(e,"MIN_RESOLUTION",function(){return r;}),n.d(e,"STEM_WIDTH",function(){return i;}),n.d(e,"LINE_STROKE",function(){return o;}),n.d(e,"COMPACT_SPACING",function(){return s;});var r=0.0625,i=15,o=1,s=150;},function(t,e,n){"use strict";n.r(e),n.d(e,"MAX_QUARTER_DIVISION",function(){return u;}),n.d(e,"ScrollType",function(){return c;}),n.d(e,"StaffSVGRender",function(){return l;});var r=n(2),i=n(0),o=n(1);var s=[{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[0,1,0,1,0,0,1,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,0,3,0,3,0,0,3,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,0,1,0,3,0,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,0,3,0,2,0,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,3,0,0,3,0,3,0,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,2,0,0,2,0,2,0,0,3]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-7],accidental:[3,0,3,0,3,0,0,3,0,3,0,0]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[0,1,0,1,0,3,0,0,1,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,0,3,0,3,0,2,0,0,3,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,0,1,0,3,0,3,0,0,1,0]},{steps:[0,-1,-1,-2,-2,-3,-4,-4,-5,-5,-6,-6],accidental:[0,2,0,0,3,0,2,0,2,0,0,3]},{steps:[0,0,-1,-1,-2,-3,-3,-4,-4,-5,-5,-6],accidental:[3,0,3,0,0,3,0,3,0,3,0,0]}],a=[{accidental:1,pitches:[]},{accidental:2,pitches:[70,75,68,73,66]},{accidental:1,pitches:[78,73]},{accidental:2,pitches:[70,75,68]},{accidental:1,pitches:[78,73,80,75]},{accidental:2,pitches:[70]},{accidental:2,pitches:[70,75,68,73,66,71]},{accidental:1,pitches:[78]},{accidental:2,pitches:[70,75,68,73]},{accidental:1,pitches:[78,73,80]},{accidental:2,pitches:[70,75]},{accidental:1,pitches:[78,73,80,75,70]}],u=16;var c;!function(t){t[t.PAGE=0]="PAGE",t[t.NOTE=1]="NOTE",t[t.BAR=2]="BAR";}(c||(c={}));var l=/*#__PURE__*/function(){function l(t,e,n){var _this33=this;babelHelpers.classCallCheck(this,l);this.handleScrollEvent=function(t){_this33.lastKnownScrollLeft=_this33.parentElement.scrollLeft,_this33.ticking||window.requestAnimationFrame(function(){_this33.changeAndDrawSignaturesIfNeeded(_this33.lastKnownScrollLeft),_this33.ticking=!1;}),_this33.ticking=!0;},this.scoreInfo=t,this.config={noteHeight:e.noteHeight||6,noteSpacing:e.noteSpacing||1,pixelsPerTimeStep:e.pixelsPerTimeStep||30,noteRGB:e.noteRGB||"8, 41, 64",activeNoteRGB:e.activeNoteRGB||"240, 84, 119"},this.div=n,this.timeSignatureNumerator=4,this.timeSignatureDenominator=4,this.key=e.defaultKey||0,this.scrollType=e.scrollType||c.PAGE,this.scale=this.config.noteHeight/o.PATH_SCALE,(void 0===e.pixelsPerTimeStep||e.pixelsPerTimeStep<=0)&&(this.config.pixelsPerTimeStep=0,this.config.noteSpacing=r.COMPACT_SPACING*this.scale),this.clear(),this.redraw();}babelHelpers.createClass(l,[{key:"clear",value:function clear(){for(;this.div.lastChild;){this.div.removeChild(this.div.lastChild);}this.div.style.overflow="visible",this.div.style.position="relative",this.overlaySVG=document.createElementNS(i.SVGNS,"svg"),this.overlaySVG.style.position="absolute",this.div.appendChild(this.overlaySVG),this.overlayG=Object(i.createSVGGroupChild)(this.overlaySVG,"overlay"),this.signaturesBlinking=!1,this.signaturesQuarters=0,this.parentElement=document.createElement("div"),this.parentElement.style.overflow="auto",this.div.appendChild(this.parentElement),this.ticking=!1,this.lastKnownScrollLeft=0,this.parentElement.addEventListener("scroll",this.handleScrollEvent),this.staffSVG=document.createElementNS(i.SVGNS,"svg"),this.parentElement.appendChild(this.staffSVG),this.staffG=Object(i.createSVGGroupChild)(this.staffSVG,"staff"),this.linesG=Object(i.createSVGGroupChild)(this.staffSVG,"lines"),this.setStroke(this.linesG),this.staffG.appendChild(this.linesG),this.musicG=Object(i.createSVGGroupChild)(this.staffSVG,"music"),this.setFill(this.musicG),this.setStroke(this.musicG,0),this.staffG.appendChild(this.musicG),this.signaturesG=Object(i.createSVGGroupChild)(this.staffSVG,"signatures"),this.staffG.appendChild(this.signaturesG);var t=0,e=0;this.scoreInfo.notes.forEach(function(n){t+=n.pitch,++e;});var n=t/e;this.clef=n<60?50:71,this.signaturesList=[{x:0,q:0}],this.signatureCurrent=0,this.signatureNext=0,this.changeKeySignatureIfNeeded(0),this.changeTimeSignatureIfNeeded(0),this.vStepSize=this.config.noteHeight/2,this.hStepSize=this.config.pixelsPerTimeStep,this.staffOffset=0,this.height=0,this.width=0,this.musicBlockMap=new Map(),this.playingNotes=[],this.lastBar=0,this.barAccidentals={},this.lastQ=-1;}},{key:"isPaintingActiveNote",value:function isPaintingActiveNote(t,e){var n=t.start===e.start,r=t.start<=e.start&&t.start+t.length>=e.start+e.length;return n||r;}},{key:"redraw",value:function redraw(t,e){var _this34=this;var n=-1;var r=0===this.config.pixelsPerTimeStep;if(t){var _o2=[];this.playingNotes.forEach(function(e){_this34.isPaintingActiveNote(e,t)?_o2.push(e):_this34.highlightElement(_this34.getGroup(e),!1);}),this.playingNotes=_o2;var _s2=this.getGroup(t);if(_s2){this.playingNotes.push(t),this.highlightElement(_s2,!0),n=_s2.getBoundingClientRect().left-this.staffSVG.getBoundingClientRect().left;var _o3=t.start,_a4=_s2.getAttribute("data-is-bar-beginning");(this.scrollType!==c.BAR||_a4)&&this.scrollIntoViewIfNeeded(e,n),!r&&this.signaturesBlinking&&_o3>=this.signaturesQuarters&&(this.signaturesBlinking=!1,Object(i.setFade)(this.overlayG,this.signaturesBlinking));}}else{this.setDetails();var _t29=-1===this.lastQ;var _e15=0,_n8=0;_t29?(_n8=this.drawSignatures(this.overlayG,_e15,!0,!0,!0),r&&(this.width=0,_n8+=this.config.noteSpacing),_n8+=this.drawRests(this.initialRest,_e15+_n8)):_e15=this.width,this.musicBlockMap.forEach(function(t,i){r||(_e15=_this34.quartersToTime(i)*_this34.hStepSize),i>_this34.lastQ?(_n8+=_this34.drawMusicBlock(t,_e15+_n8),_this34.lastQ=i):i===_this34.lastQ&&(_n8+=_this34.drawRests(t,_e15+_n8));});var _i6=this.staffSVG.getBoundingClientRect(),_o4=this.musicG.getBoundingClientRect();if(this.updateVerticalBoundaries(_o4.top-_i6.top,_o4.bottom-_i6.top),r)this.width+=_n8;else{var _t30=this.musicBlockMap.get(this.lastQ),_e16=this.quartersToTime(this.lastQ+_t30.notes[0].length);this.width=_e16*this.config.pixelsPerTimeStep;}this.staffSVG.setAttributeNS(null,"width",""+this.width),this.redrawStaff(this.linesG,0,this.width);}return n;}},{key:"drawMusicBlock",value:function drawMusicBlock(t,e){var _this35=this;var n=t.notes[0].start;var s=this.drawBarIfNeeded(n,e);s+=this.drawSignaturesIfNeeded(n,e+s);var a=0;for(var _e17=4;_e17>=r.MIN_RESOLUTION&&!a;_e17/=2){_e17<=t.notes[0].length&&(a=_e17);}if(0===a){var _e18=0===t.notes[0].length?"[infinite]":""+4/t.notes[0].length;console.warn(" StaffRender ","background:orange; color:white","StaffRender does not handle notes shorther than 1/".concat(4/r.MIN_RESOLUTION,"th, and this score tries to draw a 1/").concat(_e18,"th. Shortest possible note will be drawn instead.")),a=r.MIN_RESOLUTION;}var u=o.NOTE_PATHS[a];var c;if(u.stemAnchor&&(c=Object(i.createSVGGroupChild)(this.musicG,"stem")),t.notes.forEach(function(n){var r=n.vSteps*_this35.vStepSize,c=2*(n.vSteps>0?Math.floor(n.vSteps/2):Math.ceil(n.vSteps/2)),_l=n.vSteps>0?-2:2;for(var _t31=c;Math.abs(_t31)>4;_t31+=_l){Object(i.drawSVGPath)(_this35.linesG,o.extraLinePath,e+s,_t31*_this35.vStepSize,_this35.scale,1);}if(n.g=n.tiedFrom?n.tiedFrom.g:Object(i.createSVGGroupChild)(_this35.musicG,"".concat(n.start,"-").concat(n.pitch)),t.isBarBeginning&&n.g.setAttribute("data-is-bar-beginning","true"),n.tiedFrom){var _t32=e+s-n.tiedFrom.xHeadRight;Object(i.drawSVGPath)(n.g,o.tiePath,n.tiedFrom.xHeadRight,r,_t32/o.PATH_SCALE,_this35.scale*(n.vSteps<0?-1:1),n.opacity);}Object(i.drawSVGPath)(n.g,u.path,e+s,r,_this35.scale,_this35.scale,n.opacity),n.xHeadRight=e+s+u.width*_this35.scale,1.5*a<=n.length&&Object(i.drawSVGPath)(n.g,o.dotPath,e+s+u.width*_this35.scale+_this35.vStepSize/2,r-_this35.vStepSize/2,_this35.scale,_this35.scale,n.opacity),0!==n.accidental&&Object(i.drawSVGPath)(n.g,o.ACCIDENTAL_PATHS[n.accidental],e+s,r,_this35.scale,_this35.scale,n.opacity);}),u.stemAnchor){var _n9,_a5,_l5=e+s;var h=u.stemAnchor*this.scale,p=t.minVStep+t.maxVStep<0,f=u.flags>2?2*(u.flags-2):0;if(p?(_n9=t.maxVStep*this.vStepSize-h,_a5=(t.minVStep+7+f)*this.vStepSize):(_l5+=(u.width-r.STEM_WIDTH)*this.scale,_n9=t.minVStep*this.vStepSize+h,_a5=(t.maxVStep-7-f)*this.vStepSize),Object(i.drawSVGPath)(c,o.stemPath,_l5,_n9,this.scale,(_a5-_n9)/o.PATH_SCALE),1===u.flags)Object(i.drawSVGPath)(c,o.singleFlagPath,_l5,_a5,this.scale,this.scale*(p?-1:1),1);else if(u.flags>1)for(var _t33=0;_t33=r&&(this.config.pixelsPerTimeStep>0?e-=this.config.noteSpacing:n=this.config.noteSpacing,Object(i.drawSVGPath)(this.linesG,o.barPath,e,0,1,this.scale),this.lastBar=r),n;}},{key:"drawRests",value:function drawRests(t,e){var n=0,s=t.restToNextLength;if(s){this.config.pixelsPerTimeStep>0&&(e+=this.quartersToTime(t.notes[0].length)*this.hStepSize);var _a6=t.notes[0].start+t.notes[0].length,_u5=0;var _c4=this.lastBar+this.getBarLength()-_a6;var _l6;for(s>_c4&&(_u5=s-_c4,s=_c4),_l6=4;_l6>this.getBarLength()&&_l6>=r.MIN_RESOLUTION;_l6/=2){;}var h=_l6;for(;(s||_u5)&&h>=r.MIN_RESOLUTION;){if(h<=s){n+=this.drawBarIfNeeded(_a6,e+n),n+=this.drawSignaturesIfNeeded(_a6,e+n);var _t34=Object(i.drawSVGPath)(this.musicG,o.REST_PATHS[h],e+n,0,this.scale,this.scale);this.config.pixelsPerTimeStep>0?e+=this.quartersToTime(h)*this.hStepSize:(n+=_t34.getBoundingClientRect().width,n+=this.config.noteSpacing),_a6+=h,s-=h;}if(_u5&&s<=0){var _t35=this.getBarLength();for(_u5>_t35?(s=_t35,_u5-=_t35):(s=_u5,_u5=0),_l6=4;_l6>this.getBarLength()&&_l6>=r.MIN_RESOLUTION;_l6/=2){;}h=_l6;}s0?3:2);this.signaturesList.push({x:e-_a7,q:t}),null===this.signatureNext&&(this.signatureNext=e);var _u6=t>0?Object(i.createSVGGroupChild)(this.signaturesG,"signatures"):this.overlayG;n+=this.drawSignatures(_u6,e+n,!1,o,s);}return 0===this.config.pixelsPerTimeStep?n:0;}},{key:"drawSignatures",value:function drawSignatures(t,e,n,s,u){var _this36=this;var c=r.COMPACT_SPACING*this.scale;var _l4,h=c;var p=t===this.overlayG||this.config.pixelsPerTimeStep>0;if(p){(_l4=document.createElementNS(i.SVGNS,"rect")).setAttributeNS(null,"x",""+e),_l4.setAttributeNS(null,"y","0"),_l4.setAttributeNS(null,"width","1"),_l4.setAttributeNS(null,"height","1"),_l4.setAttribute("data-id","background"),t.appendChild(_l4);var _n10=document.defaultView.getComputedStyle(this.div.parentElement);_l4.setAttributeNS(null,"fill",_n10.getPropertyValue("background-color"));}if(n){var _n11=Object(i.drawSVGPath)(t,o.CLEF_PATHS[this.clef].path,e+h,0,this.scale,this.scale);this.setFill(_n11),h+=3*c;}if(s){var _n12=a[this.key].accidental,_r7=71===this.clef?0:14;a[this.key].pitches.forEach(function(s){var a=_this36.getPitchDetails(s).vSteps,u=Object(i.drawSVGPath)(t,o.ACCIDENTAL_PATHS[_n12],e+h,(_r7+a)*_this36.vStepSize,_this36.scale,_this36.scale);_this36.setFill(u),h+=u.getBoundingClientRect().width;});}if(u){var _n13=Object(i.createSVGGroupChild)(t,"time-key"),_r8=2.85*this.config.noteHeight+"px";Object(i.drawSVGText)(_n13,""+this.timeSignatureNumerator,e+h,-0.5,_r8,!0),Object(i.drawSVGText)(_n13,""+this.timeSignatureDenominator,e+h,4*this.vStepSize-0.5,_r8,!0),this.setFill(_n13),h+=_n13.getBoundingClientRect().width+c;}var f=this.redrawStaff(t,e,h);this.setStroke(f);var m=this.div.getBoundingClientRect(),d=t.getBoundingClientRect();if(this.updateVerticalBoundaries(d.top-m.top,d.bottom-m.top),p&&(_l4.setAttributeNS(null,"y",""+-this.staffOffset),_l4.setAttributeNS(null,"height",""+this.height),_l4.setAttributeNS(null,"width",""+h)),t===this.overlayG){this.overlaySVG.setAttributeNS(null,"width",""+(h+5));for(var _e19=0;_e19<5;++_e19){var _n14=Object(i.drawSVGPath)(t,o.stemPath,h+_e19,_e19*_e19-this.staffOffset,1/r.STEM_WIDTH,(this.height-2*_e19*_e19)/o.PATH_SCALE,(_e19-5)*(_e19-5)*2/o.PATH_SCALE);this.setFill(_n14);}}if(this.config.pixelsPerTimeStep>0){var _n15=0===this.signaturesQuarters;return _n15&&(this.signaturesQuarters=this.timeToQuarters(h/this.hStepSize)),(_n15||e>0)&&(this.signaturesBlinking=!0,Object(i.setFade)(t,this.signaturesBlinking)),0;}return h;}},{key:"changeKeySignatureIfNeeded",value:function changeKeySignatureIfNeeded(t){if(this.scoreInfo.keySignatures){var _e20=this.key;for(var _n16=0;_n160&&0===t&&(this.signatureNext=0,this.signaturesBlinking=!0,Object(i.setFade)(this.overlayG,this.signaturesBlinking));}},{key:"getBarLength",value:function getBarLength(){return 4*this.timeSignatureNumerator/this.timeSignatureDenominator;}},{key:"scrollIntoViewIfNeeded",value:function scrollIntoViewIfNeeded(t,e){if(t)if(this.scrollType===c.PAGE){var _t38=this.parentElement.getBoundingClientRect().width;e>this.parentElement.scrollLeft+_t38&&(this.parentElement.scrollLeft=e-20);}else{var _t39=this.parentElement.getBoundingClientRect().width;this.parentElement.scrollLeft=e-0.5*_t39;}}},{key:"updateVerticalBoundaries",value:function updateVerticalBoundaries(t,e){var n=0;if(t<0){this.staffOffset-=t;var _e22="translate(0, ".concat(this.staffOffset,")");this.overlayG.setAttributeNS(null,"transform",_e22),this.staffG.setAttributeNS(null,"transform",_e22),n=this.height-t;}if((n=Math.max(n,e-t))>this.height){this.height=n,this.overlaySVG.setAttributeNS(null,"height",""+this.height),this.staffSVG.setAttributeNS(null,"height",""+this.height);var _t40=this.div.querySelectorAll('rect[data-id="background"]');for(var _e23=0;_e23<_t40.length;++_e23){var _n20=_t40[_e23];_n20.setAttributeNS(null,"y",""+-this.staffOffset),_n20.setAttributeNS(null,"height",""+this.height);}}}},{key:"setFill",value:function setFill(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;t.setAttributeNS(null,"fill",this.getColor(e));}},{key:"setStroke",value:function setStroke(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:r.LINE_STROKE;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;t.setAttributeNS(null,"stroke",this.getColor(n)),t.setAttributeNS(null,"stroke-width",""+e);}},{key:"getColor",value:function getColor(t){return"rgb(".concat(t?this.config.activeNoteRGB:this.config.noteRGB,")");}},{key:"getOpacity",value:function getOpacity(t){return t?t/127*0.8+0.2:1;}},{key:"getGroup",value:function getGroup(t){var e=t.start,n=t.pitch;return this.staffSVG.querySelector("g[data-id=\"".concat(e,"-").concat(n,"\"]"));}},{key:"highlightElement",value:function highlightElement(t,e){t.setAttribute("fill",this.getColor(e)),t.setAttribute("stroke",this.getColor(e));}},{key:"getBarBeginnings",value:function getBarBeginnings(){var t=new Set();var e=0;this.scoreInfo.notes.forEach(function(t){t.start+t.length>e&&(e=t.start+t.length);});var n=this.scoreInfo.timeSignatures?this.scoreInfo.timeSignatures.slice(0):[{start:0,numerator:4,denominator:4}];n.sort(function(t,e){return t.start-e.start;});var r=0;for(var _i7=0;_i7=r&&(a=s.next(),_this37.barAccidentals={},n.isBarBeginning=!0),t.forEach(function(t){_this37.analyzePitch(t,e),n.minVStep=Math.max(t.vSteps,n.minVStep),n.maxVStep=Math.min(t.vSteps,n.maxVStep),n.notes.push(t);}),i&&(i.restToNextLength=e-o),_this37.musicBlockMap.set(e,n),i=n,o=e+n.notes[0].length;}),this.initialRest={maxVStep:0,minVStep:0,restToNextLength:this.musicBlockMap.values().next().value.notes[0].start,isBarBeginning:!0,notes:[{start:0,length:0,vSteps:0,accidental:0,opacity:0,pitch:0,xHeadRight:0}]},this.key=r;}},{key:"getQNote",value:function getQNote(t){return{start:t.start,length:t.length,vSteps:0,accidental:0,opacity:this.getOpacity(t.intensity),pitch:t.pitch,xHeadRight:0};}},{key:"splitQNote",value:function splitQNote(t,e){var n=t.start+t.length-e;return e>t.start&&n>0?(t.length-=n,{start:e,length:n,vSteps:t.vSteps,accidental:t.accidental,opacity:t.opacity,pitch:t.pitch,xHeadRight:0,tiedFrom:t}):null;}},{key:"analyzePitch",value:function analyzePitch(t,e){var n=this.getPitchDetails(t.pitch);n.vSteps in this.barAccidentals?n.accidental===this.barAccidentals[n.vSteps]?n.accidental=0:(3===this.barAccidentals[n.vSteps]?n.accidental=n.keyAccidental:0===n.accidental&&(n.accidental=3),this.barAccidentals[n.vSteps]=n.accidental):(t.tiedFrom&&(n.accidental=0),this.barAccidentals[n.vSteps]=n.accidental),t.vSteps=n.vSteps,t.accidental=n.accidental;}},{key:"getPitchDetails",value:function getPitchDetails(t){var e=t-60,n=Math.floor(e/12),r=e-12*n,i=s[this.key].steps[r],o=71===this.clef?6:-6,u=1===a[this.key].accidental?69+(r+3)%12:64+(r+8)%12;return{vSteps:o-7*n+i,accidental:s[this.key].accidental[r],keyAccidental:a[this.key].pitches.indexOf(u)>-1?a[this.key].accidental:0};}}]);return l;}();},function(t,e,n){"use strict";n.r(e);var r=n(3);n.d(e,"MAX_QUARTER_DIVISION",function(){return r.MAX_QUARTER_DIVISION;}),n.d(e,"ScrollType",function(){return r.ScrollType;}),n.d(e,"StaffSVGRender",function(){return r.StaffSVGRender;});}]);},,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"aux_inputs",function(){return r;}),n.d(e,"chords",function(){return i;}),n.d(e,"constants",function(){return o;}),n.d(e,"data",function(){return s;}),n.d(e,"logging",function(){return a;}),n.d(e,"melodies",function(){return u;}),n.d(e,"performance",function(){return c;}),n.d(e,"sequences",function(){return l;}),n.d(e,"MetronomeCallbackObject",function(){return p;}),n.d(e,"Metronome",function(){return f;}),n.d(e,"MidiConversionError",function(){return S;}),n.d(e,"midiToSequenceProto",function(){return y;}),n.d(e,"sequenceProtoToMidi",function(){return b;}),n.d(e,"urlToBlob",function(){return w;}),n.d(e,"blobToNoteSequence",function(){return P;}),n.d(e,"urlToNoteSequence",function(){return v;}),n.d(e,"BasePlayerCallback",function(){return I;}),n.d(e,"BasePlayer",function(){return M;}),n.d(e,"Player",function(){return k;}),n.d(e,"SoundFontPlayer",function(){return q;}),n.d(e,"PlayerWithClick",function(){return E;}),n.d(e,"MIDIPlayer",function(){return _;}),n.d(e,"BaseRecorderCallback",function(){return x;}),n.d(e,"Recorder",function(){return C;}),n.d(e,"BaseVisualizer",function(){return D;}),n.d(e,"PianoRollCanvasVisualizer",function(){return j;}),n.d(e,"Visualizer",function(){return L;}),n.d(e,"BaseSVGVisualizer",function(){return R;}),n.d(e,"PianoRollSVGVisualizer",function(){return B;}),n.d(e,"WaterfallSVGVisualizer",function(){return U;}),n.d(e,"ScrollType",function(){return G;}),n.d(e,"StaffSVGVisualizer",function(){return F;});var r=n(36),i=n(18),o=n(1),s=n(12),a=n(4),u=n(10),c=n(13),l=n(7),h=n(3);var p=/*#__PURE__*/babelHelpers.createClass(function p(){babelHelpers.classCallCheck(this,p);});var f=/*#__PURE__*/function(){function f(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;babelHelpers.classCallCheck(this,f);this.clicksPerQuarter=1,this.muted=!1,this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.loClickNote="c5",this.hiClickNote="g5",this.ticking=!1,this.startedAt=null,this.step=-1,this.reset(),this.callbackObject=t,this.clicksPerQuarter=e;}babelHelpers.createClass(f,[{key:"isTicking",value:function isTicking(){return this.ticking;}},{key:"getStartedAt",value:function getStartedAt(){return this.startedAt;}},{key:"getOffsetTime",value:function getOffsetTime(){return h.immediate()-this.startedAt;}},{key:"start",value:function start(){var _this38=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:120;this.reset(),this.ticking=!0,this.callbackObject.click||(this.callbackObject.click=function(){}),this.callbackObject.quarter||(this.callbackObject.quarter=function(){}),this.callbackObject.bar||(this.callbackObject.bar=function(){});var e=0;var n=4*this.clicksPerQuarter;h.Transport.scheduleRepeat(function(t){_this38.startedAt||(_this38.startedAt=t);var r=t-_this38.startedAt;_this38.step++;var i=_this38.step%n,o=Math.floor(i/_this38.clicksPerQuarter),s=i%_this38.clicksPerQuarter;_this38.callbackObject.click(r,i),0===s&&_this38.callbackObject.quarter(r,o),_this38.muted||(0===i?_this38.hiClick.triggerAttack(_this38.hiClickNote,t,0.1):_this38.loClick.triggerAttack(_this38.loClickNote,t,0.1)),0===i&&(_this38.callbackObject.bar(r,e),e++);},n+"n"),h.Transport.bpm.value=t,h.Transport.start();}},{key:"stop",value:function stop(){this.ticking=!1,h.Transport.cancel(),h.Transport.stop();}},{key:"reset",value:function reset(){this.muted=!1,this.ticking=!1,this.step=-1,this.startedAt=null;}}]);return f;}();var m=n(46),d=n(6),g=n(2);var S=/*#__PURE__*/function(_Error8){babelHelpers.inherits(S,_Error8);var _super22=_createSuper(S);function S(t){var _this39;babelHelpers.classCallCheck(this,S);_this39=_super22.call(this,t),Object.setPrototypeOf(babelHelpers.assertThisInitialized(_this39),new.target.prototype);return _this39;}return babelHelpers.createClass(S);}(/*#__PURE__*/babelHelpers.wrapNativeSuper(Error));function y(t){var e=new m.Midi(t),n=g.a.create();n.ticksPerQuarter=e.header.ppq,n.sourceInfo=g.a.SourceInfo.create({parser:g.a.SourceInfo.Parser.TONEJS_MIDI_CONVERT,encodingType:g.a.SourceInfo.EncodingType.MIDI});var _iterator6=_createForOfIteratorHelper(e.header.timeSignatures),_step6;try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var _t41=_step6.value;n.timeSignatures.push(g.a.TimeSignature.create({time:e.header.ticksToSeconds(_t41.ticks),numerator:_t41.timeSignature[0],denominator:_t41.timeSignature[1]}));}}catch(err){_iterator6.e(err);}finally{_iterator6.f();}n.timeSignatures.length||n.timeSignatures.push(g.a.TimeSignature.create({time:0,numerator:4,denominator:4}));var _iterator7=_createForOfIteratorHelper(e.header.tempos),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var _t42=_step7.value;n.tempos.push(g.a.Tempo.create({time:_t42.time,qpm:_t42.bpm}));}}catch(err){_iterator7.e(err);}finally{_iterator7.f();}var r=-1;var _iterator8=_createForOfIteratorHelper(e.tracks),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var _t43=_step8.value;_t43.notes.length>0&&(r+=1);var _iterator9=_createForOfIteratorHelper(_t43.notes),_step9;try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _e24=_step9.value;var _i8=_e24.time,_s5=_i8+_e24.duration;n.notes.push(g.a.Note.create({instrument:r,program:_t43.instrument.number,startTime:_i8,endTime:_s5,pitch:_e24.midi,velocity:Math.floor(_e24.velocity*o.MIDI_VELOCITIES),isDrum:_t43.instrument.percussion})),_s5>n.totalTime&&(n.totalTime=_s5);}}catch(err){_iterator9.e(err);}finally{_iterator9.f();}}}catch(err){_iterator8.e(err);}finally{_iterator8.f();}return n;}function b(t){l.isQuantizedSequence(t)&&(t=l.unquantizeSequence(t));var e=new m.Midi();e.fromJSON({header:{name:"",ppq:t.ticksPerQuarter||o.DEFAULT_TICKS_PER_QUARTER,tempos:[],timeSignatures:[],keySignatures:[],meta:[]},tracks:[]});var n=Array.from(t.tempos||[]);0===n.length&&n.push({time:0,qpm:o.DEFAULT_QUARTERS_PER_MINUTE}),n.sort(function(t,e){return t.time-e.time;});for(var _i9=0,_n21=n;_i9<_n21.length;_i9++){var _t44=_n21[_i9];e.header.tempos.push({ticks:e.header.secondsToTicks(_t44.time),bpm:_t44.qpm}),e.header.update();}if(t.timeSignatures&&0!==t.timeSignatures.length){var _iterator10=_createForOfIteratorHelper(t.timeSignatures),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _n22=_step10.value;e.header.timeSignatures.push({ticks:e.header.secondsToTicks(_n22.time),timeSignature:[_n22.numerator,_n22.denominator]});}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}}else e.header.timeSignatures.push({ticks:0,timeSignature:[4,4]});e.header.update();var r=new Map();var _iterator11=_createForOfIteratorHelper(t.notes),_step11;try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var _e26=_step11.value;var _t46=_e26.instrument?_e26.instrument:0,_n23=void 0===_e26.program?o.DEFAULT_PROGRAM:_e26.program,_i10=!!_e26.isDrum,_s6=JSON.stringify([_t46,_n23,_i10]);r.has(_s6)||r.set(_s6,[]),r.get(_s6).push(_e26);}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}return r.forEach(function(t,n){var _JSON$parse$slice=JSON.parse(n).slice(1),_JSON$parse$slice2=babelHelpers.slicedToArray(_JSON$parse$slice,2),r=_JSON$parse$slice2[0],i=_JSON$parse$slice2[1],s=e.addTrack();s.channel=i?o.DRUM_CHANNEL:o.NON_DRUM_CHANNELS[(e.tracks.length-1)%o.NON_DRUM_CHANNELS.length],s.instrument.number=r;var _iterator12=_createForOfIteratorHelper(t),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var _e25=_step12.value;var _t45=void 0===_e25.velocity?o.DEFAULT_VELOCITY:_e25.velocity;s.addNote({midi:_e25.pitch,time:_e25.startTime,duration:_e25.endTime-_e25.startTime,velocity:(_t45+1)/o.MIDI_VELOCITIES});}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}}),e.toArray();}function w(t){return new Promise(function(e,n){Object(d.a)(t).then(function(t){return t.blob();}).then(function(t){e(t);}).catch(function(t){return n(t);});});}function P(t){return new Promise(function(e,n){var r=new FileReader();r.onload=function(t){try{var _t47=y(r.result);e(_t47);}catch(t){n(t);}},r.onerror=function(t){return n(t);},r.readAsArrayBuffer(t);});}function v(t){return w(t).then(P);}var N=/*#__PURE__*/function(){function N(t){babelHelpers.classCallCheck(this,N);this.FADE_SECONDS=0.1,this.baseURL=t,this.buffers=new h.Buffers([]),this.sourceMap=new Map(),this.initialized=!1;}babelHelpers.createClass(N,[{key:"initialize",value:function(){var _initialize=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(){var _this40=this;return _regeneratorRuntime().wrap(function _callee10$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:_context10.next=2;return Object(d.a)(this.baseURL+"/instrument.json").then(function(t){return t.json();}).then(function(t){_this40.name=t.name,_this40.minPitch=t.minPitch,_this40.maxPitch=t.maxPitch,_this40.durationSeconds=t.durationSeconds,_this40.releaseSeconds=t.releaseSeconds,_this40.percussive=t.percussive,_this40.velocities=t.velocities,_this40.initialized=!0;});case 2:case"end":return _context10.stop();}}},_callee10,this);}));function initialize(){return _initialize.apply(this,arguments);}return initialize;}()},{key:"sampleInfoToName",value:function sampleInfoToName(t){return this.velocities?"p".concat(t.pitch,"_v").concat(t.velocity):"p"+t.pitch;}},{key:"sampleNameToURL",value:function sampleNameToURL(t){return"".concat(this.baseURL,"/").concat(t,".mp3");}},{key:"nearestVelocity",value:function nearestVelocity(t){if(!this.velocities)return t;t||(t=o.DEFAULT_VELOCITY);var e=void 0,n=o.MIDI_VELOCITIES;return this.velocities.forEach(function(r){var i=Math.abs(r-t);i_this41.maxPitch)||(a.log("Pitch ".concat(t.pitch," is outside the valid range for ").concat(_this41.name,", ignoring."),"SoundFont"),!1);}).map(function(t){return _this41.sampleInfoToName({pitch:t.pitch,velocity:_this41.nearestVelocity(t.velocity)});}),n=Array.from(new Set(e)).filter(function(t){return!_this41.buffers.has(t);}).map(function(t){return{name:t,url:_this41.sampleNameToURL(t)};});_context11.t1=n.length>0;if(!_context11.t1){_context11.next=11;break;}n.forEach(function(t){return _this41.buffers.add(t.name,t.url);});_context11.next=10;return new Promise(function(t){return h.Buffer.on("load",t);});case 10:a.log("Loaded samples for ".concat(this.name,"."),"SoundFont");case 11:case"end":return _context11.stop();}}},_callee11,this);}));function loadSamples(_x23){return _loadSamples.apply(this,arguments);}return loadSamples;}()},{key:"playNote",value:function playNote(t,e,n,r,i){var o=this.getBuffer(t,e);r>this.durationSeconds&&a.log("Requested note duration longer than sample duration: ".concat(r," > ").concat(this.durationSeconds),"SoundFont");var s=new h.BufferSource({buffer:o,fadeOut:this.FADE_SECONDS}).connect(i);if(s.start(n,0,void 0,1,0),!this.percussive&&rthis.maxPitch)return void a.log("Pitch ".concat(t," is outside the valid range for ").concat(this.name," (").concat(this.minPitch,"-").concat(this.maxPitch,")"),"SoundFont");var n=this.sampleInfoToName({pitch:t,velocity:this.nearestVelocity(e)});if(!this.buffers.has(n))throw new Error("Buffer not found for ".concat(this.name,": ").concat(n));var r=this.buffers.get(n);if(!r.loaded)throw new Error("Buffer not loaded for ".concat(this.name,": ").concat(n));return r;}}]);return N;}();var T=/*#__PURE__*/function(){function T(t){babelHelpers.classCallCheck(this,T);this.baseURL=t,this.instruments=new Map(),this.initialized=!1;}babelHelpers.createClass(T,[{key:"initialize",value:function(){var _initialize2=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(){var _this42=this;return _regeneratorRuntime().wrap(function _callee12$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.next=2;return Object(d.a)(this.baseURL+"/soundfont.json").then(function(t){return t.json();}).then(function(t){_this42.name=t.name;for(var _e27 in t.instruments){var _n24="".concat(_this42.baseURL,"/").concat(t.instruments[_e27]);_this42.instruments.set("drums"===_e27?"drums":+_e27,new N(_n24));}_this42.initialized=!0;});case 2:case"end":return _context12.stop();}}},_callee12,this);}));function initialize(){return _initialize2.apply(this,arguments);}return initialize;}()},{key:"loadSamples",value:function(){var _loadSamples2=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(t){var _this43=this;var e;return _regeneratorRuntime().wrap(function _callee13$(_context13){while(1){switch(_context13.prev=_context13.next){case 0:_context13.t0=this.initialized;if(_context13.t0){_context13.next=4;break;}_context13.next=4;return this.initialize();case 4:e=new Map();t.forEach(function(t){t.isDrum=t.isDrum||!1,t.program=t.program||0;var n=t.isDrum?"drums":t.program,r={pitch:t.pitch,velocity:t.velocity};e.has(n)?e.get(n).push(r):_this43.instruments.has(n)?e.set(n,[r]):a.log("No instrument in ".concat(_this43.name," for: program=").concat(t.program,", isDrum=").concat(t.isDrum),"SoundFont");});_context13.next=8;return Promise.all(Array.from(e.keys()).map(function(t){return _this43.instruments.get(t).loadSamples(e.get(t));}));case 8:case"end":return _context13.stop();}}},_callee13,this);}));function loadSamples(_x24){return _loadSamples2.apply(this,arguments);}return loadSamples;}()},{key:"playNote",value:function playNote(t,e,n,r){var i=arguments.length>4&&arguments[4]!==undefined?arguments[4]:0;var o=arguments.length>5&&arguments[5]!==undefined?arguments[5]:!1;var s=arguments.length>6?arguments[6]:undefined;var u=o?"drums":i;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(u)?this.instruments.get(u).playNote(t,e,n,r,s):a.log("No instrument in ".concat(this.name," for: program=").concat(i,", isDrum=").concat(o),"SoundFont");}},{key:"playNoteDown",value:function playNoteDown(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;var i=arguments.length>4?arguments[4]:undefined;var o=r?"drums":n;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(o)?this.instruments.get(o).playNoteDown(t,e,i):a.log("No instrument in ".concat(this.name," for: program=").concat(n,", isDrum=").concat(r),"SoundFont");}},{key:"playNoteUp",value:function playNoteUp(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;var i=arguments.length>4?arguments[4]:undefined;var o=r?"drums":n;if(!this.initialized)throw new Error("SoundFont is not initialized.");this.instruments.has(o)?this.instruments.get(o).playNoteUp(t,e,i):a.log("No instrument in ".concat(this.name," for: program=").concat(n,", isDrum=").concat(r),"SoundFont");}}]);return T;}();function O(t,e){return t.quantizedStartStepe.quantizedStartStep?1:t.pitch0&&arguments[0]!==undefined?arguments[0]:!1;var e=arguments.length>1?arguments[1]:undefined;babelHelpers.classCallCheck(this,M);this.playClick=t,this.callbackObject=e,this.desiredQPM=void 0;}babelHelpers.createClass(M,[{key:"setTempo",value:function setTempo(t){this.desiredQPM=t,"started"===h.Transport.state&&(h.Transport.bpm.value=t);}},{key:"makeClickSequence",value:function makeClickSequence(t){var e=l.clone(t),n=e.notes.map(function(t){return t.quantizedEndStep;}),r=Math.max.apply(Math,babelHelpers.toConsumableArray(n));for(var _t49=0;_t490&&t.tempos[0].qpm>0?h.Transport.bpm.value=t.tempos[0].qpm:h.Transport.bpm.value=o.DEFAULT_QUARTERS_PER_MINUTE,n)t=l.unquantizeSequence(t,e);else if(e)throw new Error("Cannot specify a `qpm` for a non-quantized sequence.");var r=new h.Part(function(t,e){_this44.currentPart===r&&((_this44.playClick||e.pitch!==o.LO_CLICK_PITCH&&e.pitch!==o.HI_CLICK_PITCH)&&_this44.playNote(t,e),_this44.callbackObject&&h.Draw.schedule(function(){_this44.callbackObject.run(e,t);},t));},t.notes.map(function(t){return[t.startTime,t];}));return this.currentPart=r,this.desiredQPM&&(h.Transport.bpm.value=this.desiredQPM),this.currentPart.start(),"started"!==h.Transport.state&&h.Transport.start(),new Promise(function(e){_this44.scheduledStop=h.Transport.schedule(function(){_this44.stop(),e(),_this44.callbackObject&&_this44.callbackObject.stop();},"+"+t.totalTime);});}},{key:"stop",value:function stop(){this.isPlaying()&&(this.currentPart.stop(),h.Transport.stop(),this.currentPart=null),h.Transport.clear(this.scheduledStop),this.scheduledStop=void 0,this.desiredQPM=void 0;}},{key:"pause",value:function pause(){if(!this.isPlaying())throw new Error("Cannot pause playback while the player is stopped.");h.Transport.pause();}},{key:"resume",value:function resume(){if("paused"!==this.getPlayState())throw new Error("Cannot resume playback while \"".concat(this.getPlayState(),"\"."));h.Transport.start();}},{key:"seekTo",value:function seekTo(t){if(!this.isPlaying())throw new Error("Cannot seek while the player is stopped.");h.Transport.seconds=t;}},{key:"isPlaying",value:function isPlaying(){return!!this.currentPart;}},{key:"getPlayState",value:function getPlayState(){return this.isPlaying()?h.Transport.state:"stopped";}}]);return M;}();var A=/*#__PURE__*/function(){function A(){var _this45=this;babelHelpers.classCallCheck(this,A);this.DRUM_PITCH_TO_CLASS=new Map(),this.kick=new h.MembraneSynth().toMaster(),this.tomLow=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.tomMid=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.tomHigh=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.01,decay:0.5,sustain:0}}).toMaster(),this.closedHihat=new h.MetalSynth({frequency:400,envelope:{attack:0.001,decay:0.1,release:0.8},harmonicity:5.1,modulationIndex:32,resonance:4e3,octaves:1}).toMaster(),this.openHihat=new h.MetalSynth({frequency:400,envelope:{attack:0.001,decay:0.5,release:0.8,sustain:1},harmonicity:5.1,modulationIndex:32,resonance:4e3,octaves:1}).toMaster(),this.ride=new h.MetalSynth().toMaster(),this.crash=new h.MetalSynth({frequency:300,envelope:{attack:0.001,decay:1,release:3},harmonicity:5.1,modulationIndex:64,resonance:4e3,octaves:1.5}).toMaster(),this.snare=new h.NoiseSynth({noise:{type:"white"},envelope:{attack:0.005,decay:0.05,sustain:0.1,release:0.4}}).toMaster(),this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.pitchPlayers=[function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.kick.triggerAttackRelease("C2","8n",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.snare.triggerAttackRelease("16n",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.closedHihat.triggerAttack(t,0.3,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.openHihat.triggerAttack(t,0.3,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomLow.triggerAttack("G3",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomMid.triggerAttack("C4",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.tomHigh.triggerAttack("F4",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.crash.triggerAttack(t,1,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return _this45.ride.triggerAttack(t,0.5,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.loClick.triggerAttack("G5",t,e);},function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0.5;return _this45.hiClick.triggerAttack("C6",t,e);}];var _loop3=function _loop3(_t50){s.DEFAULT_DRUM_PITCH_CLASSES[_t50].forEach(function(e){_this45.DRUM_PITCH_TO_CLASS.set(e,_t50);});};for(var _t50=0;_t50=32&&e<=39?this.bassSynth:this.polySynth;}}]);return k;}(M);k.tone=h;var q=/*#__PURE__*/function(_M2){babelHelpers.inherits(q,_M2);var _super24=_createSuper(q);function q(t){var _this47;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:h.Master;var n=arguments.length>2?arguments[2]:undefined;var r=arguments.length>3?arguments[3]:undefined;var i=arguments.length>4?arguments[4]:undefined;babelHelpers.classCallCheck(this,q);_this47=_super24.call(this,!1,i),_this47.soundFont=new T(t),_this47.output=e,_this47.programOutputs=n,_this47.drumOutputs=r;return _this47;}babelHelpers.createClass(q,[{key:"loadSamples",value:function(){var _loadSamples3=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(t){return _regeneratorRuntime().wrap(function _callee14$(_context14){while(1){switch(_context14.prev=_context14.next){case 0:_context14.next=2;return this.soundFont.loadSamples(t.notes.map(function(t){return{pitch:t.pitch,velocity:t.velocity,program:t.program||0,isDrum:t.isDrum||!1};}));case 2:case"end":return _context14.stop();}}},_callee14,this);}));function loadSamples(_x25){return _loadSamples3.apply(this,arguments);}return loadSamples;}()},{key:"loadAllSamples",value:function(){var _loadAllSamples=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(){var t,e,n,r,i,_s7,_r12,_args15=arguments;return _regeneratorRuntime().wrap(function _callee15$(_context15){while(1){switch(_context15.prev=_context15.next){case 0:t=_args15.length>0&&_args15[0]!==undefined?_args15[0]:0;e=_args15.length>1&&_args15[1]!==undefined?_args15[1]:!1;n=g.a.create(),r=e?o.MIN_DRUM_PITCH:o.MIN_PIANO_PITCH,i=e?o.MAX_DRUM_PITCH:o.MAX_PIANO_PITCH;for(_s7=r;_s7<=i;_s7++){for(_r12=o.MIN_MIDI_VELOCITY;_r120&&arguments[0]!==undefined?arguments[0]:{};var e=arguments.length>1?arguments[1]:undefined;babelHelpers.classCallCheck(this,C);this.notes=[],this.midiInputs=[],this.loClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.hiClick=new h.MembraneSynth({pitchDecay:0.008,envelope:{attack:0.001,decay:0.3,sustain:0}}).toMaster(),this.config={playClick:t.playClick,qpm:t.qpm||o.DEFAULT_QUARTERS_PER_MINUTE,playCountIn:t.playCountIn,startRecordingAtFirstNote:t.startRecordingAtFirstNote||!1},this.callbackObject=e,this.recording=!1,this.onNotes=new Map();}babelHelpers.createClass(C,[{key:"initialize",value:function(){var _initialize3=babelHelpers.asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(){var _this51=this;return _regeneratorRuntime().wrap(function _callee17$(_context17){while(1){switch(_context17.prev=_context17.next){case 0:_context17.next=2;return navigator.requestMIDIAccess().then(function(t){return _this51.midiReady(t);},function(t){return console.log("Something went wrong",t);});case 2:case"end":return _context17.stop();}}},_callee17);}));function initialize(){return _initialize3.apply(this,arguments);}return initialize;}()},{key:"midiReady",value:function midiReady(t){a.log("Initialized Recorder","Recorder");var e=t.inputs.values();for(var _t54=e.next();_t54&&!_t54.done;_t54=e.next()){this.midiInputs.push(_t54.value);}}},{key:"isRecording",value:function isRecording(){return this.recording;}},{key:"setTempo",value:function setTempo(t){this.config.qpm=t,"started"===h.Transport.state&&(h.Transport.bpm.value=t);}},{key:"enablePlayClick",value:function enablePlayClick(t){this.config.playClick=t;}},{key:"enablePlayCountIn",value:function enablePlayCountIn(t){this.config.playCountIn=t;}},{key:"initClickLoop",value:function initClickLoop(){var _this52=this;var t=0;this.clickLoop=new h.Loop(function(e){t%4==0?_this52.loClick.triggerAttack("G5",e):_this52.hiClick.triggerAttack("C6",e),t++,_this52.config.playCountIn&&4===t&&(h.Transport.stop(),_this52.clickLoop.stop());},"4n");}},{key:"getMIDIInputs",value:function getMIDIInputs(){return this.midiInputs;}},{key:"start",value:function start(t){var _this53=this;var e=t||this.midiInputs;var _iterator13=_createForOfIteratorHelper(e),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _t56=_step13.value;_t56.onmidimessage=function(t){_this53.midiMessageReceived(t);};}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}if(this.config.playClick||this.config.playCountIn?(this.initClickLoop(),h.Transport.bpm.value=this.config.qpm,h.Transport.start(),this.clickLoop.start()):this.clickLoop=null,this.recording=!0,this.firstNoteTimestamp=void 0,this.notes=[],this.onNotes=new Map(),!this.startRecordingAtFirstNote){var _t55=Date.now();this.firstNoteTimestamp=_t55;}}},{key:"stop",value:function stop(){var _this54=this;this.recording=!1;var t=Date.now();this.onNotes.forEach(function(e,n){_this54.noteOff(n,t);});var _iterator14=_createForOfIteratorHelper(this.midiInputs),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _t57=_step14.value;_t57.onmidimessage=null;}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}return this.clickLoop&&(h.Transport.stop(),this.clickLoop.stop()),0===this.notes.length?null:this.getNoteSequence();}},{key:"getNoteSequence",value:function getNoteSequence(){return 0===this.notes.length?null:g.a.create({notes:this.notes,totalTime:this.notes[this.notes.length-1].endTime});}},{key:"reset",value:function reset(){var t=this.stop();return this.firstNoteTimestamp=void 0,this.notes=[],this.onNotes=new Map(),t;}},{key:"midiMessageReceived",value:function midiMessageReceived(t){if(!this.recording)return;var e;e=void 0!==t.timeStamp&&0!==t.timeStamp?t.timeStamp:d.d.now();var n=e+d.d.timing.navigationStart;void 0===this.firstNoteTimestamp&&(this.firstNoteTimestamp=n);var r=t.data[0]>>4,i=t.data[1],o=t.data.length>2?t.data[2]:1,s=t.srcElement;8===r||9===r&&0===o?(this.callbackObject&&this.callbackObject.noteOff&&this.callbackObject.noteOff(i,o,s),this.noteOff(i,n),this.callbackObject&&this.callbackObject.run&&this.callbackObject.run(this.getNoteSequence())):9===r&&(this.callbackObject&&this.callbackObject.noteOn&&this.callbackObject.noteOn(i,o,s),this.noteOn(i,o,n));}},{key:"noteOn",value:function noteOn(t,e,n){var r=new g.a.Note();r.pitch=t,r.startTime=(n-this.firstNoteTimestamp)/1e3,r.velocity=e,this.onNotes.set(t,r);}},{key:"noteOff",value:function noteOff(t,e){var n=this.onNotes.get(t);n&&(n.endTime=(e-this.firstNoteTimestamp)/1e3,this.notes.push(n)),this.onNotes.delete(t);}}]);return C;}();var z=n(55);var D=/*#__PURE__*/function(){function D(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};babelHelpers.classCallCheck(this,D);this.noteSequence=t,this.sequenceIsQuantized=l.isQuantizedSequence(this.noteSequence);if(this.config={noteHeight:e.noteHeight||6,noteSpacing:e.noteSpacing||1,pixelsPerTimeStep:e.pixelsPerTimeStep||30,noteRGB:e.noteRGB||"8, 41, 64",activeNoteRGB:e.activeNoteRGB||"240, 84, 119",minPitch:e.minPitch,maxPitch:e.maxPitch},this.sequenceIsQuantized){var _e28=t.quantizationInfo.stepsPerQuarter;this.config.pixelsPerTimeStep=_e28?this.config.pixelsPerTimeStep/_e28:7;}var n=this.getSize();this.width=n.width,this.height=n.height;}babelHelpers.createClass(D,[{key:"updateMinMaxPitches",value:function updateMinMaxPitches(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;if(!this.config.minPitch||!this.config.maxPitch){void 0===this.config.minPitch&&(this.config.minPitch=o.MAX_MIDI_PITCH),void 0===this.config.maxPitch&&(this.config.maxPitch=o.MIN_MIDI_PITCH);var _iterator15=_createForOfIteratorHelper(this.noteSequence.notes),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var _t58=_step15.value;this.config.minPitch=Math.min(_t58.pitch,this.config.minPitch),this.config.maxPitch=Math.max(_t58.pitch,this.config.maxPitch);}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}t||(this.config.minPitch-=2,this.config.maxPitch+=2);}}},{key:"getSize",value:function getSize(){this.updateMinMaxPitches();var t=(this.config.maxPitch-this.config.minPitch)*this.config.noteHeight,e=this.sequenceIsQuantized?this.noteSequence.totalQuantizedSteps:this.noteSequence.totalTime;if(!e)throw new Error("The sequence you are using with the visualizer does not have a "+(this.sequenceIsQuantized?"totalQuantizedSteps":"totalTime")+" field set, so the visualizer can't be horizontally sized correctly.");return{width:e*this.config.pixelsPerTimeStep,height:t};}},{key:"getNotePosition",value:function getNotePosition(t,e){var n=this.getNoteEndTime(t)-this.getNoteStartTime(t),r=this.getNoteStartTime(t)*this.config.pixelsPerTimeStep,i=Math.max(this.config.pixelsPerTimeStep*n-this.config.noteSpacing,1);return{x:r,y:this.height-(t.pitch-this.config.minPitch)*this.config.noteHeight,w:i,h:this.config.noteHeight};}},{key:"scrollIntoViewIfNeeded",value:function scrollIntoViewIfNeeded(t,e){if(t&&this.parentElement){var _t59=this.parentElement.getBoundingClientRect().width;e>this.parentElement.scrollLeft+_t59&&(this.parentElement.scrollLeft=e-20);}}},{key:"getNoteStartTime",value:function getNoteStartTime(t){return this.sequenceIsQuantized?t.quantizedStartStep:Math.round(1e8*t.startTime)/1e8;}},{key:"getNoteEndTime",value:function getNoteEndTime(t){return this.sequenceIsQuantized?t.quantizedEndStep:Math.round(1e8*t.endTime)/1e8;}},{key:"isPaintingActiveNote",value:function isPaintingActiveNote(t,e){var n=this.getNoteStartTime(t)===this.getNoteStartTime(e),r=this.getNoteStartTime(t)<=this.getNoteStartTime(e)&&this.getNoteEndTime(t)>=this.getNoteEndTime(e);return n||r;}}]);return D;}();var j=/*#__PURE__*/function(_D){babelHelpers.inherits(j,_D);var _super27=_createSuper(j);function j(t,e){var _this55;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,j);_this55=_super27.call(this,t,n),_this55.ctx=e.getContext("2d"),_this55.parentElement=e.parentElement;var r=window.devicePixelRatio||1;_this55.ctx&&(_this55.ctx.canvas.width=r*_this55.width,_this55.ctx.canvas.height=r*_this55.height,e.style.width=_this55.width+"px",e.style.height=_this55.height+"px",_this55.ctx.scale(r,r)),_this55.redraw();return _this55;}babelHelpers.createClass(j,[{key:"redraw",value:function redraw(t,e){var n;this.clear();for(var _e29=0;_e292&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,L);_this56=_super28.call(this,t,e,n),a.log("mm.Visualizer is deprecated, and will be removed in a future version. Please use mm.PianoRollCanvasVisualizer instead","mm.Visualizer",5);return _this56;}return babelHelpers.createClass(L);}(j);var R=/*#__PURE__*/function(_D2){babelHelpers.inherits(R,_D2);var _super29=_createSuper(R);function R(t){var _this57;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};babelHelpers.classCallCheck(this,R);_this57=_super29.call(this,t,e),_this57.drawn=!1;return _this57;}babelHelpers.createClass(R,[{key:"redraw",value:function redraw(t,e){if(this.drawn||this.draw(),!t)return null;var n;this.unfillActiveRect(this.svg);for(var _e30=0;_e302&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,B);if(_this58=_super30.call(this,t,n),!babelHelpers.instanceof(e,SVGSVGElement))throw new Error("This visualizer requires an element to display the visualization");_this58.svg=e,_this58.parentElement=e.parentElement;var r=_this58.getSize();_this58.width=r.width,_this58.height=r.height,_this58.svg.style.width=_this58.width+"px",_this58.svg.style.height=_this58.height+"px",_this58.clear(),_this58.draw();return babelHelpers.possibleConstructorReturn(_this58);}return babelHelpers.createClass(B);}(R);var U=/*#__PURE__*/function(_R2){babelHelpers.inherits(U,_R2);var _super31=_createSuper(U);function U(t,e){var _this59;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,U);if(_this59=_super31.call(this,t,n),_this59.NOTES_PER_OCTAVE=12,_this59.WHITE_NOTES_PER_OCTAVE=7,_this59.LOW_C=24,_this59.firstDrawnOctave=0,_this59.lastDrawnOctave=6,!babelHelpers.instanceof(e,HTMLDivElement))throw new Error("This visualizer requires a
        element to display the visualization");_this59.config.whiteNoteWidth=n.whiteNoteWidth||20,_this59.config.blackNoteWidth=n.blackNoteWidth||2*_this59.config.whiteNoteWidth/3,_this59.config.whiteNoteHeight=n.whiteNoteHeight||70,_this59.config.blackNoteHeight=n.blackNoteHeight||140/3,_this59.config.showOnlyOctavesUsed=n.showOnlyOctavesUsed,_this59.setupDOM(e);var r=_this59.getSize();_this59.width=r.width,_this59.height=r.height,_this59.svg.style.width=_this59.width+"px",_this59.svg.style.height=_this59.height+"px",_this59.svgPiano.style.width=_this59.width+"px",_this59.svgPiano.style.height=_this59.config.whiteNoteHeight+"px",_this59.parentElement.style.width=_this59.width+_this59.config.whiteNoteWidth+"px",_this59.parentElement.scrollTop=_this59.parentElement.scrollHeight,_this59.clear(),_this59.drawPiano(),_this59.draw();return babelHelpers.possibleConstructorReturn(_this59);}babelHelpers.createClass(U,[{key:"setupDOM",value:function setupDOM(t){this.parentElement=document.createElement("div"),this.parentElement.classList.add("waterfall-notes-container");var e=Math.max(t.getBoundingClientRect().height,200);this.parentElement.style.paddingTop=e-this.config.whiteNoteHeight+"px",this.parentElement.style.height=e-this.config.whiteNoteHeight+"px",this.parentElement.style.boxSizing="border-box",this.parentElement.style.overflowX="hidden",this.parentElement.style.overflowY="auto",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svgPiano=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.classList.add("waterfall-notes"),this.svgPiano.classList.add("waterfall-piano"),this.parentElement.appendChild(this.svg),t.innerHTML="",t.appendChild(this.parentElement),t.appendChild(this.svgPiano);}},{key:"redraw",value:function redraw(t,e){if(this.drawn||this.draw(),!t)return null;this.clearActiveNotes(),this.parentElement.style.paddingTop=this.parentElement.style.height;for(var _e32=0;_e32this.config.minPitch&&(this.firstDrawnOctave=_t63-1,_e34=!0),!_n29&&_r19>this.config.maxPitch&&(this.lastDrawnOctave=_t63-1,_n29=!0);}t=(this.lastDrawnOctave-this.firstDrawnOctave+1)*this.WHITE_NOTES_PER_OCTAVE;}var e=t*this.config.whiteNoteWidth,n=this.sequenceIsQuantized?this.noteSequence.totalQuantizedSteps:this.noteSequence.totalTime;if(!n)throw new Error("The sequence you are using with the visualizer does not have a "+(this.sequenceIsQuantized?"totalQuantizedSteps":"totalTime")+" field set, so the visualizer can't be horizontally sized correctly.");return{width:e,height:Math.max(n*this.config.pixelsPerTimeStep,1)};}},{key:"getNotePosition",value:function getNotePosition(t,e){var n=this.svgPiano.querySelector("rect[data-pitch=\"".concat(t.pitch,"\"]"));if(!n)return null;var r=this.getNoteEndTime(t)-this.getNoteStartTime(t),i=Number(n.getAttribute("x")),o=Number(n.getAttribute("width")),s=Math.max(this.config.pixelsPerTimeStep*r-this.config.noteSpacing,1);return{x:i,y:this.height-this.getNoteStartTime(t)*this.config.pixelsPerTimeStep-s,w:o,h:s};}},{key:"drawPiano",value:function drawPiano(){this.svgPiano.innerHTML="";var t=this.config.whiteNoteWidth-this.config.blackNoteWidth/2,e=[1,3,6,8,10];var n=0,r=0;this.config.showOnlyOctavesUsed?r=this.firstDrawnOctave*this.NOTES_PER_OCTAVE+this.LOW_C:(r=this.LOW_C-3,this.drawWhiteKey(r,n),this.drawWhiteKey(r+2,this.config.whiteNoteWidth),r+=3,n=2*this.config.whiteNoteWidth);for(var _t64=this.firstDrawnOctave;_t64<=this.lastDrawnOctave;_t64++){for(var _t65=0;_t652&&arguments[2]!==undefined?arguments[2]:{};babelHelpers.classCallCheck(this,F);_this60=_super32.call(this,t,n),(void 0===n.pixelsPerTimeStep||n.pixelsPerTimeStep<=0)&&(_this60.config.pixelsPerTimeStep=0),_this60.instruments=n.instruments||[],_this60.render=new z.StaffSVGRender(_this60.getScoreInfo(t),{noteHeight:_this60.config.noteHeight,noteSpacing:_this60.config.noteSpacing,pixelsPerTimeStep:_this60.config.pixelsPerTimeStep,noteRGB:_this60.config.noteRGB,activeNoteRGB:_this60.config.activeNoteRGB,defaultKey:n.defaultKey||0,scrollType:n.scrollType||G.PAGE},e),_this60.drawnNotes=t.notes.length,_this60.clear(),_this60.redraw();return _this60;}babelHelpers.createClass(F,[{key:"clear",value:function clear(){this.render.clear();}},{key:"redraw",value:function redraw(t,e){this.drawnNotes!==this.noteSequence.notes.length&&(this.render.scoreInfo=this.getScoreInfo(this.noteSequence));var n=t?this.getNoteInfo(t):void 0;return this.render.redraw(n,e);}},{key:"isNoteInInstruments",value:function isNoteInInstruments(t){return void 0===t.instrument||0===this.instruments.length||this.instruments.indexOf(t.instrument)>=0;}},{key:"timeToQuarters",value:function timeToQuarters(t){var e=t*this.noteSequence.tempos[0].qpm/60;return Math.round(16*e)/16;}},{key:"quantizedStepsToQuarters",value:function quantizedStepsToQuarters(t){var e=t/this.noteSequence.quantizationInfo.stepsPerQuarter;return Math.round(16*e)/16;}},{key:"getNoteInfo",value:function getNoteInfo(t){var e=this.sequenceIsQuantized?this.quantizedStepsToQuarters(t.quantizedStartStep):this.timeToQuarters(t.startTime);return{start:e,length:(this.sequenceIsQuantized?this.quantizedStepsToQuarters(t.quantizedEndStep):this.timeToQuarters(t.endTime))-e,pitch:t.pitch,intensity:t.velocity};}},{key:"getScoreInfo",value:function getScoreInfo(t){var _this61=this;var e=[];return t.notes.forEach(function(t){_this61.isNoteInInstruments(t)&&e.push(_this61.getNoteInfo(t));}),{notes:e,tempos:t.tempos?t.tempos.map(function(t){return{start:_this61.timeToQuarters(t.time),qpm:t.qpm};}):[],keySignatures:t.keySignatures?t.keySignatures.map(function(t){return{start:_this61.timeToQuarters(t.time),key:t.key};}):[],timeSignatures:t.timeSignatures?t.timeSignatures.map(function(t){return{start:_this61.timeToQuarters(t.time),numerator:t.numerator,denominator:t.denominator};}):[]};}},{key:"clearActiveNotes",value:function clearActiveNotes(){this.redraw();}}]);return F;}(D);},,,,,,,,,,,,function(t,e){function n(t){for(var e,n=new r(t),i=[];!n.eof();){var o=s();i.push(o);}return i;function s(){var t={};t.deltaTime=n.readVarInt();var r=n.readUInt8();if(240==(240&r)){if(255!==r){if(240==r){t.type="sysEx";o=n.readVarInt();return t.data=n.readBytes(o),t;}if(247==r){t.type="endSysEx";o=n.readVarInt();return t.data=n.readBytes(o),t;}throw"Unrecognised MIDI event type byte: "+r;}t.meta=!0;var i=n.readUInt8(),o=n.readVarInt();switch(i){case 0:if(t.type="sequenceNumber",2!==o)throw"Expected length for sequenceNumber event is 2, got "+o;return t.number=n.readUInt16(),t;case 1:return t.type="text",t.text=n.readString(o),t;case 2:return t.type="copyrightNotice",t.text=n.readString(o),t;case 3:return t.type="trackName",t.text=n.readString(o),t;case 4:return t.type="instrumentName",t.text=n.readString(o),t;case 5:return t.type="lyrics",t.text=n.readString(o),t;case 6:return t.type="marker",t.text=n.readString(o),t;case 7:return t.type="cuePoint",t.text=n.readString(o),t;case 32:if(t.type="channelPrefix",1!=o)throw"Expected length for channelPrefix event is 1, got "+o;return t.channel=n.readUInt8(),t;case 33:if(t.type="portPrefix",1!=o)throw"Expected length for portPrefix event is 1, got "+o;return t.port=n.readUInt8(),t;case 47:if(t.type="endOfTrack",0!=o)throw"Expected length for endOfTrack event is 0, got "+o;return t;case 81:if(t.type="setTempo",3!=o)throw"Expected length for setTempo event is 3, got "+o;return t.microsecondsPerBeat=n.readUInt24(),t;case 84:if(t.type="smpteOffset",5!=o)throw"Expected length for smpteOffset event is 5, got "+o;var s=n.readUInt8();return t.frameRate={0:24,32:25,64:29,96:30}[96&s],t.hour=31&s,t.min=n.readUInt8(),t.sec=n.readUInt8(),t.frame=n.readUInt8(),t.subFrame=n.readUInt8(),t;case 88:if(t.type="timeSignature",4!=o)throw"Expected length for timeSignature event is 4, got "+o;return t.numerator=n.readUInt8(),t.denominator=1<>4;switch(t.channel=15&r,u){case 8:return t.type="noteOff",t.noteNumber=a,t.velocity=n.readUInt8(),t;case 9:var c=n.readUInt8();return t.type=0===c?"noteOff":"noteOn",t.noteNumber=a,t.velocity=c,0===c&&(t.byte9=!0),t;case 10:return t.type="noteAftertouch",t.noteNumber=a,t.amount=n.readUInt8(),t;case 11:return t.type="controller",t.controllerType=a,t.value=n.readUInt8(),t;case 12:return t.type="programChange",t.programNumber=a,t;case 13:return t.type="channelAftertouch",t.amount=a,t;case 14:return t.type="pitchBend",t.value=a+(n.readUInt8()<<7)-8192,t;default:throw"Unrecognised MIDI event type: "+u;}}}}function r(t){this.buffer=t,this.bufferLen=this.buffer.length,this.pos=0;}r.prototype.eof=function(){return this.pos>=this.bufferLen;},r.prototype.readUInt8=function(){var t=this.buffer[this.pos];return this.pos+=1,t;},r.prototype.readInt8=function(){var t=this.readUInt8();return 128&t?t-256:t;},r.prototype.readUInt16=function(){return(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readInt16=function(){var t=this.readUInt16();return 32768&t?t-65536:t;},r.prototype.readUInt24=function(){return(this.readUInt8()<<16)+(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readInt24=function(){var t=this.readUInt24();return 8388608&t?t-16777216:t;},r.prototype.readUInt32=function(){return(this.readUInt8()<<24)+(this.readUInt8()<<16)+(this.readUInt8()<<8)+this.readUInt8();},r.prototype.readBytes=function(t){var e=this.buffer.slice(this.pos,this.pos+t);return this.pos+=t,e;},r.prototype.readString=function(t){var e=this.readBytes(t);return String.fromCharCode.apply(null,e);},r.prototype.readVarInt=function(){for(var t=0;!this.eof();){var e=this.readUInt8();if(!(128&e))return t+e;t+=127&e,t<<=7;}return t;},r.prototype.readChunk=function(){var t=this.readString(4),e=this.readUInt32();return{id:t,length:e,data:this.readBytes(e)};},t.exports=function(t){var e=new r(t),i=e.readChunk();if("MThd"!=i.id)throw"Bad MIDI file. Expected 'MHdr', got: '"+i.id+"'";for(var o=function(t){var e=new r(t),n=e.readUInt16(),i=e.readUInt16(),o={format:n,numTracks:i},s=e.readUInt16();32768&s?(o.framesPerSecond=256-(s>>8),o.ticksPerFrame=255&s):o.ticksPerBeat=s;return o;}(i.data),s=[],a=0;!e.eof()&&a>7&127;t.writeUInt8(p),t.writeUInt8(f);break;default:throw"Unrecognized event type: "+i;}return u;}function i(){this.buffer=[];}i.prototype.writeUInt8=function(t){this.buffer.push(255&t);},i.prototype.writeInt8=i.prototype.writeUInt8,i.prototype.writeUInt16=function(t){var e=t>>8&255,n=255&t;this.writeUInt8(e),this.writeUInt8(n);},i.prototype.writeInt16=i.prototype.writeUInt16,i.prototype.writeUInt24=function(t){var e=t>>16&255,n=t>>8&255,r=255&t;this.writeUInt8(e),this.writeUInt8(n),this.writeUInt8(r);},i.prototype.writeInt24=i.prototype.writeUInt24,i.prototype.writeUInt32=function(t){var e=t>>24&255,n=t>>16&255,r=t>>8&255,i=255&t;this.writeUInt8(e),this.writeUInt8(n),this.writeUInt8(r),this.writeUInt8(i);},i.prototype.writeInt32=i.prototype.writeUInt32,i.prototype.writeBytes=function(t){this.buffer=this.buffer.concat(Array.prototype.slice.call(t,0));},i.prototype.writeString=function(t){var e,n=t.length,r=[];for(e=0;e>=7;e;){var r=127&e|128;n.push(r),e>>=7;}this.writeBytes(n.reverse());}},i.prototype.writeChunk=function(t,e){this.writeString(t),this.writeUInt32(e.length),this.writeBytes(e);},t.exports=function(t,e){if("object"!=babelHelpers.typeof(t))throw"Invalid MIDI data";e=e||{};var r,o=t.header||{},s=t.tracks||[],a=s.length,u=new i();for(function(t,e,n){var r=null==e.format?1:e.format,o=128;e.timeDivision?o=e.timeDivision:e.ticksPerFrame&&e.framesPerSecond?o=-(255&e.framesPerSecond)<<8|255&e.ticksPerFrame:e.ticksPerBeat&&(o=32767&e.ticksPerBeat);var s=new i();s.writeUInt16(r),s.writeUInt16(n),s.writeUInt16(o),t.writeChunk("MThd",s.buffer);}(u,o,a),r=0;r-1&&Array.isArray(o)?t(o,n,r):n.push(o);}return n;}(t,[],e);}t.exports=function(t){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return r(t);},t.exports.from=r,t.exports.depth=function(t,e){if(!Array.isArray(t))throw new TypeError("Expected value to be an array");return i(t,e);},t.exports.fromDepth=i;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(54);e.createControlChanges=function(){return new Proxy({},{get:function get(t,e){return t[e]?t[e]:r.controlChangeIds.hasOwnProperty(e)?t[r.controlChangeIds[e]]:void 0;},set:function set(t,e,n){return r.controlChangeIds.hasOwnProperty(e)?t[r.controlChangeIds[e]]=n:t[e]=n,!0;}});};},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=new WeakMap(),i=function(){function t(t,e){r.set(this,e),this.ticks=t.absoluteTime,this.value=t.value;}return Object.defineProperty(t.prototype,"time",{get:function get(){return r.get(this).ticksToSeconds(this.ticks);},set:function set(t){var e=r.get(this);this.ticks=e.secondsToTicks(t);},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{ticks:this.ticks,time:this.time,value:this.value};},t;}();e.PitchBend=i;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(87),i=new WeakMap(),o=function(){function t(t,e){if(this.number=0,i.set(this,e),this.number=0,t){var n=t.find(function(t){return"programChange"===t.type;});n&&(this.number=n.programNumber);}}return Object.defineProperty(t.prototype,"name",{get:function get(){return this.percussion?r.DrumKitByPatchID[this.number]:r.instrumentByPatchID[this.number];},set:function set(t){var e=r.instrumentByPatchID.indexOf(t);-1!==e&&(this.number=e);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"family",{get:function get(){return this.percussion?"drums":r.InstrumentFamilyByID[Math.floor(this.number/8)];},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percussion",{get:function get(){return 9===i.get(this).channel;},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{family:this.family,name:this.name,number:this.number};},t.prototype.fromJSON=function(t){this.number=t.number;},t;}();e.Instrument=o;},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.instrumentByPatchID=["acoustic grand piano","bright acoustic piano","electric grand piano","honky-tonk piano","electric piano 1","electric piano 2","harpsichord","clavi","celesta","glockenspiel","music box","vibraphone","marimba","xylophone","tubular bells","dulcimer","drawbar organ","percussive organ","rock organ","church organ","reed organ","accordion","harmonica","tango accordion","acoustic guitar (nylon)","acoustic guitar (steel)","electric guitar (jazz)","electric guitar (clean)","electric guitar (muted)","overdriven guitar","distortion guitar","guitar harmonics","acoustic bass","electric bass (finger)","electric bass (pick)","fretless bass","slap bass 1","slap bass 2","synth bass 1","synth bass 2","violin","viola","cello","contrabass","tremolo strings","pizzicato strings","orchestral harp","timpani","string ensemble 1","string ensemble 2","synthstrings 1","synthstrings 2","choir aahs","voice oohs","synth voice","orchestra hit","trumpet","trombone","tuba","muted trumpet","french horn","brass section","synthbrass 1","synthbrass 2","soprano sax","alto sax","tenor sax","baritone sax","oboe","english horn","bassoon","clarinet","piccolo","flute","recorder","pan flute","blown bottle","shakuhachi","whistle","ocarina","lead 1 (square)","lead 2 (sawtooth)","lead 3 (calliope)","lead 4 (chiff)","lead 5 (charang)","lead 6 (voice)","lead 7 (fifths)","lead 8 (bass + lead)","pad 1 (new age)","pad 2 (warm)","pad 3 (polysynth)","pad 4 (choir)","pad 5 (bowed)","pad 6 (metallic)","pad 7 (halo)","pad 8 (sweep)","fx 1 (rain)","fx 2 (soundtrack)","fx 3 (crystal)","fx 4 (atmosphere)","fx 5 (brightness)","fx 6 (goblins)","fx 7 (echoes)","fx 8 (sci-fi)","sitar","banjo","shamisen","koto","kalimba","bag pipe","fiddle","shanai","tinkle bell","agogo","steel drums","woodblock","taiko drum","melodic tom","synth drum","reverse cymbal","guitar fret noise","breath noise","seashore","bird tweet","telephone ring","helicopter","applause","gunshot"],e.InstrumentFamilyByID=["piano","chromatic percussion","organ","guitar","bass","strings","ensemble","brass","reed","pipe","synth lead","synth pad","synth effects","world","percussive","sound effects"],e.DrumKitByPatchID={0:"standard kit",8:"room kit",16:"power kit",24:"electronic kit",25:"tr-808 kit",32:"jazz kit",40:"brush kit",48:"orchestra kit",56:"sound fx kit"};},function(t,e,n){"use strict";function r(t){return["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"][t%12];}Object.defineProperty(e,"__esModule",{value:!0});var i,o,s=(i=/^([a-g]{1}(?:b|#|x|bb)?)(-?[0-9]+)/i,o={cbb:-2,cb:-1,c:0,"c#":1,cx:2,dbb:0,db:1,d:2,"d#":3,dx:4,ebb:2,eb:3,e:4,"e#":5,ex:6,fbb:3,fb:4,f:5,"f#":6,fx:7,gbb:5,gb:6,g:7,"g#":8,gx:9,abb:7,ab:8,a:9,"a#":10,ax:11,bbb:9,bb:10,b:11,"b#":12,bx:13},function(t){var e=i.exec(t),n=e[1],r=e[2];return o[n.toLowerCase()]+12*(parseInt(r,10)+1);}),a=new WeakMap(),u=function(){function t(t,e,n){a.set(this,n),this.midi=t.midi,this.velocity=t.velocity,this.noteOffVelocity=e.velocity,this.ticks=t.ticks,this.durationTicks=e.ticks-t.ticks;}return Object.defineProperty(t.prototype,"name",{get:function get(){return t=this.midi,e=Math.floor(t/12)-1,r(t)+e.toString();var t,e;},set:function set(t){this.midi=s(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"octave",{get:function get(){return Math.floor(this.midi/12)-1;},set:function set(t){var e=t-this.octave;this.midi+=12*e;},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pitch",{get:function get(){return r(this.midi);},set:function set(t){this.midi=12*(this.octave+1)+["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"].indexOf(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function get(){var t=a.get(this);return t.ticksToSeconds(this.ticks+this.durationTicks)-t.ticksToSeconds(this.ticks);},set:function set(t){var e=a.get(this).secondsToTicks(this.time+t);this.durationTicks=e-this.ticks;},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"time",{get:function get(){return a.get(this).ticksToSeconds(this.ticks);},set:function set(t){var e=a.get(this);this.ticks=e.secondsToTicks(t);},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bars",{get:function get(){return a.get(this).ticksToMeasures(this.ticks);},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){return{duration:this.duration,durationTicks:this.durationTicks,midi:this.midi,name:this.name,ticks:this.ticks,time:this.time,velocity:this.velocity};},t;}();e.Note=u;}]);});!function(e,t){"object"==(typeof exports==="undefined"?"undefined":babelHelpers.typeof(exports))&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t();}(0,function(){"use strict";function e(e){var t=!0,n=!1,o=null,d={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList);}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""));}function u(e){t=!1;}function a(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c);}function c(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c));}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&s(e.activeElement),t=!0);},!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),a());},!0),a(),e.addEventListener("focus",function(e){var n,o,u;i(e.target)&&(t||(n=e.target,o=n.type,"INPUT"===(u=n.tagName)&&d[o]&&!n.readOnly||"TEXTAREA"===u&&!n.readOnly||n.isContentEditable))&&s(e.target);},!0),e.addEventListener("blur",function(e){var t;i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(o),o=window.setTimeout(function(){n=!1;},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")));},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""));}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready");}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{});}window.dispatchEvent(t);}"undefined"!=typeof document&&e(document);});/** * html-midi-player@1.0.1 * https://github.com/cifkao/html-midi-player.git * @author Ondřej Cífka (@cifkao) * @license BSD-2-Clause - */!function(t,e){"object"==(typeof exports==="undefined"?"undefined":babelHelpers.typeof(exports))&&"undefined"!=typeof module?e(exports,require("@magenta/music/es6/core")):"function"==typeof define&&define.amd?define(["exports","@magenta/music/es6/core"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).midiPlayer={},t.core);}(this,function(t,e){"use strict";function i(t,e,i,n,s,r,a){try{var o=t[r](a),l=o.value;}catch(t){return void i(t);}o.done?e(l):Promise.resolve(l).then(n,s);}function n(t){return function(){var e=this,n=arguments;return new Promise(function(s,r){var a=t.apply(e,n);function o(t){i(a,s,r,o,l,"next",t);}function l(t){i(a,s,r,o,l,"throw",t);}o(void 0);});};}var s=document.createElement("template");function r(t){var e=t<0,i=(t=Math.floor(Math.abs(t||0)))%60,n=(t-i)/60,s=(t-i-60*n)/3600,r=i>9?"".concat(i):"0".concat(i),a=n>9||!s?"".concat(n,":"):"0".concat(n,":");return(e?"-":"")+(s?"".concat(s,":"):"")+a+r;}s.innerHTML="\n\n
        \n \n
        0:00 / 0:00
        \n \n
        \n');var a=["piano-roll","waterfall","staff"];var o=/*#__PURE__*/function(_HTMLElement){babelHelpers.inherits(o,_HTMLElement);var _super33=_createSuper(o);function o(){var _this62;babelHelpers.classCallCheck(this,o);_this62=_super33.apply(this,arguments),_this62.domInitialized=!1,_this62.ns=null,_this62._config={};return _this62;}babelHelpers.createClass(o,[{key:"connectedCallback",value:function connectedCallback(){this.domInitialized||(this.domInitialized=!0,this.wrapper=document.createElement("div"),this.appendChild(this.wrapper),this.initVisualizerNow());}},{key:"attributeChangedCallback",value:function attributeChangedCallback(t,e,i){"src"!==t&&"type"!==t||this.initVisualizer();}},{key:"initVisualizer",value:function initVisualizer(){var _this63=this;null==this.initTimeout&&(this.initTimeout=window.setTimeout(function(){return _this63.initVisualizerNow();}));}},{key:"initVisualizerNow",value:function initVisualizerNow(){var t=this;return n(/*#__PURE__*/regeneratorRuntime.mark(function _callee18(){var i,n;return regeneratorRuntime.wrap(function _callee18$(_context18){while(1){switch(_context18.prev=_context18.next){case 0:t.initTimeout=null;_context18.t0=t.domInitialized;if(!_context18.t0){_context18.next=11;break;}_context18.t1=t.src;if(!_context18.t1){_context18.next=9;break;}t.ns=null;_context18.next=8;return e.urlToNoteSequence(t.src);case 8:t.ns=_context18.sent;case 9:t.wrapper.innerHTML="";_context18.t0=t.ns;case 11:if(!_context18.t0){_context18.next=13;break;}if("piano-roll"===t.type){t.wrapper.classList.add("piano-roll-visualizer");i=document.createElementNS("http://www.w3.org/2000/svg","svg");t.wrapper.appendChild(i),t.visualizer=new e.PianoRollSVGVisualizer(t.ns,i,t._config);}else if("waterfall"===t.type)t.wrapper.classList.add("waterfall-visualizer"),t.visualizer=new e.WaterfallSVGVisualizer(t.ns,t.wrapper,t._config);else if("staff"===t.type){t.wrapper.classList.add("staff-visualizer");n=document.createElement("div");t.wrapper.appendChild(n),t.visualizer=new e.StaffSVGVisualizer(t.ns,n,t._config);}case 13:case"end":return _context18.stop();}}},_callee18);}))();}},{key:"redraw",value:function redraw(t){this.visualizer&&this.visualizer.redraw(t,null!=t);}},{key:"clearActiveNotes",value:function clearActiveNotes(){this.visualizer&&this.visualizer.clearActiveNotes();}},{key:"noteSequence",get:function get(){return this.ns;},set:function set(t){this.ns=t,this.removeAttribute("src"),this.initVisualizer();}},{key:"src",get:function get(){return this.getAttribute("src");},set:function set(t){this.ns=null,this.setOrRemoveAttribute("src",t),this.initVisualizer();}},{key:"type",get:function get(){var t=this.getAttribute("type");return a.indexOf(t)<0&&(t="piano-roll"),t;},set:function set(t){if(null!=t&&a.indexOf(t)<0)throw new Error("Unknown visualizer type ".concat(t,". Allowed values: ").concat(a.join(", ")));this.setOrRemoveAttribute("type",t);}},{key:"config",get:function get(){return this._config;},set:function set(t){this._config=t,this.initVisualizer();}},{key:"setOrRemoveAttribute",value:function setOrRemoveAttribute(t,e){null==e?this.removeAttribute(t):this.setAttribute(t,e);}}],[{key:"observedAttributes",get:function get(){return["src","type"];}}]);return o;}(/*#__PURE__*/babelHelpers.wrapNativeSuper(HTMLElement));var l=["start","stop","note"],u=null;var c=/*#__PURE__*/function(_HTMLElement2){babelHelpers.inherits(c,_HTMLElement2);var _super34=_createSuper(c);function c(){var _this64;babelHelpers.classCallCheck(this,c);_this64=_super34.call(this),_this64.domInitialized=!1,_this64.needInitNs=!1,_this64.visualizerListeners=new Map(),_this64.ns=null,_this64._playing=!1,_this64.attachShadow({mode:"open"}),_this64.shadowRoot.appendChild(s.content.cloneNode(!0)),_this64.controlPanel=_this64.shadowRoot.querySelector(".controls"),_this64.playButton=_this64.controlPanel.querySelector(".play"),_this64.currentTimeLabel=_this64.controlPanel.querySelector(".current-time"),_this64.totalTimeLabel=_this64.controlPanel.querySelector(".total-time"),_this64.seekBar=_this64.controlPanel.querySelector(".seek-bar");return _this64;}babelHelpers.createClass(c,[{key:"connectedCallback",value:function connectedCallback(){var _this65=this;if(!this.domInitialized){this.domInitialized=!0;var t=window.applyFocusVisiblePolyfill;null!=t&&t(this.shadowRoot),this.playButton.addEventListener("click",function(){_this65.player.isPlaying()?_this65.stop():_this65.start();}),this.seekBar.addEventListener("input",function(){_this65.player&&"started"===_this65.player.getPlayState()&&_this65.player.pause();}),this.seekBar.addEventListener("change",function(){var t=_this65.currentTime;_this65.currentTimeLabel.textContent=r(t),_this65.player&&_this65.player.isPlaying()&&(_this65.player.seekTo(t),"paused"===_this65.player.getPlayState()&&_this65.player.resume());}),this.initPlayerNow();}}},{key:"attributeChangedCallback",value:function attributeChangedCallback(t,e,i){var _this66=this;if(this.hasAttribute(t)||(i=null),"sound-font"===t||"src"===t)this.initPlayer();else if("visualizer"===t){var n=function n(){_this66.setVisualizerSelector(i);};"loading"===document.readyState?window.addEventListener("DOMContentLoaded",n):n();}}},{key:"initPlayer",value:function initPlayer(){var _this67=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!0;this.needInitNs=this.needInitNs||t,null==this.initTimeout&&(this.stop(),this.freeze(),this.initTimeout=window.setTimeout(function(){return _this67.initPlayerNow(_this67.needInitNs);}));}},{key:"initPlayerNow",value:function initPlayerNow(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!0;var i=this;return n(/*#__PURE__*/regeneratorRuntime.mark(function _callee19(){var n,s,a;return regeneratorRuntime.wrap(function _callee19$(_context19){while(1){switch(_context19.prev=_context19.next){case 0:if(!(i.initTimeout=null,i.needInitNs=!1,i.domInitialized)){_context19.next=23;break;}_context19.t0=t;if(!_context19.t0){_context19.next=10;break;}_context19.t1=i.src;if(!_context19.t1){_context19.next=9;break;}i.ns=null;_context19.next=8;return e.urlToNoteSequence(i.src);case 8:i.ns=_context19.sent;case 9:i.currentTime=0;case 10:if(n=i.ns){_context19.next=12;break;}return _context19.abrupt("return",(i.seekBar.max="0",void(i.totalTimeLabel.textContent=r(0))));case 12:i.seekBar.max=String(n.totalTime),i.totalTimeLabel.textContent=r(n.totalTime);s=i.soundFont,a={run:function run(t){return i.ns===n&&i.noteCallback(t);},stop:function stop(){}};if(!(null===s)){_context19.next=18;break;}i.player=new e.Player(!1,a);_context19.next=22;break;case 18:""===s&&(s="https://storage.googleapis.com/magentadata/js/soundfonts/sgm_plus");i.player=new e.SoundFontPlayer(s,void 0,void 0,void 0,a);_context19.next=22;return i.player.loadSamples(n);case 22:i.ns===n&&(i.unfreeze(),i.dispatchEvent(new CustomEvent("load")));case 23:case"end":return _context19.stop();}}},_callee19);}))();}},{key:"start",value:function start(){var t=this;n(/*#__PURE__*/regeneratorRuntime.mark(function _callee20(){var e;return regeneratorRuntime.wrap(function _callee20$(_context20){while(1){switch(_context20.prev=_context20.next){case 0:if(!t.player){_context20.next=17;break;}if(!("stopped"==t.player.getPlayState())){_context20.next=16;break;}u&&u.playing&&u.stop(),u=t,t._playing=!0,t.controlPanel.classList.remove("stopped"),t.controlPanel.classList.add("playing");_context20.prev=3;e=t.player.start(t.ns);t.dispatchEvent(new CustomEvent("start"));_context20.next=8;return e;case 8:t.handleStop(!0);_context20.next=14;break;case 11:_context20.prev=11;_context20.t0=_context20["catch"](3);throw t.handleStop(),_context20.t0;case 14:_context20.next=17;break;case 16:"paused"==t.player.getPlayState()&&t.player.resume();case 17:case"end":return _context20.stop();}}},_callee20,null,[[3,11]]);}))();}},{key:"stop",value:function stop(){this.player&&this.player.isPlaying()&&this.player.stop(),this.handleStop(!1);}},{key:"addVisualizer",value:function addVisualizer(t){var _this68=this;var e={start:function start(){t.noteSequence=_this68.noteSequence;},stop:function stop(){t.clearActiveNotes();},note:function note(e){t.redraw(e.detail.note);}};var _iterator16=_createForOfIteratorHelper(l),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var i=_step16.value;this.addEventListener(i,e[i]);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}this.visualizerListeners.set(t,e);}},{key:"removeVisualizer",value:function removeVisualizer(t){var e=this.visualizerListeners.get(t);var _iterator17=_createForOfIteratorHelper(l),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var i=_step17.value;this.removeEventListener(i,e[i]);}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}this.visualizerListeners.delete(t);}},{key:"noteCallback",value:function noteCallback(t){this.playing&&(this.dispatchEvent(new CustomEvent("note",{detail:{note:t}})),this.seekBar.value=String(t.startTime),this.currentTimeLabel.textContent=r(t.startTime));}},{key:"handleStop",value:function handleStop(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;t&&(this.currentTime=this.duration),this.controlPanel.classList.remove("playing"),this.controlPanel.classList.add("stopped"),this._playing&&(this._playing=!1,this.dispatchEvent(new CustomEvent("stop",{detail:{finished:t}})));}},{key:"setVisualizerSelector",value:function setVisualizerSelector(t){var _iterator18=_createForOfIteratorHelper(this.visualizerListeners.values()),_step18;try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var e=_step18.value;var _iterator20=_createForOfIteratorHelper(l),_step20;try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var i=_step20.value;this.removeEventListener(i,e[i]);}}catch(err){_iterator20.e(err);}finally{_iterator20.f();}}}catch(err){_iterator18.e(err);}finally{_iterator18.f();}if(this.visualizerListeners.clear(),null!=t){var _iterator19=_createForOfIteratorHelper(document.querySelectorAll(t)),_step19;try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var n=_step19.value;babelHelpers.instanceof(n,o)?this.addVisualizer(n):console.warn("Selector ".concat(t," matched non-visualizer element"),n);}}catch(err){_iterator19.e(err);}finally{_iterator19.f();}}}},{key:"freeze",value:function freeze(){this.playButton.disabled=!0,this.seekBar.disabled=!0,this.controlPanel.classList.add("frozen");}},{key:"unfreeze",value:function unfreeze(){this.controlPanel.classList.remove("frozen"),this.playButton.disabled=!1,this.seekBar.disabled=!1;}},{key:"noteSequence",get:function get(){return this.ns;},set:function set(t){this.ns=t,this.removeAttribute("src"),this.initPlayer();}},{key:"src",get:function get(){return this.getAttribute("src");},set:function set(t){this.ns=null,this.setOrRemoveAttribute("src",t),this.initPlayer();}},{key:"soundFont",get:function get(){return this.getAttribute("sound-font");},set:function set(t){this.setOrRemoveAttribute("sound-font",t);}},{key:"currentTime",get:function get(){return parseFloat(this.seekBar.value);},set:function set(t){this.seekBar.value=String(t),this.currentTimeLabel.textContent=r(this.currentTime),this.player&&this.player.isPlaying()&&this.player.seekTo(t);}},{key:"duration",get:function get(){return parseFloat(this.seekBar.max);}},{key:"playing",get:function get(){return this._playing;}},{key:"setOrRemoveAttribute",value:function setOrRemoveAttribute(t,e){null==e?this.removeAttribute(t):this.setAttribute(t,e);}}],[{key:"observedAttributes",get:function get(){return["sound-font","src","visualizer"];}}]);return c;}(/*#__PURE__*/babelHelpers.wrapNativeSuper(HTMLElement));window.customElements.define("midi-player",c),window.customElements.define("midi-visualizer",o),t.PlayerElement=c,t.VisualizerElement=o,Object.defineProperty(t,"__esModule",{value:!0});}); \ No newline at end of file + */!function(t,e){"object"==(typeof exports==="undefined"?"undefined":babelHelpers.typeof(exports))&&"undefined"!=typeof module?e(exports,require("@magenta/music/es6/core")):"function"==typeof define&&define.amd?define(["exports","@magenta/music/es6/core"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).midiPlayer={},t.core);}(this,function(t,e){"use strict";function i(t,e,i,n,s,r,a){try{var o=t[r](a),l=o.value;}catch(t){return void i(t);}o.done?e(l):Promise.resolve(l).then(n,s);}function n(t){return function(){var e=this,n=arguments;return new Promise(function(s,r){var a=t.apply(e,n);function o(t){i(a,s,r,o,l,"next",t);}function l(t){i(a,s,r,o,l,"throw",t);}o(void 0);});};}var s=document.createElement("template");function r(t){var e=t<0,i=(t=Math.floor(Math.abs(t||0)))%60,n=(t-i)/60,s=(t-i-60*n)/3600,r=i>9?"".concat(i):"0".concat(i),a=n>9||!s?"".concat(n,":"):"0".concat(n,":");return(e?"-":"")+(s?"".concat(s,":"):"")+a+r;}s.innerHTML="\n\n
        \n \n
        0:00 / 0:00
        \n \n
        \n');var a=["piano-roll","waterfall","staff"];var o=/*#__PURE__*/function(_HTMLElement){babelHelpers.inherits(o,_HTMLElement);var _super33=_createSuper(o);function o(){var _this62;babelHelpers.classCallCheck(this,o);_this62=_super33.apply(this,arguments),_this62.domInitialized=!1,_this62.ns=null,_this62._config={};return _this62;}babelHelpers.createClass(o,[{key:"connectedCallback",value:function connectedCallback(){this.domInitialized||(this.domInitialized=!0,this.wrapper=document.createElement("div"),this.appendChild(this.wrapper),this.initVisualizerNow());}},{key:"attributeChangedCallback",value:function attributeChangedCallback(t,e,i){"src"!==t&&"type"!==t||this.initVisualizer();}},{key:"initVisualizer",value:function initVisualizer(){var _this63=this;null==this.initTimeout&&(this.initTimeout=window.setTimeout(function(){return _this63.initVisualizerNow();}));}},{key:"initVisualizerNow",value:function initVisualizerNow(){var t=this;return n(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(){var i,n;return _regeneratorRuntime().wrap(function _callee18$(_context18){while(1){switch(_context18.prev=_context18.next){case 0:t.initTimeout=null;_context18.t0=t.domInitialized;if(!_context18.t0){_context18.next=11;break;}_context18.t1=t.src;if(!_context18.t1){_context18.next=9;break;}t.ns=null;_context18.next=8;return e.urlToNoteSequence(t.src);case 8:t.ns=_context18.sent;case 9:t.wrapper.innerHTML="";_context18.t0=t.ns;case 11:if(!_context18.t0){_context18.next=13;break;}if("piano-roll"===t.type){t.wrapper.classList.add("piano-roll-visualizer");i=document.createElementNS("http://www.w3.org/2000/svg","svg");t.wrapper.appendChild(i),t.visualizer=new e.PianoRollSVGVisualizer(t.ns,i,t._config);}else if("waterfall"===t.type)t.wrapper.classList.add("waterfall-visualizer"),t.visualizer=new e.WaterfallSVGVisualizer(t.ns,t.wrapper,t._config);else if("staff"===t.type){t.wrapper.classList.add("staff-visualizer");n=document.createElement("div");t.wrapper.appendChild(n),t.visualizer=new e.StaffSVGVisualizer(t.ns,n,t._config);}case 13:case"end":return _context18.stop();}}},_callee18);}))();}},{key:"redraw",value:function redraw(t){this.visualizer&&this.visualizer.redraw(t,null!=t);}},{key:"clearActiveNotes",value:function clearActiveNotes(){this.visualizer&&this.visualizer.clearActiveNotes();}},{key:"noteSequence",get:function get(){return this.ns;},set:function set(t){this.ns=t,this.removeAttribute("src"),this.initVisualizer();}},{key:"src",get:function get(){return this.getAttribute("src");},set:function set(t){this.ns=null,this.setOrRemoveAttribute("src",t),this.initVisualizer();}},{key:"type",get:function get(){var t=this.getAttribute("type");return a.indexOf(t)<0&&(t="piano-roll"),t;},set:function set(t){if(null!=t&&a.indexOf(t)<0)throw new Error("Unknown visualizer type ".concat(t,". Allowed values: ").concat(a.join(", ")));this.setOrRemoveAttribute("type",t);}},{key:"config",get:function get(){return this._config;},set:function set(t){this._config=t,this.initVisualizer();}},{key:"setOrRemoveAttribute",value:function setOrRemoveAttribute(t,e){null==e?this.removeAttribute(t):this.setAttribute(t,e);}}],[{key:"observedAttributes",get:function get(){return["src","type"];}}]);return o;}(/*#__PURE__*/babelHelpers.wrapNativeSuper(HTMLElement));var l=["start","stop","note"],u=null;var c=/*#__PURE__*/function(_HTMLElement2){babelHelpers.inherits(c,_HTMLElement2);var _super34=_createSuper(c);function c(){var _this64;babelHelpers.classCallCheck(this,c);_this64=_super34.call(this),_this64.domInitialized=!1,_this64.needInitNs=!1,_this64.visualizerListeners=new Map(),_this64.ns=null,_this64._playing=!1,_this64.attachShadow({mode:"open"}),_this64.shadowRoot.appendChild(s.content.cloneNode(!0)),_this64.controlPanel=_this64.shadowRoot.querySelector(".controls"),_this64.playButton=_this64.controlPanel.querySelector(".play"),_this64.currentTimeLabel=_this64.controlPanel.querySelector(".current-time"),_this64.totalTimeLabel=_this64.controlPanel.querySelector(".total-time"),_this64.seekBar=_this64.controlPanel.querySelector(".seek-bar");return _this64;}babelHelpers.createClass(c,[{key:"connectedCallback",value:function connectedCallback(){var _this65=this;if(!this.domInitialized){this.domInitialized=!0;var t=window.applyFocusVisiblePolyfill;null!=t&&t(this.shadowRoot),this.playButton.addEventListener("click",function(){_this65.player.isPlaying()?_this65.stop():_this65.start();}),this.seekBar.addEventListener("input",function(){_this65.player&&"started"===_this65.player.getPlayState()&&_this65.player.pause();}),this.seekBar.addEventListener("change",function(){var t=_this65.currentTime;_this65.currentTimeLabel.textContent=r(t),_this65.player&&_this65.player.isPlaying()&&(_this65.player.seekTo(t),"paused"===_this65.player.getPlayState()&&_this65.player.resume());}),this.initPlayerNow();}}},{key:"attributeChangedCallback",value:function attributeChangedCallback(t,e,i){var _this66=this;if(this.hasAttribute(t)||(i=null),"sound-font"===t||"src"===t)this.initPlayer();else if("visualizer"===t){var n=function n(){_this66.setVisualizerSelector(i);};"loading"===document.readyState?window.addEventListener("DOMContentLoaded",n):n();}}},{key:"initPlayer",value:function initPlayer(){var _this67=this;var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!0;this.needInitNs=this.needInitNs||t,null==this.initTimeout&&(this.stop(),this.freeze(),this.initTimeout=window.setTimeout(function(){return _this67.initPlayerNow(_this67.needInitNs);}));}},{key:"initPlayerNow",value:function initPlayerNow(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!0;var i=this;return n(/*#__PURE__*/_regeneratorRuntime().mark(function _callee19(){var n,s,a;return _regeneratorRuntime().wrap(function _callee19$(_context19){while(1){switch(_context19.prev=_context19.next){case 0:if(!(i.initTimeout=null,i.needInitNs=!1,i.domInitialized)){_context19.next=23;break;}_context19.t0=t;if(!_context19.t0){_context19.next=10;break;}_context19.t1=i.src;if(!_context19.t1){_context19.next=9;break;}i.ns=null;_context19.next=8;return e.urlToNoteSequence(i.src);case 8:i.ns=_context19.sent;case 9:i.currentTime=0;case 10:if(n=i.ns){_context19.next=12;break;}return _context19.abrupt("return",(i.seekBar.max="0",void(i.totalTimeLabel.textContent=r(0))));case 12:i.seekBar.max=String(n.totalTime),i.totalTimeLabel.textContent=r(n.totalTime);s=i.soundFont,a={run:function run(t){return i.ns===n&&i.noteCallback(t);},stop:function stop(){}};if(!(null===s)){_context19.next=18;break;}i.player=new e.Player(!1,a);_context19.next=22;break;case 18:""===s&&(s="https://storage.googleapis.com/magentadata/js/soundfonts/sgm_plus");i.player=new e.SoundFontPlayer(s,void 0,void 0,void 0,a);_context19.next=22;return i.player.loadSamples(n);case 22:i.ns===n&&(i.unfreeze(),i.dispatchEvent(new CustomEvent("load")));case 23:case"end":return _context19.stop();}}},_callee19);}))();}},{key:"start",value:function start(){var t=this;n(/*#__PURE__*/_regeneratorRuntime().mark(function _callee20(){var e;return _regeneratorRuntime().wrap(function _callee20$(_context20){while(1){switch(_context20.prev=_context20.next){case 0:if(!t.player){_context20.next=17;break;}if(!("stopped"==t.player.getPlayState())){_context20.next=16;break;}u&&u.playing&&u.stop(),u=t,t._playing=!0,t.controlPanel.classList.remove("stopped"),t.controlPanel.classList.add("playing");_context20.prev=3;e=t.player.start(t.ns);t.dispatchEvent(new CustomEvent("start"));_context20.next=8;return e;case 8:t.handleStop(!0);_context20.next=14;break;case 11:_context20.prev=11;_context20.t0=_context20["catch"](3);throw t.handleStop(),_context20.t0;case 14:_context20.next=17;break;case 16:"paused"==t.player.getPlayState()&&t.player.resume();case 17:case"end":return _context20.stop();}}},_callee20,null,[[3,11]]);}))();}},{key:"stop",value:function stop(){this.player&&this.player.isPlaying()&&this.player.stop(),this.handleStop(!1);}},{key:"addVisualizer",value:function addVisualizer(t){var _this68=this;var e={start:function start(){t.noteSequence=_this68.noteSequence;},stop:function stop(){t.clearActiveNotes();},note:function note(e){t.redraw(e.detail.note);}};var _iterator16=_createForOfIteratorHelper(l),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var i=_step16.value;this.addEventListener(i,e[i]);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}this.visualizerListeners.set(t,e);}},{key:"removeVisualizer",value:function removeVisualizer(t){var e=this.visualizerListeners.get(t);var _iterator17=_createForOfIteratorHelper(l),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var i=_step17.value;this.removeEventListener(i,e[i]);}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}this.visualizerListeners.delete(t);}},{key:"noteCallback",value:function noteCallback(t){this.playing&&(this.dispatchEvent(new CustomEvent("note",{detail:{note:t}})),this.seekBar.value=String(t.startTime),this.currentTimeLabel.textContent=r(t.startTime));}},{key:"handleStop",value:function handleStop(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;t&&(this.currentTime=this.duration),this.controlPanel.classList.remove("playing"),this.controlPanel.classList.add("stopped"),this._playing&&(this._playing=!1,this.dispatchEvent(new CustomEvent("stop",{detail:{finished:t}})));}},{key:"setVisualizerSelector",value:function setVisualizerSelector(t){var _iterator18=_createForOfIteratorHelper(this.visualizerListeners.values()),_step18;try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var e=_step18.value;var _iterator20=_createForOfIteratorHelper(l),_step20;try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var i=_step20.value;this.removeEventListener(i,e[i]);}}catch(err){_iterator20.e(err);}finally{_iterator20.f();}}}catch(err){_iterator18.e(err);}finally{_iterator18.f();}if(this.visualizerListeners.clear(),null!=t){var _iterator19=_createForOfIteratorHelper(document.querySelectorAll(t)),_step19;try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var n=_step19.value;babelHelpers.instanceof(n,o)?this.addVisualizer(n):console.warn("Selector ".concat(t," matched non-visualizer element"),n);}}catch(err){_iterator19.e(err);}finally{_iterator19.f();}}}},{key:"freeze",value:function freeze(){this.playButton.disabled=!0,this.seekBar.disabled=!0,this.controlPanel.classList.add("frozen");}},{key:"unfreeze",value:function unfreeze(){this.controlPanel.classList.remove("frozen"),this.playButton.disabled=!1,this.seekBar.disabled=!1;}},{key:"noteSequence",get:function get(){return this.ns;},set:function set(t){this.ns=t,this.removeAttribute("src"),this.initPlayer();}},{key:"src",get:function get(){return this.getAttribute("src");},set:function set(t){this.ns=null,this.setOrRemoveAttribute("src",t),this.initPlayer();}},{key:"soundFont",get:function get(){return this.getAttribute("sound-font");},set:function set(t){this.setOrRemoveAttribute("sound-font",t);}},{key:"currentTime",get:function get(){return parseFloat(this.seekBar.value);},set:function set(t){this.seekBar.value=String(t),this.currentTimeLabel.textContent=r(this.currentTime),this.player&&this.player.isPlaying()&&this.player.seekTo(t);}},{key:"duration",get:function get(){return parseFloat(this.seekBar.max);}},{key:"playing",get:function get(){return this._playing;}},{key:"setOrRemoveAttribute",value:function setOrRemoveAttribute(t,e){null==e?this.removeAttribute(t):this.setAttribute(t,e);}}],[{key:"observedAttributes",get:function get(){return["sound-font","src","visualizer"];}}]);return c;}(/*#__PURE__*/babelHelpers.wrapNativeSuper(HTMLElement));window.customElements.define("midi-player",c),window.customElements.define("midi-visualizer",o),t.PlayerElement=c,t.VisualizerElement=o,Object.defineProperty(t,"__esModule",{value:!0});}); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/music-player/music-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/music-player/music-player.js index 5afac5b3ac3..19ea3fb4d53 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/music-player/music-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/music-player/music-player.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_47eac1501da511ed9d313b9780b2ae17, _templateObject2_47eac1501da511ed9d313b9780b2ae17; + var _templateObject_1bef0d001e5811ed81a80d03c17d190b, _templateObject2_1bef0d001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -49,7 +49,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_47eac1501da511ed9d313b9780b2ae17 || (_templateObject_47eac1501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.visualizer, this.source, this.source); + return (0, _index.html)(_templateObject_1bef0d001e5811ed81a80d03c17d190b || (_templateObject_1bef0d001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.visualizer, this.source, this.source); } // properties available to the custom element for data binding }, { @@ -87,7 +87,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_47eac1501da511ed9d313b9780b2ae17 || (_templateObject2_47eac1501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n midi-player {\n display: block;\n width: var(--music-player-midi-player-width, unset);\n margin: var(--music-player-midi-player-margin, 4px);\n }\n :host([no-visual]) midi-visualizer {\n display: none;\n }\n\n :host([no-waterfall]) midi-visualizer .waterfall-notes-container {\n display: none;\n }\n midi-visualizer .waterfall-visualizer {\n overflow: auto;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1bef0d001e5811ed81a80d03c17d190b || (_templateObject2_1bef0d001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n midi-player {\n display: block;\n width: var(--music-player-midi-player-width, unset);\n margin: var(--music-player-midi-player-margin, 4px);\n }\n :host([no-visual]) midi-visualizer {\n display: none;\n }\n\n :host([no-waterfall]) midi-visualizer .waterfall-notes-container {\n display: none;\n }\n midi-visualizer .waterfall-visualizer {\n overflow: auto;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/lib/nav-card-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/lib/nav-card-item.js index caebd50bfa7..8dbea2c6bf1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/lib/nav-card-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/lib/nav-card-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }); _exports.NavCardItem = void 0; - var _templateObject_8c569fd01da511ed9d313b9780b2ae17, _templateObject2_8c569fd01da511ed9d313b9780b2ae17, _templateObject3_8c569fd01da511ed9d313b9780b2ae17, _templateObject4_8c569fd01da511ed9d313b9780b2ae17; + var _templateObject_545b05401e5811ed81a80d03c17d190b, _templateObject2_545b05401e5811ed81a80d03c17d190b, _templateObject3_545b05401e5811ed81a80d03c17d190b, _templateObject4_545b05401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -71,7 +71,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l babelHelpers.createClass(NavCardItem, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8c569fd01da511ed9d313b9780b2ae17 || (_templateObject_8c569fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n \n \n
        \n ", "\n "])), !this.avatar && !this.initials ? "" : (0, _index.html)(_templateObject2_8c569fd01da511ed9d313b9780b2ae17 || (_templateObject2_8c569fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor || "", this.allowGrey, this.dark, this.ico, this.invert, this.src, this.label, this.twoChars), !this.icon ? "" : (0, _index.html)(_templateObject3_8c569fd01da511ed9d313b9780b2ae17 || (_templateObject3_8c569fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.icon)); + return (0, _index.html)(_templateObject_545b05401e5811ed81a80d03c17d190b || (_templateObject_545b05401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n
        \n \n \n
        \n ", "\n "])), !this.avatar && !this.initials ? "" : (0, _index.html)(_templateObject2_545b05401e5811ed81a80d03c17d190b || (_templateObject2_545b05401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.accentColor || "", this.allowGrey, this.dark, this.ico, this.invert, this.src, this.label, this.twoChars), !this.icon ? "" : (0, _index.html)(_templateObject3_545b05401e5811ed81a80d03c17d190b || (_templateObject3_545b05401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.icon)); } }, { key: "twoChars", @@ -298,7 +298,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject4_8c569fd01da511ed9d313b9780b2ae17 || (_templateObject4_8c569fd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n text-decoration: none;\n padding: 5px 0;\n margin-bottom: 1px;\n color: var(--nav-card-item-color, unset);\n background-color: var(--nav-card-item-background-color, unset);\n border-bottom: var(\n --nav-card-linklist-border-bottom,\n 1px solid var(--simple-colors-default-theme-grey-4, #666)\n );\n }\n :host(:last-of-type) {\n border-bottom: none;\n }\n :host([hidden]) {\n display: none;\n }\n :host div {\n flex: 1 1 auto;\n }\n ::slotted([slot=\"label\"]:hover),\n ::slotted([slot=\"label\"]:focus),\n :host(:hover) ::slotted([slot=\"label\"]),\n :host(:focus-within) ::slotted([slot=\"label\"]) {\n text-decoration: underline;\n }\n ::slotted(*) {\n display: block;\n }\n ::slotted([slot=\"label\"]),\n ::slotted([slot=\"description\"]) {\n color: inherit;\n font-family: inherit;\n }\n ::slotted([slot=\"label\"]) {\n text-decoration: inherit;\n outline: none;\n border: none;\n padding: 0;\n text-align: left;\n color: var(--nav-card-item-color, unset);\n background-color: var(--nav-card-item-background-color, unset);\n font-size: var(--nav-card-item-label-font-size, inherit);\n font-weight: var(--nav-card-item-label-font-weight, bold);\n }\n ::slotted([slot=\"description\"]) {\n font-size: var(--nav-card-item-label-font-size, 11px);\n font-weight: var(--nav-card-item-label-font-weight, normal);\n }\n ::slotted([slot=\"label\"]):after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n }\n ::slotted([slot=\"label\"]:focus):after {\n outline: 1px solid blue;\n }\n lrndesign-avatar {\n margin-right: 10px;\n --lrndesign-avatar-width: var(\n --nav-card-item-avatar-width,\n var(--nav-card-item-avatar-size, 36px)\n );\n --lrndesign-avatar-height: var(\n --nav-card-item-avatar-height,\n var(--nav-card-item-avatar-size, 36px)\n );\n --lrndesign-avatar-border-radius: var(\n --nav-card-item-avatar-border-radius,\n 50%\n );\n }\n simple-icon-lite {\n margin-left: 10px;\n --simple-icon-width: var(\n --nav-card-item-icon-width,\n var(--nav-card-item-icon-size, 24px)\n );\n --simple-icon-height: var(\n --nav-card-item-icon-height,\n var(--nav-card-item-icon-size, 24px)\n );\n }\n "])))]; + return [(0, _index.css)(_templateObject4_545b05401e5811ed81a80d03c17d190b || (_templateObject4_545b05401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n text-decoration: none;\n padding: 5px 0;\n margin-bottom: 1px;\n color: var(--nav-card-item-color, unset);\n background-color: var(--nav-card-item-background-color, unset);\n border-bottom: var(\n --nav-card-linklist-border-bottom,\n 1px solid var(--simple-colors-default-theme-grey-4, #666)\n );\n }\n :host(:last-of-type) {\n border-bottom: none;\n }\n :host([hidden]) {\n display: none;\n }\n :host div {\n flex: 1 1 auto;\n }\n ::slotted([slot=\"label\"]:hover),\n ::slotted([slot=\"label\"]:focus),\n :host(:hover) ::slotted([slot=\"label\"]),\n :host(:focus-within) ::slotted([slot=\"label\"]) {\n text-decoration: underline;\n }\n ::slotted(*) {\n display: block;\n }\n ::slotted([slot=\"label\"]),\n ::slotted([slot=\"description\"]) {\n color: inherit;\n font-family: inherit;\n }\n ::slotted([slot=\"label\"]) {\n text-decoration: inherit;\n outline: none;\n border: none;\n padding: 0;\n text-align: left;\n color: var(--nav-card-item-color, unset);\n background-color: var(--nav-card-item-background-color, unset);\n font-size: var(--nav-card-item-label-font-size, inherit);\n font-weight: var(--nav-card-item-label-font-weight, bold);\n }\n ::slotted([slot=\"description\"]) {\n font-size: var(--nav-card-item-label-font-size, 11px);\n font-weight: var(--nav-card-item-label-font-weight, normal);\n }\n ::slotted([slot=\"label\"]):after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n }\n ::slotted([slot=\"label\"]:focus):after {\n outline: 1px solid blue;\n }\n lrndesign-avatar {\n margin-right: 10px;\n --lrndesign-avatar-width: var(\n --nav-card-item-avatar-width,\n var(--nav-card-item-avatar-size, 36px)\n );\n --lrndesign-avatar-height: var(\n --nav-card-item-avatar-height,\n var(--nav-card-item-avatar-size, 36px)\n );\n --lrndesign-avatar-border-radius: var(\n --nav-card-item-avatar-border-radius,\n 50%\n );\n }\n simple-icon-lite {\n margin-left: 10px;\n --simple-icon-width: var(\n --nav-card-item-icon-width,\n var(--nav-card-item-icon-size, 24px)\n );\n --simple-icon-height: var(\n --nav-card-item-icon-height,\n var(--nav-card-item-icon-size, 24px)\n );\n }\n "])))]; } }]); return NavCardItem; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/nav-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/nav-card.js index e451d23d032..de009edb97a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/nav-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/nav-card/nav-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../accent-card/accent-card.js", "../si }); _exports.NavCard = void 0; - var _templateObject_47ee6ad01da511ed9d313b9780b2ae17, _templateObject2_47ee6ad01da511ed9d313b9780b2ae17; + var _templateObject_1bf464301e5811ed81a80d03c17d190b, _templateObject2_1bf464301e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -44,14 +44,14 @@ define(["exports", "../../lit/index.js", "../accent-card/accent-card.js", "../si key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_47ee6ad01da511ed9d313b9780b2ae17 || (_templateObject_47ee6ad01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n
        \n
        \n
        \n
        \n

        \n
        \n
        \n \n
        \n \n
        \n
        \n
        \n
        \n "])), !this.imageSrc, this.imageSrc ? "background-image: url(".concat(this.imageSrc, ");") : "display: none;"); + return (0, _index.html)(_templateObject_1bf464301e5811ed81a80d03c17d190b || (_templateObject_1bf464301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n
        \n
        \n
        \n
        \n

        \n
        \n
        \n \n
        \n \n
        \n
        \n
        \n
        \n "])), !this.imageSrc, this.imageSrc ? "background-image: url(".concat(this.imageSrc, ");") : "display: none;"); } // haxProperty definition }], [{ key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(NavCard), "styles", this)), [(0, _index.css)(_templateObject2_47ee6ad01da511ed9d313b9780b2ae17 || (_templateObject2_47ee6ad01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --accent-card-content-padding-bottom: 0px;\n }\n\n ::slotted([slot=\"linklist\"]) {\n --nav-card-item-color: var(--accent-card-color);\n --nav-card-item-background-color: var(--accent-card-background-color);\n margin-top: var(--nav-card-linklist-margin-top, 20px);\n margin-bottom: var(--nav-card-linklist-margin-bottom, 20px);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(NavCard), "styles", this)), [(0, _index.css)(_templateObject2_1bf464301e5811ed81a80d03c17d190b || (_templateObject2_1bf464301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --accent-card-content-padding-bottom: 0px;\n }\n\n ::slotted([slot=\"linklist\"]) {\n --nav-card-item-color: var(--accent-card-color);\n --nav-card-item-background-color: var(--accent-card-background-color);\n margin-top: var(--nav-card-linklist-margin-top, 20px);\n margin-bottom: var(--nav-card-linklist-margin-bottom, 20px);\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/oer-schema/oer-schema.js b/build/es5-amd/node_modules/@lrnwebcomponents/oer-schema/oer-schema.js index 5e9b2cad666..2853ee40993 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/oer-schema/oer-schema.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/oer-schema/oer-schema.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.OerSchemaElement = void 0; - var _templateObject_47f23b601da511ed9d313b9780b2ae17, _templateObject2_47f23b601da511ed9d313b9780b2ae17; + var _templateObject_1c6aa5a01e5811ed81a80d03c17d190b, _templateObject2_1c6aa5a01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -41,7 +41,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j babelHelpers.createClass(OerSchemaElement, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_47f23b601da511ed9d313b9780b2ae17 || (_templateObject_47f23b601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.oerProperty, this.text); + return (0, _index.html)(_templateObject_1c6aa5a01e5811ed81a80d03c17d190b || (_templateObject_1c6aa5a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.oerProperty, this.text); } }, { key: "updated", @@ -81,7 +81,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_47f23b601da511ed9d313b9780b2ae17 || (_templateObject2_47f23b601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1c6aa5a01e5811ed81a80d03c17d190b || (_templateObject2_1c6aa5a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/lib/sortable-list.js b/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/lib/sortable-list.js index 98e88cd1519..ab257cffc1f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/lib/sortable-list.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/lib/sortable-list.js @@ -8,7 +8,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po async = _interopRequireWildcard(async); Gestures = _interopRequireWildcard(Gestures); - var _templateObject_8c6fcd201da511ed9d313b9780b2ae17; + var _templateObject_54c909501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -376,7 +376,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po key: "template", get: // render function function get() { - return (0, _polymerElement.html)(_templateObject_8c6fcd201da511ed9d313b9780b2ae17 || (_templateObject_8c6fcd201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_54c909501e5811ed81a80d03c17d190b || (_templateObject_54c909501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n "]))); } }, { key: "is", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/outline-designer.js b/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/outline-designer.js index a96d8503eee..b46a49a4ea6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/outline-designer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/outline-designer/outline-designer.js @@ -7,7 +7,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ _exports.OutlineDesigner = void 0; async = _interopRequireWildcard(async); - var _templateObject_47febe801da511ed9d313b9780b2ae17; + var _templateObject_1c7701b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -53,7 +53,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ key: "render", value: // render function function render() { - return (0, _polymerElement.html)(_templateObject_47febe801da511ed9d313b9780b2ae17 || (_templateObject_47febe801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n \n \n \n View: [[viewModeLabel]]\n \n [[viewModeLabel]]\n Detail: [[detailsModeLabel]]\n \n [[detailsModeLabel]]\n
        \n \n [[manifest.title]]\n\n \n Lesson 2\n\n \n Math Basics\n
        \n
        \n \n Toggle mini-map\n \n Help\n
        \n \n
        \n
        \n \n
        \n \n \n \n
        \n
        \n \n
        \n
        \n
        \n
          \n \n
        • \n \n
          \n [[item.title]]\n
          \n [[item.title]]\n \n
          \n
        • \n \n
        \n
        \n
        \n
        \n \n \n
        \n \n
        \n [[item.description]]\n
        \n
        \n
        \n \n \n \n
        \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1c7701b01e5811ed81a80d03c17d190b || (_templateObject_1c7701b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n \n \n \n View: [[viewModeLabel]]\n \n [[viewModeLabel]]\n Detail: [[detailsModeLabel]]\n \n [[detailsModeLabel]]\n
        \n \n [[manifest.title]]\n\n \n Lesson 2\n\n \n Math Basics\n
        \n
        \n \n Toggle mini-map\n \n Help\n
        \n \n
        \n
        \n \n
        \n \n \n \n
        \n
        \n \n
        \n
        \n
        \n
          \n \n
        • \n \n
          \n [[item.title]]\n
          \n [[item.title]]\n \n
          \n
        • \n \n
        \n
        \n
        \n
        \n \n \n
        \n \n
        \n [[item.description]]\n
        \n
        \n
        \n \n \n \n
        \n
        \n \n "]))); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/outline-player/outline-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/outline-player/outline-player.js index eb1edc1b8d4..7fa618ae96d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/outline-player/outline-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/outline-player/outline-player.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.OutlinePlayer = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_48110e001da511ed9d313b9780b2ae17, _templateObject2_48110e001da511ed9d313b9780b2ae17; + var _templateObject_1c7cce101e5811ed81a80d03c17d190b, _templateObject2_1c7cce101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -103,7 +103,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_48110e001da511ed9d313b9780b2ae17 || (_templateObject_48110e001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n
        \n
        \n
        \n \n \n \n \n \n \n \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n \n "])), this.narrow, this._narrowChanged, this.opened, this._openedChanged, this._toggleMenu, this.siteModalClick, this.editMode); + return (0, _index.html)(_templateObject_1c7cce101e5811ed81a80d03c17d190b || (_templateObject_1c7cce101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n
        \n
        \n
        \n \n \n \n \n \n \n \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n \n "])), this.narrow, this._narrowChanged, this.opened, this._openedChanged, this._toggleMenu, this.siteModalClick, this.editMode); } }, { key: "_narrowChanged", @@ -215,7 +215,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core * LitElement style render */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(OutlinePlayer), "styles", this)), [(0, _index.css)(_templateObject2_48110e001da511ed9d313b9780b2ae17 || (_templateObject2_48110e001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: libre baskerville;\n position: relative;\n overflow: hidden;\n --outline-player-min-height: 100vh;\n --app-drawer-width: 300px;\n --outline-player-dark: #222222;\n --outline-player-light: #f8f8f8;\n background-color: var(--outline-player-light);\n }\n\n simple-icon-button-lite:not(:defined),\n site-breadcrumb:not(:defined),\n site-rss-button:not(:defined),\n site-print-button:not(:defined),\n site-menu-button:not(:defined),\n site-modal:not(:defined),\n site-git-corner:not(:defined),\n site-menu-button:not(:defined) {\n display: none;\n }\n\n :host([closed]) {\n --app-drawer-width: 0px;\n }\n\n :host,\n :host * ::slotted(*) {\n line-height: 1.8;\n }\n :host ul,\n :host * ::slotted(ul),\n :host ol,\n :host * ::slotted(ol) {\n padding-left: 20px;\n margin-left: 20px;\n }\n :host ul,\n :host * ::slotted(ul) {\n list-style-type: disc;\n }\n :host li,\n :host * ::slotted(li) {\n margin-bottom: 6px;\n }\n\n h1 {\n font-size: 36px;\n }\n\n h2 {\n font-size: 32px;\n }\n\n h3 {\n font-size: 28px;\n }\n\n p {\n line-height: 26px;\n min-height: 26px;\n }\n\n a,\n a:visited,\n a:active {\n color: #000;\n }\n\n a:hover {\n color: #2196f3;\n }\n\n ul li {\n padding-bottom: 24px;\n line-height: 1.5;\n color: #424242;\n max-width: 448px;\n }\n\n ul li:last-child {\n padding-bottom: 16px;\n }\n\n app-drawer-layout {\n min-height: 100vh;\n min-height: -moz-available; /* WebKit-based browsers will ignore this. */\n min-height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */\n min-height: fill-available;\n /* if the user has set a specific value then override the defaults */\n min-height: var(--outline-player-min-height);\n }\n\n outline-player-navigation {\n --outline-player-dark: var(--outline-player-dark);\n }\n\n div[main-title] {\n margin-left: 8px;\n font-size: 16px;\n line-height: 22px;\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n display: inline-block;\n word-break: break-word;\n }\n #content {\n padding: 8px 8px 8px 64px;\n }\n\n /* Required for HAX */\n :host([edit-mode]) #slot {\n display: none !important;\n }\n :host([edit-mode]) #contentcontainer {\n padding: 32px 8px 8px 8px;\n }\n #contentcontainer {\n max-width: 840px;\n display: block;\n margin: 40px;\n padding: 0 16px 16px 16px;\n flex: none;\n transition: 0.5s opacity ease-in-out;\n }\n #contentcontainer h-a-x {\n margin: 0;\n }\n site-menu-button {\n display: inline-flex;\n }\n site-print-button {\n display: inline-flex;\n }\n site-active-title {\n --site-active-title-margin: 0px;\n --site-active-title-padding: 0px;\n margin: 0 0 0 24px;\n padding: 0;\n display: block;\n }\n @media screen and (max-width: 640px) {\n #content {\n padding: 8px 8px 8px 8px;\n }\n }\n app-drawer {\n box-shadow: 0 0 6px -3px var(--outline-player-dark);\n overflow: hidden;\n --app-drawer-scrim-background: rgba(80, 80, 80, 0.8);\n z-index: 1000000;\n }\n .nav-btns {\n display: flex;\n }\n .nav-btns site-menu-button,\n .nav-btns site-print-button,\n .nav-btns site-modal,\n .nav-btns simple-icon-button-lite {\n display: inline-flex;\n height: 32px;\n width: 32px;\n margin: 0 16px;\n padding: 0;\n }\n site-menu {\n height: calc(100vh - 64px);\n color: #000000;\n padding: 0;\n background-color: #ffffff;\n --site-menu-active-color: rgba(0, 0, 0, 0.1);\n --site-menu-scrolltrack-bg-color: rgba(0, 0, 0, 0.3);\n --site-menu-bg-shadow: rgba(0, 0, 0, 0.3);\n --site-menu-bg-color: #fafafa;\n --site-menu-padding: 0;\n --site-menu-background-color: #ffffff;\n --site-menu-color: #000000;\n --site-menu-container-padding: 0;\n --site-menu-container-background-color: #ffffff;\n --site-menu-container-color: #000000;\n --site-menu-item-active-item-color: #000000;\n }\n site-menu-button {\n --site-menu-button-button-hover-background-color: rgba(0, 0, 0, 0.2);\n }\n site-breadcrumb {\n display: block;\n margin: 24px 24px 0;\n }\n :host([responsive-size=\"xs\"]) site-breadcrumb,\n :host([responsive-size=\"sm\"]) site-breadcrumb {\n display: none;\n }\n :host([responsive-size=\"xs\"]) site-git-corner {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(OutlinePlayer), "styles", this)), [(0, _index.css)(_templateObject2_1c7cce101e5811ed81a80d03c17d190b || (_templateObject2_1c7cce101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: libre baskerville;\n position: relative;\n overflow: hidden;\n --outline-player-min-height: 100vh;\n --app-drawer-width: 300px;\n --outline-player-dark: #222222;\n --outline-player-light: #f8f8f8;\n background-color: var(--outline-player-light);\n }\n\n simple-icon-button-lite:not(:defined),\n site-breadcrumb:not(:defined),\n site-rss-button:not(:defined),\n site-print-button:not(:defined),\n site-menu-button:not(:defined),\n site-modal:not(:defined),\n site-git-corner:not(:defined),\n site-menu-button:not(:defined) {\n display: none;\n }\n\n :host([closed]) {\n --app-drawer-width: 0px;\n }\n\n :host,\n :host * ::slotted(*) {\n line-height: 1.8;\n }\n :host ul,\n :host * ::slotted(ul),\n :host ol,\n :host * ::slotted(ol) {\n padding-left: 20px;\n margin-left: 20px;\n }\n :host ul,\n :host * ::slotted(ul) {\n list-style-type: disc;\n }\n :host li,\n :host * ::slotted(li) {\n margin-bottom: 6px;\n }\n\n h1 {\n font-size: 36px;\n }\n\n h2 {\n font-size: 32px;\n }\n\n h3 {\n font-size: 28px;\n }\n\n p {\n line-height: 26px;\n min-height: 26px;\n }\n\n a,\n a:visited,\n a:active {\n color: #000;\n }\n\n a:hover {\n color: #2196f3;\n }\n\n ul li {\n padding-bottom: 24px;\n line-height: 1.5;\n color: #424242;\n max-width: 448px;\n }\n\n ul li:last-child {\n padding-bottom: 16px;\n }\n\n app-drawer-layout {\n min-height: 100vh;\n min-height: -moz-available; /* WebKit-based browsers will ignore this. */\n min-height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */\n min-height: fill-available;\n /* if the user has set a specific value then override the defaults */\n min-height: var(--outline-player-min-height);\n }\n\n outline-player-navigation {\n --outline-player-dark: var(--outline-player-dark);\n }\n\n div[main-title] {\n margin-left: 8px;\n font-size: 16px;\n line-height: 22px;\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n display: inline-block;\n word-break: break-word;\n }\n #content {\n padding: 8px 8px 8px 64px;\n }\n\n /* Required for HAX */\n :host([edit-mode]) #slot {\n display: none !important;\n }\n :host([edit-mode]) #contentcontainer {\n padding: 32px 8px 8px 8px;\n }\n #contentcontainer {\n max-width: 840px;\n display: block;\n margin: 40px;\n padding: 0 16px 16px 16px;\n flex: none;\n transition: 0.5s opacity ease-in-out;\n }\n #contentcontainer h-a-x {\n margin: 0;\n }\n site-menu-button {\n display: inline-flex;\n }\n site-print-button {\n display: inline-flex;\n }\n site-active-title {\n --site-active-title-margin: 0px;\n --site-active-title-padding: 0px;\n margin: 0 0 0 24px;\n padding: 0;\n display: block;\n }\n @media screen and (max-width: 640px) {\n #content {\n padding: 8px 8px 8px 8px;\n }\n }\n app-drawer {\n box-shadow: 0 0 6px -3px var(--outline-player-dark);\n overflow: hidden;\n --app-drawer-scrim-background: rgba(80, 80, 80, 0.8);\n z-index: 1000000;\n }\n .nav-btns {\n display: flex;\n }\n .nav-btns site-menu-button,\n .nav-btns site-print-button,\n .nav-btns site-modal,\n .nav-btns simple-icon-button-lite {\n display: inline-flex;\n height: 32px;\n width: 32px;\n margin: 0 16px;\n padding: 0;\n }\n site-menu {\n height: calc(100vh - 64px);\n color: #000000;\n padding: 0;\n background-color: #ffffff;\n --site-menu-active-color: rgba(0, 0, 0, 0.1);\n --site-menu-scrolltrack-bg-color: rgba(0, 0, 0, 0.3);\n --site-menu-bg-shadow: rgba(0, 0, 0, 0.3);\n --site-menu-bg-color: #fafafa;\n --site-menu-padding: 0;\n --site-menu-background-color: #ffffff;\n --site-menu-color: #000000;\n --site-menu-container-padding: 0;\n --site-menu-container-background-color: #ffffff;\n --site-menu-container-color: #000000;\n --site-menu-item-active-item-color: #000000;\n }\n site-menu-button {\n --site-menu-button-button-hover-background-color: rgba(0, 0, 0, 0.2);\n }\n site-breadcrumb {\n display: block;\n margin: 24px 24px 0;\n }\n :host([responsive-size=\"xs\"]) site-breadcrumb,\n :host([responsive-size=\"sm\"]) site-breadcrumb {\n display: none;\n }\n :host([responsive-size=\"xs\"]) site-git-corner {\n display: none;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/page-break/page-break.js b/build/es5-amd/node_modules/@lrnwebcomponents/page-break/page-break.js index ee503b11e82..e089ed0d151 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/page-break/page-break.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/page-break/page-break.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh _exports.PageBreak = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_481e06501da511ed9d313b9780b2ae17, _templateObject2_481e06501da511ed9d313b9780b2ae17, _templateObject3_481e06501da511ed9d313b9780b2ae17; + var _templateObject_1c8fe0e01e5811ed81a80d03c17d190b, _templateObject2_1c8fe0e01e5811ed81a80d03c17d190b, _templateObject3_1c8fe0e01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -17,6 +17,8 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -334,7 +336,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_481e06501da511ed9d313b9780b2ae17 || (_templateObject_481e06501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "
        \n
        \n ", "\n "])), this.slug, this.itemId, this.title, this.locked ? (0, _index.html)(_templateObject2_481e06501da511ed9d313b9780b2ae17 || (_templateObject2_481e06501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.haxClickLockInPage, this.t.clickToUnlock) : ""); + return (0, _index.html)(_templateObject_1c8fe0e01e5811ed81a80d03c17d190b || (_templateObject_1c8fe0e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        ", "
        \n
        \n ", "\n "])), this.slug, this.itemId, this.title, this.locked ? (0, _index.html)(_templateObject2_1c8fe0e01e5811ed81a80d03c17d190b || (_templateObject2_1c8fe0e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.haxClickLockInPage, this.t.clickToUnlock) : ""); } /** * haxProperties integration via file reference @@ -364,9 +366,9 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh }, { key: "haxpreProcessInsertContent", value: function () { - var _haxpreProcessInsertContent = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(details, activeNode) { + var _haxpreProcessInsertContent = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(details, activeNode) { var testNode, closestPB; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -426,9 +428,9 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh }, { key: "haxtrayDragNDropToNode", value: function () { - var _haxtrayDragNDropToNode = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(activeNode) { + var _haxtrayDragNDropToNode = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(activeNode) { var testNode, closestPB; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -657,7 +659,7 @@ define(["exports", "meta", "../../lit/index.js", "../schema-behaviors/schema-beh }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_481e06501da511ed9d313b9780b2ae17 || (_templateObject3_481e06501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n opacity: 0;\n height: 1px;\n }\n :host([data-hax-ray]) {\n display: block;\n margin: 20px 0;\n padding: 20px;\n opacity: 0.2;\n background-position: center;\n background-repeat: no-repeat;\n transition: all 0.2s linear;\n }\n .mid {\n border: none;\n border-top: 2px solid #cccccc;\n overflow: visible;\n margin: 4px 0 0 0;\n padding: 0;\n height: 0;\n }\n :host([data-hax-ray]:hover) {\n opacity: 1;\n }\n :host([data-hax-ray]:hover) .mid::before {\n font-weight: bold;\n color: #000000;\n background-color: #ffffff;\n font-size: 16px;\n left: calc(50% - 2.5em);\n top: -16px;\n position: relative;\n height: 0;\n line-height: 36px;\n }\n simple-icon-button-lite {\n float: right;\n color: #000000;\n --simple-icon-width: 36px;\n --simple-icon-height: 36px;\n margin-top: -28px;\n margin-right: -46px;\n }\n .sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_1c8fe0e01e5811ed81a80d03c17d190b || (_templateObject3_1c8fe0e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n opacity: 0;\n height: 1px;\n }\n :host([data-hax-ray]) {\n display: block;\n margin: 20px 0;\n padding: 20px;\n opacity: 0.2;\n background-position: center;\n background-repeat: no-repeat;\n transition: all 0.2s linear;\n }\n .mid {\n border: none;\n border-top: 2px solid #cccccc;\n overflow: visible;\n margin: 4px 0 0 0;\n padding: 0;\n height: 0;\n }\n :host([data-hax-ray]:hover) {\n opacity: 1;\n }\n :host([data-hax-ray]:hover) .mid::before {\n font-weight: bold;\n color: #000000;\n background-color: #ffffff;\n font-size: 16px;\n left: calc(50% - 2.5em);\n top: -16px;\n position: relative;\n height: 0;\n line-height: 36px;\n }\n simple-icon-button-lite {\n float: right;\n color: #000000;\n --simple-icon-width: 36px;\n --simple-icon-height: 36px;\n margin-top: -28px;\n margin-right: -46px;\n }\n .sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/page-contents-menu/page-contents-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/page-contents-menu/page-contents-menu.js index 960a9e64c6d..474df2d0741 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/page-contents-menu/page-contents-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/page-contents-menu/page-contents-menu.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../utils/utils.js"], functi _exports.PageContentsMenu = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_4826b8e01da511ed9d313b9780b2ae17, _templateObject2_4826b8e01da511ed9d313b9780b2ae17, _templateObject3_4826b8e01da511ed9d313b9780b2ae17, _templateObject4_4826b8e01da511ed9d313b9780b2ae17, _templateObject5_4826b8e01da511ed9d313b9780b2ae17, _templateObject6_4826b8e01da511ed9d313b9780b2ae17, _templateObject7_4826b8e01da511ed9d313b9780b2ae17; + var _templateObject_1c98e1901e5811ed81a80d03c17d190b, _templateObject2_1c98e1901e5811ed81a80d03c17d190b, _templateObject3_1c98e1901e5811ed81a80d03c17d190b, _templateObject4_1c98e1901e5811ed81a80d03c17d190b, _templateObject5_1c98e1901e5811ed81a80d03c17d190b, _templateObject6_1c98e1901e5811ed81a80d03c17d190b, _templateObject7_1c98e1901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -66,9 +66,9 @@ define(["exports", "require", "../../lit/index.js", "../utils/utils.js"], functi function render() { var _this2 = this; - return (0, _index.html)(_templateObject_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n \n \n \n \n \n \n \n \n \n \n ", "\n \n ", "\n
        \n ", "\n
        \n "])), this.toggleSettings, this.keyToggle, this.label, !this.mobile || !this.hideSettings, this.label, !this.mobile ? (0, _index.html)(_templateObject2_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject2_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.label) : "", this.mobile ? (0, _index.html)(_templateObject3_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject3_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
          \n ", "\n
        \n \n "])), this.hideSettings, this.position, this.items.map(function (item, index) { + return (0, _index.html)(_templateObject_1c98e1901e5811ed81a80d03c17d190b || (_templateObject_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n \n \n \n \n \n \n \n \n \n \n ", "\n \n ", "\n
        \n ", "\n
        \n "])), this.toggleSettings, this.keyToggle, this.label, !this.mobile || !this.hideSettings, this.label, !this.mobile ? (0, _index.html)(_templateObject2_1c98e1901e5811ed81a80d03c17d190b || (_templateObject2_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.label) : "", this.mobile ? (0, _index.html)(_templateObject3_1c98e1901e5811ed81a80d03c17d190b || (_templateObject3_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
          \n ", "\n
        \n \n "])), this.hideSettings, this.position, this.items.map(function (item, index) { return _this2.renderItem(item, index); - })) : (0, _index.html)(_templateObject4_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject4_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
          \n ", "\n
        \n "])), this.items.map(function (item, index) { + })) : (0, _index.html)(_templateObject4_1c98e1901e5811ed81a80d03c17d190b || (_templateObject4_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
          \n ", "\n
        \n "])), this.items.map(function (item, index) { return _this2.renderItem(item, index); }))); } @@ -126,10 +126,10 @@ define(["exports", "require", "../../lit/index.js", "../utils/utils.js"], functi value: function renderItem(item, index) { if (item.link == null && item.id) { // tab index ensures browser treats it like a normal link - return (0, _index.html)(_templateObject5_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject5_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", "\n
      • \n "])), item.indent, item.active, this.scrollToObject, this.keyScroll, index, item.title); + return (0, _index.html)(_templateObject5_1c98e1901e5811ed81a80d03c17d190b || (_templateObject5_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", "\n
      • \n "])), item.indent, item.active, this.scrollToObject, this.keyScroll, index, item.title); } - return (0, _index.html)(_templateObject6_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject6_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", "\n
      • \n "])), item.indent, item.active, item.link, this.scrollToObject, this.keyScroll, index, item.title); + return (0, _index.html)(_templateObject6_1c98e1901e5811ed81a80d03c17d190b || (_templateObject6_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", "\n
      • \n "])), item.indent, item.active, item.link, this.scrollToObject, this.keyScroll, index, item.title); } // properties available to the custom element for data binding }, { @@ -368,7 +368,7 @@ define(["exports", "require", "../../lit/index.js", "../utils/utils.js"], functi key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject7_4826b8e01da511ed9d313b9780b2ae17 || (_templateObject7_4826b8e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([is-empty][hide-if-empty]) {\n display: none;\n }\n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n :host([mobile]) .wrapper,\n :host([mobile]) .header,\n :host([mobile]) .header .svg {\n padding: 0;\n margin: 0;\n }\n .wrapper {\n display: inline-block;\n padding: 8px;\n }\n .header {\n display: flex;\n color: var(--page-contents-menu-heading-color, #9daab6);\n padding: 0 24px 0 0;\n margin: 0 0 8px 0;\n }\n .header .svg {\n padding-right: 6px;\n display: inline-flex;\n color: var(--page-contents-menu-link, #74818d);\n }\n svg {\n width: 1em;\n height: 1em;\n vertical-align: middle;\n }\n .header .label {\n align-items: center;\n display: inline-flex;\n font-size: var(--page-contents-menu-heading-font-size, 10px);\n font-weight: var(--page-contents-menu-heading-font-weight, 700);\n padding: 0;\n margin: 0;\n font-family: Content-font, Roboto, sans-serif;\n line-height: 1;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n }\n\n .contents {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow-y: auto;\n max-height: 50vh;\n }\n .item {\n margin: 0;\n display: block;\n padding: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .link {\n font-family: Content-font, Roboto, sans-serif;\n line-height: 1.5;\n display: flex;\n padding: 4px 16px 4px 24px;\n font-size: var(--page-contents-menu-link-font-size, 12px);\n text-decoration: none;\n font-weight: var(--page-contents-menu-link-font-weight, 500);\n color: var(--page-contents-menu-link, #74818d);\n cursor: pointer;\n margin: 0;\n align-items: center;\n vertical-align: middle;\n -webkit-box-align: center;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .link:hover,\n .link:focus,\n .link:active {\n text-decoration: underline;\n color: var(--page-contents-menu-link-hover, rgb(56, 132, 255));\n }\n .link:focus {\n outline: 1px solid var(--page-contents-menu-link, black);\n outline-offset: 4px;\n }\n .indent-1 {\n padding-left: 0px;\n }\n .indent-2 {\n padding-left: 16px;\n }\n .indent-3,\n .indent-4,\n .indent-5,\n .indent-6 {\n padding-left: 32px;\n }\n .active {\n font-weight: bold;\n border-left: black 2px solid;\n }\n "])))]; + return [(0, _index.css)(_templateObject7_1c98e1901e5811ed81a80d03c17d190b || (_templateObject7_1c98e1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([is-empty][hide-if-empty]) {\n display: none;\n }\n :host([hidden]) {\n display: none;\n }\n [hidden] {\n display: none;\n }\n :host([mobile]) .wrapper,\n :host([mobile]) .header,\n :host([mobile]) .header .svg {\n padding: 0;\n margin: 0;\n }\n .wrapper {\n display: inline-block;\n padding: 8px;\n }\n .header {\n display: flex;\n color: var(--page-contents-menu-heading-color, #9daab6);\n padding: 0 24px 0 0;\n margin: 0 0 8px 0;\n }\n .header .svg {\n padding-right: 6px;\n display: inline-flex;\n color: var(--page-contents-menu-link, #74818d);\n }\n svg {\n width: 1em;\n height: 1em;\n vertical-align: middle;\n }\n .header .label {\n align-items: center;\n display: inline-flex;\n font-size: var(--page-contents-menu-heading-font-size, 10px);\n font-weight: var(--page-contents-menu-heading-font-weight, 700);\n padding: 0;\n margin: 0;\n font-family: Content-font, Roboto, sans-serif;\n line-height: 1;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n }\n\n .contents {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow-y: auto;\n max-height: 50vh;\n }\n .item {\n margin: 0;\n display: block;\n padding: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .link {\n font-family: Content-font, Roboto, sans-serif;\n line-height: 1.5;\n display: flex;\n padding: 4px 16px 4px 24px;\n font-size: var(--page-contents-menu-link-font-size, 12px);\n text-decoration: none;\n font-weight: var(--page-contents-menu-link-font-weight, 500);\n color: var(--page-contents-menu-link, #74818d);\n cursor: pointer;\n margin: 0;\n align-items: center;\n vertical-align: middle;\n -webkit-box-align: center;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .link:hover,\n .link:focus,\n .link:active {\n text-decoration: underline;\n color: var(--page-contents-menu-link-hover, rgb(56, 132, 255));\n }\n .link:focus {\n outline: 1px solid var(--page-contents-menu-link, black);\n outline-offset: 4px;\n }\n .indent-1 {\n padding-left: 0px;\n }\n .indent-2 {\n padding-left: 16px;\n }\n .indent-3,\n .indent-4,\n .indent-5,\n .indent-6 {\n padding-left: 32px;\n }\n .active {\n font-weight: bold;\n border-left: black 2px solid;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/paper-audio-player/paper-audio-player.js b/build/es5-amd/node_modules/@lrnwebcomponents/paper-audio-player/paper-audio-player.js index 4ecce6ec976..aa6956bd896 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/paper-audio-player/paper-audio-player.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/paper-audio-player/paper-audio-player.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.PaperAudioPlayer = void 0; - var _templateObject_4830a3f01da511ed9d313b9780b2ae17; + var _templateObject_1ca1bb301e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -374,7 +374,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_4830a3f01da511ed9d313b9780b2ae17 || (_templateObject_4830a3f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n
        \n
        \n \n
        [[title]]
        \n \n \n \n
        \n \n
        \n
        [[title]]
        \n
        \n
        \n
        \n \n
        \n [[ _convertSecToMin(timeLeft) ]]\n
        \n \n \n
        \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1ca1bb301e5811ed81a80d03c17d190b || (_templateObject_1ca1bb301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n \n \n \n
        \n
        \n \n
        [[title]]
        \n \n \n \n
        \n \n
        \n
        [[title]]
        \n
        \n
        \n
        \n \n
        \n [[ _convertSecToMin(timeLeft) ]]\n
        \n \n \n
        \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/paper-avatar/paper-avatar.js b/build/es5-amd/node_modules/@lrnwebcomponents/paper-avatar/paper-avatar.js index b96e5dbbe5b..a0fdeba413f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/paper-avatar/paper-avatar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/paper-avatar/paper-avatar.js @@ -8,7 +8,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- meta = _interopRequireWildcard(meta); md5 = _interopRequireWildcard(md5); - var _templateObject_48349b901da511ed9d313b9780b2ae17, _templateObject2_48349b901da511ed9d313b9780b2ae17, _templateObject3_48349b901da511ed9d313b9780b2ae17, _templateObject4_48349b901da511ed9d313b9780b2ae17, _templateObject5_48349b901da511ed9d313b9780b2ae17; + var _templateObject_1ca5d9e01e5811ed81a80d03c17d190b, _templateObject2_1ca5d9e01e5811ed81a80d03c17d190b, _templateObject3_1ca5d9e01e5811ed81a80d03c17d190b, _templateObject4_1ca5d9e01e5811ed81a80d03c17d190b, _templateObject5_1ca5d9e01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -66,7 +66,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- * LitElement render method */ function render() { - return (0, _index.html)(_templateObject_48349b901da511ed9d313b9780b2ae17 || (_templateObject_48349b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n ", "\n "])), this.label, this.jdenticonExists && this.jdenticon, this.icon ? (0, _index.html)(_templateObject2_48349b901da511ed9d313b9780b2ae17 || (_templateObject2_48349b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : (0, _index.html)(_templateObject3_48349b901da511ed9d313b9780b2ae17 || (_templateObject3_48349b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n "])), this.twoChars, this._label(this.label)), this.src ? (0, _index.html)(_templateObject4_48349b901da511ed9d313b9780b2ae17 || (_templateObject4_48349b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.src || "", this._onImgLoad, this._onImgError) : ""); + return (0, _index.html)(_templateObject_1ca5d9e01e5811ed81a80d03c17d190b || (_templateObject_1ca5d9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n ", "\n "])), this.label, this.jdenticonExists && this.jdenticon, this.icon ? (0, _index.html)(_templateObject2_1ca5d9e01e5811ed81a80d03c17d190b || (_templateObject2_1ca5d9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : (0, _index.html)(_templateObject3_1ca5d9e01e5811ed81a80d03c17d190b || (_templateObject3_1ca5d9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n "])), this.twoChars, this._label(this.label)), this.src ? (0, _index.html)(_templateObject4_1ca5d9e01e5811ed81a80d03c17d190b || (_templateObject4_1ca5d9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.src || "", this._onImgLoad, this._onImgError) : ""); } }, { key: "updated", @@ -181,7 +181,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- * LitElement style method */ function get() { - return [(0, _index.css)(_templateObject5_48349b901da511ed9d313b9780b2ae17 || (_templateObject5_48349b901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n box-sizing: border-box;\n position: relative;\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n border-radius: 50%;\n cursor: default;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n color: var(--paper-avatar-text-color, #ffffff);\n background-color: var(\n --paper-avatar-color,\n var(--paper-avatar-calculated-bg, #000)\n );\n }\n\n :host > * {\n pointer-events: none;\n }\n img {\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n }\n #label,\n #img,\n #jdenticon {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n #label {\n overflow: hidden;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-flex-direction: row;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n --simple-icon-width: calc(var(--paper-avatar-width, 40px) * 0.9);\n --simple-icon-height: calc(var(--paper-avatar-width, 40px) * 0.9);\n }\n #label[hidden] {\n display: none;\n }\n #label span {\n display: block;\n width: 100%;\n font-weight: 400;\n color: var(--paper-avatar-text-color, #ffffff);\n text-transform: capitalize;\n font-family: \"Roboto\", \"Noto\", sans-serif;\n -webkit-font-smoothing: antialiased;\n text-align: center;\n font-size: calc(var(--paper-avatar-width, 40px) * 0.7);\n opacity: 0.8;\n }\n #label span[two-chars] {\n font-size: calc(var(--paper-avatar-width, 40px) * 0.5);\n }\n #label simple-icon-lite {\n margin: 0 auto;\n opacity: 0.8;\n }\n #jdenticon {\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n }\n #jdenticon * {\n fill: var(--paper-avatar-text-color, #ffffff);\n opacity: 0.8;\n }\n :host #jdenticon ::slotted(*) {\n fill: var(--paper-avatar-text-color, #ffffff);\n opacity: 0.8;\n }\n "])))]; + return [(0, _index.css)(_templateObject5_1ca5d9e01e5811ed81a80d03c17d190b || (_templateObject5_1ca5d9e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n box-sizing: border-box;\n position: relative;\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n border-radius: 50%;\n cursor: default;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n color: var(--paper-avatar-text-color, #ffffff);\n background-color: var(\n --paper-avatar-color,\n var(--paper-avatar-calculated-bg, #000)\n );\n }\n\n :host > * {\n pointer-events: none;\n }\n img {\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n }\n #label,\n #img,\n #jdenticon {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n #label {\n overflow: hidden;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-flex-direction: row;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -ms-flex-align: center;\n align-items: center;\n --simple-icon-width: calc(var(--paper-avatar-width, 40px) * 0.9);\n --simple-icon-height: calc(var(--paper-avatar-width, 40px) * 0.9);\n }\n #label[hidden] {\n display: none;\n }\n #label span {\n display: block;\n width: 100%;\n font-weight: 400;\n color: var(--paper-avatar-text-color, #ffffff);\n text-transform: capitalize;\n font-family: \"Roboto\", \"Noto\", sans-serif;\n -webkit-font-smoothing: antialiased;\n text-align: center;\n font-size: calc(var(--paper-avatar-width, 40px) * 0.7);\n opacity: 0.8;\n }\n #label span[two-chars] {\n font-size: calc(var(--paper-avatar-width, 40px) * 0.5);\n }\n #label simple-icon-lite {\n margin: 0 auto;\n opacity: 0.8;\n }\n #jdenticon {\n width: var(--paper-avatar-width, 40px);\n height: var(--paper-avatar-width, 40px);\n }\n #jdenticon * {\n fill: var(--paper-avatar-text-color, #ffffff);\n opacity: 0.8;\n }\n :host #jdenticon ::slotted(*) {\n fill: var(--paper-avatar-text-color, #ffffff);\n opacity: 0.8;\n }\n "])))]; } /** * A convention our team uses diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/paper-fab-speed-dial/lib/paper-fab-speed-dial-overlay.js b/build/es5-amd/node_modules/@lrnwebcomponents/paper-fab-speed-dial/lib/paper-fab-speed-dial-overlay.js index e60c6d7a8e0..9501b9e0eed 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/paper-fab-speed-dial/lib/paper-fab-speed-dial-overlay.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/paper-fab-speed-dial/lib/paper-fab-speed-dial-overlay.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po }); _exports.PaperFabSpeedDialOverlay = void 0; - var _templateObject_8c968f001da511ed9d313b9780b2ae17; + var _templateObject_54dedb401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -25,7 +25,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../../@po babelHelpers.createClass(PaperFabSpeedDialOverlay, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_8c968f001da511ed9d313b9780b2ae17 || (_templateObject_8c968f001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _polymerElement.html)(_templateObject_54dedb401e5811ed81a80d03c17d190b || (_templateObject_54dedb401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/paper-input-flagged/paper-input-flagged.js b/build/es5-amd/node_modules/@lrnwebcomponents/paper-input-flagged/paper-input-flagged.js index 740bc2c1f34..b3583b763dc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/paper-input-flagged/paper-input-flagged.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/paper-input-flagged/paper-input-flagged.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si }); _exports.PaperInputFlagged = void 0; - var _templateObject_483a67f01da511ed9d313b9780b2ae17, _templateObject2_483a67f01da511ed9d313b9780b2ae17; + var _templateObject_1cab58201e5811ed81a80d03c17d190b, _templateObject2_1cab58201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -102,7 +102,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_483a67f01da511ed9d313b9780b2ae17 || (_templateObject_483a67f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        ", "
        \n \n ", "\n
        \n "])), this.label, this.value, this.valueEvent, this.charCounter, this.disabled, this.minlength, this.maxlength, this.icon, this.__activeMessage, this.__activeMessage); + return (0, _index.html)(_templateObject_1cab58201e5811ed81a80d03c17d190b || (_templateObject_1cab58201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        ", "
        \n \n ", "\n
        \n "])), this.label, this.value, this.valueEvent, this.charCounter, this.disabled, this.minlength, this.maxlength, this.icon, this.__activeMessage, this.__activeMessage); } }, { key: "testStatus", @@ -163,7 +163,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/simple-icon.js", "../si * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_483a67f01da511ed9d313b9780b2ae17 || (_templateObject2_483a67f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n simple-icon {\n transition: 0.6s all ease-in;\n width: 24px;\n height: 24px;\n margin-right: 4px;\n }\n simple-tooltip {\n --simple-tooltip-delay-in: 100;\n font-size: 11px;\n }\n #icon {\n color: var(--paper-grey-400);\n background-color: transparent;\n }\n :host([status=\"info\"]) #icon {\n color: var(--paper-green-400);\n }\n :host([status=\"notice\"]) #icon {\n color: var(--paper-grey-400);\n }\n :host([status=\"warning\"]) #icon {\n color: var(--paper-yellow-700);\n }\n :host([status=\"error\"]) #icon {\n color: var(--paper-red-900);\n }\n .element-invisible {\n position: absolute !important;\n clip: rect(1px, 1px, 1px, 1px);\n overflow: hidden;\n height: 1px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1cab58201e5811ed81a80d03c17d190b || (_templateObject2_1cab58201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n simple-icon {\n transition: 0.6s all ease-in;\n width: 24px;\n height: 24px;\n margin-right: 4px;\n }\n simple-tooltip {\n --simple-tooltip-delay-in: 100;\n font-size: 11px;\n }\n #icon {\n color: var(--paper-grey-400);\n background-color: transparent;\n }\n :host([status=\"info\"]) #icon {\n color: var(--paper-green-400);\n }\n :host([status=\"notice\"]) #icon {\n color: var(--paper-grey-400);\n }\n :host([status=\"warning\"]) #icon {\n color: var(--paper-yellow-700);\n }\n :host([status=\"error\"]) #icon {\n color: var(--paper-red-900);\n }\n .element-invisible {\n position: absolute !important;\n clip: rect(1px, 1px, 1px, 1px);\n overflow: hidden;\n height: 1px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/parallax-image/parallax-image.js b/build/es5-amd/node_modules/@lrnwebcomponents/parallax-image/parallax-image.js index 00f6578e2ed..9601ec14a29 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/parallax-image/parallax-image.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/parallax-image/parallax-image.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j }); _exports.ParallaxImage = void 0; - var _templateObject_48427e401da511ed9d313b9780b2ae17, _templateObject2_48427e401da511ed9d313b9780b2ae17; + var _templateObject_1cc3c2201e5811ed81a80d03c17d190b, _templateObject2_1cc3c2201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -38,7 +38,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j babelHelpers.createClass(ParallaxImage, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_48427e401da511ed9d313b9780b2ae17 || (_templateObject_48427e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n
        \n \n "])), this.describedBy || ""); + return (0, _index.html)(_templateObject_1cc3c2201e5811ed81a80d03c17d190b || (_templateObject_1cc3c2201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n
        \n \n "])), this.describedBy || ""); } }, { key: "updated", @@ -84,7 +84,7 @@ define(["exports", "../../lit/index.js", "../schema-behaviors/schema-behaviors.j * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_48427e401da511ed9d313b9780b2ae17 || (_templateObject2_48427e401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --parallax-image-background: \"\";\n --parallax-title-background: rgba(0, 0, 0, 0.3);\n --parallax-title-font: #fff;\n }\n\n .parallax_container {\n height: 400px;\n width: 100%;\n overflow: hidden;\n display: flex;\n justify-content: center;\n }\n\n .parallax {\n background-image: var(--parallax-image-background);\n background-attachment: fixed;\n background-position: top center;\n background-repeat: no-repeat;\n background-size: cover;\n width: 100%;\n height: 100%;\n justify-content: center;\n }\n\n #bgParallax {\n display: flex;\n align-items: center;\n }\n\n .title {\n background: var(--parallax-title-background);\n display: block;\n padding: 20px 15px;\n text-align: center;\n width: 40%;\n color: var(--parallax-title-font);\n font-size: 32px;\n position: absolute;\n margin-top: 120px;\n }\n\n @media screen and (max-width: 900px) {\n .title {\n font-size: 16px;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1cc3c2201e5811ed81a80d03c17d190b || (_templateObject2_1cc3c2201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --parallax-image-background: \"\";\n --parallax-title-background: rgba(0, 0, 0, 0.3);\n --parallax-title-font: #fff;\n }\n\n .parallax_container {\n height: 400px;\n width: 100%;\n overflow: hidden;\n display: flex;\n justify-content: center;\n }\n\n .parallax {\n background-image: var(--parallax-image-background);\n background-attachment: fixed;\n background-position: top center;\n background-repeat: no-repeat;\n background-size: cover;\n width: 100%;\n height: 100%;\n justify-content: center;\n }\n\n #bgParallax {\n display: flex;\n align-items: center;\n }\n\n .title {\n background: var(--parallax-title-background);\n display: block;\n padding: 20px 15px;\n text-align: center;\n width: 40%;\n color: var(--parallax-title-font);\n font-size: 32px;\n position: absolute;\n margin-top: 120px;\n }\n\n @media screen and (max-width: 900px) {\n .title {\n font-size: 16px;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/pdf-browser-viewer/pdf-browser-viewer.js b/build/es5-amd/node_modules/@lrnwebcomponents/pdf-browser-viewer/pdf-browser-viewer.js index 14c17e5c862..54ac7e7da37 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/pdf-browser-viewer/pdf-browser-viewer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/pdf-browser-viewer/pdf-browser-viewer.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }); _exports.PdfBrowserViewer = void 0; - var _templateObject_4844a1201da511ed9d313b9780b2ae17; + var _templateObject_1cc548c01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -91,7 +91,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@polymer/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_4844a1201da511ed9d313b9780b2ae17 || (_templateObject_4844a1201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); + return (0, _polymerElement.html)(_templateObject_1cc548c01e5811ed81a80d03c17d190b || (_templateObject_1cc548c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n\n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/pdf-element/pdf-element.js b/build/es5-amd/node_modules/@lrnwebcomponents/pdf-element/pdf-element.js index 227e43b8c06..c36bd158e79 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/pdf-element/pdf-element.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/pdf-element/pdf-element.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../. _exports.PdfElement = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_484eb3401da511ed9d313b9780b2ae17; + var _templateObject_1ccc26901e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -305,7 +305,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../. }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_484eb3401da511ed9d313b9780b2ae17 || (_templateObject_484eb3401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n\n \n
        \n
        \n
        \n \n \n \n \n /\n \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n "], ["\n \n\n \n
        \n
        \n
        \n \n \n \n \n /\n \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1ccc26901e5811ed81a80d03c17d190b || (_templateObject_1ccc26901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n\n \n
        \n
        \n
        \n \n \n \n \n /\n \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n "], ["\n \n\n \n
        \n
        \n
        \n \n \n \n \n /\n \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/person-testimonial/person-testimonial.js b/build/es5-amd/node_modules/@lrnwebcomponents/person-testimonial/person-testimonial.js index 69ee0f13c99..2385a84728d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/person-testimonial/person-testimonial.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/person-testimonial/person-testimonial.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors _exports.PersonTestimonial = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_485235b01da511ed9d313b9780b2ae17, _templateObject2_485235b01da511ed9d313b9780b2ae17; + var _templateObject_1ccebea01e5811ed81a80d03c17d190b, _templateObject2_1ccebea01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -40,12 +40,12 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors babelHelpers.createClass(PersonTestimonial, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_485235b01da511ed9d313b9780b2ae17 || (_templateObject_485235b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n
        \n
        \n \n \n \n \n \n \n \n
        \n
        ", "
        \n
        ", "
        \n
        \n
        \n "])), this.image, this.describedBy, this.name, this.position); + return (0, _index.html)(_templateObject_1ccebea01e5811ed81a80d03c17d190b || (_templateObject_1ccebea01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n
        \n
        \n
        \n \n \n \n \n \n \n \n
        \n
        ", "
        \n
        ", "
        \n
        \n
        \n "])), this.image, this.describedBy, this.name, this.position); } }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PersonTestimonial), "styles", this)), [(0, _index.css)(_templateObject2_485235b01da511ed9d313b9780b2ae17 || (_templateObject2_485235b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --person-testimonial-font-family: sans-serif;\n --person-testimonial-bg: var(--simple-colors-default-theme-grey-1);\n --person-testimonial-color: var(\n --simple-colors-default-theme-accent-7\n );\n --person-testimonial-text: var(--simple-colors-default-theme-grey-12);\n }\n\n div.card {\n display: inline-flex;\n background-color: var(--person-testimonial-bg);\n color: var(--person-testimonial-text);\n font-family: var(--person-testimonial-font-family);\n box-shadow: 0 2px 2px rgba(59, 43, 91, 0.7);\n }\n\n .image img {\n display: block;\n width: 150px;\n height: 100%;\n }\n .image img {\n max-width: 200px;\n }\n .image {\n padding-right: 5px;\n background-color: var(--person-testimonial-color);\n }\n\n svg {\n fill: var(--person-testimonial-color);\n height: 24px;\n width: 24px;\n }\n\n .wrap {\n margin: 15px;\n }\n\n .testimonial {\n line-height: 24px;\n font-size: 16px;\n font-style: italic;\n }\n\n .name {\n font-size: 21px;\n text-transform: uppercase;\n font-weight: bold;\n margin-top: 20px;\n }\n\n .position {\n font-size: 14px;\n margin-top: 5px;\n }\n\n .arrow_right {\n width: 0;\n height: 0;\n border-top: 15px solid var(--person-testimonial-bg);\n border-bottom: 15px solid var(--person-testimonial-bg);\n border-left: solid 15px transparent;\n background-color: var(--person-testimonial-color);\n position: relative;\n top: 55px;\n }\n\n #quotestart {\n display: inline-flex;\n transform: rotateY(180deg);\n }\n\n #quoteend {\n display: inline-flex;\n }\n @media screen and (max-width: 850px) {\n div.card {\n display: flex;\n flex-wrap: wrap;\n }\n .image img {\n display: block;\n border-radius: 50%;\n width: 200px;\n height: 200px;\n }\n .image {\n margin-top: 25px;\n border-radius: 50%;\n padding: 5px;\n margin-left: auto;\n margin-right: auto;\n }\n .arrow_right {\n display: none;\n }\n .name,\n .position {\n text-align: center;\n }\n }\n @media screen and (max-width: 600px) {\n .image img {\n width: 150px;\n height: 150px;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PersonTestimonial), "styles", this)), [(0, _index.css)(_templateObject2_1ccebea01e5811ed81a80d03c17d190b || (_templateObject2_1ccebea01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --person-testimonial-font-family: sans-serif;\n --person-testimonial-bg: var(--simple-colors-default-theme-grey-1);\n --person-testimonial-color: var(\n --simple-colors-default-theme-accent-7\n );\n --person-testimonial-text: var(--simple-colors-default-theme-grey-12);\n }\n\n div.card {\n display: inline-flex;\n background-color: var(--person-testimonial-bg);\n color: var(--person-testimonial-text);\n font-family: var(--person-testimonial-font-family);\n box-shadow: 0 2px 2px rgba(59, 43, 91, 0.7);\n }\n\n .image img {\n display: block;\n width: 150px;\n height: 100%;\n }\n .image img {\n max-width: 200px;\n }\n .image {\n padding-right: 5px;\n background-color: var(--person-testimonial-color);\n }\n\n svg {\n fill: var(--person-testimonial-color);\n height: 24px;\n width: 24px;\n }\n\n .wrap {\n margin: 15px;\n }\n\n .testimonial {\n line-height: 24px;\n font-size: 16px;\n font-style: italic;\n }\n\n .name {\n font-size: 21px;\n text-transform: uppercase;\n font-weight: bold;\n margin-top: 20px;\n }\n\n .position {\n font-size: 14px;\n margin-top: 5px;\n }\n\n .arrow_right {\n width: 0;\n height: 0;\n border-top: 15px solid var(--person-testimonial-bg);\n border-bottom: 15px solid var(--person-testimonial-bg);\n border-left: solid 15px transparent;\n background-color: var(--person-testimonial-color);\n position: relative;\n top: 55px;\n }\n\n #quotestart {\n display: inline-flex;\n transform: rotateY(180deg);\n }\n\n #quoteend {\n display: inline-flex;\n }\n @media screen and (max-width: 850px) {\n div.card {\n display: flex;\n flex-wrap: wrap;\n }\n .image img {\n display: block;\n border-radius: 50%;\n width: 200px;\n height: 200px;\n }\n .image {\n margin-top: 25px;\n border-radius: 50%;\n padding: 5px;\n margin-left: auto;\n margin-right: auto;\n }\n .arrow_right {\n display: none;\n }\n .name,\n .position {\n text-align: center;\n }\n }\n @media screen and (max-width: 600px) {\n .image img {\n width: 150px;\n height: 150px;\n }\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/pie-menu/pie-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/pie-menu/pie-menu.js index 359e12803aa..aa670b186c7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/pie-menu/pie-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/pie-menu/pie-menu.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-icon/ }); _exports.PieMenu = void 0; - var _templateObject_485606401da511ed9d313b9780b2ae17; + var _templateObject_1cd1f2f01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -113,7 +113,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../simple-icon/ }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_485606401da511ed9d313b9780b2ae17 || (_templateObject_485606401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n \n \n \n \n \n
        \n \n
        [[centerLabel]]
        \n
        \n
        \n \n
        [[topLabel]]
        \n
        \n
        \n \n
        [[rightLabel]]
        \n
        \n
        \n \n
        [[bottomLabel]]
        \n
        \n
        \n \n
        [[leftLabel]]
        \n
        \n \n \n \n \n \n \n \n
        \n "]))); + return (0, _polymerElement.html)(_templateObject_1cd1f2f01e5811ed81a80d03c17d190b || (_templateObject_1cd1f2f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n \n \n \n \n \n
        \n \n
        [[centerLabel]]
        \n
        \n
        \n \n
        [[topLabel]]
        \n
        \n
        \n \n
        [[rightLabel]]
        \n
        \n
        \n \n
        [[bottomLabel]]
        \n
        \n
        \n \n
        [[leftLabel]]
        \n
        \n \n \n \n \n \n \n \n
        \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/place-holder/place-holder.js b/build/es5-amd/node_modules/@lrnwebcomponents/place-holder/place-holder.js index 83c375ef054..e67fec3ad37 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/place-holder/place-holder.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/place-holder/place-holder.js @@ -6,7 +6,7 @@ define(["exports", "../simple-colors/simple-colors.js", "../../lit/index.js", ". }); _exports.PlaceHolder = void 0; - var _templateObject_485bf9b01da511ed9d313b9780b2ae17, _templateObject2_485bf9b01da511ed9d313b9780b2ae17; + var _templateObject_1cd65fc01e5811ed81a80d03c17d190b, _templateObject2_1cd65fc01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -100,7 +100,7 @@ define(["exports", "../simple-colors/simple-colors.js", "../../lit/index.js", ". * LitElement render */ function render() { - return (0, _index.html)(_templateObject_485bf9b01da511ed9d313b9780b2ae17 || (_templateObject_485bf9b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        ", "
        \n
        ", "
        \n
        \n "])), this.dark, this.iconFromType, this.accentColor, this.calcText, this.directions); + return (0, _index.html)(_templateObject_1cd65fc01e5811ed81a80d03c17d190b || (_templateObject_1cd65fc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        ", "
        \n
        ", "
        \n
        \n "])), this.dark, this.iconFromType, this.accentColor, this.calcText, this.directions); } }, { key: "updated", @@ -235,7 +235,7 @@ define(["exports", "../simple-colors/simple-colors.js", "../../lit/index.js", ". * LitElement render styles */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PlaceHolder), "styles", this)), [(0, _index.css)(_templateObject2_485bf9b01da511ed9d313b9780b2ae17 || (_templateObject2_485bf9b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border: none;\n transition: 0.2s all linear;\n }\n :host([drag-over]) {\n border: var(--place-holder-drag-over-border, 4px dashed #2196f3);\n }\n .wrapper {\n text-align: center;\n padding: 16px;\n color: var(--simple-colors-default-theme-accent-12, #222222);\n background-color: var(\n --simple-colors-default-theme-accent-1,\n #eeeeee\n );\n }\n simple-icon {\n margin: 0 auto;\n --simple-icon-width: 50%;\n --simple-icon-height: 50%;\n display: block;\n }\n .text {\n line-height: 24px;\n font-size: 24px;\n }\n .directions {\n line-height: 16px;\n font-size: 16px;\n font-style: italic;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PlaceHolder), "styles", this)), [(0, _index.css)(_templateObject2_1cd65fc01e5811ed81a80d03c17d190b || (_templateObject2_1cd65fc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n border: none;\n transition: 0.2s all linear;\n }\n :host([drag-over]) {\n border: var(--place-holder-drag-over-border, 4px dashed #2196f3);\n }\n .wrapper {\n text-align: center;\n padding: 16px;\n color: var(--simple-colors-default-theme-accent-12, #222222);\n background-color: var(\n --simple-colors-default-theme-accent-1,\n #eeeeee\n );\n }\n simple-icon {\n margin: 0 auto;\n --simple-icon-width: 50%;\n --simple-icon-height: 50%;\n display: block;\n }\n .text {\n line-height: 24px;\n font-size: 24px;\n }\n .directions {\n line-height: 16px;\n font-size: 16px;\n font-style: italic;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPhoto.js b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPhoto.js index be54923e0fc..eaed9ac47ef 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPhoto.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPhoto.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-colors/simple- _exports.PostCardPhoto = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_8cb0cdc01da511ed9d313b9780b2ae17, _templateObject2_8cb0cdc01da511ed9d313b9780b2ae17; + var _templateObject_54f08e801e5811ed81a80d03c17d190b, _templateObject2_54f08e801e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -43,7 +43,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-colors/simple- babelHelpers.createClass(PostCardPhoto, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8cb0cdc01da511ed9d313b9780b2ae17 || (_templateObject_8cb0cdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \"\"\n
        \n "])), PostCardPhotoShadow, this.image, this.alt, tape); + return (0, _index.html)(_templateObject_54f08e801e5811ed81a80d03c17d190b || (_templateObject_54f08e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \"\"\n
        \n "])), PostCardPhotoShadow, this.image, this.alt, tape); } }], [{ key: "tag", @@ -66,7 +66,7 @@ define(["exports", "meta", "../../../lit/index.js", "../../simple-colors/simple- }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PostCardPhoto), "styles", this)), [(0, _index.css)(_templateObject2_8cb0cdc01da511ed9d313b9780b2ae17 || (_templateObject2_8cb0cdc01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 340px;\n }\n\n div {\n display: inline-grid;\n grid-template-columns: 1;\n grid-template-rows: 1;\n align-items: center;\n }\n\n img {\n grid-column: 1;\n grid-row: 1;\n justify-self: center;\n }\n\n .cardShadow {\n width: calc(var(--post-card-img-width) * 1.05);\n height: calc(var(--post-card-img-width) * 0.78);\n z-index: 2;\n opacity: 0.5;\n transform: translate(1%, 1.5%) rotate(0.5deg);\n }\n\n .cardImage {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * 0.7);\n z-index: 2;\n transform: rotate(-3deg);\n border-radius: 5px 5px 0px 5px;\n }\n\n .cardTape {\n width: auto;\n height: calc(var(--post-card-img-width) * 0.8);\n z-index: 3;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(PostCardPhoto), "styles", this)), [(0, _index.css)(_templateObject2_54f08e801e5811ed81a80d03c17d190b || (_templateObject2_54f08e801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 340px;\n }\n\n div {\n display: inline-grid;\n grid-template-columns: 1;\n grid-template-rows: 1;\n align-items: center;\n }\n\n img {\n grid-column: 1;\n grid-row: 1;\n justify-self: center;\n }\n\n .cardShadow {\n width: calc(var(--post-card-img-width) * 1.05);\n height: calc(var(--post-card-img-width) * 0.78);\n z-index: 2;\n opacity: 0.5;\n transform: translate(1%, 1.5%) rotate(0.5deg);\n }\n\n .cardImage {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * 0.7);\n z-index: 2;\n transform: rotate(-3deg);\n border-radius: 5px 5px 0px 5px;\n }\n\n .cardTape {\n width: auto;\n height: calc(var(--post-card-img-width) * 0.8);\n z-index: 3;\n }\n "])))]); } }]); return PostCardPhoto; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPostmark.js b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPostmark.js index 5912f88ace9..39e4ece5bb2 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPostmark.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardPostmark.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ _exports.PostCardPostmark = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_8cb317b01da511ed9d313b9780b2ae17, _templateObject2_8cb317b01da511ed9d313b9780b2ae17; + var _templateObject_54f263401e5811ed81a80d03c17d190b, _templateObject2_54f263401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -36,7 +36,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ babelHelpers.createClass(PostCardPostmark, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8cb317b01da511ed9d313b9780b2ae17 || (_templateObject_8cb317b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \"",\n

        ", "

        \n
        \n "])), this.image, this.alt, this.locations); + return (0, _index.html)(_templateObject_54f263401e5811ed81a80d03c17d190b || (_templateObject_54f263401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \"",\n

        ", "

        \n
        \n "])), this.image, this.alt, this.locations); } }], [{ key: "tag", @@ -61,7 +61,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8cb317b01da511ed9d313b9780b2ae17 || (_templateObject2_8cb317b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 250px;\n font-family: \"Bebas Neue\", sans-serif;\n }\n div {\n width: var(--post-card-img-width);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n opacity: 0.8;\n }\n img {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * (1 / 3));\n filter: invert(62%) sepia(0%) saturate(329%) hue-rotate(162deg)\n brightness(98%) contrast(95%); /* created using: https://codepen.io/sosuke/pen/Pjoqqp */\n }\n p {\n width: var(--post-card-img-width);\n text-transform: uppercase;\n text-align: center;\n color: black;\n margin: 0px;\n font-size: 16px;\n letter-spacing: 2px;\n text-align: center;\n overflow: hidden;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_54f263401e5811ed81a80d03c17d190b || (_templateObject2_54f263401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 250px;\n font-family: \"Bebas Neue\", sans-serif;\n }\n div {\n width: var(--post-card-img-width);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n opacity: 0.8;\n }\n img {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * (1 / 3));\n filter: invert(62%) sepia(0%) saturate(329%) hue-rotate(162deg)\n brightness(98%) contrast(95%); /* created using: https://codepen.io/sosuke/pen/Pjoqqp */\n }\n p {\n width: var(--post-card-img-width);\n text-transform: uppercase;\n text-align: center;\n color: black;\n margin: 0px;\n font-size: 16px;\n letter-spacing: 2px;\n text-align: center;\n overflow: hidden;\n }\n "])))]; } }]); return PostCardPostmark; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardStamp.js b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardStamp.js index b4171575fa7..cb0eb3f3df8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardStamp.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/lib/PostCardStamp.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ _exports.PostCardStamp = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_8cb5fde01da511ed9d313b9780b2ae17, _templateObject2_8cb5fde01da511ed9d313b9780b2ae17; + var _templateObject_54f45f101e5811ed81a80d03c17d190b, _templateObject2_54f45f101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -36,7 +36,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ babelHelpers.createClass(PostCardStamp, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8cb5fde01da511ed9d313b9780b2ae17 || (_templateObject_8cb5fde01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \"\"\n
        \n "])), postCardStampBg, this.image); + return (0, _index.html)(_templateObject_54f45f101e5811ed81a80d03c17d190b || (_templateObject_54f45f101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \"\"\n
        \n "])), postCardStampBg, this.image); } }], [{ key: "tag", @@ -56,7 +56,7 @@ define(["exports", "meta", "../../../lit/index.js"], function (_exports, meta, _ }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8cb5fde01da511ed9d313b9780b2ae17 || (_templateObject2_8cb5fde01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 100px;\n }\n\n div {\n display: inline-grid;\n grid-template-columns: 1;\n grid-template-rows: 1;\n }\n img {\n grid-column: 1;\n grid-row: 1;\n justify-content: center;\n }\n .stampImage {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * 1.25);\n justify-self: center;\n padding-top: 10px;\n transform: rotate(1.5deg);\n z-index: 3;\n }\n .stampBackground {\n width: calc(var(--post-card-img-width) + 20px);\n height: calc(var(--post-card-img-width) * 1.25 + 20px);\n z-index: 2;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_54f45f101e5811ed81a80d03c17d190b || (_templateObject2_54f45f101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --post-card-img-width: 100px;\n }\n\n div {\n display: inline-grid;\n grid-template-columns: 1;\n grid-template-rows: 1;\n }\n img {\n grid-column: 1;\n grid-row: 1;\n justify-content: center;\n }\n .stampImage {\n width: var(--post-card-img-width);\n height: calc(var(--post-card-img-width) * 1.25);\n justify-self: center;\n padding-top: 10px;\n transform: rotate(1.5deg);\n z-index: 3;\n }\n .stampBackground {\n width: calc(var(--post-card-img-width) + 20px);\n height: calc(var(--post-card-img-width) * 1.25 + 20px);\n z-index: 2;\n }\n "])))]; } }]); return PostCardStamp; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/post-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/post-card.js index 3bc9fefd465..07105ccc9e1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/post-card/post-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/post-card/post-card.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_4864d3501da511ed9d313b9780b2ae17, _templateObject2_4864d3501da511ed9d313b9780b2ae17; + var _templateObject_1cdc2c201e5811ed81a80d03c17d190b, _templateObject2_1cdc2c201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -79,7 +79,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, * LitElement render life cycle */ function render() { - return (0, _index.html)(_templateObject_4864d3501da511ed9d313b9780b2ae17 || (_templateObject_4864d3501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n

        ", "

        \n \"\"\n
        \n
        \n
        \n \n \n
        \n
        \n \n
        \n
        \n
        \n

        ", "

        \n
        ", "
        \n
        \n
        \n

        ", ":

        \n
        ", "
        \n
        \n
        \n
        \n
        ", "
        \n
        \n
        \n
        \n "])), entireCardBg, this.t.label, postCardLines, this.postMarkLocations, this.stampSrc, this.photoSrc, this.t.send, this.to, this.t.receive, this.from, this.message); + return (0, _index.html)(_templateObject_1cdc2c201e5811ed81a80d03c17d190b || (_templateObject_1cdc2c201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n

        ", "

        \n \"\"\n
        \n
        \n
        \n \n \n
        \n
        \n \n
        \n
        \n
        \n

        ", "

        \n
        ", "
        \n
        \n
        \n

        ", ":

        \n
        ", "
        \n
        \n
        \n
        \n
        ", "
        \n
        \n
        \n
        \n "])), entireCardBg, this.t.label, postCardLines, this.postMarkLocations, this.stampSrc, this.photoSrc, this.t.send, this.to, this.t.receive, this.from, this.message); } /** * haxProperties integration via file reference @@ -133,7 +133,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_4864d3501da511ed9d313b9780b2ae17 || (_templateObject2_4864d3501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --width-body: 690px;\n height: calc(var(--width-body) * (2 / 3));\n width: var(--width-body);\n margin: 20px;\n display: inline-grid;\n grid-template-rows: 1fr 1fr 1fr 1fr;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n transition: all 0.35s ease-in-out;\n }\n\n .entireCard {\n height: calc(var(--width-body) * (2 / 3));\n width: var(--width-body);\n background-color: rgb(246, 240, 232);\n border: 1px solid lightgrey;\n box-shadow: grey 3px 3px 3px;\n text-align: center;\n display: inline-grid;\n grid-template-rows: 1fr 2fr 1fr;\n grid-template-columns: 1fr 1fr 1fr;\n text-transform: uppercase;\n font-family: \"Patrick Hand\", cursive;\n }\n\n .backgroundLines {\n display: block;\n z-index: 1;\n padding: 0px;\n border: none;\n width: var(--width-body);\n height: calc(var(--width-body) * (2 / 3));\n }\n\n .label {\n letter-spacing: 16px;\n font-size: 50px;\n font-weight: 400;\n color: rgb(202, 134, 134);\n text-align: center;\n z-index: 2;\n }\n\n .backgroundLines img {\n width: calc(var(--width-body) * (17 / 25));\n mix-blend-mode: multiply;\n transform: translate(14%, -10%);\n }\n\n .foregroundElements {\n z-index: 2;\n display: inline-grid;\n position: absolute;\n width: var(--width-body);\n height: calc(var(--width-body) * (2 / 3));\n }\n\n /* Inlcudes both the post mark and the stamp */\n .postage {\n grid-column: 4 / 5;\n grid-row: 1 / 2;\n font-family: \"Bebas Neue\", sans-serif;\n display: grid;\n display: inline-grid;\n grid-template-columns: 330px 1fr;\n grid-template-rows: 150px 1fr;\n }\n\n .stamp {\n z-index: 3;\n grid-area: 1 / 1 / 1 / 1;\n margin-left: 195px;\n margin-bottom: 20px;\n padding-top: 20px;\n }\n\n .postmark {\n z-index: 5;\n grid-area: 1 / 1 / 1 / 1;\n padding-top: 35px;\n }\n\n .image {\n grid-column: 1 / 3;\n grid-row: 1 / 4;\n border-radius: 1px;\n padding-top: 70px;\n }\n\n .tofrom {\n grid-column: 4 / 6;\n grid-row: 2 / 5;\n font-size: 20px;\n }\n\n .tofrom ::slotted(*),\n .tofrom .toContent,\n .tofrom .fromContent {\n width: 270px;\n margin: auto;\n opacity: 0.8;\n text-align: center;\n }\n\n .to {\n height: 150px;\n margin-bottom: 20px;\n }\n\n .to ::slotted(*),\n .to .toContent {\n height: 100px;\n font-size: 40px;\n font-weight: bolder;\n letter-spacing: 2px;\n line-height: 1.25;\n margin-top: 12px;\n overflow: hidden;\n }\n\n .from {\n height: 140px;\n }\n\n .from ::slotted(*),\n .from .fromContent {\n height: 70px;\n font-size: 22px;\n font-weight: bolder;\n letter-spacing: 1px;\n line-height: 1;\n margin-top: 8px;\n overflow: hidden;\n display: flex;\n place-content: flex-end center;\n align-items: flex-end;\n }\n\n h2,\n h3 {\n margin: 0px;\n }\n\n .tofrom h3 {\n text-align: left;\n transform: rotate(-1deg);\n color: #ca8686;\n padding-left: 20px;\n }\n\n .message {\n grid-column: 1 / 3;\n grid-row: 2 / 5;\n padding-right: 20px;\n padding-bottom: 20px;\n padding-top: 200px;\n font-size: 22px;\n margin: auto;\n }\n\n .message ::slotted(*),\n .message .messageContent {\n width: 270px;\n height: 100px;\n font-weight: bolder;\n text-align: center;\n line-height: 1.1;\n overflow: hidden;\n align-self: center;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n /* Query sizes sourced from: https://www.geeksforgeeks.org/how-to-target-desktop-tablet-and-mobile-using-media-query/ */\n @media (max-width: 370px) {\n :host {\n transform: scale(0.25);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 371px) and (max-width: 480px) {\n :host {\n transform: scale(0.5);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 481px) and (max-width: 600px) {\n :host {\n transform: scale(0.6);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 601px) and (max-width: 720px) {\n :host {\n transform: scale(0.8);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 721px) {\n :host {\n transform: scale(1);\n transition: all 0.35s ease-in-out;\n }\n }\n "]))); + return (0, _index.css)(_templateObject2_1cdc2c201e5811ed81a80d03c17d190b || (_templateObject2_1cdc2c201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --width-body: 690px;\n height: calc(var(--width-body) * (2 / 3));\n width: var(--width-body);\n margin: 20px;\n display: inline-grid;\n grid-template-rows: 1fr 1fr 1fr 1fr;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n transition: all 0.35s ease-in-out;\n }\n\n .entireCard {\n height: calc(var(--width-body) * (2 / 3));\n width: var(--width-body);\n background-color: rgb(246, 240, 232);\n border: 1px solid lightgrey;\n box-shadow: grey 3px 3px 3px;\n text-align: center;\n display: inline-grid;\n grid-template-rows: 1fr 2fr 1fr;\n grid-template-columns: 1fr 1fr 1fr;\n text-transform: uppercase;\n font-family: \"Patrick Hand\", cursive;\n }\n\n .backgroundLines {\n display: block;\n z-index: 1;\n padding: 0px;\n border: none;\n width: var(--width-body);\n height: calc(var(--width-body) * (2 / 3));\n }\n\n .label {\n letter-spacing: 16px;\n font-size: 50px;\n font-weight: 400;\n color: rgb(202, 134, 134);\n text-align: center;\n z-index: 2;\n }\n\n .backgroundLines img {\n width: calc(var(--width-body) * (17 / 25));\n mix-blend-mode: multiply;\n transform: translate(14%, -10%);\n }\n\n .foregroundElements {\n z-index: 2;\n display: inline-grid;\n position: absolute;\n width: var(--width-body);\n height: calc(var(--width-body) * (2 / 3));\n }\n\n /* Inlcudes both the post mark and the stamp */\n .postage {\n grid-column: 4 / 5;\n grid-row: 1 / 2;\n font-family: \"Bebas Neue\", sans-serif;\n display: grid;\n display: inline-grid;\n grid-template-columns: 330px 1fr;\n grid-template-rows: 150px 1fr;\n }\n\n .stamp {\n z-index: 3;\n grid-area: 1 / 1 / 1 / 1;\n margin-left: 195px;\n margin-bottom: 20px;\n padding-top: 20px;\n }\n\n .postmark {\n z-index: 5;\n grid-area: 1 / 1 / 1 / 1;\n padding-top: 35px;\n }\n\n .image {\n grid-column: 1 / 3;\n grid-row: 1 / 4;\n border-radius: 1px;\n padding-top: 70px;\n }\n\n .tofrom {\n grid-column: 4 / 6;\n grid-row: 2 / 5;\n font-size: 20px;\n }\n\n .tofrom ::slotted(*),\n .tofrom .toContent,\n .tofrom .fromContent {\n width: 270px;\n margin: auto;\n opacity: 0.8;\n text-align: center;\n }\n\n .to {\n height: 150px;\n margin-bottom: 20px;\n }\n\n .to ::slotted(*),\n .to .toContent {\n height: 100px;\n font-size: 40px;\n font-weight: bolder;\n letter-spacing: 2px;\n line-height: 1.25;\n margin-top: 12px;\n overflow: hidden;\n }\n\n .from {\n height: 140px;\n }\n\n .from ::slotted(*),\n .from .fromContent {\n height: 70px;\n font-size: 22px;\n font-weight: bolder;\n letter-spacing: 1px;\n line-height: 1;\n margin-top: 8px;\n overflow: hidden;\n display: flex;\n place-content: flex-end center;\n align-items: flex-end;\n }\n\n h2,\n h3 {\n margin: 0px;\n }\n\n .tofrom h3 {\n text-align: left;\n transform: rotate(-1deg);\n color: #ca8686;\n padding-left: 20px;\n }\n\n .message {\n grid-column: 1 / 3;\n grid-row: 2 / 5;\n padding-right: 20px;\n padding-bottom: 20px;\n padding-top: 200px;\n font-size: 22px;\n margin: auto;\n }\n\n .message ::slotted(*),\n .message .messageContent {\n width: 270px;\n height: 100px;\n font-weight: bolder;\n text-align: center;\n line-height: 1.1;\n overflow: hidden;\n align-self: center;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n /* Query sizes sourced from: https://www.geeksforgeeks.org/how-to-target-desktop-tablet-and-mobile-using-media-query/ */\n @media (max-width: 370px) {\n :host {\n transform: scale(0.25);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 371px) and (max-width: 480px) {\n :host {\n transform: scale(0.5);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 481px) and (max-width: 600px) {\n :host {\n transform: scale(0.6);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 601px) and (max-width: 720px) {\n :host {\n transform: scale(0.8);\n transition: all 0.35s ease-in-out;\n }\n }\n\n @media (min-width: 721px) {\n :host {\n transform: scale(1);\n transition: all 0.35s ease-in-out;\n }\n }\n "]))); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/course-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/course-card.js index 0f37b15fd2d..38836388643 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/course-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/course-card.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.CourseCard = void 0; - var _templateObject_8d96e8001da511ed9d313b9780b2ae17, _templateObject2_8d96e8001da511ed9d313b9780b2ae17, _templateObject3_8d96e8001da511ed9d313b9780b2ae17; + var _templateObject_556808701e5811ed81a80d03c17d190b, _templateObject2_556808701e5811ed81a80d03c17d190b, _templateObject3_556808701e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -40,7 +40,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(CourseCard, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8d96e8001da511ed9d313b9780b2ae17 || (_templateObject_8d96e8001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n \n
        \n
        ", "
        \n
        ", "
        \n ", "\n \n
        \n "])), this.url, this.alt, this.image, this.icon, this.accentColor, this.number, this.name, this.author ? (0, _index.html)(_templateObject2_8d96e8001da511ed9d313b9780b2ae17 || (_templateObject2_8d96e8001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        By: ", "
        "])), this.author) : ""); + return (0, _index.html)(_templateObject_556808701e5811ed81a80d03c17d190b || (_templateObject_556808701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n
        \n \n
        \n
        ", "
        \n
        ", "
        \n ", "\n \n
        \n "])), this.url, this.alt, this.image, this.icon, this.accentColor, this.number, this.name, this.author ? (0, _index.html)(_templateObject2_556808701e5811ed81a80d03c17d190b || (_templateObject2_556808701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        By: ", "
        "])), this.author) : ""); } }], [{ key: "properties", @@ -80,7 +80,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CourseCard), "styles", this)), [(0, _index.css)(_templateObject3_8d96e8001da511ed9d313b9780b2ae17 || (_templateObject3_8d96e8001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n filter: var(--course-card-filter);\n transition: 0.2s all ease-in-out;\n text-decoration: none;\n color: var(--simple-colors-default-theme-accent-12, #000);\n background-color: var(--simple-colors-default-theme-grey-1, #ffffff);\n display: block;\n width: 100%;\n min-height: 300px;\n border: solid 2px var(--simple-colors-default-theme-grey-1, #ffffff);\n }\n\n a:active,\n a:hover,\n a:focus {\n filter: var(--course-card-filter-hover);\n outline: 2px solid\n var(--simple-colors-default-theme-accent-7, #666666);\n box-shadow: 2px 2px 10px\n var(--simple-colors-default-theme-accent-2, #eeeeee);\n border: solid 2px var(--simple-colors-default-theme-accent-7, #666666);\n }\n\n #card_wrap {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n #course_number {\n font-size: 28px;\n word-break: break-all;\n text-transform: uppercase;\n text-align: center;\n width: 90%;\n line-height: 1.4;\n }\n\n #course_name {\n font-size: 18px;\n text-align: center;\n width: 90%;\n margin: 0 0 15px 0;\n line-height: 1.2;\n }\n :host([size=\"small\"]) #course_number {\n font-size: 18px;\n }\n :host([size=\"small\"]) #course_name {\n font-size: 14px;\n }\n :host([size=\"small\"]) #course_author {\n font-size: 12px;\n }\n #course_icon {\n overflow: hidden;\n border-radius: 50%;\n position: relative;\n bottom: 20px;\n border: solid;\n background-color: var(\n --simple-colors-default-theme-accent-7,\n #666666\n );\n border-color: var(--simple-colors-default-theme-grey-1, #ffffff);\n border-width: 5px;\n margin: 0 0 -20px 0;\n }\n\n simple-icon {\n --simple-icon-width: 48px;\n --simple-icon-height: 48px;\n fill: var(--simple-colors-default-theme-grey-1, #ffffff);\n }\n\n #course_image {\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center center;\n background-color: var(\n --simple-colors-default-theme-accent-11,\n #363533\n );\n width: 100%;\n height: 150px;\n animation-name: mymove2;\n animation-duration: 0.6s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n\n @keyframes mymove {\n 0% {\n background-size: 100%;\n }\n 100% {\n background-size: 150%;\n }\n }\n @keyframes mymove2 {\n 0% {\n background-size: 150%;\n }\n 100% {\n background-size: 100%;\n }\n }\n @media (prefers-reduced-motion: reduce) {\n :host([zoom]) #course_image {\n animation: none !important;\n }\n }\n\n :host([zoom]) a:active #course_image,\n :host([zoom]) a:hover #course_image,\n :host([zoom]) a:focus #course_image {\n animation-name: mymove;\n animation-duration: 0.6s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n\n #course_author {\n font-size: 12px;\n margin-top: -10px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(CourseCard), "styles", this)), [(0, _index.css)(_templateObject3_556808701e5811ed81a80d03c17d190b || (_templateObject3_556808701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n a {\n filter: var(--course-card-filter);\n transition: 0.2s all ease-in-out;\n text-decoration: none;\n color: var(--simple-colors-default-theme-accent-12, #000);\n background-color: var(--simple-colors-default-theme-grey-1, #ffffff);\n display: block;\n width: 100%;\n min-height: 300px;\n border: solid 2px var(--simple-colors-default-theme-grey-1, #ffffff);\n }\n\n a:active,\n a:hover,\n a:focus {\n filter: var(--course-card-filter-hover);\n outline: 2px solid\n var(--simple-colors-default-theme-accent-7, #666666);\n box-shadow: 2px 2px 10px\n var(--simple-colors-default-theme-accent-2, #eeeeee);\n border: solid 2px var(--simple-colors-default-theme-accent-7, #666666);\n }\n\n #card_wrap {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n #course_number {\n font-size: 28px;\n word-break: break-all;\n text-transform: uppercase;\n text-align: center;\n width: 90%;\n line-height: 1.4;\n }\n\n #course_name {\n font-size: 18px;\n text-align: center;\n width: 90%;\n margin: 0 0 15px 0;\n line-height: 1.2;\n }\n :host([size=\"small\"]) #course_number {\n font-size: 18px;\n }\n :host([size=\"small\"]) #course_name {\n font-size: 14px;\n }\n :host([size=\"small\"]) #course_author {\n font-size: 12px;\n }\n #course_icon {\n overflow: hidden;\n border-radius: 50%;\n position: relative;\n bottom: 20px;\n border: solid;\n background-color: var(\n --simple-colors-default-theme-accent-7,\n #666666\n );\n border-color: var(--simple-colors-default-theme-grey-1, #ffffff);\n border-width: 5px;\n margin: 0 0 -20px 0;\n }\n\n simple-icon {\n --simple-icon-width: 48px;\n --simple-icon-height: 48px;\n fill: var(--simple-colors-default-theme-grey-1, #ffffff);\n }\n\n #course_image {\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center center;\n background-color: var(\n --simple-colors-default-theme-accent-11,\n #363533\n );\n width: 100%;\n height: 150px;\n animation-name: mymove2;\n animation-duration: 0.6s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n\n @keyframes mymove {\n 0% {\n background-size: 100%;\n }\n 100% {\n background-size: 150%;\n }\n }\n @keyframes mymove2 {\n 0% {\n background-size: 150%;\n }\n 100% {\n background-size: 100%;\n }\n }\n @media (prefers-reduced-motion: reduce) {\n :host([zoom]) #course_image {\n animation: none !important;\n }\n }\n\n :host([zoom]) a:active #course_image,\n :host([zoom]) a:hover #course_image,\n :host([zoom]) a:focus #course_image {\n animation-name: mymove;\n animation-duration: 0.6s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n\n #course_author {\n font-size: 12px;\n margin-top: -10px;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-card-list.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-card-list.js index 258543c5272..447c8e59e49 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-card-list.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-card-list.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../utils/utils.js", " _exports.HAXElementCardList = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8d84e6a01da511ed9d313b9780b2ae17, _templateObject2_8d84e6a01da511ed9d313b9780b2ae17, _templateObject3_8d84e6a01da511ed9d313b9780b2ae17, _templateObject4_8d84e6a01da511ed9d313b9780b2ae17, _templateObject5_8d84e6a01da511ed9d313b9780b2ae17, _templateObject6_8d84e6a01da511ed9d313b9780b2ae17, _templateObject7_8d84e6a01da511ed9d313b9780b2ae17, _templateObject8_8d84e6a01da511ed9d313b9780b2ae17; + var _templateObject_556e22f01e5811ed81a80d03c17d190b, _templateObject2_556e22f01e5811ed81a80d03c17d190b, _templateObject3_556e22f01e5811ed81a80d03c17d190b, _templateObject4_556e22f01e5811ed81a80d03c17d190b, _templateObject5_556e22f01e5811ed81a80d03c17d190b, _templateObject6_556e22f01e5811ed81a80d03c17d190b, _templateObject7_556e22f01e5811ed81a80d03c17d190b, _templateObject8_556e22f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -42,19 +42,19 @@ define(["exports", "require", "../../../lit/index.js", "../../utils/utils.js", " value: function render() { var _this2 = this; - return !this.showCardList ? "" : (0, _index.html)(_templateObject_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n

        \n Scanning Web Component Registry for more HAX elements..\n

        \n \n ", "\n \n "])), !this.loading, this.loading, this.cols, this.productList.map(function (el, i) { - return (0, _index.html)(_templateObject2_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject2_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        Details
        \n
        \n
          \n
        • \n Tags: ", "\n
        • \n
        • Tag name: ", "
        • \n
        • \n Developer usage:\n import \"", "\";\n
        • \n ", "\n
        \n
        \n
        Demo
        \n
        \n ", "\n
        \n \n "])), _this2.__getCol(i), !el.status, !(_this2.filteredTags && _this2.filteredTags.includes(el.tag)), el.schema.demoSchema, el.schema.gizmo.title, el.schema.gizmo.icon, el.schema.gizmo.description, el.schema.gizmo.color, function (e) { + return !this.showCardList ? "" : (0, _index.html)(_templateObject_556e22f01e5811ed81a80d03c17d190b || (_templateObject_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n

        \n Scanning Web Component Registry for more HAX elements..\n

        \n \n ", "\n \n "])), !this.loading, this.loading, this.cols, this.productList.map(function (el, i) { + return (0, _index.html)(_templateObject2_556e22f01e5811ed81a80d03c17d190b || (_templateObject2_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        Details
        \n
        \n
          \n
        • \n Tags: ", "\n
        • \n
        • Tag name: ", "
        • \n
        • \n Developer usage:\n import \"", "\";\n
        • \n ", "\n
        \n
        \n
        Demo
        \n
        \n ", "\n
        \n \n "])), _this2.__getCol(i), !el.status, !(_this2.filteredTags && _this2.filteredTags.includes(el.tag)), el.schema.demoSchema, el.schema.gizmo.title, el.schema.gizmo.icon, el.schema.gizmo.description, el.schema.gizmo.color, function (e) { return _this2.toggleShowDemo(e, i); }, function (e) { return _this2.toggleShowDemo(e, i); }, el.status ? "Enabled" : "Disabled", el.status, function (e) { return _this2.elementStatusChange(el); }, el.schema.gizmo.groups.map(function (group) { - return (0, _index.html)(_templateObject3_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject3_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ", "])), group); - }), el.tag, el.file, el.schema.gizmo.meta ? (0, _index.html)(_templateObject4_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject4_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), Object.keys(el.schema.gizmo.meta).map(function (mel) { - return (0, _index.html)(_templateObject5_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject5_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", ":\n ", "\n
      • \n "])), _this2.capFirst(mel), el.schema.gizmo.meta[mel]); - })) : "", el.schema.demoSchema && el.showDemo ? (0, _index.html)(_templateObject6_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject6_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), el.schema.demoSchema.map(function (demoItem) { - return (0, _index.html)(_templateObject7_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject7_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n Pop up demo\n \n
        \n ", "\n
        \n \n \n \n "])), demoItem.tag, _this2._viewDemo, _this2._haxElementToNode(demoItem), _this2._haxElementToNode(demoItem)); + return (0, _index.html)(_templateObject3_556e22f01e5811ed81a80d03c17d190b || (_templateObject3_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ", "])), group); + }), el.tag, el.file, el.schema.gizmo.meta ? (0, _index.html)(_templateObject4_556e22f01e5811ed81a80d03c17d190b || (_templateObject4_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), Object.keys(el.schema.gizmo.meta).map(function (mel) { + return (0, _index.html)(_templateObject5_556e22f01e5811ed81a80d03c17d190b || (_templateObject5_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
      • \n ", ":\n ", "\n
      • \n "])), _this2.capFirst(mel), el.schema.gizmo.meta[mel]); + })) : "", el.schema.demoSchema && el.showDemo ? (0, _index.html)(_templateObject6_556e22f01e5811ed81a80d03c17d190b || (_templateObject6_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), el.schema.demoSchema.map(function (demoItem) { + return (0, _index.html)(_templateObject7_556e22f01e5811ed81a80d03c17d190b || (_templateObject7_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n Pop up demo\n \n
        \n ", "\n
        \n \n \n \n "])), demoItem.tag, _this2._viewDemo, _this2._haxElementToNode(demoItem), _this2._haxElementToNode(demoItem)); })) : ""); })); } @@ -223,7 +223,7 @@ define(["exports", "require", "../../../lit/index.js", "../../utils/utils.js", " }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject8_8d84e6a01da511ed9d313b9780b2ae17 || (_templateObject8_8d84e6a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-height: 100px;\n --hexagon-color: var(--simple-colors-default-theme-light-blue-8);\n }\n :host([loading]) {\n border: 1px solid var(--simple-colors-default-theme-grey-6);\n }\n product-card {\n display: block;\n max-width: 100%;\n overflow-x: auto;\n --mdc-theme-on-primary: var(--simple-colors-default-theme-grey-1);\n --mdc-theme-primary: var(--simple-colors-default-theme-accent-8);\n }\n product-card[hidden] {\n display: none;\n }\n product-card div[slot=\"details-collapse-content\"] {\n max-height: 125px;\n overflow-y: auto;\n }\n product-card label[slot=\"card-header\"] {\n float: right;\n line-height: 1.5em;\n }\n button {\n text-transform: unset;\n margin-bottom: 5px;\n }\n .sr-only {\n position: absolute;\n left: -9999999999px;\n width: 0;\n overflow: hidden;\n }\n .grid {\n display: grid;\n align-items: stretch;\n grid-template-columns: var(--hax-element-card--cols, repeat(2, 1fr));\n grid-gap: var(--hax-element-card--gridGap, 15px);\n overflow-x: auto;\n padding: 2px;\n }\n hexagon-loader {\n margin: 0 auto;\n display: block;\n }\n .loaderText > strong {\n text-align: center;\n display: block;\n }\n .checkbox {\n height: 36px;\n width: 36px;\n }\n "])))]; + return [(0, _index.css)(_templateObject8_556e22f01e5811ed81a80d03c17d190b || (_templateObject8_556e22f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-height: 100px;\n --hexagon-color: var(--simple-colors-default-theme-light-blue-8);\n }\n :host([loading]) {\n border: 1px solid var(--simple-colors-default-theme-grey-6);\n }\n product-card {\n display: block;\n max-width: 100%;\n overflow-x: auto;\n --mdc-theme-on-primary: var(--simple-colors-default-theme-grey-1);\n --mdc-theme-primary: var(--simple-colors-default-theme-accent-8);\n }\n product-card[hidden] {\n display: none;\n }\n product-card div[slot=\"details-collapse-content\"] {\n max-height: 125px;\n overflow-y: auto;\n }\n product-card label[slot=\"card-header\"] {\n float: right;\n line-height: 1.5em;\n }\n button {\n text-transform: unset;\n margin-bottom: 5px;\n }\n .sr-only {\n position: absolute;\n left: -9999999999px;\n width: 0;\n overflow: hidden;\n }\n .grid {\n display: grid;\n align-items: stretch;\n grid-template-columns: var(--hax-element-card--cols, repeat(2, 1fr));\n grid-gap: var(--hax-element-card--gridGap, 15px);\n overflow-x: auto;\n padding: 2px;\n }\n hexagon-loader {\n margin: 0 auto;\n display: block;\n }\n .loaderText > strong {\n text-align: center;\n display: block;\n }\n .checkbox {\n height: 36px;\n width: 36px;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-list-selector.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-list-selector.js index b3854200031..1e3156a7f83 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-list-selector.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/hax-element-list-selector.js @@ -4,7 +4,7 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_8d922d101da511ed9d313b9780b2ae17, _templateObject2_8d922d101da511ed9d313b9780b2ae17; + var _templateObject_5582e3701e5811ed81a80d03c17d190b, _templateObject2_5582e3701e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -14,6 +14,8 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -76,7 +78,7 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_8d922d101da511ed9d313b9780b2ae17 || (_templateObject_8d922d101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.fieldsEndpoint, this.method, this.HaxSchematizer, this.HaxElementizer, this._response, function (e) { + return (0, _index.html)(_templateObject_5582e3701e5811ed81a80d03c17d190b || (_templateObject_5582e3701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.fieldsEndpoint, this.method, this.HaxSchematizer, this.HaxElementizer, this._response, function (e) { return _this2.cols = e.detail.value; }, this._valueChanged); } @@ -125,9 +127,9 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic var _this3 = this; changedProperties.forEach( /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(oldValue, propName) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(oldValue, propName) { var tag, renderHaxData, i, search; - return regeneratorRuntime.wrap(function _callee2$(_context3) { + return _regeneratorRuntime().wrap(function _callee2$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: @@ -153,17 +155,17 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic break; } - return _context3.delegateYield( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + return _context3.delegateYield( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var list, noSchema, _loop; - return regeneratorRuntime.wrap(function _callee$(_context2) { + return _regeneratorRuntime().wrap(function _callee$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: list = _this3.haxData, noSchema = _this3.noSchema; - _loop = /*#__PURE__*/regeneratorRuntime.mark(function _loop() { + _loop = /*#__PURE__*/_regeneratorRuntime().mark(function _loop() { var file; - return regeneratorRuntime.wrap(function _loop$(_context) { + return _regeneratorRuntime().wrap(function _loop$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -185,8 +187,7 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic } else { noSchema[tag] = file; //console.log(`${tag} doesn't have haxSchema`); } - } //console.log(`${tag} doesn't have haxSchema`); - ); + }); case 4: _context.next = 9; @@ -204,7 +205,7 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic } }, _loop, null, [[1, 6]]); }); - _context2.t0 = regeneratorRuntime.keys(_this3[propName]); + _context2.t0 = _regeneratorRuntime().keys(_this3[propName]); case 3: if ((_context2.t1 = _context2.t0()).done) { @@ -423,7 +424,7 @@ define(["meta", "require", "../../../lit/index.js", "../../simple-icon/simple-ic }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8d922d101da511ed9d313b9780b2ae17 || (_templateObject2_8d922d101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_5582e3701e5811ed81a80d03c17d190b || (_templateObject2_5582e3701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/product-banner.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/product-banner.js index 4668e9a5d5e..34e8974f72f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/product-banner.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/lib/product-banner.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.ProductBanner = void 0; - var _templateObject_8d9a6a701da511ed9d313b9780b2ae17, _templateObject2_8d9a6a701da511ed9d313b9780b2ae17, _templateObject3_8d9a6a701da511ed9d313b9780b2ae17, _templateObject4_8d9a6a701da511ed9d313b9780b2ae17, _templateObject5_8d9a6a701da511ed9d313b9780b2ae17; + var _templateObject_55852d601e5811ed81a80d03c17d190b, _templateObject2_55852d601e5811ed81a80d03c17d190b, _templateObject3_55852d601e5811ed81a80d03c17d190b, _templateObject4_55852d601e5811ed81a80d03c17d190b, _templateObject5_55852d601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -37,7 +37,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(ProductBanner, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8d9a6a701da511ed9d313b9780b2ae17 || (_templateObject_8d9a6a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n ", "\n
        \n
        \n ", "\n ", "\n
        \n \n "])), this.alt, this.image, this.primaryText ? (0, _index.html)(_templateObject2_8d9a6a701da511ed9d313b9780b2ae17 || (_templateObject2_8d9a6a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        ", "

        \n
        \n "])), this.primaryText) : "", this.logo ? (0, _index.html)(_templateObject3_8d9a6a701da511ed9d313b9780b2ae17 || (_templateObject3_8d9a6a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \"\"\n
        \n "])), this.logo) : "", this.secondaryText ? (0, _index.html)(_templateObject4_8d9a6a701da511ed9d313b9780b2ae17 || (_templateObject4_8d9a6a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        ", "

        \n
        \n "])), this.secondaryText) : ""); + return (0, _index.html)(_templateObject_55852d601e5811ed81a80d03c17d190b || (_templateObject_55852d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n ", "\n
        \n
        \n ", "\n ", "\n
        \n \n "])), this.alt, this.image, this.primaryText ? (0, _index.html)(_templateObject2_55852d601e5811ed81a80d03c17d190b || (_templateObject2_55852d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        ", "

        \n
        \n "])), this.primaryText) : "", this.logo ? (0, _index.html)(_templateObject3_55852d601e5811ed81a80d03c17d190b || (_templateObject3_55852d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \"\"\n
        \n "])), this.logo) : "", this.secondaryText ? (0, _index.html)(_templateObject4_55852d601e5811ed81a80d03c17d190b || (_templateObject4_55852d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        ", "

        \n
        \n "])), this.secondaryText) : ""); } }], [{ key: "properties", @@ -65,7 +65,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductBanner), "styles", this)), [(0, _index.css)(_templateObject5_8d9a6a701da511ed9d313b9780b2ae17 || (_templateObject5_8d9a6a701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .image_wrap {\n background-repeat: no-repeat;\n background-size: cover;\n background-position: right center;\n width: 100%;\n min-height: 32vw;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n }\n\n @media screen and (max-width: 700px) {\n .image_wrap {\n height: 55vw;\n }\n }\n\n .image_text {\n background: rgba(0, 0, 0, 0.5);\n width: calc(150px + (355 - 28) * ((100vw - 300px) / (1600 - 300)));\n margin: 0 5vw;\n padding: 2vw;\n }\n :host([dark]) .image_text {\n background: rgba(255, 255, 255, 0.5);\n }\n\n .image_text h1 {\n font-size: calc(23px + (72 - 28) * ((100vw - 300px) / (1600 - 300)));\n color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n font-weight: 400;\n line-height: 1.1;\n margin: 0;\n padding: 0;\n width: 100%;\n }\n\n .branding_wrap {\n display: flex;\n align-items: center;\n background-color: var(\n --product-banner-color,\n var(--simple-colors-default-theme-accent-7, #e2801e)\n );\n border-top: solid;\n border-top-width: 4px;\n border-top-color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .logo {\n position: absolute;\n width: 35%;\n }\n\n .logo img {\n display: block;\n width: 50%;\n max-width: 300px;\n border: solid;\n border-width: 4px;\n border-color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n border-radius: 50%;\n background-color: var(\n --product-banner-color,\n var(--simple-colors-default-theme-accent-7, #e2801e)\n );\n margin: -52px 0 0 25px;\n }\n\n @media screen and (max-width: 700px) {\n .logo img {\n margin: 0 0 0 5px;\n }\n }\n\n .company_name {\n width: 76%;\n margin: 0 0 0 auto;\n }\n\n .company_name h2 {\n font-size: calc(18px + (72 - 28) * ((100vw - 300px) / (1600 - 300)));\n font-weight: 400;\n color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n margin: 5px 0 5px 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductBanner), "styles", this)), [(0, _index.css)(_templateObject5_55852d601e5811ed81a80d03c17d190b || (_templateObject5_55852d601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .image_wrap {\n background-repeat: no-repeat;\n background-size: cover;\n background-position: right center;\n width: 100%;\n min-height: 32vw;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n }\n\n @media screen and (max-width: 700px) {\n .image_wrap {\n height: 55vw;\n }\n }\n\n .image_text {\n background: rgba(0, 0, 0, 0.5);\n width: calc(150px + (355 - 28) * ((100vw - 300px) / (1600 - 300)));\n margin: 0 5vw;\n padding: 2vw;\n }\n :host([dark]) .image_text {\n background: rgba(255, 255, 255, 0.5);\n }\n\n .image_text h1 {\n font-size: calc(23px + (72 - 28) * ((100vw - 300px) / (1600 - 300)));\n color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n font-weight: 400;\n line-height: 1.1;\n margin: 0;\n padding: 0;\n width: 100%;\n }\n\n .branding_wrap {\n display: flex;\n align-items: center;\n background-color: var(\n --product-banner-color,\n var(--simple-colors-default-theme-accent-7, #e2801e)\n );\n border-top: solid;\n border-top-width: 4px;\n border-top-color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .logo {\n position: absolute;\n width: 35%;\n }\n\n .logo img {\n display: block;\n width: 50%;\n max-width: 300px;\n border: solid;\n border-width: 4px;\n border-color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n border-radius: 50%;\n background-color: var(\n --product-banner-color,\n var(--simple-colors-default-theme-accent-7, #e2801e)\n );\n margin: -52px 0 0 25px;\n }\n\n @media screen and (max-width: 700px) {\n .logo img {\n margin: 0 0 0 5px;\n }\n }\n\n .company_name {\n width: 76%;\n margin: 0 0 0 auto;\n }\n\n .company_name h2 {\n font-size: calc(18px + (72 - 28) * ((100vw - 300px) / (1600 - 300)));\n font-weight: 400;\n color: var(\n --product-banner-text-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n margin: 5px 0 5px 0;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/product-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/product-card.js index 8b36122b22d..d74b5795cc8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-card/product-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-card/product-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../a11y-collapse/lib/a11y-collapse-gro }); _exports.ProductCard = void 0; - var _templateObject_486ee5701da511ed9d313b9780b2ae17, _templateObject2_486ee5701da511ed9d313b9780b2ae17, _templateObject3_486ee5701da511ed9d313b9780b2ae17; + var _templateObject_1d17ae801e5811ed81a80d03c17d190b, _templateObject2_1d17ae801e5811ed81a80d03c17d190b, _templateObject3_1d17ae801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -44,7 +44,7 @@ define(["exports", "../../lit/index.js", "../a11y-collapse/lib/a11y-collapse-gro key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_486ee5701da511ed9d313b9780b2ae17 || (_templateObject_486ee5701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n ", "\n ", "\n \n
        \n
        \n ", "\n \n
        \n
        \n
        \n \n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n "])), !this.disabled ? this.accentColor : "grey", this.disabled, this.icon ? (0, _index.html)(_templateObject2_486ee5701da511ed9d313b9780b2ae17 || (_templateObject2_486ee5701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.heading, this.subheading, this.disabled, this.disabled || !this.hasDemo, this.__demoCollapseStatusChange, this.__demoCollapseStatusChange); + return (0, _index.html)(_templateObject_1d17ae801e5811ed81a80d03c17d190b || (_templateObject_1d17ae801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n ", "\n ", "\n \n
        \n
        \n ", "\n \n
        \n
        \n
        \n \n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n
        \n \n
        \n
        \n \n "])), !this.disabled ? this.accentColor : "grey", this.disabled, this.icon ? (0, _index.html)(_templateObject2_1d17ae801e5811ed81a80d03c17d190b || (_templateObject2_1d17ae801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.icon) : "", this.heading, this.subheading, this.disabled, this.disabled || !this.hasDemo, this.__demoCollapseStatusChange, this.__demoCollapseStatusChange); } }, { key: "__demoCollapseStatusChange", @@ -57,7 +57,7 @@ define(["exports", "../../lit/index.js", "../a11y-collapse/lib/a11y-collapse-gro }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductCard), "styles", this)), [(0, _index.css)(_templateObject3_486ee5701da511ed9d313b9780b2ae17 || (_templateObject3_486ee5701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductCard), "styles", this)), [(0, _index.css)(_templateObject3_1d17ae801e5811ed81a80d03c17d190b || (_templateObject3_1d17ae801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-glance/product-glance.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-glance/product-glance.js index 04a2f361ff7..250562a3bc3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-glance/product-glance.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-glance/product-glance.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-colors/si meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_48732b301da511ed9d313b9780b2ae17, _templateObject2_48732b301da511ed9d313b9780b2ae17, _templateObject3_48732b301da511ed9d313b9780b2ae17, _templateObject4_48732b301da511ed9d313b9780b2ae17; + var _templateObject_1d2320301e5811ed81a80d03c17d190b, _templateObject2_1d2320301e5811ed81a80d03c17d190b, _templateObject3_1d2320301e5811ed81a80d03c17d190b, _templateObject4_1d2320301e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -44,12 +44,12 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-colors/si }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_48732b301da511ed9d313b9780b2ae17 || (_templateObject_48732b301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n
        \n
        \n
        \n
        ", "
        \n
        \n ", "\n
        \n
        \n
        \n "])), this.icon ? (0, _index.html)(_templateObject2_48732b301da511ed9d313b9780b2ae17 || (_templateObject2_48732b301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.icon, this.accentColor, this.contrast, this.dark) : (0, _index.html)(_templateObject3_48732b301da511ed9d313b9780b2ae17 || (_templateObject3_48732b301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))), this.title, this.subtitle); + return (0, _index.html)(_templateObject_1d2320301e5811ed81a80d03c17d190b || (_templateObject_1d2320301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n
        \n
        \n
        \n
        ", "
        \n
        \n ", "\n
        \n
        \n
        \n "])), this.icon ? (0, _index.html)(_templateObject2_1d2320301e5811ed81a80d03c17d190b || (_templateObject2_1d2320301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.icon, this.accentColor, this.contrast, this.dark) : (0, _index.html)(_templateObject3_1d2320301e5811ed81a80d03c17d190b || (_templateObject3_1d2320301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))), this.title, this.subtitle); } }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductGlance), "styles", this)), [(0, _index.css)(_templateObject4_48732b301da511ed9d313b9780b2ae17 || (_templateObject4_48732b301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --product-glance-icon-width: 20px;\n --product-glance-icon-height: var(--product-glance-icon-width, 20px);\n }\n .wrapper {\n display: grid;\n grid-template-columns: 3.5em 0.5em 21em;\n margin: var(--product-glance-internal-margin, 0.25em);\n background-color: var(--simple-colors-default-theme-grey-1, #eeeeee);\n padding: var(--product-glance-internal-padding, 0.5em);\n }\n .icon-wrapper {\n padding: var(--product-glance-internal-padding, 0.5em);\n display: block;\n margin: 0 auto;\n }\n\n .icon {\n margin: 0;\n width: var(--product-glance-icon-width);\n height: var(--product-glance-icon-height);\n --simple-icon-height: var(--product-glance-icon-height);\n --simple-icon-width: var(--product-glance-icon-width);\n border: 2px solid var(--simple-colors-default-theme-grey-4, #eeeeee);\n border-radius: 50%;\n padding: var(--product-glance-internal-padding, 0.5em);\n display: block;\n }\n .title-text {\n margin-top: var(--product-glance-title-margin-top, 8px);\n }\n .title-text ::slotted(p),\n .subtitle-text ::slotted(p) {\n margin: 0;\n }\n .title-text,\n .title-text ::slotted(*) {\n color: var(\n --product-glance-text-color,\n var(--simple-colors-default-theme-grey-12, #222222)\n );\n font-family: \"OpenSans-Bold\", \"OpenSans\", \"Arial\", sans-serif;\n font-size: 1.25em;\n font-weight: bold;\n }\n\n .subtitle-text,\n .subtitle-text ::slotted(*) {\n color: var(\n --product-glance-subtext-color,\n var(--simple-colors-default-theme-grey-8, #555555)\n );\n font-family: \"OpenSans-Bold\", \"OpenSans\", \"Arial\", sans-serif;\n font-size: 0.9em;\n line-height: 1em;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProductGlance), "styles", this)), [(0, _index.css)(_templateObject4_1d2320301e5811ed81a80d03c17d190b || (_templateObject4_1d2320301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --product-glance-icon-width: 20px;\n --product-glance-icon-height: var(--product-glance-icon-width, 20px);\n }\n .wrapper {\n display: grid;\n grid-template-columns: 3.5em 0.5em 21em;\n margin: var(--product-glance-internal-margin, 0.25em);\n background-color: var(--simple-colors-default-theme-grey-1, #eeeeee);\n padding: var(--product-glance-internal-padding, 0.5em);\n }\n .icon-wrapper {\n padding: var(--product-glance-internal-padding, 0.5em);\n display: block;\n margin: 0 auto;\n }\n\n .icon {\n margin: 0;\n width: var(--product-glance-icon-width);\n height: var(--product-glance-icon-height);\n --simple-icon-height: var(--product-glance-icon-height);\n --simple-icon-width: var(--product-glance-icon-width);\n border: 2px solid var(--simple-colors-default-theme-grey-4, #eeeeee);\n border-radius: 50%;\n padding: var(--product-glance-internal-padding, 0.5em);\n display: block;\n }\n .title-text {\n margin-top: var(--product-glance-title-margin-top, 8px);\n }\n .title-text ::slotted(p),\n .subtitle-text ::slotted(p) {\n margin: 0;\n }\n .title-text,\n .title-text ::slotted(*) {\n color: var(\n --product-glance-text-color,\n var(--simple-colors-default-theme-grey-12, #222222)\n );\n font-family: \"OpenSans-Bold\", \"OpenSans\", \"Arial\", sans-serif;\n font-size: 1.25em;\n font-weight: bold;\n }\n\n .subtitle-text,\n .subtitle-text ::slotted(*) {\n color: var(\n --product-glance-subtext-color,\n var(--simple-colors-default-theme-grey-8, #555555)\n );\n font-family: \"OpenSans-Bold\", \"OpenSans\", \"Arial\", sans-serif;\n font-size: 0.9em;\n line-height: 1em;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/product-offering/product-offering.js b/build/es5-amd/node_modules/@lrnwebcomponents/product-offering/product-offering.js index 637e1bd010c..89db9fb9e6b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/product-offering/product-offering.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/product-offering/product-offering.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.ProductOffering = void 0; - var _templateObject_4878a9701da511ed9d313b9780b2ae17, _templateObject2_4878a9701da511ed9d313b9780b2ae17, _templateObject3_4878a9701da511ed9d313b9780b2ae17; + var _templateObject_1d262d701e5811ed81a80d03c17d190b, _templateObject2_1d262d701e5811ed81a80d03c17d190b, _templateObject3_1d262d701e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,7 +56,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_4878a9701da511ed9d313b9780b2ae17 || (_templateObject_4878a9701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.elementVisible ? (0, _index.html)(_templateObject2_4878a9701da511ed9d313b9780b2ae17 || (_templateObject2_4878a9701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n \n\n
        \n \n
        \n \n
        \n \n
        \n \n

        \n ", " ", "\n

        \n
        \n\n \n
        \n ", "\n
        \n
        \n
        "])), this.source, this.alt, this.accentColor, this.dark, this.icon, this._titleOne, this._titleTwo, this.description) : ""); + return (0, _index.html)(_templateObject_1d262d701e5811ed81a80d03c17d190b || (_templateObject_1d262d701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n "])), this.elementVisible ? (0, _index.html)(_templateObject2_1d262d701e5811ed81a80d03c17d190b || (_templateObject2_1d262d701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n \n\n
        \n \n
        \n \n
        \n \n
        \n \n

        \n ", " ", "\n

        \n
        \n\n \n
        \n ", "\n
        \n
        \n
        "])), this.source, this.alt, this.accentColor, this.dark, this.icon, this._titleOne, this._titleTwo, this.description) : ""); } /** * Convention we use @@ -109,7 +109,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". styles = babelHelpers.get(babelHelpers.getPrototypeOf(ProductOffering), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_4878a9701da511ed9d313b9780b2ae17 || (_templateObject3_4878a9701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n padding: var(--product-offering-padding, 25px);\n color: var(--product-offering-text-color, #000);\n font-family: var(--product-offering-font-family, Verdana, sans-serif);\n }\n .container {\n padding: 5%;\n display: grid;\n grid-template-columns: 25% 75%;\n }\n .image {\n height: var(--product-offering-image-height, 150px);\n width: var(--product-offering-image-width, 200px);\n border-radius: 2%;\n }\n simple-icon {\n padding: 8px;\n height: 30px;\n width: 30px;\n }\n .icon-background {\n background-color: var(\n --simple-colors-default-theme-accent-12,\n #eeeeee\n );\n border-radius: 50%;\n padding: 2px;\n margin: 5px;\n margin-right: 10px;\n box-shadow: 10px 10px 25px 0 rgb(0 0 0 / 10%);\n }\n .squareTitle {\n display: flex;\n }\n .underline {\n border-bottom: 5px solid orange;\n display: inline-block;\n }\n .sqaureDescription {\n color: var(--simple-colors-default-theme-accent-12, #eeeeee);\n font-size: 12pt;\n padding: 20px;\n padding-left: 60px;\n margin: 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_1d262d701e5811ed81a80d03c17d190b || (_templateObject3_1d262d701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n padding: var(--product-offering-padding, 25px);\n color: var(--product-offering-text-color, #000);\n font-family: var(--product-offering-font-family, Verdana, sans-serif);\n }\n .container {\n padding: 5%;\n display: grid;\n grid-template-columns: 25% 75%;\n }\n .image {\n height: var(--product-offering-image-height, 150px);\n width: var(--product-offering-image-width, 200px);\n border-radius: 2%;\n }\n simple-icon {\n padding: 8px;\n height: 30px;\n width: 30px;\n }\n .icon-background {\n background-color: var(\n --simple-colors-default-theme-accent-12,\n #eeeeee\n );\n border-radius: 50%;\n padding: 2px;\n margin: 5px;\n margin-right: 10px;\n box-shadow: 10px 10px 25px 0 rgb(0 0 0 / 10%);\n }\n .squareTitle {\n display: flex;\n }\n .underline {\n border-bottom: 5px solid orange;\n display: inline-block;\n }\n .sqaureDescription {\n color: var(--simple-colors-default-theme-accent-12, #eeeeee);\n font-size: 12pt;\n padding: 20px;\n padding-left: 60px;\n margin: 0;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/progress-donut/progress-donut.js b/build/es5-amd/node_modules/@lrnwebcomponents/progress-donut/progress-donut.js index 1d5c16a40f0..342347927e0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/progress-donut/progress-donut.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/progress-donut/progress-donut.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.ProgressDonut = void 0; - var _templateObject_487f39201da511ed9d313b9780b2ae17, _templateObject2_487f39201da511ed9d313b9780b2ae17; + var _templateObject_1d2b5d901e5811ed81a80d03c17d190b, _templateObject2_1d2b5d901e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -59,7 +59,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_487f39201da511ed9d313b9780b2ae17 || (_templateObject_487f39201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ""])), babelHelpers.get(babelHelpers.getPrototypeOf(ProgressDonut.prototype), "render", this).call(this)); + return (0, _index.html)(_templateObject_1d2b5d901e5811ed81a80d03c17d190b || (_templateObject_1d2b5d901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ""])), babelHelpers.get(babelHelpers.getPrototypeOf(ProgressDonut.prototype), "render", this).call(this)); } // haxProperty definition }, { @@ -166,7 +166,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProgressDonut), "styles", this)), [(0, _index.css)(_templateObject2_487f39201da511ed9d313b9780b2ae17 || (_templateObject2_487f39201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n .ct-center-image {\n width: 100%;\n height: 100%;\n transform: translateX(25%) translateY(25%) scale(0.5);\n clip-path: circle(50% at 50% 50%);\n }\n\n .ct-center-ellipse {\n fill: var(--chartist-bg-color, #fff);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(ProgressDonut), "styles", this)), [(0, _index.css)(_templateObject2_1d2b5d901e5811ed81a80d03c17d190b || (_templateObject2_1d2b5d901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n .ct-center-image {\n width: 100%;\n height: 100%;\n transform: translateX(25%) translateY(25%) scale(0.5);\n clip-path: circle(50% at 50% 50%);\n }\n\n .ct-center-ellipse {\n fill: var(--chartist-bg-color, #fff);\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/lib/promise-progress-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/lib/promise-progress-lite.js index c22acacb265..f0e4b08bbc0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/lib/promise-progress-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/lib/promise-progress-lite.js @@ -6,12 +6,14 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.PromiseProgressLite = void 0; - var _templateObject_8da196601da511ed9d313b9780b2ae17, _templateObject2_8da196601da511ed9d313b9780b2ae17, _templateObject3_8da196601da511ed9d313b9780b2ae17; + var _templateObject_55fb20b01e5811ed81a80d03c17d190b, _templateObject2_55fb20b01e5811ed81a80d03c17d190b, _templateObject3_55fb20b01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -56,7 +58,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_8da196601da511ed9d313b9780b2ae17 || (_templateObject_8da196601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.max, this.value, this.list && this.showCount ? (0, _index.html)(_templateObject2_8da196601da511ed9d313b9780b2ae17 || (_templateObject2_8da196601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", " / ", ""])), this.value, this.max) : ""); + return (0, _index.html)(_templateObject_55fb20b01e5811ed81a80d03c17d190b || (_templateObject_55fb20b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.max, this.value, this.list && this.showCount ? (0, _index.html)(_templateObject2_55fb20b01e5811ed81a80d03c17d190b || (_templateObject2_55fb20b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", " / ", ""])), this.value, this.max) : ""); } /** * LitElement ready @@ -104,11 +106,11 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }, { key: "process", value: function () { - var _process = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var _process = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var _this3 = this; var list, count, promises; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -122,8 +124,8 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { count = 0; _context2.next = 5; return list.map( /*#__PURE__*/function () { - var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(item) { - return regeneratorRuntime.wrap(function _callee$(_context) { + var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(item) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -202,7 +204,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { styles = babelHelpers.get(babelHelpers.getPrototypeOf(PromiseProgressLite), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_8da196601da511ed9d313b9780b2ae17 || (_templateObject3_8da196601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_55fb20b01e5811ed81a80d03c17d190b || (_templateObject3_55fb20b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n position: relative;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/promise-progress.js b/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/promise-progress.js index 1c64b342605..b7b625fbf2f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/promise-progress.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/promise-progress/promise-progress.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/promise-progress-lite.js", "../s }); _exports.PromiseProgress = void 0; - var _templateObject_4881aa201da511ed9d313b9780b2ae17, _templateObject2_4881aa201da511ed9d313b9780b2ae17; + var _templateObject_1d40ba501e5811ed81a80d03c17d190b, _templateObject2_1d40ba501e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -37,7 +37,7 @@ define(["exports", "../../lit/index.js", "./lib/promise-progress-lite.js", "../s * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_4881aa201da511ed9d313b9780b2ae17 || (_templateObject_4881aa201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.max, this.value, this.list && this.showCount ? (0, _index.html)(_templateObject2_4881aa201da511ed9d313b9780b2ae17 || (_templateObject2_4881aa201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", " / ", ""])), this.value, this.max) : ""); + return (0, _index.html)(_templateObject_1d40ba501e5811ed81a80d03c17d190b || (_templateObject_1d40ba501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.max, this.value, this.list && this.showCount ? (0, _index.html)(_templateObject2_1d40ba501e5811ed81a80d03c17d190b || (_templateObject2_1d40ba501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", " / ", ""])), this.value, this.max) : ""); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/promo-tile/promo-tile.js b/build/es5-amd/node_modules/@lrnwebcomponents/promo-tile/promo-tile.js index dd02d7614c2..a60fab6dc48 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/promo-tile/promo-tile.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/promo-tile/promo-tile.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../schema-behav }); _exports.PromoTile = void 0; - var _templateObject_3aac40901da511ed9d313b9780b2ae17; + var _templateObject_0e506ae01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -107,7 +107,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js", "../schema-behav }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_3aac40901da511ed9d313b9780b2ae17 || (_templateObject_3aac40901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n

        [[title]]

        \n
        \n
        \n
        \n

        [[title]]

        \n
        \n
        \n \n
        \n
        \n \n \n \n
        \n
        \n
        \n
        \n \n "]))); + return (0, _polymerElement.html)(_templateObject_0e506ae01e5811ed81a80d03c17d190b || (_templateObject_0e506ae01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n
        \n \n
        \n

        [[title]]

        \n
        \n
        \n
        \n

        [[title]]

        \n
        \n
        \n \n
        \n
        \n \n \n \n
        \n
        \n
        \n
        \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/punnett-square/punnett-square.js b/build/es5-amd/node_modules/@lrnwebcomponents/punnett-square/punnett-square.js index 51a0c89ba20..6e992234964 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/punnett-square/punnett-square.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/punnett-square/punnett-square.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../../lit/directives/unsafe-html.js", }); _exports.PunnettSquare = void 0; - var _templateObject_488839d01da511ed9d313b9780b2ae17, _templateObject2_488839d01da511ed9d313b9780b2ae17, _templateObject3_488839d01da511ed9d313b9780b2ae17, _templateObject4_488839d01da511ed9d313b9780b2ae17, _templateObject5_488839d01da511ed9d313b9780b2ae17, _templateObject6_488839d01da511ed9d313b9780b2ae17, _templateObject7_488839d01da511ed9d313b9780b2ae17, _templateObject8_488839d01da511ed9d313b9780b2ae17, _templateObject9_488839d01da511ed9d313b9780b2ae17, _templateObject10_488839d01da511ed9d313b9780b2ae17, _templateObject11_488839d01da511ed9d313b9780b2ae17; + var _templateObject_1d4575401e5811ed81a80d03c17d190b, _templateObject2_1d4575401e5811ed81a80d03c17d190b, _templateObject3_1d4575401e5811ed81a80d03c17d190b, _templateObject4_1d4575401e5811ed81a80d03c17d190b, _templateObject5_1d4575401e5811ed81a80d03c17d190b, _templateObject6_1d4575401e5811ed81a80d03c17d190b, _templateObject7_1d4575401e5811ed81a80d03c17d190b, _templateObject8_1d4575401e5811ed81a80d03c17d190b, _templateObject9_1d4575401e5811ed81a80d03c17d190b, _templateObject10_1d4575401e5811ed81a80d03c17d190b, _templateObject11_1d4575401e5811ed81a80d03c17d190b; function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } @@ -99,19 +99,19 @@ define(["exports", "../../lit/index.js", "../../lit/directives/unsafe-html.js", var asdf = value1[0].length < 1 && value2[0].length < 1; console.log("asdf:", asdf); - return (0, _index.html)(_templateObject_488839d01da511ed9d313b9780b2ae17 || (_templateObject_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n Variant1:
        ", "
        \n Variant2:
        ", "
        \n
        \n\n \n \n \n \n ", "\n \n \n ", "\n \n \n
        \n "])), this.editable ? (0, _index.html)(_templateObject2_488839d01da511ed9d313b9780b2ae17 || (_templateObject2_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.variant1, function (e) { + return (0, _index.html)(_templateObject_1d4575401e5811ed81a80d03c17d190b || (_templateObject_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n Variant1:
        ", "
        \n Variant2:
        ", "
        \n
        \n\n \n \n \n \n ", "\n \n \n ", "\n \n \n
        \n "])), this.editable ? (0, _index.html)(_templateObject2_1d4575401e5811ed81a80d03c17d190b || (_templateObject2_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.variant1, function (e) { return _this2.variant1 = e.detail.value; - }) : (0, _index.html)(_templateObject3_488839d01da511ed9d313b9780b2ae17 || (_templateObject3_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), this.variant1), this.editable ? (0, _index.html)(_templateObject4_488839d01da511ed9d313b9780b2ae17 || (_templateObject4_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.variant2, function (e) { + }) : (0, _index.html)(_templateObject3_1d4575401e5811ed81a80d03c17d190b || (_templateObject3_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), this.variant1), this.editable ? (0, _index.html)(_templateObject4_1d4575401e5811ed81a80d03c17d190b || (_templateObject4_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.variant2, function (e) { return _this2.variant2 = e.detail.value; - }) : (0, _index.html)(_templateObject5_488839d01da511ed9d313b9780b2ae17 || (_templateObject5_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), this.variant2), value1.map(function (allele1) { - return (0, _index.html)(_templateObject6_488839d01da511ed9d313b9780b2ae17 || (_templateObject6_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), allele1.map(function (i) { - return (0, _index.html)(_templateObject7_488839d01da511ed9d313b9780b2ae17 || (_templateObject7_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), i); + }) : (0, _index.html)(_templateObject5_1d4575401e5811ed81a80d03c17d190b || (_templateObject5_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), this.variant2), value1.map(function (allele1) { + return (0, _index.html)(_templateObject6_1d4575401e5811ed81a80d03c17d190b || (_templateObject6_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), allele1.map(function (i) { + return (0, _index.html)(_templateObject7_1d4575401e5811ed81a80d03c17d190b || (_templateObject7_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), i); })); }), value2.map(function (allele2, index) { return allele2.map(function (allele) { - return (0, _index.html)(_templateObject8_488839d01da511ed9d313b9780b2ae17 || (_templateObject8_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n ", "\n \n "])), allele, value1.map(function (v1) { + return (0, _index.html)(_templateObject8_1d4575401e5811ed81a80d03c17d190b || (_templateObject8_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n ", "\n \n "])), allele, value1.map(function (v1) { return v1.map(function (allele1) { - return (0, _index.html)(_templateObject9_488839d01da511ed9d313b9780b2ae17 || (_templateObject9_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this2.renderVariant("".concat(allele1).concat(allele))); + return (0, _index.html)(_templateObject9_1d4575401e5811ed81a80d03c17d190b || (_templateObject9_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this2.renderVariant("".concat(allele1).concat(allele))); }); })); }); @@ -127,9 +127,9 @@ define(["exports", "../../lit/index.js", "../../lit/directives/unsafe-html.js", }); if (result) { - return (0, _index.html)(_templateObject10_488839d01da511ed9d313b9780b2ae17 || (_templateObject10_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), (0, _unsafeHtml.unsafeHTML)(result.ref.outerHTML)); + return (0, _index.html)(_templateObject10_1d4575401e5811ed81a80d03c17d190b || (_templateObject10_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), (0, _unsafeHtml.unsafeHTML)(result.ref.outerHTML)); } else { - return (0, _index.html)(_templateObject11_488839d01da511ed9d313b9780b2ae17 || (_templateObject11_488839d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), _variant); + return (0, _index.html)(_templateObject11_1d4575401e5811ed81a80d03c17d190b || (_templateObject11_1d4575401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), _variant); } } }], [{ diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/q-r/q-r.js b/build/es5-amd/node_modules/@lrnwebcomponents/q-r/q-r.js index 4018721d64f..307f556bd9e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/q-r/q-r.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/q-r/q-r.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_488b47101da511ed9d313b9780b2ae17, _templateObject2_488b47101da511ed9d313b9780b2ae17; + var _templateObject_1d4798201e5811ed81a80d03c17d190b, _templateObject2_1d4798201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -47,7 +47,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, babelHelpers.createClass(QR, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_488b47101da511ed9d313b9780b2ae17 || (_templateObject_488b47101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.data, this.modulesize, this.margin, this.format, this.data, this.title); + return (0, _index.html)(_templateObject_1d4798201e5811ed81a80d03c17d190b || (_templateObject_1d4798201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.data, this.modulesize, this.margin, this.format, this.data, this.title); } }], [{ key: "styles", @@ -56,7 +56,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_488b47101da511ed9d313b9780b2ae17 || (_templateObject2_488b47101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n qr-code {\n display: block;\n }\n #link {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1d4798201e5811ed81a80d03c17d190b || (_templateObject2_1d4798201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n qr-code {\n display: block;\n }\n #link {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/r-coder/r-coder.js b/build/es5-amd/node_modules/@lrnwebcomponents/r-coder/r-coder.js index 93fce93b3f3..19af211645f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/r-coder/r-coder.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/r-coder/r-coder.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir _exports.RCoder = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_489113701da511ed9d313b9780b2ae17, _templateObject2_489113701da511ed9d313b9780b2ae17; + var _templateObject_1d52bbb01e5811ed81a80d03c17d190b, _templateObject2_1d52bbb01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -17,6 +17,8 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -50,7 +52,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_489113701da511ed9d313b9780b2ae17 || (_templateObject_489113701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n Process\n \n
        "])), !this.__connected, this.process); + return (0, _index.html)(_templateObject_1d52bbb01e5811ed81a80d03c17d190b || (_templateObject_1d52bbb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n Process\n \n
        "])), !this.__connected, this.process); } // haxProperty definition }, { @@ -66,9 +68,9 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir }, { key: "ping", value: function () { - var _ping = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _ping = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var status; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -105,9 +107,9 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir }, { key: "process", value: function () { - var _process = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var _process = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var code, data; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: @@ -142,7 +144,7 @@ define(["exports", "require", "../../lit/index.js"], function (_exports, _requir key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_489113701da511ed9d313b9780b2ae17 || (_templateObject2_489113701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #editor {\n height: var(--r-coder-editor-height, 300px);\n width: var(--r-coder-editor-width, 100%);\n }\n\n #button {\n margin: var(--r-code-button-margin, 10px 0);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1d52bbb01e5811ed81a80d03c17d190b || (_templateObject2_1d52bbb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #editor {\n height: var(--r-coder-editor-height, 300px);\n width: var(--r-coder-editor-width, 100%);\n }\n\n #button {\n margin: var(--r-code-button-margin, 10px 0);\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/random-image/random-image.js b/build/es5-amd/node_modules/@lrnwebcomponents/random-image/random-image.js index 3803717bd9c..08580d6cfc4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/random-image/random-image.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/random-image/random-image.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.RandomImage = void 0; - var _templateObject_3aaeb1901da511ed9d313b9780b2ae17, _templateObject2_3aaeb1901da511ed9d313b9780b2ae17; + var _templateObject_0e528dc01e5811ed81a80d03c17d190b, _templateObject2_0e528dc01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -36,7 +36,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(RandomImage, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3aaeb1901da511ed9d313b9780b2ae17 || (_templateObject_3aaeb1901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.mode, this._imgSrc, this._imgTitle); + return (0, _index.html)(_templateObject_0e528dc01e5811ed81a80d03c17d190b || (_templateObject_0e528dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.mode, this._imgSrc, this._imgTitle); } }, { key: "_pickRandomProperty", @@ -84,7 +84,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_3aaeb1901da511ed9d313b9780b2ae17 || (_templateObject2_3aaeb1901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .is-circle {\n border: 1px solid grey;\n border-radius: 50%;\n box-shadow: 0px 5px 10px #ccc;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_0e528dc01e5811ed81a80d03c17d190b || (_templateObject2_0e528dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .is-circle {\n border: 1px solid grey;\n border-radius: 50%;\n box-shadow: 0px 5px 10px #ccc;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/random-item/random-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/random-item/random-item.js index b0c56241402..6a66f37e781 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/random-item/random-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/random-item/random-item.js @@ -10,6 +10,8 @@ define(["exports"], function (_exports) { function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -104,9 +106,9 @@ define(["exports"], function (_exports) { }, { key: "sourceChanged", value: function () { - var _sourceChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(value) { + var _sourceChanged = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) { var data, heading; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-lite.js index be4fa347083..731cc8ea987 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-lite.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./relative-heading-state-manager.js }); _exports.RelativeHeadingLite = void 0; - var _templateObject_8dbc98701da511ed9d313b9780b2ae17, _templateObject2_8dbc98701da511ed9d313b9780b2ae17; + var _templateObject_563f07801e5811ed81a80d03c17d190b, _templateObject2_563f07801e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -59,7 +59,7 @@ define(["exports", "../../../lit/index.js", "./relative-heading-state-manager.js }, { key: "template", get: function get() { - return (0, _index.html)(_templateObject_8dbc98701da511ed9d313b9780b2ae17 || (_templateObject_8dbc98701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_563f07801e5811ed81a80d03c17d190b || (_templateObject_563f07801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }, { key: "connectedCallback", @@ -188,7 +188,7 @@ define(["exports", "../../../lit/index.js", "./relative-heading-state-manager.js key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_8dbc98701da511ed9d313b9780b2ae17 || (_templateObject2_8dbc98701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_563f07801e5811ed81a80d03c17d190b || (_templateObject2_563f07801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-state-manager.js b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-state-manager.js index f168066e365..81043d0b387 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-state-manager.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/lib/relative-heading-state-manager.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req _exports.RelativeHeadingStateManager = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8dc3c4601da511ed9d313b9780b2ae17, _templateObject2_8dc3c4601da511ed9d313b9780b2ae17; + var _templateObject_564549101e5811ed81a80d03c17d190b, _templateObject2_564549101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -78,7 +78,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req babelHelpers.createClass(RelativeHeadingStateManager, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8dc3c4601da511ed9d313b9780b2ae17 || (_templateObject_8dc3c4601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), !this.usesCopyLink, !this.usesCopyLink, this.copyHeading.copyMessage || this.copyMessage, this.copyUrl, this.copyHeading.closeIcon || this.closeIcon, this.copyHeading.closeLabel || this.closeLabel, this.copyHeading.closeLabel || this.closeLabel, this.closeCopyLink); + return (0, _index.html)(_templateObject_564549101e5811ed81a80d03c17d190b || (_templateObject_564549101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), !this.usesCopyLink, !this.usesCopyLink, this.copyHeading.copyMessage || this.copyMessage, this.copyUrl, this.copyHeading.closeIcon || this.closeIcon, this.copyHeading.closeLabel || this.closeLabel, this.copyHeading.closeLabel || this.closeLabel, this.closeCopyLink); } /** * gets URL to be copied @@ -349,7 +349,7 @@ define(["exports", "require", "../../../lit/index.js"], function (_exports, _req }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8dc3c4601da511ed9d313b9780b2ae17 || (_templateObject2_8dc3c4601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n simple-toast:not(:defined) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_564549101e5811ed81a80d03c17d190b || (_templateObject2_564549101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n simple-toast:not(:defined) {\n display: none;\n }\n "])))]; } }]); return RelativeHeadingStateManager; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/relative-heading.js b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/relative-heading.js index 1757551035b..cdd40173c83 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/relative-heading.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/relative-heading/relative-heading.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/relative-heading-lite.js", "../a }); _exports.RelativeHeading = void 0; - var _templateObject_48a203601da511ed9d313b9780b2ae17, _templateObject2_48a203601da511ed9d313b9780b2ae17, _templateObject3_48a203601da511ed9d313b9780b2ae17, _templateObject4_48a203601da511ed9d313b9780b2ae17; + var _templateObject_1d5b95501e5811ed81a80d03c17d190b, _templateObject2_1d5b95501e5811ed81a80d03c17d190b, _templateObject3_1d5b95501e5811ed81a80d03c17d190b, _templateObject4_1d5b95501e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -49,7 +49,7 @@ define(["exports", "../../lit/index.js", "./lib/relative-heading-lite.js", "../a key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_48a203601da511ed9d313b9780b2ae17 || (_templateObject_48a203601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " ", ""])), this.template, this.button); + return (0, _index.html)(_templateObject_1d5b95501e5811ed81a80d03c17d190b || (_templateObject_1d5b95501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " ", ""])), this.template, this.button); } // haxProperty definition }, { @@ -72,7 +72,7 @@ define(["exports", "../../lit/index.js", "./lib/relative-heading-lite.js", "../a }, { key: "button", get: function get() { - return this.disableLink ? (0, _index.html)(_templateObject2_48a203601da511ed9d313b9780b2ae17 || (_templateObject2_48a203601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_48a203601da511ed9d313b9780b2ae17 || (_templateObject3_48a203601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.id, this.linkIcon, this.linkLabel, this.disableLink, this.disableLink, this._handleCopyClick); + return this.disableLink ? (0, _index.html)(_templateObject2_1d5b95501e5811ed81a80d03c17d190b || (_templateObject2_1d5b95501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : (0, _index.html)(_templateObject3_1d5b95501e5811ed81a80d03c17d190b || (_templateObject3_1d5b95501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.id, this.linkIcon, this.linkLabel, this.disableLink, this.disableLink, this._handleCopyClick); } }, { key: "_handleCopyClick", @@ -83,7 +83,7 @@ define(["exports", "../../lit/index.js", "./lib/relative-heading-lite.js", "../a key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject4_48a203601da511ed9d313b9780b2ae17 || (_templateObject4_48a203601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-wrap: var(--relative-heading-wrap, wrap);\n align-items: var(--relative-heading-align, center);\n justify-content: flex-start;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(*) {\n flex: 0 0 auto;\n }\n\n :host([link-align-right]) {\n justify-content: space-between;\n }\n\n :host([link-align-right]) ::slotted(*) {\n flex: 1 1 auto;\n }\n\n :host > simple-icon-button-lite:not(:defined) {\n opacity: 0;\n }\n\n :host > simple-icon-button-lite {\n flex: 0 0 auto;\n }\n\n simple-icon-button-lite {\n color: var(--relative-heading-button-color, #666);\n background: var(--relative-heading-button-bg);\n border: var(--relative-heading-button-border);\n outline: var(--relative-heading-button-outline);\n margin: var(--relative-heading-button-margin, 0 0 0 8px);\n padding: var(--relative-heading-button-padding, 8px);\n opacity: var(--relative-heading-button-opacity, 0);\n transition: var(--relative-heading-button-transition, all 0.5s);\n }\n\n :host([link-align-right]) simple-icon-button-lite,\n :host(:not([link-align-right]):focus) simple-icon-button-lite,\n :host(:not([link-align-right]):focus-within) simple-icon-button-lite,\n :host(:not([link-align-right]):hover) simple-icon-button-lite {\n opacity: var(--relative-heading-button-active-opacity, 1);\n }\n\n simple-icon-button-lite:focus-within,\n simple-icon-button-lite:focus,\n simple-icon-button-lite:hover {\n color: var(--relative-heading-button-focus-color, #000);\n background: var(--relative-heading-button-focus-bg);\n border: var(--relative-heading-button-focus-border);\n outline: var(--relative-heading-button-focus-outline);\n opacity: var(--relative-heading-button-focus-opacity, 1);\n }\n "])))]; + return [(0, _index.css)(_templateObject4_1d5b95501e5811ed81a80d03c17d190b || (_templateObject4_1d5b95501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-wrap: var(--relative-heading-wrap, wrap);\n align-items: var(--relative-heading-align, center);\n justify-content: flex-start;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n ::slotted(*) {\n flex: 0 0 auto;\n }\n\n :host([link-align-right]) {\n justify-content: space-between;\n }\n\n :host([link-align-right]) ::slotted(*) {\n flex: 1 1 auto;\n }\n\n :host > simple-icon-button-lite:not(:defined) {\n opacity: 0;\n }\n\n :host > simple-icon-button-lite {\n flex: 0 0 auto;\n }\n\n simple-icon-button-lite {\n color: var(--relative-heading-button-color, #666);\n background: var(--relative-heading-button-bg);\n border: var(--relative-heading-button-border);\n outline: var(--relative-heading-button-outline);\n margin: var(--relative-heading-button-margin, 0 0 0 8px);\n padding: var(--relative-heading-button-padding, 8px);\n opacity: var(--relative-heading-button-opacity, 0);\n transition: var(--relative-heading-button-transition, all 0.5s);\n }\n\n :host([link-align-right]) simple-icon-button-lite,\n :host(:not([link-align-right]):focus) simple-icon-button-lite,\n :host(:not([link-align-right]):focus-within) simple-icon-button-lite,\n :host(:not([link-align-right]):hover) simple-icon-button-lite {\n opacity: var(--relative-heading-button-active-opacity, 1);\n }\n\n simple-icon-button-lite:focus-within,\n simple-icon-button-lite:focus,\n simple-icon-button-lite:hover {\n color: var(--relative-heading-button-focus-color, #000);\n background: var(--relative-heading-button-focus-bg);\n border: var(--relative-heading-button-focus-border);\n outline: var(--relative-heading-button-focus-outline);\n opacity: var(--relative-heading-button-focus-opacity, 1);\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/lib/PerformanceDetect.js b/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/lib/PerformanceDetect.js index 85ebd848ee5..4d99e645d76 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/lib/PerformanceDetect.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/lib/PerformanceDetect.js @@ -6,6 +6,8 @@ define(["exports"], function (_exports) { }); _exports.PerformanceDetect = _exports.DeviceDetails = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -45,10 +47,10 @@ define(["exports"], function (_exports) { key: "badDevice", value: // test device for ANY poor setting function () { - var _badDevice = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _badDevice = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var _i, _Object$entries, _Object$entries$_i, key, value; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -131,9 +133,9 @@ define(["exports"], function (_exports) { }, { key: "updateDetails", value: function () { - var _updateDetails = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var _updateDetails = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var details; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/replace-tag.js b/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/replace-tag.js index 1a2b82a5155..b38745d13f0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/replace-tag.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/replace-tag/replace-tag.js @@ -17,6 +17,8 @@ define(["exports", "require", "./lib/PerformanceDetect.js", "./lib/loading-style function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -89,9 +91,9 @@ define(["exports", "require", "./lib/PerformanceDetect.js", "./lib/loading-style }, { key: "evaluateReplaceMethod", value: function () { - var _evaluateReplaceMethod = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _evaluateReplaceMethod = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var badDevice; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-clear.js b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-clear.js index 08ad2afc0fc..16eaeb888f0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-clear.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-clear.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.ResponsiveGridClear = void 0; - var _templateObject_8dd06e901da511ed9d313b9780b2ae17, _templateObject2_8dd06e901da511ed9d313b9780b2ae17; + var _templateObject_565416201e5811ed81a80d03c17d190b, _templateObject2_565416201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -44,7 +44,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(ResponsiveGridClear, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8dd06e901da511ed9d313b9780b2ae17 || (_templateObject_8dd06e901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_565416201e5811ed81a80d03c17d190b || (_templateObject_565416201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } }], [{ key: "styles", @@ -53,7 +53,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_8dd06e901da511ed9d313b9780b2ae17 || (_templateObject2_8dd06e901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n clear: both;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_565416201e5811ed81a80d03c17d190b || (_templateObject2_565416201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n clear: both;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-col.js b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-col.js index ec9c4c3732b..5d832d8b769 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-col.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-col.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.ResponsiveGridCol = void 0; - var _templateObject_8dd243501da511ed9d313b9780b2ae17, _templateObject2_8dd243501da511ed9d313b9780b2ae17; + var _templateObject_565834d01e5811ed81a80d03c17d190b, _templateObject2_565834d01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -47,7 +47,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(ResponsiveGridCol, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8dd243501da511ed9d313b9780b2ae17 || (_templateObject_8dd243501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))); + return (0, _index.html)(_templateObject_565834d01e5811ed81a80d03c17d190b || (_templateObject_565834d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))); } }], [{ key: "styles", @@ -56,7 +56,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_8dd243501da511ed9d313b9780b2ae17 || (_templateObject2_8dd243501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n min-height: 1px;\n float: left;\n }\n :host:after {\n clear: both;\n }\n #col-inner {\n padding-left: var(--responsive-grid-col-inner-padding-left, 15px);\n padding-right: var(--responsive-grid-col-inner-padding-right, 15px);\n }\n /* Hide Print-Only on Screen */\n @media screen {\n :host([print-only]) {\n display: none;\n }\n }\n /* Hide Screen-Only on Print */\n @media print {\n :host([screen-only]) {\n display: none;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject2_565834d01e5811ed81a80d03c17d190b || (_templateObject2_565834d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n min-height: 1px;\n float: left;\n }\n :host:after {\n clear: both;\n }\n #col-inner {\n padding-left: var(--responsive-grid-col-inner-padding-left, 15px);\n padding-right: var(--responsive-grid-col-inner-padding-right, 15px);\n }\n /* Hide Print-Only on Screen */\n @media screen {\n :host([print-only]) {\n display: none;\n }\n }\n /* Hide Screen-Only on Print */\n @media print {\n :host([screen-only]) {\n display: none;\n }\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-row.js b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-row.js index 19790e1a1f1..6e0d25bc881 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-row.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-grid/lib/responsive-grid-row.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../responsive-utility/responsive }); _exports.ResponsiveGridRow = void 0; - var _templateObject_8dd5ecd01da511ed9d313b9780b2ae17, _templateObject2_8dd5ecd01da511ed9d313b9780b2ae17; + var _templateObject_565639001e5811ed81a80d03c17d190b, _templateObject2_565639001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -70,7 +70,7 @@ define(["exports", "../../../lit/index.js", "../../responsive-utility/responsive * LitElement render */ function render() { - return (0, _index.html)(_templateObject_8dd5ecd01da511ed9d313b9780b2ae17 || (_templateObject_8dd5ecd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n
        \n "])), this.xs, this.sm, this.md, this.lg, this.xl, this.responsiveToParent, this.screen, this.gutter); + return (0, _index.html)(_templateObject_565639001e5811ed81a80d03c17d190b || (_templateObject_565639001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n
        \n \n
        \n "])), this.xs, this.sm, this.md, this.lg, this.xl, this.responsiveToParent, this.screen, this.gutter); } /** * convention @@ -117,7 +117,7 @@ define(["exports", "../../../lit/index.js", "../../responsive-utility/responsive * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_8dd5ecd01da511ed9d313b9780b2ae17 || (_templateObject2_8dd5ecd01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n :host:before,\n :host:after {\n content: \" \";\n display: table;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n #row-inner {\n margin-left: var(--responsive-grid-row-inner-margin-left, -15px);\n margin-right: var(--responsive-grid-row-inner-margin-right, -15px);\n }\n :host #row-inner:before,\n :host #row-inner:after {\n content: \" \";\n display: table;\n }\n :host #row-inner:after {\n clear: both;\n }\n :host #row-inner:before,\n :host #row-inner:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-clear[xs]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-clear[sm]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-clear[md]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-clear[lg]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-clear[xl]) {\n display: block;\n }\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[xs=\"0\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[sm=\"0\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[md=\"0\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[lg=\"0\"]) {\n display: inline-block;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"12\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"12\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"12\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"12\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"12\"]) {\n width: 100%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"11\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"11\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"11\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"11\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"11\"]) {\n width: 91.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"10\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"10\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"10\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"10\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"10\"]) {\n width: 83.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"9\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"9\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"9\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"9\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"9\"]) {\n width: 75%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"8\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"8\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"8\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"8\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"8\"]) {\n width: 66.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"7\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"7\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"7\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"7\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"7\"]) {\n width: 58.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"6\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"6\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"6\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"6\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"6\"]) {\n width: 50%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"5\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"5\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"5\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"5\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"5\"]) {\n width: 41.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"4\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"4\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"4\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"4\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"4\"]) {\n width: 33.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"3\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"3\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"3\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"3\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"3\"]) {\n width: 25%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"2\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"2\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"2\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"2\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"2\"]) {\n width: 16.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"1\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"1\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"1\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"1\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"1\"]) {\n width: 8.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"0\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"0\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"0\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"0\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"0\"]) {\n display: none;\n }\n :host #row-inner ::slotted(* > #col-inner) {\n padding: 0px;\n }\n :host #row-inner[gutter=\"1\"] ::slotted(* > #col-inner) {\n padding: 5px;\n }\n :host #row-inner[gutter=\"2\"] ::slotted(* > #col-inner) {\n padding: 10px;\n }\n :host #row-inner[gutter=\"3\"] ::slotted(* > #col-inner) {\n padding: 15px;\n }\n :host #row-inner[gutter=\"4\"] ::slotted(* > #col-inner) {\n padding: 20px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_565639001e5811ed81a80d03c17d190b || (_templateObject2_565639001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n :host:before,\n :host:after {\n content: \" \";\n display: table;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n #row-inner {\n margin-left: var(--responsive-grid-row-inner-margin-left, -15px);\n margin-right: var(--responsive-grid-row-inner-margin-right, -15px);\n }\n :host #row-inner:before,\n :host #row-inner:after {\n content: \" \";\n display: table;\n }\n :host #row-inner:after {\n clear: both;\n }\n :host #row-inner:before,\n :host #row-inner:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-clear[xs]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-clear[sm]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-clear[md]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-clear[lg]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-clear[xl]) {\n display: block;\n }\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[xs=\"0\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[sm=\"0\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[md=\"0\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[lg=\"0\"]) {\n display: inline-block;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"12\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"12\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"12\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"12\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"12\"]) {\n width: 100%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"11\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"11\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"11\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"11\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"11\"]) {\n width: 91.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"10\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"10\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"10\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"10\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"10\"]) {\n width: 83.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"9\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"9\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"9\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"9\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"9\"]) {\n width: 75%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"8\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"8\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"8\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"8\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"8\"]) {\n width: 66.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"7\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"7\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"7\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"7\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"7\"]) {\n width: 58.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"6\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"6\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"6\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"6\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"6\"]) {\n width: 50%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"5\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"5\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"5\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"5\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"5\"]) {\n width: 41.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"4\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"4\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"4\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"4\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"4\"]) {\n width: 33.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"3\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"3\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"3\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"3\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"3\"]) {\n width: 25%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"2\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"2\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"2\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"2\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"2\"]) {\n width: 16.66666667%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"1\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"1\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"1\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"1\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"1\"]) {\n width: 8.33333333%;\n }\n #row-inner[screen=\"xs\"] ::slotted(responsive-grid-col[xs=\"0\"]),\n #row-inner[screen=\"sm\"] ::slotted(responsive-grid-col[sm=\"0\"]),\n #row-inner[screen=\"md\"] ::slotted(responsive-grid-col[md=\"0\"]),\n #row-inner[screen=\"lg\"] ::slotted(responsive-grid-col[lg=\"0\"]),\n #row-inner[screen=\"xl\"] ::slotted(responsive-grid-col[xl=\"0\"]) {\n display: none;\n }\n :host #row-inner ::slotted(* > #col-inner) {\n padding: 0px;\n }\n :host #row-inner[gutter=\"1\"] ::slotted(* > #col-inner) {\n padding: 5px;\n }\n :host #row-inner[gutter=\"2\"] ::slotted(* > #col-inner) {\n padding: 10px;\n }\n :host #row-inner[gutter=\"3\"] ::slotted(* > #col-inner) {\n padding: 15px;\n }\n :host #row-inner[gutter=\"4\"] ::slotted(* > #col-inner) {\n padding: 20px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/lib/responsive-utility-behaviors.js b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/lib/responsive-utility-behaviors.js index 63f2a5bd746..3c505398308 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/lib/responsive-utility-behaviors.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/lib/responsive-utility-behaviors.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../responsive-utility.js"], functio }); _exports.ResponsiveUtilityBehaviors = void 0; - var _templateObject_8dd921201da511ed9d313b9780b2ae17; + var _templateObject_565aa5d01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -51,7 +51,7 @@ define(["exports", "../../../lit/index.js", "../responsive-utility.js"], functio babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8dd921201da511ed9d313b9780b2ae17 || (_templateObject_8dd921201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_565aa5d01e5811ed81a80d03c17d190b || (_templateObject_565aa5d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } }, { key: "firstUpdated", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/responsive-utility.js b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/responsive-utility.js index eab0f633692..72dc0b78d73 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/responsive-utility.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/responsive-utility/responsive-utility.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../../@juggle/resize-observer/lib/expo }); _exports.ResponsiveUtility = void 0; - var _templateObject_48af70e01da511ed9d313b9780b2ae17; + var _templateObject_1d6c10101e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -62,7 +62,7 @@ define(["exports", "../../lit/index.js", "../../@juggle/resize-observer/lib/expo babelHelpers.createClass(ResponsiveUtility, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_48af70e01da511ed9d313b9780b2ae17 || (_templateObject_48af70e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_1d6c10101e5811ed81a80d03c17d190b || (_templateObject_1d6c10101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }, { key: "connectedCallback", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/retro-card/retro-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/retro-card/retro-card.js index 8df78260890..2010301a5fb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/retro-card/retro-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/retro-card/retro-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }); _exports.RetroCard = void 0; - var _templateObject_48b64eb01da511ed9d313b9780b2ae17, _templateObject2_48b64eb01da511ed9d313b9780b2ae17, _templateObject3_48b64eb01da511ed9d313b9780b2ae17; + var _templateObject_1d70f2101e5811ed81a80d03c17d190b, _templateObject2_1d70f2101e5811ed81a80d03c17d190b, _templateObject3_1d70f2101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -63,8 +63,8 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_48b64eb01da511ed9d313b9780b2ae17 || (_templateObject_48b64eb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \"\"\n ", "\n ", "\n \n
        \n
        \n ", "\n
        \n "])), this.color, this.url, this._clickCard, this.__source, this.title, this.subtitle, this.__cardTags.map(function (tag) { - return (0, _index.html)(_templateObject2_48b64eb01da511ed9d313b9780b2ae17 || (_templateObject2_48b64eb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), tag.trim()); + return (0, _index.html)(_templateObject_1d70f2101e5811ed81a80d03c17d190b || (_templateObject_1d70f2101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \"\"\n ", "\n ", "\n \n
        \n
        \n ", "\n
        \n "])), this.color, this.url, this._clickCard, this.__source, this.title, this.subtitle, this.__cardTags.map(function (tag) { + return (0, _index.html)(_templateObject2_1d70f2101e5811ed81a80d03c17d190b || (_templateObject2_1d70f2101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), tag.trim()); })); } // haxProperty definition @@ -189,7 +189,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RetroCard), "styles", this)), [(0, _index.css)(_templateObject3_48b64eb01da511ed9d313b9780b2ae17 || (_templateObject3_48b64eb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --retro-card-level-2: var(\n --simple-colors-default-theme-accent-7,\n #b8a515\n );\n --retro-card-level-1: var(\n --simple-colors-default-theme-accent-6,\n #e5cd1b\n );\n --retro-card-level-3: var(\n --simple-colors-default-theme-accent-5,\n #ead749\n );\n --retro-card-shadow: var(\n --simple-colors-default-theme-accent-8,\n rgba(229, 205, 27, 0.2)\n );\n --retro-card-light-color: #f4f1d0;\n --retro-card-dark-color: #212121;\n }\n\n :host([dark]) {\n --retro-card-dark-color: #f4f1d0;\n --retro-card-light-color: #212121;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([hover-state]) .link:nth-child(1n + 0) {\n box-shadow: 16px 16px 0px 0px var(--retro-card-shadow);\n border: 16px solid var(--retro-card-level-2);\n background-color: var(--retro-card-level-1);\n }\n\n :host([hover-state]) .link {\n color: var(--retro-card-light-color);\n text-decoration: underline;\n padding: 1.25rem;\n border: 16px var(--retro-card-level-1) solid;\n box-shadow: 16px 16px 0px 0px var(--retro-card-shadow);\n transition: background-color 0.2s ease-in-out 0s,\n padding 0.4s ease-in-out 0s, border 0.4s ease-in-out 0s,\n box-shadow 0.2s ease-in-out 0s;\n }\n\n .link:nth-child(1n + 0) {\n background-color: var(--retro-card-level-3);\n box-shadow: 8px 8px 0px 0px var(--retro-card-level-1);\n border: 4px var(--retro-card-level-1) solid;\n }\n\n .link {\n display: block;\n background-color: var(--retro-card-level-3);\n border: 4px var(--retro-card-level-1) solid;\n padding: 2rem;\n box-shadow: 8px 8px 0px 0px var(--retro-card-level-1);\n transition: padding 0.4s ease-in-out 0s, border 0.4s ease-in-out 0s,\n box-shadow 0.2s ease-in-out 0s;\n }\n\n .img {\n -webkit-filter: grayscale(1);\n filter: grayscale(1);\n mix-blend-mode: screen;\n border: 0;\n max-width: 100%;\n height: auto;\n -ms-interpolation-mode: bicubic;\n display: inline-block;\n vertical-align: middle;\n max-height: 200px;\n }\n\n .title {\n display: block;\n font-size: 1.5rem;\n padding: 2rem 0 0 0;\n text-transform: uppercase;\n font-weight: 700;\n text-align: center;\n }\n\n .description {\n display: block;\n font-size: 0.9rem;\n padding: 0.75rem 1rem 0;\n }\n\n .card-tags {\n line-height: 1.6;\n text-align: center;\n margin-bottom: 1rem;\n text-rendering: optimizeLegibility;\n font-weight: 300;\n }\n\n .project-tag {\n font-size: 0.7rem;\n padding: 0.25rem 0.5rem;\n font-style: italic;\n font-weight: 600;\n color: var(--retro-card-light-color);\n background: var(--retro-card-dark-color);\n word-wrap: break-word;\n padding: 0 0.5rem;\n text-transform: uppercase;\n margin-bottom: 2rem;\n margin: 0 0.25rem 2rem 0;\n }\n\n hr {\n border-bottom: 1px solid var(--retro-card-dark-color);\n max-width: 75rem;\n height: 0;\n border-right: 0;\n border-top: 0;\n border-left: 0;\n margin: 1.25rem auto;\n clear: both;\n }\n\n a {\n text-align: center;\n color: var(--retro-card-dark-color);\n text-decoration: none;\n line-height: inherit;\n cursor: pointer;\n font-family: \"Roboto Mono\", Consolas, Monospace;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RetroCard), "styles", this)), [(0, _index.css)(_templateObject3_1d70f2101e5811ed81a80d03c17d190b || (_templateObject3_1d70f2101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --retro-card-level-2: var(\n --simple-colors-default-theme-accent-7,\n #b8a515\n );\n --retro-card-level-1: var(\n --simple-colors-default-theme-accent-6,\n #e5cd1b\n );\n --retro-card-level-3: var(\n --simple-colors-default-theme-accent-5,\n #ead749\n );\n --retro-card-shadow: var(\n --simple-colors-default-theme-accent-8,\n rgba(229, 205, 27, 0.2)\n );\n --retro-card-light-color: #f4f1d0;\n --retro-card-dark-color: #212121;\n }\n\n :host([dark]) {\n --retro-card-dark-color: #f4f1d0;\n --retro-card-light-color: #212121;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([hover-state]) .link:nth-child(1n + 0) {\n box-shadow: 16px 16px 0px 0px var(--retro-card-shadow);\n border: 16px solid var(--retro-card-level-2);\n background-color: var(--retro-card-level-1);\n }\n\n :host([hover-state]) .link {\n color: var(--retro-card-light-color);\n text-decoration: underline;\n padding: 1.25rem;\n border: 16px var(--retro-card-level-1) solid;\n box-shadow: 16px 16px 0px 0px var(--retro-card-shadow);\n transition: background-color 0.2s ease-in-out 0s,\n padding 0.4s ease-in-out 0s, border 0.4s ease-in-out 0s,\n box-shadow 0.2s ease-in-out 0s;\n }\n\n .link:nth-child(1n + 0) {\n background-color: var(--retro-card-level-3);\n box-shadow: 8px 8px 0px 0px var(--retro-card-level-1);\n border: 4px var(--retro-card-level-1) solid;\n }\n\n .link {\n display: block;\n background-color: var(--retro-card-level-3);\n border: 4px var(--retro-card-level-1) solid;\n padding: 2rem;\n box-shadow: 8px 8px 0px 0px var(--retro-card-level-1);\n transition: padding 0.4s ease-in-out 0s, border 0.4s ease-in-out 0s,\n box-shadow 0.2s ease-in-out 0s;\n }\n\n .img {\n -webkit-filter: grayscale(1);\n filter: grayscale(1);\n mix-blend-mode: screen;\n border: 0;\n max-width: 100%;\n height: auto;\n -ms-interpolation-mode: bicubic;\n display: inline-block;\n vertical-align: middle;\n max-height: 200px;\n }\n\n .title {\n display: block;\n font-size: 1.5rem;\n padding: 2rem 0 0 0;\n text-transform: uppercase;\n font-weight: 700;\n text-align: center;\n }\n\n .description {\n display: block;\n font-size: 0.9rem;\n padding: 0.75rem 1rem 0;\n }\n\n .card-tags {\n line-height: 1.6;\n text-align: center;\n margin-bottom: 1rem;\n text-rendering: optimizeLegibility;\n font-weight: 300;\n }\n\n .project-tag {\n font-size: 0.7rem;\n padding: 0.25rem 0.5rem;\n font-style: italic;\n font-weight: 600;\n color: var(--retro-card-light-color);\n background: var(--retro-card-dark-color);\n word-wrap: break-word;\n padding: 0 0.5rem;\n text-transform: uppercase;\n margin-bottom: 2rem;\n margin: 0 0.25rem 2rem 0;\n }\n\n hr {\n border-bottom: 1px solid var(--retro-card-dark-color);\n max-width: 75rem;\n height: 0;\n border-right: 0;\n border-top: 0;\n border-left: 0;\n margin: 1.25rem auto;\n clear: both;\n }\n\n a {\n text-align: center;\n color: var(--retro-card-dark-color);\n text-decoration: none;\n line-height: inherit;\n cursor: pointer;\n font-family: \"Roboto Mono\", Consolas, Monospace;\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-button.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-button.dev.js index c594e3f5791..c2c85387b8d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-button.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-button.dev.js @@ -205,20 +205,20 @@ function _getPrototypeOf(o) { return _getPrototypeOf(o); } -function _templateObject2_ba8856a01da511ed9d313b9780b2ae17() { +function _templateObject2_7876cb801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-opacity: var(\n --rich-text-editor-button-opacity,\n 1\n );\n --simple-toolbar-button-color: var(--rich-text-editor-button-color, #444);\n --simple-toolbar-button-bg: var(--rich-text-editor-button-bg, #ffffff);\n --simple-toolbar-button-border-color: var(\n --rich-text-editor-button-border-color,\n transparent\n );\n --simple-toolbar-button-toggled-opacity: var(\n --rich-text-editor-button-toggled-opacity,\n 1\n );\n --simple-toolbar-button-toggled-color: var(\n --rich-text-editor-button-toggled-color,\n #222\n );\n --simple-toolbar-button-toggled-bg: var(\n --rich-text-editor-button-toggled-bg,\n #ddd\n );\n --simple-toolbar-button-toggled-border-color: var(\n --rich-text-editor-button-toggled-border-color,\n transparent\n );\n --simple-toolbar-button-hover-opacity: var(\n --rich-text-editor-button-hover-opacity,\n 1\n );\n --simple-toolbar-button-hover-color: var(\n --rich-text-editor-button-hover-color,\n #000\n );\n --simple-toolbar-button-hover-bg: var(\n --rich-text-editor-button-hover-bg,\n #f0f0f0\n );\n --simple-toolbar-button-hover-border-color: var(\n --rich-text-editor-button-hover-border-color,\n unset\n );\n --simple-toolbar-button-disabled-opacity: var(\n --rich-text-editor-button-disabled-opacity,\n 1\n );\n --simple-toolbar-button-disabled-color: var(\n --rich-text-editor-button-disabled-color,\n #666\n );\n --simple-toolbar-button-disabled-bg: var(\n --rich-text-editor-button-disabled-bg,\n transparent\n );\n --simple-toolbar-button-disabled-border-color: var(\n --rich-text-editor-button-disabled-border-color,\n transparent\n );\n }\n button[part="button"] {\n border-radius: var(--rich-text-editor-button-disabled-border-radius, 0px);\n }\n ']); - _templateObject2_ba8856a01da511ed9d313b9780b2ae17 = function _templateObject2_ba8856a01da511ed9d313b9780b2ae17() { + _templateObject2_7876cb801e5811ed81a80d03c17d190b = function _templateObject2_7876cb801e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_ba8856a01da511ed9d313b9780b2ae17() { +function _templateObject_7876cb801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-bg: var(--rich-text-editor-bg, #ffffff);\n --simple-fields-focus-color: var(--rich-text-editor-focus-color, blue);\n --simple-fields-invalid-color: var(--rich-text-editor-error-color, #800);\n }\n "]); - _templateObject_ba8856a01da511ed9d313b9780b2ae17 = function _templateObject_ba8856a01da511ed9d313b9780b2ae17() { + _templateObject_7876cb801e5811ed81a80d03c17d190b = function _templateObject_7876cb801e5811ed81a80d03c17d190b() { return data; }; @@ -247,7 +247,7 @@ function _taggedTemplateLiteral(strings, raw) { */ -var RichTextStyles = [(0, _litElement.css)(_templateObject_ba8856a01da511ed9d313b9780b2ae17())]; +var RichTextStyles = [(0, _litElement.css)(_templateObject_7876cb801e5811ed81a80d03c17d190b())]; /** * RichTextStyles * @@ -260,7 +260,7 @@ var RichTextStyles = [(0, _litElement.css)(_templateObject_ba8856a01da511ed9d313 */ exports.RichTextStyles = RichTextStyles; -var RichTextToolbarStyles = [].concat(RichTextStyles, [(0, _litElement.css)(_templateObject2_ba8856a01da511ed9d313b9780b2ae17())]); +var RichTextToolbarStyles = [].concat(RichTextStyles, [(0, _litElement.css)(_templateObject2_7876cb801e5811ed81a80d03c17d190b())]); /** * RichTextEditorButtonBehaviors * diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-emoji-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-emoji-picker.dev.js index cc4a0215948..33883a309f7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-emoji-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-emoji-picker.dev.js @@ -74,10 +74,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_ba8ac7a01da511ed9d313b9780b2ae17() { +function _templateObject2_7878ee601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([""]); - _templateObject2_ba8ac7a01da511ed9d313b9780b2ae17 = function _templateObject2_ba8ac7a01da511ed9d313b9780b2ae17() { + _templateObject2_7878ee601e5811ed81a80d03c17d190b = function _templateObject2_7878ee601e5811ed81a80d03c17d190b() { return data; }; @@ -106,10 +106,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_ba8ac7a01da511ed9d313b9780b2ae17() { +function _templateObject_7878ee601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', "\n "]); - _templateObject_ba8ac7a01da511ed9d313b9780b2ae17 = function _templateObject_ba8ac7a01da511ed9d313b9780b2ae17() { + _templateObject_7878ee601e5811ed81a80d03c17d190b = function _templateObject_7878ee601e5811ed81a80d03c17d190b() { return data; }; @@ -248,7 +248,7 @@ var RichTextEditorEmojiPicker = /*#__PURE__*/function (_RichTextEditorPicker) { // render function for template // render function for template value: function render() { - return (0, _litElement.html)(_templateObject_ba8ac7a01da511ed9d313b9780b2ae17(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorEmojiPicker.prototype), "controls", this), this.disabled, this.emojiTypes, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorEmojiPicker.prototype), "tooltipTemplate", this)); + return (0, _litElement.html)(_templateObject_7878ee601e5811ed81a80d03c17d190b(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorEmojiPicker.prototype), "controls", this), this.disabled, this.emojiTypes, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorEmojiPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }], [{ @@ -264,7 +264,7 @@ var RichTextEditorEmojiPicker = /*#__PURE__*/function (_RichTextEditorPicker) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(RichTextEditorEmojiPicker), "styles", this)), [(0, _litElement.css)(_templateObject2_ba8ac7a01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(RichTextEditorEmojiPicker), "styles", this)), [(0, _litElement.css)(_templateObject2_7878ee601e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-icon-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-icon-picker.dev.js index b69111df9c2..bbe116ca935 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-icon-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-icon-picker.dev.js @@ -74,10 +74,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_ba9045e01da511ed9d313b9780b2ae17() { +function _templateObject2_787f08e01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #button.show-label::part(label) {\n padding: 0;\n margin-right: 0;\n margin-left: 4px;\n }\n #button.show-label::part(sample) {\n min-height: var(--simple-picker-option-size, 24px);\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n #button.show-label::part(sample-option) {\n display: none;\n }\n "]); - _templateObject2_ba9045e01da511ed9d313b9780b2ae17 = function _templateObject2_ba9045e01da511ed9d313b9780b2ae17() { + _templateObject2_787f08e01e5811ed81a80d03c17d190b = function _templateObject2_787f08e01e5811ed81a80d03c17d190b() { return data; }; @@ -106,10 +106,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_ba9045e01da511ed9d313b9780b2ae17() { +function _templateObject_787f08e01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', "\n "]); - _templateObject_ba9045e01da511ed9d313b9780b2ae17 = function _templateObject_ba9045e01da511ed9d313b9780b2ae17() { + _templateObject_787f08e01e5811ed81a80d03c17d190b = function _templateObject_787f08e01e5811ed81a80d03c17d190b() { return data; }; @@ -248,7 +248,7 @@ var RichTextEditorIconPicker = /*#__PURE__*/function (_RichTextEditorPicker) { // render function for template // render function for template value: function render() { - return (0, _litElement.html)(_templateObject_ba9045e01da511ed9d313b9780b2ae17(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorIconPicker.prototype), "controls", this), this.disabled, this.icons, this.excludes, this.includeSets, this.excludeSets, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorIconPicker.prototype), "tooltipTemplate", this)); + return (0, _litElement.html)(_templateObject_787f08e01e5811ed81a80d03c17d190b(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorIconPicker.prototype), "controls", this), this.disabled, this.icons, this.excludes, this.includeSets, this.excludeSets, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorIconPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }], [{ @@ -264,7 +264,7 @@ var RichTextEditorIconPicker = /*#__PURE__*/function (_RichTextEditorPicker) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(RichTextEditorIconPicker), "styles", this)), [(0, _litElement.css)(_templateObject2_ba9045e01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(RichTextEditorIconPicker), "styles", this)), [(0, _litElement.css)(_templateObject2_787f08e01e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-picker.dev.js index c216fab5fb0..036d16d4cac 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-picker.dev.js @@ -74,10 +74,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_ba9af4401da511ed9d313b9780b2ae17() { +function _templateObject2_788990301e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n align-items: center;\n --simple-picker-background-color: var(--simple-toolbar-button-bg);\n --simple-picker-color-active: var(\n --simple-toolbar-button-hover-color\n );\n --simple-picker-background-color-active: var(\n --simple-toolbar-button-hover-bg\n );\n --simple-picker-color-disabled: var(\n --simple-toolbar-button-disabled-color\n );\n --simple-picker-background-color-disabled: var(\n --simple-toolbar-button-disabled-bg\n );\n --simple-picker-border-radius: 0px;\n --simple-picker-border-width: 0px;\n --simple-picker-option-size: calc(\n 24px - 2 * var(--simple-picker-sample-padding, 2px)\n );\n --simple-picker-icon-size: 16px;\n --simple-picker-options-border-width: 1px;\n --simple-picker-options-border: var(\n --simple-picker-options-border-width,\n 1px\n )\n solid\n var(\n --simple-toolbar-border-color,\n var(--rich-text-editor-border-color, #ddd)\n );\n }\n #button {\n margin-top: 0;\n margin-bottom: 0;\n }\n #button.hide-label::part(label) {\n position: absolute;\n left: -999999px;\n top: 0;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n "]); - _templateObject2_ba9af4401da511ed9d313b9780b2ae17 = function _templateObject2_ba9af4401da511ed9d313b9780b2ae17() { + _templateObject2_788990301e5811ed81a80d03c17d190b = function _templateObject2_788990301e5811ed81a80d03c17d190b() { return data; }; @@ -106,10 +106,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_ba9af4401da511ed9d313b9780b2ae17() { +function _templateObject_788990301e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', "\n "]); - _templateObject_ba9af4401da511ed9d313b9780b2ae17 = function _templateObject_ba9af4401da511ed9d313b9780b2ae17() { + _templateObject_788990301e5811ed81a80d03c17d190b = function _templateObject_788990301e5811ed81a80d03c17d190b() { return data; }; @@ -244,7 +244,7 @@ var RichTextEditorPickerBehaviors = function RichTextEditorPickerBehaviors(Super _createClass(_class, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_ba9af4401da511ed9d313b9780b2ae17(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", this.disabled, this.hideNullOption, _get(_getPrototypeOf(_class.prototype), "controls", this), this.options, this._pickerFocus, this._pickerFocus, this.currentLabel, this._pickerChange, this.titleAsHtml, this.value, _get(_getPrototypeOf(_class.prototype), "tooltipTemplate", this)); + return (0, _litElement.html)(_templateObject_788990301e5811ed81a80d03c17d190b(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", this.disabled, this.hideNullOption, _get(_getPrototypeOf(_class.prototype), "controls", this), this.options, this._pickerFocus, this._pickerFocus, this.currentLabel, this._pickerChange, this.titleAsHtml, this.value, _get(_getPrototypeOf(_class.prototype), "tooltipTemplate", this)); } }], [{ key: "tag", @@ -258,7 +258,7 @@ var RichTextEditorPickerBehaviors = function RichTextEditorPickerBehaviors(Super }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "styles", this)), [(0, _litElement.css)(_templateObject2_ba9af4401da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "styles", this)), [(0, _litElement.css)(_templateObject2_788990301e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-symbol-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-symbol-picker.dev.js index 07bd7eff783..3be5d32a857 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-symbol-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/dist/rich-text-editor-symbol-picker.dev.js @@ -74,10 +74,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_baa358b01da511ed9d313b9780b2ae17() { +function _templateObject_78906e001e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', "\n "]); - _templateObject_baa358b01da511ed9d313b9780b2ae17 = function _templateObject_baa358b01da511ed9d313b9780b2ae17() { + _templateObject_78906e001e5811ed81a80d03c17d190b = function _templateObject_78906e001e5811ed81a80d03c17d190b() { return data; }; @@ -215,7 +215,7 @@ var RichTextEditorSymbolPicker = /*#__PURE__*/function (_RichTextEditorPicker) { key: "render", // render function for template value: function render() { - return (0, _litElement.html)(_templateObject_baa358b01da511ed9d313b9780b2ae17(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorSymbolPicker.prototype), "controls", this), this.disabled, this._pickerFocus, this.currentLabel, this._pickerFocus, this.symbolTypes, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorSymbolPicker.prototype), "tooltipTemplate", this)); + return (0, _litElement.html)(_templateObject_78906e001e5811ed81a80d03c17d190b(), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", _get(_getPrototypeOf(RichTextEditorSymbolPicker.prototype), "controls", this), this.disabled, this._pickerFocus, this.currentLabel, this._pickerFocus, this.symbolTypes, this.toggled, this._pickerChange, _get(_getPrototypeOf(RichTextEditorSymbolPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }], [{ diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-button.js index 820d729c796..7adabf5940a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-toolbar/lib/simp }); _exports.RichTextToolbarStyles = _exports.RichTextStyles = _exports.RichTextEditorButtonBehaviors = _exports.RichTextEditorButton = void 0; - var _templateObject_9ee60f001da511ed9d313b9780b2ae17, _templateObject2_9ee60f001da511ed9d313b9780b2ae17; + var _templateObject_6374fcc01e5811ed81a80d03c17d190b, _templateObject2_6374fcc01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -25,7 +25,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-toolbar/lib/simp * @default * @type {array} */ - var RichTextStyles = [(0, _index.css)(_templateObject_9ee60f001da511ed9d313b9780b2ae17 || (_templateObject_9ee60f001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-bg: var(--rich-text-editor-bg, #ffffff);\n --simple-fields-focus-color: var(--rich-text-editor-focus-color, blue);\n --simple-fields-invalid-color: var(--rich-text-editor-error-color, #800);\n }\n "])))]; + var RichTextStyles = [(0, _index.css)(_templateObject_6374fcc01e5811ed81a80d03c17d190b || (_templateObject_6374fcc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-bg: var(--rich-text-editor-bg, #ffffff);\n --simple-fields-focus-color: var(--rich-text-editor-focus-color, blue);\n --simple-fields-invalid-color: var(--rich-text-editor-error-color, #800);\n }\n "])))]; /** * RichTextStyles * @@ -38,7 +38,7 @@ define(["exports", "../../../../lit/index.js", "../../../simple-toolbar/lib/simp */ _exports.RichTextStyles = RichTextStyles; - var RichTextToolbarStyles = [].concat(RichTextStyles, [(0, _index.css)(_templateObject2_9ee60f001da511ed9d313b9780b2ae17 || (_templateObject2_9ee60f001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-opacity: var(\n --rich-text-editor-button-opacity,\n 1\n );\n --simple-toolbar-button-color: var(--rich-text-editor-button-color, #444);\n --simple-toolbar-button-bg: var(--rich-text-editor-button-bg, #ffffff);\n --simple-toolbar-button-border-color: var(\n --rich-text-editor-button-border-color,\n transparent\n );\n --simple-toolbar-button-toggled-opacity: var(\n --rich-text-editor-button-toggled-opacity,\n 1\n );\n --simple-toolbar-button-toggled-color: var(\n --rich-text-editor-button-toggled-color,\n #222\n );\n --simple-toolbar-button-toggled-bg: var(\n --rich-text-editor-button-toggled-bg,\n #ddd\n );\n --simple-toolbar-button-toggled-border-color: var(\n --rich-text-editor-button-toggled-border-color,\n transparent\n );\n --simple-toolbar-button-hover-opacity: var(\n --rich-text-editor-button-hover-opacity,\n 1\n );\n --simple-toolbar-button-hover-color: var(\n --rich-text-editor-button-hover-color,\n #000\n );\n --simple-toolbar-button-hover-bg: var(\n --rich-text-editor-button-hover-bg,\n #f0f0f0\n );\n --simple-toolbar-button-hover-border-color: var(\n --rich-text-editor-button-hover-border-color,\n unset\n );\n --simple-toolbar-button-disabled-opacity: var(\n --rich-text-editor-button-disabled-opacity,\n 1\n );\n --simple-toolbar-button-disabled-color: var(\n --rich-text-editor-button-disabled-color,\n #666\n );\n --simple-toolbar-button-disabled-bg: var(\n --rich-text-editor-button-disabled-bg,\n transparent\n );\n --simple-toolbar-button-disabled-border-color: var(\n --rich-text-editor-button-disabled-border-color,\n transparent\n );\n }\n button[part=\"button\"] {\n border-radius: var(--rich-text-editor-button-disabled-border-radius, 0px);\n }\n "])))]); + var RichTextToolbarStyles = [].concat(RichTextStyles, [(0, _index.css)(_templateObject2_6374fcc01e5811ed81a80d03c17d190b || (_templateObject2_6374fcc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-toolbar-border-color: var(--rich-text-editor-border-color, #ddd);\n --simple-toolbar-border-width: var(--rich-text-editor-border-width, 1px);\n --simple-toolbar-button-opacity: var(\n --rich-text-editor-button-opacity,\n 1\n );\n --simple-toolbar-button-color: var(--rich-text-editor-button-color, #444);\n --simple-toolbar-button-bg: var(--rich-text-editor-button-bg, #ffffff);\n --simple-toolbar-button-border-color: var(\n --rich-text-editor-button-border-color,\n transparent\n );\n --simple-toolbar-button-toggled-opacity: var(\n --rich-text-editor-button-toggled-opacity,\n 1\n );\n --simple-toolbar-button-toggled-color: var(\n --rich-text-editor-button-toggled-color,\n #222\n );\n --simple-toolbar-button-toggled-bg: var(\n --rich-text-editor-button-toggled-bg,\n #ddd\n );\n --simple-toolbar-button-toggled-border-color: var(\n --rich-text-editor-button-toggled-border-color,\n transparent\n );\n --simple-toolbar-button-hover-opacity: var(\n --rich-text-editor-button-hover-opacity,\n 1\n );\n --simple-toolbar-button-hover-color: var(\n --rich-text-editor-button-hover-color,\n #000\n );\n --simple-toolbar-button-hover-bg: var(\n --rich-text-editor-button-hover-bg,\n #f0f0f0\n );\n --simple-toolbar-button-hover-border-color: var(\n --rich-text-editor-button-hover-border-color,\n unset\n );\n --simple-toolbar-button-disabled-opacity: var(\n --rich-text-editor-button-disabled-opacity,\n 1\n );\n --simple-toolbar-button-disabled-color: var(\n --rich-text-editor-button-disabled-color,\n #666\n );\n --simple-toolbar-button-disabled-bg: var(\n --rich-text-editor-button-disabled-bg,\n transparent\n );\n --simple-toolbar-button-disabled-border-color: var(\n --rich-text-editor-button-disabled-border-color,\n transparent\n );\n }\n button[part=\"button\"] {\n border-radius: var(--rich-text-editor-button-disabled-border-radius, 0px);\n }\n "])))]); /** * RichTextEditorButtonBehaviors * diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-emoji-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-emoji-picker.js index 2fc21e6049b..91a86163cc6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-emoji-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-emoji-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " }); _exports.RichTextEditorEmojiPicker = void 0; - var _templateObject_9ee91c401da511ed9d313b9780b2ae17, _templateObject2_9ee91c401da511ed9d313b9780b2ae17; + var _templateObject_63780a001e5811ed81a80d03c17d190b, _templateObject2_63780a001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -50,7 +50,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " value: // render function for template // render function for template function render() { - return (0, _index.html)(_templateObject_9ee91c401da511ed9d313b9780b2ae17 || (_templateObject_9ee91c401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker.prototype), "controls", this), this.disabled, this.emojiTypes, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker.prototype), "tooltipTemplate", this)); + return (0, _index.html)(_templateObject_63780a001e5811ed81a80d03c17d190b || (_templateObject_63780a001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker.prototype), "controls", this), this.disabled, this.emojiTypes, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }, { @@ -86,7 +86,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker), "styles", this)), [(0, _index.css)(_templateObject2_9ee91c401da511ed9d313b9780b2ae17 || (_templateObject2_9ee91c401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorEmojiPicker), "styles", this)), [(0, _index.css)(_templateObject2_63780a001e5811ed81a80d03c17d190b || (_templateObject2_63780a001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-icon-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-icon-picker.js index 30739f21ea3..8ad315d9e6e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-icon-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-icon-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " }); _exports.RichTextEditorIconPicker = void 0; - var _templateObject_9eef36c01da511ed9d313b9780b2ae17, _templateObject2_9eef36c01da511ed9d313b9780b2ae17; + var _templateObject_637a7b001e5811ed81a80d03c17d190b, _templateObject2_637a7b001e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -58,7 +58,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " value: // render function for template // render function for template function render() { - return (0, _index.html)(_templateObject_9eef36c01da511ed9d313b9780b2ae17 || (_templateObject_9eef36c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker.prototype), "controls", this), this.disabled, this.icons, this.excludes, this.includeSets, this.excludeSets, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker.prototype), "tooltipTemplate", this)); + return (0, _index.html)(_templateObject_637a7b001e5811ed81a80d03c17d190b || (_templateObject_637a7b001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker.prototype), "controls", this), this.disabled, this.icons, this.excludes, this.includeSets, this.excludeSets, this._pickerFocus, this.currentLabel, this._pickerFocus, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }, { @@ -96,7 +96,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker), "styles", this)), [(0, _index.css)(_templateObject2_9eef36c01da511ed9d313b9780b2ae17 || (_templateObject2_9eef36c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n #button.show-label::part(label) {\n padding: 0;\n margin-right: 0;\n margin-left: 4px;\n }\n #button.show-label::part(sample) {\n min-height: var(--simple-picker-option-size, 24px);\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n #button.show-label::part(sample-option) {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorIconPicker), "styles", this)), [(0, _index.css)(_templateObject2_637a7b001e5811ed81a80d03c17d190b || (_templateObject2_637a7b001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n #button.show-label::part(label) {\n padding: 0;\n margin-right: 0;\n margin-left: 4px;\n }\n #button.show-label::part(sample) {\n min-height: var(--simple-picker-option-size, 24px);\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n #button.show-label::part(sample-option) {\n display: none;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-picker.js index 01d54a74613..944fd82b85c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-button.js", " }); _exports.RichTextEditorPickerBehaviors = _exports.RichTextEditorPicker = void 0; - var _templateObject_9ef9be101da511ed9d313b9780b2ae17, _templateObject2_9ef9be101da511ed9d313b9780b2ae17; + var _templateObject_638836a01e5811ed81a80d03c17d190b, _templateObject2_638836a01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,7 +47,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-button.js", " babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_9ef9be101da511ed9d313b9780b2ae17 || (_templateObject_9ef9be101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", this.disabled, this.hideNullOption, babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "controls", this), this.options, this._pickerFocus, this._pickerFocus, this.currentLabel, this._pickerChange, this.titleAsHtml, this.value, babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "tooltipTemplate", this)); + return (0, _index.html)(_templateObject_638836a01e5811ed81a80d03c17d190b || (_templateObject_638836a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", this.disabled, this.hideNullOption, babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "controls", this), this.options, this._pickerFocus, this._pickerFocus, this.currentLabel, this._pickerChange, this.titleAsHtml, this.value, babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "tooltipTemplate", this)); } }, { key: "firstUpdated", @@ -183,7 +183,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-button.js", " }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), [(0, _index.css)(_templateObject2_9ef9be101da511ed9d313b9780b2ae17 || (_templateObject2_9ef9be101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n align-items: center;\n --simple-picker-background-color: var(--simple-toolbar-button-bg);\n --simple-picker-color-active: var(\n --simple-toolbar-button-hover-color\n );\n --simple-picker-background-color-active: var(\n --simple-toolbar-button-hover-bg\n );\n --simple-picker-color-disabled: var(\n --simple-toolbar-button-disabled-color\n );\n --simple-picker-background-color-disabled: var(\n --simple-toolbar-button-disabled-bg\n );\n --simple-picker-border-radius: 0px;\n --simple-picker-border-width: 0px;\n --simple-picker-option-size: calc(\n 24px - 2 * var(--simple-picker-sample-padding, 2px)\n );\n --simple-picker-icon-size: 16px;\n --simple-picker-options-border-width: 1px;\n --simple-picker-options-border: var(\n --simple-picker-options-border-width,\n 1px\n )\n solid\n var(\n --simple-toolbar-border-color,\n var(--rich-text-editor-border-color, #ddd)\n );\n }\n #button {\n margin-top: 0;\n margin-bottom: 0;\n }\n #button.hide-label::part(label) {\n position: absolute;\n left: -999999px;\n top: 0;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), [(0, _index.css)(_templateObject2_638836a01e5811ed81a80d03c17d190b || (_templateObject2_638836a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n align-items: center;\n --simple-picker-background-color: var(--simple-toolbar-button-bg);\n --simple-picker-color-active: var(\n --simple-toolbar-button-hover-color\n );\n --simple-picker-background-color-active: var(\n --simple-toolbar-button-hover-bg\n );\n --simple-picker-color-disabled: var(\n --simple-toolbar-button-disabled-color\n );\n --simple-picker-background-color-disabled: var(\n --simple-toolbar-button-disabled-bg\n );\n --simple-picker-border-radius: 0px;\n --simple-picker-border-width: 0px;\n --simple-picker-option-size: calc(\n 24px - 2 * var(--simple-picker-sample-padding, 2px)\n );\n --simple-picker-icon-size: 16px;\n --simple-picker-options-border-width: 1px;\n --simple-picker-options-border: var(\n --simple-picker-options-border-width,\n 1px\n )\n solid\n var(\n --simple-toolbar-border-color,\n var(--rich-text-editor-border-color, #ddd)\n );\n }\n #button {\n margin-top: 0;\n margin-bottom: 0;\n }\n #button.hide-label::part(label) {\n position: absolute;\n left: -999999px;\n top: 0;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-symbol-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-symbol-picker.js index d3285e87be5..e43d16cb294 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-symbol-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/buttons/rich-text-editor-symbol-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " }); _exports.RichTextEditorSymbolPicker = void 0; - var _templateObject_9efea0101da511ed9d313b9780b2ae17; + var _templateObject_6390c2201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,7 +56,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-picker.js", " key: "render", value: // render function for template function render() { - return (0, _index.html)(_templateObject_9efea0101da511ed9d313b9780b2ae17 || (_templateObject_9efea0101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorSymbolPicker.prototype), "controls", this), this.disabled, this._pickerFocus, this.currentLabel, this._pickerFocus, this.symbolTypes, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorSymbolPicker.prototype), "tooltipTemplate", this)); + return (0, _index.html)(_templateObject_6390c2201e5811ed81a80d03c17d190b || (_templateObject_6390c2201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n "])), this.allowNull, this.labelVisibleClass, this.toggled ? "toggled" : "", babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorSymbolPicker.prototype), "controls", this), this.disabled, this._pickerFocus, this.currentLabel, this._pickerFocus, this.symbolTypes, this.toggled, this._pickerChange, babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorSymbolPicker.prototype), "tooltipTemplate", this)); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-prompt.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-prompt.dev.js index 1aae72498e8..fbc624c578e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-prompt.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-prompt.dev.js @@ -78,10 +78,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_baa8fe001da511ed9d313b9780b2ae17() { +function _templateObject2_78a248501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #prompt {\n display: block;\n width: 300px;\n max-width: 300px;\n --simple-popover-padding: 0px;\n z-index: 2;\n }\n #prompt[hidden] {\n display: none;\n }\n #prompt #form {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n z-index: 2;\n }\n #formfields {\n width: calc(100% - 20px);\n padding: 10px 10px 0;\n overflow: visible;\n }\n #prompt simple-fields-field {\n padding: 0;\n }\n #confirm,\n #cancel {\n min-width: unset;\n }\n #cancel {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #cancel:focus,\n #cancel:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n #confirm {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #confirm:focus,\n #confirm:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n .actions {\n width: calc(100% - 20px);\n padding: 0 10px 3px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n }\n .confirm-or-cancel {\n min-width: 40px;\n }\n "]); - _templateObject2_baa8fe001da511ed9d313b9780b2ae17 = function _templateObject2_baa8fe001da511ed9d313b9780b2ae17() { + _templateObject2_78a248501e5811ed81a80d03c17d190b = function _templateObject2_78a248501e5811ed81a80d03c17d190b() { return data; }; @@ -110,10 +110,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_baa8fe001da511ed9d313b9780b2ae17() { +function _templateObject_78a248501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n \n
        \n \n \n \n \n
        \n \n \n ']); - _templateObject_baa8fe001da511ed9d313b9780b2ae17 = function _templateObject_baa8fe001da511ed9d313b9780b2ae17() { + _templateObject_78a248501e5811ed81a80d03c17d190b = function _templateObject_78a248501e5811ed81a80d03c17d190b() { return data; }; @@ -247,7 +247,7 @@ var RichTextEditorPrompt = /*#__PURE__*/function (_LitElement) { _createClass(RichTextEditorPrompt, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_baa8fe001da511ed9d313b9780b2ae17(), !this.hidden, this.selection ? this.selection.id : "", this.hidden, this.selection, this._handleBlur, this._handleFocus, this.fields, this._handleReady, this.value, this.selection ? this.selection.id : "", this._cancel, this.selection ? this.selection.id : "", this._confirm); + return (0, _litElement.html)(_templateObject_78a248501e5811ed81a80d03c17d190b(), !this.hidden, this.selection ? this.selection.id : "", this.hidden, this.selection, this._handleBlur, this._handleFocus, this.fields, this._handleReady, this.value, this.selection ? this.selection.id : "", this._cancel, this.selection ? this.selection.id : "", this._confirm); } /** * Store tag name to make it easier to obtain directly. @@ -256,7 +256,7 @@ var RichTextEditorPrompt = /*#__PURE__*/function (_LitElement) { }], [{ key: "styles", get: function get() { - return [].concat(_toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _litElement.css)(_templateObject2_baa8fe001da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _litElement.css)(_templateObject2_78a248501e5811ed81a80d03c17d190b())]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-selection.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-selection.dev.js index 12590a40cf8..01d1d052497 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-selection.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/dist/rich-text-editor-selection.dev.js @@ -1,5 +1,7 @@ "use strict"; +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + Object.defineProperty(exports, "__esModule", { value: true }); @@ -23,20 +25,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_bab09f201da511ed9d313b9780b2ae17() { +function _templateObject2_78acf6b01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n background-color: var(--rich-text-editor-selection-bg, rgb(146, 197, 255));\n margin: 0;\n padding: 0;\n display: inline-block;\n }\n :host([hidden]) {\n display: none;\n }\n :host([collapsed]):after {\n content: '|';\n color: var(--simple-toolbar-selection-bg);\n background-color: transparent;\n }\n :host + *,\n ::slotted(*) {\n background-color: var(--rich-text-editor-selection-bg, rgb(146, 197, 255));\n }\n\xA0\xA0\xA0\xA0\xA0\xA0"]); - _templateObject2_bab09f201da511ed9d313b9780b2ae17 = function _templateObject2_bab09f201da511ed9d313b9780b2ae17() { + _templateObject2_78acf6b01e5811ed81a80d03c17d190b = function _templateObject2_78acf6b01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_bab09f201da511ed9d313b9780b2ae17() { +function _templateObject_78acf6b01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([""]); - _templateObject_bab09f201da511ed9d313b9780b2ae17 = function _templateObject_bab09f201da511ed9d313b9780b2ae17() { + _templateObject_78acf6b01e5811ed81a80d03c17d190b = function _templateObject_78acf6b01e5811ed81a80d03c17d190b() { return data; }; @@ -218,7 +220,7 @@ var RichTextEditorSelection = /*#__PURE__*/function (_LitElement) { _createClass(RichTextEditorSelection, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_bab09f201da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject_78acf6b01e5811ed81a80d03c17d190b()); } }, { key: "updated", @@ -499,14 +501,14 @@ var RichTextEditorSelection = /*#__PURE__*/function (_LitElement) { setTimeout(function _callee() { var sel, range, text; - return regeneratorRuntime.async(function _callee$(_context) { + return _regeneratorRuntime().async(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: sel = window.getSelection(); range = editor.range; _context.next = 4; - return regeneratorRuntime.awrap(navigator.clipboard.readText()); + return _regeneratorRuntime().awrap(navigator.clipboard.readText()); case 4: text = _context.sent; @@ -988,7 +990,7 @@ var RichTextEditorSelection = /*#__PURE__*/function (_LitElement) { }, { key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject2_bab09f201da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_78acf6b01e5811ed81a80d03c17d190b())]; } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-clipboard.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-clipboard.js index cb63fc7c298..e76357ae5c5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-clipboard.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-clipboard.js @@ -6,7 +6,9 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }); _exports.RichTextEditorClipboard = void 0; - var _templateObject_9f094e701da511ed9d313b9780b2ae17, _templateObject2_9f094e701da511ed9d313b9780b2ae17; + var _templateObject_639dba701e5811ed81a80d03c17d190b, _templateObject2_639dba701e5811ed81a80d03c17d190b; + + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -41,7 +43,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(RichTextEditorClipboard, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_9f094e701da511ed9d313b9780b2ae17 || (_templateObject_9f094e701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_639dba701e5811ed81a80d03c17d190b || (_templateObject_639dba701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } /** * gets clipboard data and pastes into an editor's range @@ -56,8 +58,8 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { var _this2 = this; this.__textarea = this.__textarea || this.shadowRoot.querySelector("textarea"); - setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { - return regeneratorRuntime.wrap(function _callee$(_context) { + setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -94,7 +96,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_9f094e701da511ed9d313b9780b2ae17 || (_templateObject2_9f094e701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none !important;\n }\n textarea {\n position: absolute;\n left: -9999px;\n top: 0;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_639dba701e5811ed81a80d03c17d190b || (_templateObject2_639dba701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none !important;\n }\n textarea {\n position: absolute;\n left: -9999px;\n top: 0;\n width: 0px;\n height: 0px;\n overflow: hidden;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-highlight.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-highlight.js index fe5aedd4fbe..c07de178ee3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-highlight.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-highlight.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }); _exports.RichTextEditorHighlight = void 0; - var _templateObject_9f0bbf701da511ed9d313b9780b2ae17, _templateObject2_9f0bbf701da511ed9d313b9780b2ae17; + var _templateObject_63a0c7b01e5811ed81a80d03c17d190b, _templateObject2_63a0c7b01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -43,7 +43,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(RichTextEditorHighlight, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_9f0bbf701da511ed9d313b9780b2ae17 || (_templateObject_9f0bbf701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_63a0c7b01e5811ed81a80d03c17d190b || (_templateObject_63a0c7b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } /** * Store tag name to make it easier to obtain directly. @@ -101,7 +101,7 @@ define(["exports", "../../../../lit/index.js"], function (_exports, _index) { }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_9f0bbf701da511ed9d313b9780b2ae17 || (_templateObject2_9f0bbf701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n outline: 1px dotted currentColor;\n }\n :host(:empty) {\n outline: none;\n border-left: 1px dotted currentColor;\n margin-right: -0.2em;\n }\n :host([hidden]) {\n display: none !important;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_63a0c7b01e5811ed81a80d03c17d190b || (_templateObject2_63a0c7b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n outline: 1px dotted currentColor;\n }\n :host(:empty) {\n outline: none;\n border-left: 1px dotted currentColor;\n margin-right: -0.2em;\n }\n :host([hidden]) {\n display: none !important;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-prompt.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-prompt.js index e4d8b40ee06..4b4958f6679 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-prompt.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-prompt.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt }); _exports.RichTextEditorPrompt = void 0; - var _templateObject_9f10ef901da511ed9d313b9780b2ae17, _templateObject2_9f10ef901da511ed9d313b9780b2ae17; + var _templateObject_63a4e6601e5811ed81a80d03c17d190b, _templateObject2_63a4e6601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -58,7 +58,7 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt babelHelpers.createClass(RichTextEditorPrompt, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_9f10ef901da511ed9d313b9780b2ae17 || (_templateObject_9f10ef901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n \n \n \n \n
        \n \n \n "])), !this.hidden || !this.__highlight.hidden, this.__highlight ? this.__highlight.id : "", this.hidden || this.__highlight.hidden, this.__highlight, this._handleBlur, this._handleFocus, this.fields, this._handleReady, this.value, this.__highlight ? this.__highlight.id : "", this._cancel, this.__highlight ? this.__highlight.id : "", this._confirm); + return (0, _index.html)(_templateObject_63a4e6601e5811ed81a80d03c17d190b || (_templateObject_63a4e6601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n \n \n \n \n
        \n \n \n "])), !this.hidden || !this.__highlight.hidden, this.__highlight ? this.__highlight.id : "", this.hidden || this.__highlight.hidden, this.__highlight, this._handleBlur, this._handleFocus, this.fields, this._handleReady, this.value, this.__highlight ? this.__highlight.id : "", this._cancel, this.__highlight ? this.__highlight.id : "", this._confirm); } /** * Store tag name to make it easier to obtain directly. @@ -225,7 +225,7 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _index.css)(_templateObject2_9f10ef901da511ed9d313b9780b2ae17 || (_templateObject2_9f10ef901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n #prompt {\n display: block;\n width: 300px;\n max-width: 300px;\n --simple-popover-padding: 0px;\n z-index: 2;\n }\n #prompt[hidden] {\n display: none;\n }\n #prompt #form {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n z-index: 2;\n }\n #formfields {\n width: calc(100% - 20px);\n padding: 10px 10px 0;\n overflow: visible;\n }\n #prompt simple-fields-field {\n padding: 0;\n }\n #confirm,\n #cancel {\n min-width: unset;\n }\n #cancel {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #cancel:focus,\n #cancel:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n #confirm {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #confirm:focus,\n #confirm:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n .actions {\n width: calc(100% - 20px);\n padding: 0 10px 3px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n }\n .confirm-or-cancel {\n min-width: 40px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _index.css)(_templateObject2_63a4e6601e5811ed81a80d03c17d190b || (_templateObject2_63a4e6601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n #prompt {\n display: block;\n width: 300px;\n max-width: 300px;\n --simple-popover-padding: 0px;\n z-index: 2;\n }\n #prompt[hidden] {\n display: none;\n }\n #prompt #form {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n z-index: 2;\n }\n #formfields {\n width: calc(100% - 20px);\n padding: 10px 10px 0;\n overflow: visible;\n }\n #prompt simple-fields-field {\n padding: 0;\n }\n #confirm,\n #cancel {\n min-width: unset;\n }\n #cancel {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #cancel:focus,\n #cancel:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n #confirm {\n color: var(--rich-text-editor-button-color);\n background-color: var(--rich-text-editor-button-bg);\n }\n #confirm:focus,\n #confirm:hover {\n color: var(--rich-text-editor-button-hover-color);\n background-color: var(--rich-text-editor-button-hover-bg);\n }\n .actions {\n width: calc(100% - 20px);\n padding: 0 10px 3px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n }\n .confirm-or-cancel {\n min-width: 40px;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-range-behaviors.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-range-behaviors.js index 6b4b2d31ecc..5e501ed5fbb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-range-behaviors.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-range-behaviors.js @@ -6,6 +6,8 @@ define(["exports", "./rich-text-editor-highlight.js", "./rich-text-editor-clipbo }); _exports.RichTextEditorRangeBehaviors = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -150,8 +152,8 @@ define(["exports", "./rich-text-editor-highlight.js", "./rich-text-editor-clipbo this.__clipboard.setClipboard(); - setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { - return regeneratorRuntime.wrap(function _callee$(_context) { + setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-source.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-source.js index c3120e77ed9..6ed75591938 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-source.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/singletons/rich-text-editor-source.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../lit/index.js"], function (_exports, _ _exports.RichTextEditorSource = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_9f1f95901da511ed9d313b9780b2ae17, _templateObject2_9f1f95901da511ed9d313b9780b2ae17; + var _templateObject_63b97fd01e5811ed81a80d03c17d190b, _templateObject2_63b97fd01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -71,7 +71,7 @@ define(["exports", "require", "../../../../lit/index.js"], function (_exports, _ key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_9f1f95901da511ed9d313b9780b2ae17 || (_templateObject_9f1f95901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n
        \n \n
        \n \n \n
        "])), this._handleSourceChange); + return (0, _index.html)(_templateObject_63b97fd01e5811ed81a80d03c17d190b || (_templateObject_63b97fd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n
        \n \n
        \n \n \n
        "])), this._handleSourceChange); } }, { key: "firstUpdated", @@ -147,7 +147,7 @@ define(["exports", "require", "../../../../lit/index.js"], function (_exports, _ key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_9f1f95901da511ed9d313b9780b2ae17 || (_templateObject2_9f1f95901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n\n :host([disabled]),\n :host([view-source]) {\n outline: none !important;\n }\n #container {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n width: 100%;\n }\n #source,\n #wysiwyg {\n margin: 0;\n padding: 0;\n min-height: var(--rich-text-editor-min-height, 20px);\n cursor: pointer;\n outline: none;\n overflow: auto;\n resize: horizontal;\n }\n #source {\n flex: 1 1 auto;\n min-width: 300px;\n padding-bottom: 20px;\n }\n #wysiwyg {\n flex: 0 1 auto;\n display: block;\n margin-left: 10px;\n max-height: 70vh;\n overflow-x: hidden;\n resize: auto;\n }\n #source:hover,\n #source:focus-within {\n outline: var(--rich-text-editor-border-width, 1px)\n var(--rich-text-editor-focus-border-style, 1px)\n var(--rich-text-editor-focus-color, blue);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_63b97fd01e5811ed81a80d03c17d190b || (_templateObject2_63b97fd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n\n :host([disabled]),\n :host([view-source]) {\n outline: none !important;\n }\n #container {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n width: 100%;\n }\n #source,\n #wysiwyg {\n margin: 0;\n padding: 0;\n min-height: var(--rich-text-editor-min-height, 20px);\n cursor: pointer;\n outline: none;\n overflow: auto;\n resize: horizontal;\n }\n #source {\n flex: 1 1 auto;\n min-width: 300px;\n padding-bottom: 20px;\n }\n #wysiwyg {\n flex: 0 1 auto;\n display: block;\n margin-left: 10px;\n max-height: 70vh;\n overflow-x: hidden;\n resize: auto;\n }\n #source:hover,\n #source:focus-within {\n outline: var(--rich-text-editor-border-width, 1px)\n var(--rich-text-editor-focus-border-style, 1px)\n var(--rich-text-editor-focus-color, blue);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumb.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumb.dev.js index f19032d4428..db87a5f4455 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumb.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumb.dev.js @@ -23,10 +23,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_bab225c01da511ed9d313b9780b2ae17() { +function _templateObject2_78ae7d501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #button {\n font-family: monospace;\n display: inline-block;\n text-align: center;\n min-width: 25px;\n margin: 0;\n padding: 2px 5px;\n }\n\xA0\xA0\xA0\xA0\xA0\xA0"]); - _templateObject2_bab225c01da511ed9d313b9780b2ae17 = function _templateObject2_bab225c01da511ed9d313b9780b2ae17() { + _templateObject2_78ae7d501e5811ed81a80d03c17d190b = function _templateObject2_78ae7d501e5811ed81a80d03c17d190b() { return data; }; @@ -55,10 +55,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_bab225c01da511ed9d313b9780b2ae17() { +function _templateObject_78ae7d501e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject_bab225c01da511ed9d313b9780b2ae17 = function _templateObject_bab225c01da511ed9d313b9780b2ae17() { + _templateObject_78ae7d501e5811ed81a80d03c17d190b = function _templateObject_78ae7d501e5811ed81a80d03c17d190b() { return data; }; @@ -159,7 +159,7 @@ var RichTextEditorBreadcrumb = /*#__PURE__*/function (_LitElement) { _createClass(RichTextEditorBreadcrumb, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_bab225c01da511ed9d313b9780b2ae17(), this.controls, this._handleClick, this.label); + return (0, _litElement.html)(_templateObject_78ae7d501e5811ed81a80d03c17d190b(), this.controls, this._handleClick, this.label); } }], [{ key: "tag", @@ -173,7 +173,7 @@ var RichTextEditorBreadcrumb = /*#__PURE__*/function (_LitElement) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _litElement.css)(_templateObject2_bab225c01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _litElement.css)(_templateObject2_78ae7d501e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumbs.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumbs.dev.js index 6fd117bce0f..bb90554dc97 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumbs.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-breadcrumbs.dev.js @@ -23,10 +23,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject4_bab496c01da511ed9d313b9780b2ae17() { +function _templateObject4_78b003f01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: var(--rich-text-editor-bg, #ffffff);\n color: var(--rich-text-editor-button-color #444);\n border: var(--rich-text-editor-border-width, 1px) solid var(--rich-text-editor-border-color, #ddd);\n padding: 3px 10px;\n }\n :host([sticky]) {\n position: sticky;\n bottom: 0;\n }\n .selectednode {\n background-color: var(--rich-text-editor-button-bg, #ffffff);\n }\n button {\n display: inline-block;\n text-align: center;\n min-width: 25px;\n margin: 0;\n padding: 2px 5px;\n }\n .selectNode {\n font-family: monospace;\n }\n\xA0\xA0\xA0\xA0\xA0\xA0"]); - _templateObject4_bab496c01da511ed9d313b9780b2ae17 = function _templateObject4_bab496c01da511ed9d313b9780b2ae17() { + _templateObject4_78b003f01e5811ed81a80d03c17d190b = function _templateObject4_78b003f01e5811ed81a80d03c17d190b() { return data; }; @@ -55,30 +55,30 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject3_bab496c01da511ed9d313b9780b2ae17() { +function _templateObject3_78b003f01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([' > ']); - _templateObject3_bab496c01da511ed9d313b9780b2ae17 = function _templateObject3_bab496c01da511ed9d313b9780b2ae17() { + _templateObject3_78b003f01e5811ed81a80d03c17d190b = function _templateObject3_78b003f01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_bab496c01da511ed9d313b9780b2ae17() { +function _templateObject2_78b003f01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n ", "\n "]); - _templateObject2_bab496c01da511ed9d313b9780b2ae17 = function _templateObject2_bab496c01da511ed9d313b9780b2ae17() { + _templateObject2_78b003f01e5811ed81a80d03c17d190b = function _templateObject2_78b003f01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_bab496c01da511ed9d313b9780b2ae17() { +function _templateObject_78b003f01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n ", ":\n ", "\n "]); - _templateObject_bab496c01da511ed9d313b9780b2ae17 = function _templateObject_bab496c01da511ed9d313b9780b2ae17() { + _templateObject_78b003f01e5811ed81a80d03c17d190b = function _templateObject_78b003f01e5811ed81a80d03c17d190b() { return data; }; @@ -273,16 +273,16 @@ var RichTextEditorBreadcrumbs = /*#__PURE__*/function (_LitElement) { value: function render() { var _this2 = this; - return (0, _litElement.html)(_templateObject_bab496c01da511ed9d313b9780b2ae17(), this.label, !this.selectionAncestors ? "" : (this.selectionAncestors || []).map(function (ancestor, i) { - return (0, _litElement.html)(_templateObject2_bab496c01da511ed9d313b9780b2ae17(), ancestor.selectAll ? "" : "selectnode", _this2.controls, function (e) { + return (0, _litElement.html)(_templateObject_78b003f01e5811ed81a80d03c17d190b(), this.label, !this.selectionAncestors ? "" : (this.selectionAncestors || []).map(function (ancestor, i) { + return (0, _litElement.html)(_templateObject2_78b003f01e5811ed81a80d03c17d190b(), ancestor.selectAll ? "" : "selectnode", _this2.controls, function (e) { return _this2._handleClick(ancestor); - }, ancestor.nodeName.toLowerCase(), i + 1 >= (_this2.selectionAncestors || []).length ? "" : (0, _litElement.html)(_templateObject3_bab496c01da511ed9d313b9780b2ae17())); + }, ancestor.nodeName.toLowerCase(), i + 1 >= (_this2.selectionAncestors || []).length ? "" : (0, _litElement.html)(_templateObject3_78b003f01e5811ed81a80d03c17d190b())); })); } }], [{ key: "styles", get: function get() { - return [].concat(_toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _litElement.css)(_templateObject4_bab496c01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _litElement.css)(_templateObject4_78b003f01e5811ed81a80d03c17d190b())]); } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar-mini.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar-mini.dev.js index 7461d3e8133..f0797b91bf6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar-mini.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar-mini.dev.js @@ -47,10 +47,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_bac49c501da511ed9d313b9780b2ae17() { +function _templateObject_78bf46301e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([" ", " "]); - _templateObject_bac49c501da511ed9d313b9780b2ae17 = function _templateObject_bac49c501da511ed9d313b9780b2ae17() { + _templateObject_78bf46301e5811ed81a80d03c17d190b = function _templateObject_78bf46301e5811ed81a80d03c17d190b() { return data; }; @@ -188,7 +188,7 @@ var RichTextEditorToolbarMini = /*#__PURE__*/function (_RichTextEditorToolba) { key: "render", // properties available to the custom element for data binding value: function render() { - return (0, _litElement.html)(_templateObject_bac49c501da511ed9d313b9780b2ae17(), _get(_getPrototypeOf(RichTextEditorToolbarMini.prototype), "miniTemplate", this)); + return (0, _litElement.html)(_templateObject_78bf46301e5811ed81a80d03c17d190b(), _get(_getPrototypeOf(RichTextEditorToolbarMini.prototype), "miniTemplate", this)); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar.dev.js index f7a5f4ae6ad..5445ee4f6bb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/dist/rich-text-editor-toolbar.dev.js @@ -136,10 +136,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject3_bad0aa401da511ed9d313b9780b2ae17() { +function _templateObject3_78bd98801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(--rich-text-editor-bg, #ffffff);\n }\n #morebutton::part(button) {\n border-radius: var(\n --rich-text-editor-button-disabled-border-radius,\n 0px\n );\n }\n "]); - _templateObject3_bad0aa401da511ed9d313b9780b2ae17 = function _templateObject3_bad0aa401da511ed9d313b9780b2ae17() { + _templateObject3_78bd98801e5811ed81a80d03c17d190b = function _templateObject3_78bd98801e5811ed81a80d03c17d190b() { return data; }; @@ -168,20 +168,20 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject2_bad0aa401da511ed9d313b9780b2ae17() { +function _templateObject2_78bd98801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n position: relative;\n height: 0;\n margin: 0 auto;\n padding: 0;\n border: none;\n background-color: none;\n }\n #container {\n display: flex;\n position: absolute;\n bottom: 0;\n margin: 0 auto;\n padding: 0;\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(\n --rich-text-editor-bg,\n var(--rich-text-editor-bg, #ffffff)\n );\n }\n "]); - _templateObject2_bad0aa401da511ed9d313b9780b2ae17 = function _templateObject2_bad0aa401da511ed9d313b9780b2ae17() { + _templateObject2_78bd98801e5811ed81a80d03c17d190b = function _templateObject2_78bd98801e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_bad0aa401da511ed9d313b9780b2ae17() { +function _templateObject_78bd98801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['
        ', "
        "]); - _templateObject_bad0aa401da511ed9d313b9780b2ae17 = function _templateObject_bad0aa401da511ed9d313b9780b2ae17() { + _templateObject_78bd98801e5811ed81a80d03c17d190b = function _templateObject_78bd98801e5811ed81a80d03c17d190b() { return data; }; @@ -930,7 +930,7 @@ var RichTextEditorToolbarBehaviors = function RichTextEditorToolbarBehaviors(Sup }, { key: "miniTemplate", get: function get() { - return (0, _litElement.html)(_templateObject_bad0aa401da511ed9d313b9780b2ae17(), _get(_getPrototypeOf(_class.prototype), "toolbarTemplate", this)); + return (0, _litElement.html)(_templateObject_78bd98801e5811ed81a80d03c17d190b(), _get(_getPrototypeOf(_class.prototype), "toolbarTemplate", this)); } /** * default toolbar template uses simple-toolbar @@ -962,7 +962,7 @@ var RichTextEditorToolbarBehaviors = function RichTextEditorToolbarBehaviors(Sup }, { key: "miniStyles", get: function get() { - return [(0, _litElement.css)(_templateObject2_bad0aa401da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_78bd98801e5811ed81a80d03c17d190b())]; } /** * base styles toolbar: simple toolbar base styles + custom styles for rich text @@ -974,7 +974,7 @@ var RichTextEditorToolbarBehaviors = function RichTextEditorToolbarBehaviors(Sup }, { key: "baseStyles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "baseStyles", this)), _toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _litElement.css)(_templateObject3_bad0aa401da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "baseStyles", this)), _toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _litElement.css)(_templateObject3_78bd98801e5811ed81a80d03c17d190b())]); } /** * default styles for toolbar: base + simple-toolbar sticky styles diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-breadcrumbs.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-breadcrumbs.js index b6fabb35e1a..7150c25f60b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-breadcrumbs.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-breadcrumbs.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt }); _exports.RichTextEditorBreadcrumbs = void 0; - var _templateObject_9f21b8701da511ed9d313b9780b2ae17, _templateObject2_9f21b8701da511ed9d313b9780b2ae17, _templateObject3_9f21b8701da511ed9d313b9780b2ae17, _templateObject4_9f21b8701da511ed9d313b9780b2ae17; + var _templateObject_63bb54901e5811ed81a80d03c17d190b, _templateObject2_63bb54901e5811ed81a80d03c17d190b, _templateObject3_63bb54901e5811ed81a80d03c17d190b, _templateObject4_63bb54901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -66,10 +66,10 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_9f21b8701da511ed9d313b9780b2ae17 || (_templateObject_9f21b8701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", ":\n ", "\n "])), this.label, !this.selectionAncestors ? "" : (this.selectionAncestors || []).map(function (ancestor, i) { - return (0, _index.html)(_templateObject2_9f21b8701da511ed9d313b9780b2ae17 || (_templateObject2_9f21b8701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n "])), !!ancestor.selectAll ? "" : "selectnode", _this2.controls, function (e) { + return (0, _index.html)(_templateObject_63bb54901e5811ed81a80d03c17d190b || (_templateObject_63bb54901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", ":\n ", "\n "])), this.label, !this.selectionAncestors ? "" : (this.selectionAncestors || []).map(function (ancestor, i) { + return (0, _index.html)(_templateObject2_63bb54901e5811ed81a80d03c17d190b || (_templateObject2_63bb54901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n "])), !!ancestor.selectAll ? "" : "selectnode", _this2.controls, function (e) { return _this2._handleClick(ancestor); - }, ancestor.nodeName.toLowerCase(), i + 1 >= (_this2.selectionAncestors || []).length ? "" : (0, _index.html)(_templateObject3_9f21b8701da511ed9d313b9780b2ae17 || (_templateObject3_9f21b8701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" > "])))); + }, ancestor.nodeName.toLowerCase(), i + 1 >= (_this2.selectionAncestors || []).length ? "" : (0, _index.html)(_templateObject3_63bb54901e5811ed81a80d03c17d190b || (_templateObject3_63bb54901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" > "])))); })); } }], [{ @@ -127,7 +127,7 @@ define(["exports", "../../../../lit/index.js", "../buttons/rich-text-editor-butt }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _index.css)(_templateObject4_9f21b8701da511ed9d313b9780b2ae17 || (_templateObject4_9f21b8701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: var(--rich-text-editor-bg, #ffffff);\n color: var(--rich-text-editor-button-color #444);\n border: var(--rich-text-editor-border-width, 1px) solid var(--rich-text-editor-border-color, #ddd);\n padding: 3px 10px;\n }\n :host([sticky]) {\n position: sticky;\n bottom: 0;\n }\n .selectednode {\n background-color: var(--rich-text-editor-button-bg, #ffffff);\n }\n button {\n display: inline-block;\n text-align: center;\n min-width: 25px;\n margin: 0;\n padding: 2px 5px;\n }\n .selectNode {\n font-family: monospace;\n }\n\xA0\xA0\xA0\xA0\xA0\xA0"])))]); + return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextToolbarStyles), [(0, _index.css)(_templateObject4_63bb54901e5811ed81a80d03c17d190b || (_templateObject4_63bb54901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n background-color: var(--rich-text-editor-bg, #ffffff);\n color: var(--rich-text-editor-button-color #444);\n border: var(--rich-text-editor-border-width, 1px) solid var(--rich-text-editor-border-color, #ddd);\n padding: 3px 10px;\n }\n :host([sticky]) {\n position: sticky;\n bottom: 0;\n }\n .selectednode {\n background-color: var(--rich-text-editor-button-bg, #ffffff);\n }\n button {\n display: inline-block;\n text-align: center;\n min-width: 25px;\n margin: 0;\n padding: 2px 5px;\n }\n .selectNode {\n font-family: monospace;\n }\n\xA0\xA0\xA0\xA0\xA0\xA0"])))]); } }]); return RichTextEditorBreadcrumbs; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar-mini.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar-mini.js index 2a3651054f2..3c2cc1e8893 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar-mini.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar-mini.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-toolbar.js", }); _exports.RichTextEditorToolbarMini = void 0; - var _templateObject_9f25b0101da511ed9d313b9780b2ae17; + var _templateObject_63bf25201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -43,7 +43,7 @@ define(["exports", "../../../../lit/index.js", "./rich-text-editor-toolbar.js", key: "render", value: // properties available to the custom element for data binding function render() { - return (0, _index.html)(_templateObject_9f25b0101da511ed9d313b9780b2ae17 || (_templateObject_9f25b0101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " "])), babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorToolbarMini.prototype), "miniTemplate", this)); + return (0, _index.html)(_templateObject_63bf25201e5811ed81a80d03c17d190b || (_templateObject_63bf25201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " "])), babelHelpers.get(babelHelpers.getPrototypeOf(RichTextEditorToolbarMini.prototype), "miniTemplate", this)); } }, { key: "updated", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar.js index 07a8d362fe5..eead7a08d7e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/lib/toolbars/rich-text-editor-toolbar.js @@ -8,7 +8,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-toolb _require = _interopRequireWildcard(_require); shadow = _interopRequireWildcard(shadow); - var _templateObject_9f395f201da511ed9d313b9780b2ae17, _templateObject2_9f395f201da511ed9d313b9780b2ae17, _templateObject3_9f395f201da511ed9d313b9780b2ae17; + var _templateObject_63d2ad201e5811ed81a80d03c17d190b, _templateObject2_63d2ad201e5811ed81a80d03c17d190b, _templateObject3_63d2ad201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -835,7 +835,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-toolb }, { key: "miniTemplate", get: function get() { - return (0, _index.html)(_templateObject_9f395f201da511ed9d313b9780b2ae17 || (_templateObject_9f395f201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "toolbarTemplate", this)); + return (0, _index.html)(_templateObject_63d2ad201e5811ed81a80d03c17d190b || (_templateObject_63d2ad201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), babelHelpers.get(babelHelpers.getPrototypeOf(_class.prototype), "toolbarTemplate", this)); } /** * default toolbar template uses simple-toolbar @@ -1662,7 +1662,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-toolb }, { key: "miniStyles", get: function get() { - return [(0, _index.css)(_templateObject2_9f395f201da511ed9d313b9780b2ae17 || (_templateObject2_9f395f201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n height: 0;\n margin: 0 auto;\n padding: 0;\n border: none;\n background-color: none;\n }\n #container {\n display: flex;\n position: absolute;\n bottom: 0;\n margin: 0 auto;\n padding: 0;\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(\n --rich-text-editor-bg,\n var(--rich-text-editor-bg, #ffffff)\n );\n }\n "])))]; + return [(0, _index.css)(_templateObject2_63d2ad201e5811ed81a80d03c17d190b || (_templateObject2_63d2ad201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n position: relative;\n height: 0;\n margin: 0 auto;\n padding: 0;\n border: none;\n background-color: none;\n }\n #container {\n display: flex;\n position: absolute;\n bottom: 0;\n margin: 0 auto;\n padding: 0;\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(\n --rich-text-editor-bg,\n var(--rich-text-editor-bg, #ffffff)\n );\n }\n "])))]; } /** * base styles toolbar: simple toolbar base styles + custom styles for rich text @@ -1674,7 +1674,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../../simple-toolb }, { key: "baseStyles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "baseStyles", this)), babelHelpers.toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _index.css)(_templateObject3_9f395f201da511ed9d313b9780b2ae17 || (_templateObject3_9f395f201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(--rich-text-editor-bg, #ffffff);\n }\n #morebutton::part(button) {\n border-radius: var(\n --rich-text-editor-button-disabled-border-radius,\n 0px\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "baseStyles", this)), babelHelpers.toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _index.css)(_templateObject3_63d2ad201e5811ed81a80d03c17d190b || (_templateObject3_63d2ad201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n border: var(--rich-text-editor-border-width, 1px) solid\n var(--rich-text-editor-border-color, #ddd);\n background-color: var(--rich-text-editor-bg, #ffffff);\n }\n #morebutton::part(button) {\n border-radius: var(\n --rich-text-editor-button-disabled-border-radius,\n 0px\n );\n }\n "])))]); } /** * default styles for toolbar: base + simple-toolbar sticky styles diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/rich-text-editor.js b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/rich-text-editor.js index 31e572a31cc..88287896cc8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/rich-text-editor.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rich-text-editor/rich-text-editor.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/buttons/rich-text-editor-button. }); _exports.RichTextEditorBehaviors = _exports.RichTextEditor = void 0; - var _templateObject_48beda301da511ed9d313b9780b2ae17, _templateObject2_48beda301da511ed9d313b9780b2ae17; + var _templateObject_1d7622301e5811ed81a80d03c17d190b, _templateObject2_1d7622301e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -60,7 +60,7 @@ define(["exports", "../../lit/index.js", "./lib/buttons/rich-text-editor-button. function render() { var _this2 = this; - return (0, _index.html)(_templateObject_48beda301da511ed9d313b9780b2ae17 || (_templateObject_48beda301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n "])), function (e) { + return (0, _index.html)(_templateObject_1d7622301e5811ed81a80d03c17d190b || (_templateObject_1d7622301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n "])), function (e) { return _this2.__focused = true; }, function (e) { return _this2.__focused = false; @@ -205,7 +205,7 @@ define(["exports", "../../lit/index.js", "./lib/buttons/rich-text-editor-button. key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _index.css)(_templateObject2_48beda301da511ed9d313b9780b2ae17 || (_templateObject2_48beda301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n :host([disabled]) {\n cursor: not-allowed;\n }\n :host(:empty) {\n opacity: 0.7;\n }\n :host(:focus) {\n outline: none;\n }\n\n :host(.heightmax[contenteditable=\"true\"]) {\n max-height: calc(100vh - 200px);\n overflow-y: scroll;\n }\n\n #container,\n #wysiwyg {\n display: block;\n width: 100%;\n }\n #source,\n #wysiwyg {\n margin: 0;\n padding: 0;\n min-height: var(--rich-text-editor-min-height, 20px);\n cursor: pointer;\n outline: none;\n flex: 1 1 100%;\n width: 100%;\n }\n :host(:empty) {\n min-height: 20px;\n }\n :host(:empty)::after {\n display: block;\n content: attr(aria-placeholder);\n }\n\n :host(:hover),\n :host(:focus-within) {\n opacity: 1;\n outline: var(--rich-text-editor-border-width, 1px) dotted\n var(--rich-text-editor-focus-color, currentColor);\n }\n :host([disabled]),\n :host([view-source]) {\n outline: none !important;\n }\n\n #source:hover,\n #source:focus-within {\n outline: var(--rich-text-editor-border-width, 1px) dotted\n var(--rich-text-editor-focus-color, currentColor);\n }\n :host([contenteditable=\"true\"][view-source]) #container {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n width: 100%;\n }\n :host([contenteditable=\"true\"][view-source]) #source,\n :host([contenteditable=\"true\"][view-source]) #wysiwyg {\n resize: horizontal;\n overflow: auto;\n flex: 1 1 auto;\n width: 50%;\n }\n :host([contenteditable=\"true\"][view-source]) #source {\n min-width: 300px;\n }\n :host([contenteditable=\"true\"][view-source]) #wysiwyg {\n cursor: not-allowed;\n margin-right: 10px;\n width: calc(50% - 10px);\n }\n ::slotted(*:first-child) {\n margin-top: 0px;\n }\n ::slotted(*:last-child) {\n margin-bottom: 0px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(_richTextEditorButton.RichTextStyles), [(0, _index.css)(_templateObject2_1d7622301e5811ed81a80d03c17d190b || (_templateObject2_1d7622301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([hidden]) {\n display: none;\n }\n :host([disabled]) {\n cursor: not-allowed;\n }\n :host(:empty) {\n opacity: 0.7;\n }\n :host(:focus) {\n outline: none;\n }\n\n :host(.heightmax[contenteditable=\"true\"]) {\n max-height: calc(100vh - 200px);\n overflow-y: scroll;\n }\n\n #container,\n #wysiwyg {\n display: block;\n width: 100%;\n }\n #source,\n #wysiwyg {\n margin: 0;\n padding: 0;\n min-height: var(--rich-text-editor-min-height, 20px);\n cursor: pointer;\n outline: none;\n flex: 1 1 100%;\n width: 100%;\n }\n :host(:empty) {\n min-height: 20px;\n }\n :host(:empty)::after {\n display: block;\n content: attr(aria-placeholder);\n }\n\n :host(:hover),\n :host(:focus-within) {\n opacity: 1;\n outline: var(--rich-text-editor-border-width, 1px) dotted\n var(--rich-text-editor-focus-color, currentColor);\n }\n :host([disabled]),\n :host([view-source]) {\n outline: none !important;\n }\n\n #source:hover,\n #source:focus-within {\n outline: var(--rich-text-editor-border-width, 1px) dotted\n var(--rich-text-editor-focus-color, currentColor);\n }\n :host([contenteditable=\"true\"][view-source]) #container {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n width: 100%;\n }\n :host([contenteditable=\"true\"][view-source]) #source,\n :host([contenteditable=\"true\"][view-source]) #wysiwyg {\n resize: horizontal;\n overflow: auto;\n flex: 1 1 auto;\n width: 50%;\n }\n :host([contenteditable=\"true\"][view-source]) #source {\n min-width: 300px;\n }\n :host([contenteditable=\"true\"][view-source]) #wysiwyg {\n cursor: not-allowed;\n margin-right: 10px;\n width: calc(50% - 10px);\n }\n ::slotted(*:first-child) {\n margin-top: 0px;\n }\n ::slotted(*:last-child) {\n margin-bottom: 0px;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rpg-character/rpg-character.js b/build/es5-amd/node_modules/@lrnwebcomponents/rpg-character/rpg-character.js index 0ad23502da6..bdd36b6aac6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rpg-character/rpg-character.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rpg-character/rpg-character.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors _exports.RpgCharacter = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_48ca72f01da511ed9d313b9780b2ae17, _templateObject2_48ca72f01da511ed9d313b9780b2ae17, _templateObject3_48ca72f01da511ed9d313b9780b2ae17, _templateObject4_48ca72f01da511ed9d313b9780b2ae17; + var _templateObject_1d7dc3501e5811ed81a80d03c17d190b, _templateObject2_1d7dc3501e5811ed81a80d03c17d190b, _templateObject3_1d7dc3501e5811ed81a80d03c17d190b, _templateObject4_1d7dc3501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -120,12 +120,12 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors var hatColor = new URL("./lib/hatColor/".concat(this.hatColor, ".svg"), meta.url).href; var fire = new URL("./lib/base/fire.svg", meta.url).href; var circle = new URL("./lib/circle.svg", meta.url).href; - return (0, _index.html)(_templateObject_48ca72f01da511ed9d313b9780b2ae17 || (_templateObject_48ca72f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n ", "\n ", " ", "\n ", " ", "\n ", " ", "\n ", "\n ", " ", "\n ", "\n ", "\n
        \n ", "\n \n "])), this.renderPiece(skin), this.base === 1 ? this.renderPiece(hair) : "", this.renderPiece(face), this.renderPiece(faceItem), this.renderPiece(shirt), this.renderPiece(pants), this.renderPiece(accessories), this.renderPiece(base), this.leg !== "" ? this.renderPiece(leg) : "", this.renderPiece(hatColor), this.fire ? this.renderPiece(fire) : "", hatFileName !== "none" ? this.renderPiece(hat) : "", this.circle ? this.renderPiece(circle) : "", this.demo ? (0, _index.html)(_templateObject2_48ca72f01da511ed9d313b9780b2ae17 || (_templateObject2_48ca72f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), this.seed) : "", this.accentColor, this.width + "px", this.height + "px"); + return (0, _index.html)(_templateObject_1d7dc3501e5811ed81a80d03c17d190b || (_templateObject_1d7dc3501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n ", "\n ", " ", "\n ", " ", "\n ", " ", "\n ", "\n ", " ", "\n ", "\n ", "\n
        \n ", "\n \n "])), this.renderPiece(skin), this.base === 1 ? this.renderPiece(hair) : "", this.renderPiece(face), this.renderPiece(faceItem), this.renderPiece(shirt), this.renderPiece(pants), this.renderPiece(accessories), this.renderPiece(base), this.leg !== "" ? this.renderPiece(leg) : "", this.renderPiece(hatColor), this.fire ? this.renderPiece(fire) : "", hatFileName !== "none" ? this.renderPiece(hat) : "", this.circle ? this.renderPiece(circle) : "", this.demo ? (0, _index.html)(_templateObject2_1d7dc3501e5811ed81a80d03c17d190b || (_templateObject2_1d7dc3501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        ", "
        "])), this.seed) : "", this.accentColor, this.width + "px", this.height + "px"); } }, { key: "renderPiece", value: function renderPiece(piece) { - return (0, _index.svg)(_templateObject3_48ca72f01da511ed9d313b9780b2ae17 || (_templateObject3_48ca72f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.width, this.height, piece, this.width, this.height); + return (0, _index.svg)(_templateObject3_1d7dc3501e5811ed81a80d03c17d190b || (_templateObject3_1d7dc3501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.width, this.height, piece, this.width, this.height); } }, { key: "updated", @@ -323,7 +323,7 @@ define(["exports", "meta", "../../lit/index.js", "../simple-colors/simple-colors styles = babelHelpers.get(babelHelpers.getPrototypeOf(RpgCharacter), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject4_48ca72f01da511ed9d313b9780b2ae17 || (_templateObject4_48ca72f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n margin: 0;\n padding: 0;\n text-align: initial;\n position: relative;\n }\n svg,\n img {\n position: absolute;\n margin: 0;\n padding: 0;\n text-align: initial;\n }\n div {\n transition: 0.3s ease-in-out background-color;\n margin: 0;\n padding: 0;\n text-align: initial;\n }\n #demo {\n height: 30px;\n padding-top: 10px;\n text-align: center;\n background-color: black;\n color: white;\n font-weight: bold;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject4_1d7dc3501e5811ed81a80d03c17d190b || (_templateObject4_1d7dc3501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n margin: 0;\n padding: 0;\n text-align: initial;\n position: relative;\n }\n svg,\n img {\n position: absolute;\n margin: 0;\n padding: 0;\n text-align: initial;\n }\n div {\n transition: 0.3s ease-in-out background-color;\n margin: 0;\n padding: 0;\n text-align: initial;\n }\n #demo {\n height: 30px;\n padding-top: 10px;\n text-align: center;\n background-color: black;\n color: white;\n font-weight: bold;\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/rss-items/rss-items.js b/build/es5-amd/node_modules/@lrnwebcomponents/rss-items/rss-items.js index 0267c43abab..df27d1a4931 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/rss-items/rss-items.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/rss-items/rss-items.js @@ -7,7 +7,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- _exports.RssItems = void 0; meta = _interopRequireWildcard(meta); - var _templateObject_3abd57901da511ed9d313b9780b2ae17, _templateObject2_3abd57901da511ed9d313b9780b2ae17, _templateObject3_3abd57901da511ed9d313b9780b2ae17, _templateObject4_3abd57901da511ed9d313b9780b2ae17, _templateObject5_3abd57901da511ed9d313b9780b2ae17; + var _templateObject_0e63cbd01e5811ed81a80d03c17d190b, _templateObject2_0e63cbd01e5811ed81a80d03c17d190b, _templateObject3_0e63cbd01e5811ed81a80d03c17d190b, _templateObject4_0e63cbd01e5811ed81a80d03c17d190b, _templateObject5_0e63cbd01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -69,8 +69,8 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- function render() { var _this2 = this; - return (0, _index.html)(_templateObject_3abd57901da511ed9d313b9780b2ae17 || (_templateObject_3abd57901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", ""])), this.items.map(function (item) { - return (0, _index.html)(_templateObject2_3abd57901da511ed9d313b9780b2ae17 || (_templateObject2_3abd57901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.imageSrc ? (0, _index.html)(_templateObject3_3abd57901da511ed9d313b9780b2ae17 || (_templateObject3_3abd57901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), item.link, item.title, item.imageSrc, item.title) : "", item.link, item.title, _this2._truncateText(item.title, _this2.maxTitleLength), _this2._truncateText(item.excerpt, _this2.maxExcerptLength), _this2.showReadMore ? (0, _index.html)(_templateObject4_3abd57901da511ed9d313b9780b2ae17 || (_templateObject4_3abd57901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n \n "])), item.link, item.title, _this2.readMoreAnchorText, _this2.readMoreImageAlt) : ""); + return (0, _index.html)(_templateObject_0e63cbd01e5811ed81a80d03c17d190b || (_templateObject_0e63cbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", ""])), this.items.map(function (item) { + return (0, _index.html)(_templateObject2_0e63cbd01e5811ed81a80d03c17d190b || (_templateObject2_0e63cbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.imageSrc ? (0, _index.html)(_templateObject3_0e63cbd01e5811ed81a80d03c17d190b || (_templateObject3_0e63cbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), item.link, item.title, item.imageSrc, item.title) : "", item.link, item.title, _this2._truncateText(item.title, _this2.maxTitleLength), _this2._truncateText(item.excerpt, _this2.maxExcerptLength), _this2.showReadMore ? (0, _index.html)(_templateObject4_0e63cbd01e5811ed81a80d03c17d190b || (_templateObject4_0e63cbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n \n "])), item.link, item.title, _this2.readMoreAnchorText, _this2.readMoreImageAlt) : ""); })); } // haxProperty definition @@ -256,7 +256,7 @@ define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global- key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject5_3abd57901da511ed9d313b9780b2ae17 || (_templateObject5_3abd57901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n\n :host {\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n }\n\n :host * {\n box-sizing: border-box;\n }\n\n h3,\n p {\n margin: 0;\n }\n\n a {\n color: var(--primary-color, inherit);\n text-decoration: none;\n }\n\n article {\n margin-bottom: 2em;\n }\n\n .thumbnail-container {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 180px;\n }\n\n .thumbnail {\n width: 100%;\n height: 100%;\n transition: transform 0.5s ease-out;\n }\n\n .thumbnail-container:hover .thumbnail,\n .thumbnail-container:focus .thumbnail {\n transform: scale3d(1.3, 1.3, 1);\n }\n\n .title {\n min-height: 3em;\n margin: 1em 0 0.5em;\n }\n\n .excerpt {\n min-height: 6em;\n margin: 0.5em 0 2em;\n }\n\n @media (max-width: 599px) {\n .title,\n .excerpt {\n min-height: 0;\n }\n }\n\n @media (min-width: 600px) {\n article {\n flex: 1 1 40%;\n margin-right: 2em;\n }\n\n article:nth-of-type(2n),\n article:last-of-type {\n margin-right: 0;\n }\n }\n\n @media (min-width: 900px) {\n article {\n flex: 1 1 30%;\n }\n\n article:nth-of-type(2n) {\n margin-right: 2em;\n }\n\n article:nth-of-type(3n) {\n margin-right: 0;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject5_0e63cbd01e5811ed81a80d03c17d190b || (_templateObject5_0e63cbd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n\n :host {\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n }\n\n :host * {\n box-sizing: border-box;\n }\n\n h3,\n p {\n margin: 0;\n }\n\n a {\n color: var(--primary-color, inherit);\n text-decoration: none;\n }\n\n article {\n margin-bottom: 2em;\n }\n\n .thumbnail-container {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 180px;\n }\n\n .thumbnail {\n width: 100%;\n height: 100%;\n transition: transform 0.5s ease-out;\n }\n\n .thumbnail-container:hover .thumbnail,\n .thumbnail-container:focus .thumbnail {\n transform: scale3d(1.3, 1.3, 1);\n }\n\n .title {\n min-height: 3em;\n margin: 1em 0 0.5em;\n }\n\n .excerpt {\n min-height: 6em;\n margin: 0.5em 0 2em;\n }\n\n @media (max-width: 599px) {\n .title,\n .excerpt {\n min-height: 0;\n }\n }\n\n @media (min-width: 600px) {\n article {\n flex: 1 1 40%;\n margin-right: 2em;\n }\n\n article:nth-of-type(2n),\n article:last-of-type {\n margin-right: 0;\n }\n }\n\n @media (min-width: 900px) {\n article {\n flex: 1 1 30%;\n }\n\n article:nth-of-type(2n) {\n margin-right: 2em;\n }\n\n article:nth-of-type(3n) {\n margin-right: 0;\n }\n }\n "])))]; } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/sakai-button/sakai-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/sakai-button/sakai-button.js index edc7c699d62..403bd0f651a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/sakai-button/sakai-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/sakai-button/sakai-button.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.SakaiButton = void 0; - var _templateObject_48cce3f01da511ed9d313b9780b2ae17, _templateObject2_48cce3f01da511ed9d313b9780b2ae17; + var _templateObject_1d7f71001e5811ed81a80d03c17d190b, _templateObject2_1d7f71001e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -42,7 +42,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_48cce3f01da511ed9d313b9780b2ae17 || (_templateObject_48cce3f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject_1d7f71001e5811ed81a80d03c17d190b || (_templateObject_1d7f71001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } /** * Convention we use @@ -107,7 +107,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { styles = babelHelpers.get(babelHelpers.getPrototypeOf(SakaiButton), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_48cce3f01da511ed9d313b9780b2ae17 || (_templateObject2_48cce3f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_1d7f71001e5811ed81a80d03c17d190b || (_templateObject2_1d7f71001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/scroll-button/scroll-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/scroll-button/scroll-button.js index c97d0510f0e..4b19043565a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/scroll-button/scroll-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/scroll-button/scroll-button.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-icon/lib/ meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_48d521501da511ed9d313b9780b2ae17, _templateObject2_48d521501da511ed9d313b9780b2ae17; + var _templateObject_1d8516501e5811ed81a80d03c17d190b, _templateObject2_1d8516501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -85,7 +85,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-icon/lib/ }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_48d521501da511ed9d313b9780b2ae17 || (_templateObject_48d521501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n ", "\n "])), this.scrollEvent, this.icon, this._label, this.position, this._label); + return (0, _index.html)(_templateObject_1d8516501e5811ed81a80d03c17d190b || (_templateObject_1d8516501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n ", "\n "])), this.scrollEvent, this.icon, this._label, this.position, this._label); } // properties available to the custom element for data binding }, { @@ -118,7 +118,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-icon/lib/ }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_48d521501da511ed9d313b9780b2ae17 || (_templateObject2_48d521501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --scroll-button-z-index: 99;\n z-index: var(--scroll-button-z-index);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n simple-icon-button-lite {\n background-color: var(\n --scroll-button-background-color,\n rgba(0, 0, 0, 0.6)\n );\n color: var(--scroll-button-color, white);\n }\n\n simple-icon-button-lite:hover,\n simple-icon-button-lite:active,\n simple-icon-button-lite:focus {\n color: var(--scroll-button-background-color, rgba(0, 0, 0, 1));\n background-color: var(--scroll-button-color, white);\n }\n\n simple-tooltip {\n --simple-tooltip-background: var(\n --scroll-button-tooltip-background-color,\n #000000\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: var(\n --scroll-button-tooltip-color,\n #ffffff\n );\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1d8516501e5811ed81a80d03c17d190b || (_templateObject2_1d8516501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --scroll-button-z-index: 99;\n z-index: var(--scroll-button-z-index);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n simple-icon-button-lite {\n background-color: var(\n --scroll-button-background-color,\n rgba(0, 0, 0, 0.6)\n );\n color: var(--scroll-button-color, white);\n }\n\n simple-icon-button-lite:hover,\n simple-icon-button-lite:active,\n simple-icon-button-lite:focus {\n color: var(--scroll-button-background-color, rgba(0, 0, 0, 1));\n background-color: var(--scroll-button-color, white);\n }\n\n simple-tooltip {\n --simple-tooltip-background: var(\n --scroll-button-tooltip-background-color,\n #000000\n );\n --simple-tooltip-opacity: 1;\n --simple-tooltip-text-color: var(\n --scroll-button-tooltip-color,\n #ffffff\n );\n --simple-tooltip-delay-in: 0;\n --simple-tooltip-border-radius: 0;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/select-menu/select-menu.js b/build/es5-amd/node_modules/@lrnwebcomponents/select-menu/select-menu.js index 20f6ca6cc40..13bb8824c12 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/select-menu/select-menu.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/select-menu/select-menu.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js"], func _exports.SelectMenu = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_48de22001da511ed9d313b9780b2ae17; + var _templateObject_1da129d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -91,7 +91,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js"], func }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_48de22001da511ed9d313b9780b2ae17 || (_templateObject_48de22001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_1da129d01e5811ed81a80d03c17d190b || (_templateObject_1da129d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/self-check/self-check.js b/build/es5-amd/node_modules/@lrnwebcomponents/self-check/self-check.js index 0225276f48f..25013c6c8e1 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/self-check/self-check.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/self-check/self-check.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-colors/si meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_48e415701da511ed9d313b9780b2ae17, _templateObject2_48e415701da511ed9d313b9780b2ae17, _templateObject3_48e415701da511ed9d313b9780b2ae17; + var _templateObject_1da5e4c01e5811ed81a80d03c17d190b, _templateObject2_1da5e4c01e5811ed81a80d03c17d190b, _templateObject3_1da5e4c01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -82,7 +82,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-colors/si babelHelpers.createClass(SelfCheck, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_48e415701da511ed9d313b9780b2ae17 || (_templateObject_48e415701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n \n
        \n
        \n
        \n \n
        \n ", "\n
        \n
        \n
        \n \n \n
        \n \n \n ", "\n \n
        \n
        \n \n
        \n \n \n \n ", "\n
        \n \n \n \n ", "\n \n
        \n
        \n
        \n \n \n "])), this.renderSVGLoader(), this.image, this.alt, this.describedBy || "", !this.dark, this.title, this.correct ? "true" : "false", this.t.revealAnswer, this.dark, this.openAnswer, this.t.revealAnswer, this.correct ? "false" : "true", this.link ? (0, _index.html)(_templateObject2_48e415701da511ed9d313b9780b2ae17 || (_templateObject2_48e415701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.link, this.t.moreInformation) : "", this.t.close, !this.dark, this.openAnswer, this.t.close); + return (0, _index.html)(_templateObject_1da5e4c01e5811ed81a80d03c17d190b || (_templateObject_1da5e4c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n \n
        \n
        \n
        \n \n
        \n ", "\n
        \n
        \n
        \n \n \n
        \n \n \n ", "\n \n
        \n
        \n \n
        \n \n \n \n ", "\n
        \n \n \n \n ", "\n \n
        \n
        \n
        \n \n \n "])), this.renderSVGLoader(), this.image, this.alt, this.describedBy || "", !this.dark, this.title, this.correct ? "true" : "false", this.t.revealAnswer, this.dark, this.openAnswer, this.t.revealAnswer, this.correct ? "false" : "true", this.link ? (0, _index.html)(_templateObject2_1da5e4c01e5811ed81a80d03c17d190b || (_templateObject2_1da5e4c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n "])), this.link, this.t.moreInformation) : "", this.t.close, !this.dark, this.openAnswer, this.t.close); } /** * LitElement life cycle - property changed @@ -155,7 +155,7 @@ define(["exports", "meta", "require", "../../lit/index.js", "../simple-colors/si }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SelfCheck), "styles", this)), [(0, _index.css)(_templateObject3_48e415701da511ed9d313b9780b2ae17 || (_templateObject3_48e415701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n\n div.card {\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);\n width: 100%;\n color: var(\n --self-check-question-text,\n var(--simple-colors-default-theme-grey-12, #000)\n );\n background-color: var(\n --self-check-question-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n overflow: hidden;\n }\n\n simple-icon-button {\n --simple-icon-width: 24px;\n --simple-icon-height: 24px;\n position: relative;\n left: 10px;\n bottom: -10px;\n padding: 2px;\n }\n\n .check_button {\n display: flex;\n justify-content: flex-end;\n }\n .close_button {\n display: flex;\n justify-content: flex-end;\n }\n\n simple-icon#questionmark {\n --simple-icon-width: 35px;\n --simple-icon-height: 35px;\n padding: 5px;\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .heading {\n text-transform: uppercase;\n font-size: 22px;\n margin: 10px;\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n #header_wrap {\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n background-color: var(\n --self-check-heading-color,\n var(--simple-colors-default-theme-accent-8, #444)\n );\n display: flex;\n align-items: center;\n width: 100%;\n margin: -20px 0 0;\n }\n\n #question_wrap {\n color: var(\n --self-check-question-text,\n var(--simple-colors-default-theme-grey-12, #000)\n );\n background-color: var(\n --self-check-question-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n position: relative;\n }\n\n .question {\n font-size: 16px;\n padding: 15px 15px;\n }\n\n :host([correct]) .question {\n display: none;\n }\n\n #answer_wrap {\n visibility: hidden;\n opacity: 0;\n color: var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n background-color: var(\n --self-check-answer-color,\n var(--simple-colors-default-theme-light-green-11, #00762e)\n );\n border-top: 2px solid\n var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n width: 100%;\n top: 0;\n transition: all 0.2s ease;\n left: calc(100%);\n position: absolute;\n }\n\n :host([correct]) #answer_wrap {\n visibility: visible;\n opacity: 1;\n position: relative;\n left: 0;\n }\n\n .answer {\n font-size: 16px;\n padding: 15px;\n line-height: 19.2px;\n }\n\n #quote_start {\n display: inline-flex;\n transform: rotateY(180deg);\n }\n\n #quote_end {\n display: inline-flex;\n }\n\n .triangle {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-bottom: 20px solid\n var(\n --self-check-heading-color,\n var(--simple-colors-default-theme-accent-8, #444)\n );\n position: relative;\n top: -20px;\n left: -1px;\n }\n\n .more_info {\n display: inline;\n }\n\n .more_info a {\n color: var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .more_info a:hover {\n text-decoration: none;\n }\n .image-wrap {\n max-height: 400px;\n overflow: hidden;\n }\n ::slotted([slot=\"heading\"]) {\n margin: 0;\n }\n ::slotted(p:first-child) {\n margin-top: 0;\n }\n ::slotted(p:last-child) {\n margin-top: 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SelfCheck), "styles", this)), [(0, _index.css)(_templateObject3_1da5e4c01e5811ed81a80d03c17d190b || (_templateObject3_1da5e4c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]),\n *[hidden] {\n display: none !important;\n }\n\n div.card {\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);\n width: 100%;\n color: var(\n --self-check-question-text,\n var(--simple-colors-default-theme-grey-12, #000)\n );\n background-color: var(\n --self-check-question-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n overflow: hidden;\n }\n\n simple-icon-button {\n --simple-icon-width: 24px;\n --simple-icon-height: 24px;\n position: relative;\n left: 10px;\n bottom: -10px;\n padding: 2px;\n }\n\n .check_button {\n display: flex;\n justify-content: flex-end;\n }\n .close_button {\n display: flex;\n justify-content: flex-end;\n }\n\n simple-icon#questionmark {\n --simple-icon-width: 35px;\n --simple-icon-height: 35px;\n padding: 5px;\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .heading {\n text-transform: uppercase;\n font-size: 22px;\n margin: 10px;\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n #header_wrap {\n color: var(\n --self-check-heading-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n background-color: var(\n --self-check-heading-color,\n var(--simple-colors-default-theme-accent-8, #444)\n );\n display: flex;\n align-items: center;\n width: 100%;\n margin: -20px 0 0;\n }\n\n #question_wrap {\n color: var(\n --self-check-question-text,\n var(--simple-colors-default-theme-grey-12, #000)\n );\n background-color: var(\n --self-check-question-color,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n position: relative;\n }\n\n .question {\n font-size: 16px;\n padding: 15px 15px;\n }\n\n :host([correct]) .question {\n display: none;\n }\n\n #answer_wrap {\n visibility: hidden;\n opacity: 0;\n color: var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n background-color: var(\n --self-check-answer-color,\n var(--simple-colors-default-theme-light-green-11, #00762e)\n );\n border-top: 2px solid\n var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n width: 100%;\n top: 0;\n transition: all 0.2s ease;\n left: calc(100%);\n position: absolute;\n }\n\n :host([correct]) #answer_wrap {\n visibility: visible;\n opacity: 1;\n position: relative;\n left: 0;\n }\n\n .answer {\n font-size: 16px;\n padding: 15px;\n line-height: 19.2px;\n }\n\n #quote_start {\n display: inline-flex;\n transform: rotateY(180deg);\n }\n\n #quote_end {\n display: inline-flex;\n }\n\n .triangle {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-bottom: 20px solid\n var(\n --self-check-heading-color,\n var(--simple-colors-default-theme-accent-8, #444)\n );\n position: relative;\n top: -20px;\n left: -1px;\n }\n\n .more_info {\n display: inline;\n }\n\n .more_info a {\n color: var(\n --self-check-answer-text,\n var(--simple-colors-default-theme-grey-1, #fff)\n );\n }\n\n .more_info a:hover {\n text-decoration: none;\n }\n .image-wrap {\n max-height: 400px;\n overflow: hidden;\n }\n ::slotted([slot=\"heading\"]) {\n margin: 0;\n }\n ::slotted(p:first-child) {\n margin-top: 0;\n }\n ::slotted(p:last-child) {\n margin-top: 0;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/service-card/service-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/service-card/service-card.js index dfeafc76eb6..1732855747f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/service-card/service-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/service-card/service-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.ServiceCard = void 0; - var _templateObject_3b242fb01da511ed9d313b9780b2ae17, _templateObject2_3b242fb01da511ed9d313b9780b2ae17; + var _templateObject_0e6552701e5811ed81a80d03c17d190b, _templateObject2_0e6552701e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -35,7 +35,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(ServiceCard, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_3b242fb01da511ed9d313b9780b2ae17 || (_templateObject_3b242fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n

        ", "

        \n

        \n
        \n
        \n "])), this.source, this.alt, this.title); + return (0, _index.html)(_templateObject_0e6552701e5811ed81a80d03c17d190b || (_templateObject_0e6552701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n

        ", "

        \n

        \n
        \n
        \n "])), this.source, this.alt, this.title); } }], [{ key: "tag", @@ -104,7 +104,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }, { key: "styles", get: function get() { - return (0, _index.css)(_templateObject2_3b242fb01da511ed9d313b9780b2ae17 || (_templateObject2_3b242fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n margin: 16px;\n }\n .card {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n transition: 0.3s all ease-in-out;\n width: var(--service-card-card-width, 300px);\n }\n .card:hover {\n box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);\n }\n .container {\n padding: 2px 2px 2px 2px;\n }\n .avatar {\n border-radius: 50%;\n width: calc(var(--service-card-card-width, 300px) - 10px);\n padding: 5px;\n }\n .title {\n padding: 4px 4px 4px 4px;\n text-align: center;\n font-family: \"Courier New\", courier, sans-serif;\n }\n .info {\n padding: 4px 4px 4px 4px;\n height: 125px;\n overflow-y: auto;\n }\n "]))); + return (0, _index.css)(_templateObject2_0e6552701e5811ed81a80d03c17d190b || (_templateObject2_0e6552701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n margin: 16px;\n }\n .card {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n transition: 0.3s all ease-in-out;\n width: var(--service-card-card-width, 300px);\n }\n .card:hover {\n box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);\n }\n .container {\n padding: 2px 2px 2px 2px;\n }\n .avatar {\n border-radius: 50%;\n width: calc(var(--service-card-card-width, 300px) - 10px);\n padding: 5px;\n }\n .title {\n padding: 4px 4px 4px 4px;\n text-align: center;\n font-family: \"Courier New\", courier, sans-serif;\n }\n .info {\n padding: 4px 4px 4px 4px;\n height: 125px;\n overflow-y: auto;\n }\n "]))); } }]); return ServiceCard; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/shadow-style/shadow-style.js b/build/es5-amd/node_modules/@lrnwebcomponents/shadow-style/shadow-style.js index 9aaa559c0a8..57700fd9ea6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/shadow-style/shadow-style.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/shadow-style/shadow-style.js @@ -6,6 +6,8 @@ define(["exports"], function (_exports) { }); _exports.ShadowStyle = void 0; + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -71,11 +73,11 @@ define(["exports"], function (_exports) { key: "processShadowText", value: // async to ensure we await the Promises all resolving function () { - var _processShadowText = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(text) { + var _processShadowText = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(text) { var _this2 = this; var regex, result, promises, selector, tmp, ceTagName, shadowSelector; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/lib/simple-autocomplete-text-trigger.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/lib/simple-autocomplete-text-trigger.js index 0007302cc27..2c033778d65 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/lib/simple-autocomplete-text-trigger.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/lib/simple-autocomplete-text-trigger.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../utils/utils.js", "../simple-a }); _exports.SimpleAutocompleteTextTrigger = void 0; - var _templateObject_8de863601da511ed9d313b9780b2ae17; + var _templateObject_56652d201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -39,7 +39,7 @@ define(["exports", "../../../lit/index.js", "../../utils/utils.js", "../simple-a babelHelpers.createClass(SimpleAutocompleteTextTrigger, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8de863601da511ed9d313b9780b2ae17 || (_templateObject_8de863601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.valueChanged); + return (0, _index.html)(_templateObject_56652d201e5811ed81a80d03c17d190b || (_templateObject_56652d201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.valueChanged); } /** * Convention we use diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/simple-autocomplete.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/simple-autocomplete.js index 289a38098bd..928769c8467 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/simple-autocomplete.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-autocomplete/simple-autocomplete.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-filter/simple-fil _exports.SimpleAutocomplete = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_49118e101da511ed9d313b9780b2ae17, _templateObject2_49118e101da511ed9d313b9780b2ae17, _templateObject3_49118e101da511ed9d313b9780b2ae17, _templateObject4_49118e101da511ed9d313b9780b2ae17, _templateObject5_49118e101da511ed9d313b9780b2ae17, _templateObject6_49118e101da511ed9d313b9780b2ae17, _templateObject7_49118e101da511ed9d313b9780b2ae17, _templateObject8_49118e101da511ed9d313b9780b2ae17; + var _templateObject_1db722d01e5811ed81a80d03c17d190b, _templateObject2_1db722d01e5811ed81a80d03c17d190b, _templateObject3_1db722d01e5811ed81a80d03c17d190b, _templateObject4_1db722d01e5811ed81a80d03c17d190b, _templateObject5_1db722d01e5811ed81a80d03c17d190b, _templateObject6_1db722d01e5811ed81a80d03c17d190b, _templateObject7_1db722d01e5811ed81a80d03c17d190b, _templateObject8_1db722d01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -115,9 +115,9 @@ define(["exports", "require", "../../lit/index.js", "../simple-filter/simple-fil value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_49118e101da511ed9d313b9780b2ae17 || (_templateObject_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n ", "\n \n "])), !this.hideInput ? (0, _index.html)(_templateObject2_49118e101da511ed9d313b9780b2ae17 || (_templateObject2_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.inputChanged, this.a11yInputKeys) : "", !this.opened || this.filtered.length === 0, this.filtered.length > 0 && this.opened ? (0, _index.html)(_templateObject3_49118e101da511ed9d313b9780b2ae17 || (_templateObject3_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n ", "\n "])), this.a11yListKeys, this.filtered.map(function (item, i) { - return (0, _index.html)(_templateObject4_49118e101da511ed9d313b9780b2ae17 || (_templateObject4_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), i < _this2.itemLimit ? (0, _index.html)(_templateObject5_49118e101da511ed9d313b9780b2ae17 || (_templateObject5_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "", "\n \n "])), item.value, i, item.value, i, _this2.itemSelect, item.icon ? (0, _index.html)(_templateObject6_49118e101da511ed9d313b9780b2ae17 || (_templateObject6_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), item.icon) : "", item.label) : ""); - })) : (0, _index.html)(_templateObject7_49118e101da511ed9d313b9780b2ae17 || (_templateObject7_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        No results
        "])))); + return (0, _index.html)(_templateObject_1db722d01e5811ed81a80d03c17d190b || (_templateObject_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n ", "\n \n "])), !this.hideInput ? (0, _index.html)(_templateObject2_1db722d01e5811ed81a80d03c17d190b || (_templateObject2_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.inputChanged, this.a11yInputKeys) : "", !this.opened || this.filtered.length === 0, this.filtered.length > 0 && this.opened ? (0, _index.html)(_templateObject3_1db722d01e5811ed81a80d03c17d190b || (_templateObject3_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n ", "\n "])), this.a11yListKeys, this.filtered.map(function (item, i) { + return (0, _index.html)(_templateObject4_1db722d01e5811ed81a80d03c17d190b || (_templateObject4_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), i < _this2.itemLimit ? (0, _index.html)(_templateObject5_1db722d01e5811ed81a80d03c17d190b || (_templateObject5_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "", "\n \n "])), item.value, i, item.value, i, _this2.itemSelect, item.icon ? (0, _index.html)(_templateObject6_1db722d01e5811ed81a80d03c17d190b || (_templateObject6_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), item.icon) : "", item.label) : ""); + })) : (0, _index.html)(_templateObject7_1db722d01e5811ed81a80d03c17d190b || (_templateObject7_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        No results
        "])))); } /** * Accessibility enhancements for key presses while in the list of items @@ -400,7 +400,7 @@ define(["exports", "require", "../../lit/index.js", "../simple-filter/simple-fil * LitElement convention */ function get() { - return [(0, _index.css)(_templateObject8_49118e101da511ed9d313b9780b2ae17 || (_templateObject8_49118e101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([hidden]) {\n display: none;\n }\n #input {\n border: none;\n min-width: 10px;\n outline: none;\n padding: 0 2px;\n }\n simple-popover {\n max-width: var(--simple-autocomplete-popover-max-width, 50vw);\n padding: 0;\n --simple-popover-padding: 0px;\n --simple-popover-border: none;\n --simple-popover-border-color: #eeeeee;\n --simple-popover-border-radius: 0;\n }\n ul {\n margin: 0;\n padding: 0;\n border: var(--simple-autocomplete-ul-border, 1px solid #eeeeee);\n }\n li {\n list-style: none;\n padding: 0;\n margin: 0;\n display: block;\n }\n button {\n font-size: var(--simple-autocomplete-font-size, 14px);\n line-height: var(--simple-autocomplete-line-height, 1.5);\n display: block;\n border: none;\n border-bottom: var(\n --simple-autocomplete-border-bottom,\n 1px solid #eeeeee\n );\n padding: 6px 12px;\n font-weight: 500;\n width: 100%;\n background-color: transparent;\n max-height: var(\n --simple-autocomplete-max-height,\n 54px\n ); /* font * line-height * 2 + padding */\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: left;\n color: var(--simple-autocomplete-color, #333333);\n }\n ul li:first-child button {\n border-top: none;\n }\n button:hover,\n button:active,\n button:focus {\n background-color: var(\n --simple-autocomplete-button-hover-background-color,\n #eeeeee\n );\n color: var(--simple-autocomplete-hover-color, #000000);\n outline: none;\n }\n .no-results {\n font-size: var(--simple-autocomplete-font-size, 16px);\n padding: 4px 8px;\n }\n simple-icon-lite {\n color: var(--simple-autocomplete-color, #333333);\n --simple-icon-width: var(--simple-autocomplete-icon-size, 16px);\n --simple-icon-height: var(--simple-autocomplete-icon-size, 16px);\n margin-right: 2px;\n vertical-align: middle;\n }\n "])))]; + return [(0, _index.css)(_templateObject8_1db722d01e5811ed81a80d03c17d190b || (_templateObject8_1db722d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n }\n :host([hidden]) {\n display: none;\n }\n #input {\n border: none;\n min-width: 10px;\n outline: none;\n padding: 0 2px;\n }\n simple-popover {\n max-width: var(--simple-autocomplete-popover-max-width, 50vw);\n padding: 0;\n --simple-popover-padding: 0px;\n --simple-popover-border: none;\n --simple-popover-border-color: #eeeeee;\n --simple-popover-border-radius: 0;\n }\n ul {\n margin: 0;\n padding: 0;\n border: var(--simple-autocomplete-ul-border, 1px solid #eeeeee);\n }\n li {\n list-style: none;\n padding: 0;\n margin: 0;\n display: block;\n }\n button {\n font-size: var(--simple-autocomplete-font-size, 14px);\n line-height: var(--simple-autocomplete-line-height, 1.5);\n display: block;\n border: none;\n border-bottom: var(\n --simple-autocomplete-border-bottom,\n 1px solid #eeeeee\n );\n padding: 6px 12px;\n font-weight: 500;\n width: 100%;\n background-color: transparent;\n max-height: var(\n --simple-autocomplete-max-height,\n 54px\n ); /* font * line-height * 2 + padding */\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: left;\n color: var(--simple-autocomplete-color, #333333);\n }\n ul li:first-child button {\n border-top: none;\n }\n button:hover,\n button:active,\n button:focus {\n background-color: var(\n --simple-autocomplete-button-hover-background-color,\n #eeeeee\n );\n color: var(--simple-autocomplete-hover-color, #000000);\n outline: none;\n }\n .no-results {\n font-size: var(--simple-autocomplete-font-size, 16px);\n padding: 4px 8px;\n }\n simple-icon-lite {\n color: var(--simple-autocomplete-color, #333333);\n --simple-icon-width: var(--simple-autocomplete-icon-size, 16px);\n --simple-icon-height: var(--simple-autocomplete-icon-size, 16px);\n margin-right: 2px;\n vertical-align: middle;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog-card/simple-blog-card.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog-card/simple-blog-card.js index facff5b7e74..1784f51e264 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog-card/simple-blog-card.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog-card/simple-blog-card.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-popover/simple-popover.js", }); _exports.SimpleBlogCard = void 0; - var _templateObject_491cd8b01da511ed9d313b9780b2ae17, _templateObject2_491cd8b01da511ed9d313b9780b2ae17; + var _templateObject_1ddb4ca01e5811ed81a80d03c17d190b, _templateObject2_1ddb4ca01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -48,7 +48,7 @@ define(["exports", "../../lit/index.js", "../simple-popover/simple-popover.js", key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_491cd8b01da511ed9d313b9780b2ae17 || (_templateObject_491cd8b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n\n
        \n \n \n
        \n
        \n \n \n
        \n ", "\n
        \n \n \n ·\n \n
        \n
        \n
        \n
        \n
        "])), this.size, this.alt, this.image, this.link, this.title, this.author, this.authorimage, this.authorlink, this.author, this.timestamp, this.readtime); + return (0, _index.html)(_templateObject_1ddb4ca01e5811ed81a80d03c17d190b || (_templateObject_1ddb4ca01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n\n
        \n \n \n
        \n
        \n \n \n
        \n ", "\n
        \n \n \n ·\n \n
        \n
        \n
        \n
        \n
        "])), this.size, this.alt, this.image, this.link, this.title, this.author, this.authorimage, this.authorlink, this.author, this.timestamp, this.readtime); } // properties available to the custom element for data binding }, { @@ -92,7 +92,7 @@ define(["exports", "../../lit/index.js", "../simple-popover/simple-popover.js", key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_491cd8b01da511ed9d313b9780b2ae17 || (_templateObject2_491cd8b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n --simple-blog-card-author-link: #03a87c;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host *[hidden] {\n display: none;\n }\n\n simple-popover {\n position: absolute;\n display: flex;\n }\n\n div.card {\n height: auto !important;\n overflow: hidden;\n }\n\n img {\n max-height: 200px;\n }\n\n .card-content a {\n display: block;\n }\n\n .card-micro {\n width: 100px;\n --simple-blog-card-heading-font-size: 16px;\n --simple-blog-card-content-font-size: 14px;\n }\n\n .card-small {\n width: 200px;\n --simple-blog-card-heading-font-size: 16px;\n }\n\n .card-medium {\n width: 300px;\n }\n\n .card-large {\n width: 400px;\n }\n\n .card-xlarge {\n width: 600px;\n }\n\n a {\n text-decoration: none;\n }\n\n .teaser {\n overflow: hidden;\n }\n\n .teaser,\n .teaser ::slotted(*) {\n font-size: var(--simple-blog-card-content-font-size, 18px);\n word-break: all;\n line-height: 1.2;\n text-overflow: ellipsis;\n }\n\n .card-content {\n height: 100px;\n padding: 0;\n overflow: hidden;\n }\n\n .card-micro {\n height: 50px;\n }\n\n .card-small {\n height: 100px;\n }\n\n .card-medium {\n height: 150px;\n }\n\n .card-large {\n height: 200px;\n }\n\n .card-micro .card-content {\n height: 50px;\n }\n\n .card-small .card-content {\n height: 50px;\n }\n\n .card-medium .card-content {\n height: 125px;\n }\n\n div.card h3 {\n font-size: var(--simple-blog-card-heading-font-size, 22px);\n color: var(--simple-blog-card-header, black);\n text-decoration: none;\n padding: 0;\n margin: 8px 0;\n font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\",\n Geneva, Arial, sans-serif;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n word-break: break-word;\n word-wrap: break-word;\n text-overflow: ellipsis;\n }\n\n paper-avatar {\n -webkit-box-flex: 0;\n -webkit-flex: 0 0 auto;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n display: inline-block;\n }\n\n .reading-time:after {\n content: attr(title);\n }\n\n .author-block {\n display: flex;\n align-items: center;\n }\n\n .author-info {\n font-size: 14px;\n padding-left: 10px;\n text-rendering: auto;\n }\n\n .author-info a {\n color: var(--simple-blog-card-author-link);\n }\n\n .post-details {\n font-size: 14px;\n color: var(--simple-blog-card-text, rgba(0, 0, 0, 0.54));\n }\n\n .post-details .dot {\n padding-right: 0.3em;\n padding-left: 0.3em;\n }\n\n .box {\n outline: 1px solid black;\n }\n\n simple-popover:not([for]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1ddb4ca01e5811ed81a80d03c17d190b || (_templateObject2_1ddb4ca01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n --simple-blog-card-author-link: #03a87c;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host *[hidden] {\n display: none;\n }\n\n simple-popover {\n position: absolute;\n display: flex;\n }\n\n div.card {\n height: auto !important;\n overflow: hidden;\n }\n\n img {\n max-height: 200px;\n }\n\n .card-content a {\n display: block;\n }\n\n .card-micro {\n width: 100px;\n --simple-blog-card-heading-font-size: 16px;\n --simple-blog-card-content-font-size: 14px;\n }\n\n .card-small {\n width: 200px;\n --simple-blog-card-heading-font-size: 16px;\n }\n\n .card-medium {\n width: 300px;\n }\n\n .card-large {\n width: 400px;\n }\n\n .card-xlarge {\n width: 600px;\n }\n\n a {\n text-decoration: none;\n }\n\n .teaser {\n overflow: hidden;\n }\n\n .teaser,\n .teaser ::slotted(*) {\n font-size: var(--simple-blog-card-content-font-size, 18px);\n word-break: all;\n line-height: 1.2;\n text-overflow: ellipsis;\n }\n\n .card-content {\n height: 100px;\n padding: 0;\n overflow: hidden;\n }\n\n .card-micro {\n height: 50px;\n }\n\n .card-small {\n height: 100px;\n }\n\n .card-medium {\n height: 150px;\n }\n\n .card-large {\n height: 200px;\n }\n\n .card-micro .card-content {\n height: 50px;\n }\n\n .card-small .card-content {\n height: 50px;\n }\n\n .card-medium .card-content {\n height: 125px;\n }\n\n div.card h3 {\n font-size: var(--simple-blog-card-heading-font-size, 22px);\n color: var(--simple-blog-card-header, black);\n text-decoration: none;\n padding: 0;\n margin: 8px 0;\n font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\",\n Geneva, Arial, sans-serif;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n word-break: break-word;\n word-wrap: break-word;\n text-overflow: ellipsis;\n }\n\n paper-avatar {\n -webkit-box-flex: 0;\n -webkit-flex: 0 0 auto;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n display: inline-block;\n }\n\n .reading-time:after {\n content: attr(title);\n }\n\n .author-block {\n display: flex;\n align-items: center;\n }\n\n .author-info {\n font-size: 14px;\n padding-left: 10px;\n text-rendering: auto;\n }\n\n .author-info a {\n color: var(--simple-blog-card-author-link);\n }\n\n .post-details {\n font-size: 14px;\n color: var(--simple-blog-card-text, rgba(0, 0, 0, 0.54));\n }\n\n .post-details .dot {\n padding-right: 0.3em;\n padding-left: 0.3em;\n }\n\n .box {\n outline: 1px solid black;\n }\n\n simple-popover:not([for]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-footer.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-footer.js index 4fd2faf2e5c..17925967151 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-footer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-footer.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.SimpleBlogFooter = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8deef3101da511ed9d313b9780b2ae17, _templateObject2_8deef3101da511ed9d313b9780b2ae17; + var _templateObject_5669c1001e5811ed81a80d03c17d190b, _templateObject2_5669c1001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -60,7 +60,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement render */ function render() { - return (0, _index.html)(_templateObject_8deef3101da511ed9d313b9780b2ae17 || (_templateObject_8deef3101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n
        \n \n
        \n \n \n \n ", "\n \n \n \n ", "\n \n \n

        \n ", "\n

        \n

        \n ", "\n

        \n
        \n "])), (0, _utils.varExists)(this.manifest, "metadata.theme.variables.image") ? this.manifest.metadata.theme.variables.image : "", this.prevChanged, this.prevTitle, this.nextChanged, this.nextTitle, this._backButtonTap, (0, _utils.varExists)(this.manifest, "title") ? this.manifest.title : "", (0, _utils.varExists)(this.manifest, "description") ? this.manifest.description : ""); + return (0, _index.html)(_templateObject_5669c1001e5811ed81a80d03c17d190b || (_templateObject_5669c1001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n
        \n \n
        \n \n \n \n ", "\n \n \n \n ", "\n \n \n

        \n ", "\n

        \n

        \n ", "\n

        \n
        \n "])), (0, _utils.varExists)(this.manifest, "metadata.theme.variables.image") ? this.manifest.metadata.theme.variables.image : "", this.prevChanged, this.prevTitle, this.nextChanged, this.nextTitle, this._backButtonTap, (0, _utils.varExists)(this.manifest, "title") ? this.manifest.title : "", (0, _utils.varExists)(this.manifest, "description") ? this.manifest.description : ""); } /** * LitElement properties changed @@ -168,7 +168,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement style render */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogFooter), "styles", this)), [(0, _index.css)(_templateObject2_8deef3101da511ed9d313b9780b2ae17 || (_templateObject2_8deef3101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n position: relative;\n overflow: hidden;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n :host([edit-mode]) {\n pointer-events: none;\n opacity: 0.2;\n }\n :host *[hidden] {\n display: none;\n }\n .background-closer-image {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n opacity: 0.4;\n transition: all 0.6s linear;\n }\n .background-closer-image-wrap {\n position: absolute;\n background-color: rgba(0, 0, 0, 0.9);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n transition: all 0.6s linear;\n opacity: 1;\n }\n :host([active]) .background-closer-image {\n opacity: 0.8;\n }\n :host([active]) .background-closer-image-wrap {\n background-color: rgba(0, 0, 0, 0.2);\n }\n .inner {\n width: 100%;\n position: relative;\n z-index: 99;\n max-width: 640px;\n padding: 32px 0;\n text-align: center;\n margin: 0 auto;\n }\n .blog-title {\n margin: 0;\n padding: 0 0 10px;\n font-size: 50px;\n text-align: center;\n font-weight: 700;\n letter-spacing: -2px;\n outline: 0;\n line-height: 50px;\n word-break: break-word;\n color: white;\n text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.5);\n }\n .blog-description {\n margin: 0 0 50px;\n padding: 0 32px;\n font-size: 18px;\n line-height: 1.5;\n color: white;\n text-align: center;\n font-weight: 400;\n text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.5);\n }\n button,\n site-menu-button:not([disabled]) {\n display: block;\n text-align: center;\n letter-spacing: -0.32px;\n font-size: 15px;\n font-weight: 400;\n font-style: normal;\n text-decoration: none;\n cursor: pointer;\n height: 44px;\n background-color: var(--haxcms-color, red);\n color: black;\n box-sizing: border-box;\n border-radius: none;\n line-height: 44px;\n margin: 16px 0;\n padding: 0;\n }\n button:focus,\n button:active,\n button:hover,\n site-menu-button:focus,\n site-menu-button:active,\n site-menu-button:hover {\n outline: 2px solid var(--haxcms-color);\n outline-offset: 8px;\n }\n simple-datetime {\n letter-spacing: -0.32px;\n font-weight: 300;\n font-style: normal;\n font-size: 16px;\n line-height: 1.3;\n color: black;\n display: inline-flex;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogFooter), "styles", this)), [(0, _index.css)(_templateObject2_5669c1001e5811ed81a80d03c17d190b || (_templateObject2_5669c1001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n position: relative;\n overflow: hidden;\n opacity: 1;\n transition: 0.2s opacity linear;\n }\n :host([edit-mode]) {\n pointer-events: none;\n opacity: 0.2;\n }\n :host *[hidden] {\n display: none;\n }\n .background-closer-image {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n opacity: 0.4;\n transition: all 0.6s linear;\n }\n .background-closer-image-wrap {\n position: absolute;\n background-color: rgba(0, 0, 0, 0.9);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n transition: all 0.6s linear;\n opacity: 1;\n }\n :host([active]) .background-closer-image {\n opacity: 0.8;\n }\n :host([active]) .background-closer-image-wrap {\n background-color: rgba(0, 0, 0, 0.2);\n }\n .inner {\n width: 100%;\n position: relative;\n z-index: 99;\n max-width: 640px;\n padding: 32px 0;\n text-align: center;\n margin: 0 auto;\n }\n .blog-title {\n margin: 0;\n padding: 0 0 10px;\n font-size: 50px;\n text-align: center;\n font-weight: 700;\n letter-spacing: -2px;\n outline: 0;\n line-height: 50px;\n word-break: break-word;\n color: white;\n text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.5);\n }\n .blog-description {\n margin: 0 0 50px;\n padding: 0 32px;\n font-size: 18px;\n line-height: 1.5;\n color: white;\n text-align: center;\n font-weight: 400;\n text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.5);\n }\n button,\n site-menu-button:not([disabled]) {\n display: block;\n text-align: center;\n letter-spacing: -0.32px;\n font-size: 15px;\n font-weight: 400;\n font-style: normal;\n text-decoration: none;\n cursor: pointer;\n height: 44px;\n background-color: var(--haxcms-color, red);\n color: black;\n box-sizing: border-box;\n border-radius: none;\n line-height: 44px;\n margin: 16px 0;\n padding: 0;\n }\n button:focus,\n button:active,\n button:hover,\n site-menu-button:focus,\n site-menu-button:active,\n site-menu-button:hover {\n outline: 2px solid var(--haxcms-color);\n outline-offset: 8px;\n }\n simple-datetime {\n letter-spacing: -0.32px;\n font-weight: 300;\n font-style: normal;\n font-size: 16px;\n line-height: 1.3;\n color: black;\n display: inline-flex;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-header.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-header.js index 5dd01917809..1d6dcb6d6ea 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-header.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-header.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.SimpleBlogHeader = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8df3fc201da511ed9d313b9780b2ae17, _templateObject2_8df3fc201da511ed9d313b9780b2ae17; + var _templateObject_566db8a01e5811ed81a80d03c17d190b, _templateObject2_566db8a01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -51,7 +51,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp babelHelpers.createClass(SimpleBlogHeader, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8df3fc201da511ed9d313b9780b2ae17 || (_templateObject_8df3fc201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n \n

        ", "

        \n

        ", "

        \n
        \n \n \n
        \n
        \n "])), this.image, this.icon, this.title, this.description); + return (0, _index.html)(_templateObject_566db8a01e5811ed81a80d03c17d190b || (_templateObject_566db8a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n \n
        \n \n

        ", "

        \n

        ", "

        \n
        \n \n \n
        \n
        \n "])), this.image, this.icon, this.title, this.description); } }, { key: "connectedCallback", @@ -94,7 +94,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogHeader), "styles", this)), [(0, _index.css)(_templateObject2_8df3fc201da511ed9d313b9780b2ae17 || (_templateObject2_8df3fc201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .teaserimage {\n height: 450px;\n padding: 0;\n margin: 0;\n position: relative;\n overflow: hidden;\n background-color: var(--haxcms-color, black);\n }\n .teaserimage-image {\n transition: all 0.6s linear;\n background-size: cover;\n background-position: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1;\n text-indent: -9999px;\n transform: translate3d(0px, 24px, 0px);\n opacity: 0.8;\n visibility: visible;\n }\n .teaserimage-image:hover {\n opacity: 1;\n }\n .blog-logo {\n width: 120px;\n height: 120px;\n position: absolute;\n margin-top: -60px;\n right: 50%;\n margin-right: -60px;\n background-size: cover;\n border-radius: 50%;\n z-index: 99;\n text-indent: -9999px;\n border: 3px solid #fff;\n background-color: #fff;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n }\n .site-title {\n margin: 0;\n padding: 84px 16px 8px;\n font-size: 50px;\n text-align: center;\n font-weight: 700;\n letter-spacing: -2px;\n outline: 0;\n line-height: 50px;\n word-break: break-word;\n color: #333;\n }\n .blog-description {\n margin: 0 0 20px;\n padding: 0 32px;\n font-size: 18px;\n line-height: 1.5;\n color: #666;\n text-align: center;\n font-weight: 400;\n }\n .custom-links {\n margin: 0 auto 36px;\n text-align: center;\n color: #ccc;\n display: flex;\n justify-content: center;\n }\n site-rss-button {\n margin: 0 4px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogHeader), "styles", this)), [(0, _index.css)(_templateObject2_566db8a01e5811ed81a80d03c17d190b || (_templateObject2_566db8a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .teaserimage {\n height: 450px;\n padding: 0;\n margin: 0;\n position: relative;\n overflow: hidden;\n background-color: var(--haxcms-color, black);\n }\n .teaserimage-image {\n transition: all 0.6s linear;\n background-size: cover;\n background-position: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1;\n text-indent: -9999px;\n transform: translate3d(0px, 24px, 0px);\n opacity: 0.8;\n visibility: visible;\n }\n .teaserimage-image:hover {\n opacity: 1;\n }\n .blog-logo {\n width: 120px;\n height: 120px;\n position: absolute;\n margin-top: -60px;\n right: 50%;\n margin-right: -60px;\n background-size: cover;\n border-radius: 50%;\n z-index: 99;\n text-indent: -9999px;\n border: 3px solid #fff;\n background-color: #fff;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);\n }\n .site-title {\n margin: 0;\n padding: 84px 16px 8px;\n font-size: 50px;\n text-align: center;\n font-weight: 700;\n letter-spacing: -2px;\n outline: 0;\n line-height: 50px;\n word-break: break-word;\n color: #333;\n }\n .blog-description {\n margin: 0 0 20px;\n padding: 0 32px;\n font-size: 18px;\n line-height: 1.5;\n color: #666;\n text-align: center;\n font-weight: 400;\n }\n .custom-links {\n margin: 0 auto 36px;\n text-align: center;\n color: #ccc;\n display: flex;\n justify-content: center;\n }\n site-rss-button {\n margin: 0 4px;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-listing.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-listing.js index 38c19ab9cae..b9ba5c09ac9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-listing.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-listing.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.SimpleBlogListing = void 0; - var _templateObject_8df730701da511ed9d313b9780b2ae17, _templateObject2_8df730701da511ed9d313b9780b2ae17, _templateObject3_8df730701da511ed9d313b9780b2ae17; + var _templateObject_567050b01e5811ed81a80d03c17d190b, _templateObject2_567050b01e5811ed81a80d03c17d190b, _templateObject3_567050b01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -45,8 +45,8 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(SimpleBlogListing, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8df730701da511ed9d313b9780b2ae17 || (_templateObject_8df730701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "\n
        \n "])), this.__itemsChanged, this.__items.map(function (item) { - return (0, _index.html)(_templateObject2_8df730701da511ed9d313b9780b2ae17 || (_templateObject2_8df730701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.id, item.title, item.description, item.slug, item.metadata.created); + return (0, _index.html)(_templateObject_567050b01e5811ed81a80d03c17d190b || (_templateObject_567050b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n ", "\n
        \n "])), this.__itemsChanged, this.__items.map(function (item) { + return (0, _index.html)(_templateObject2_567050b01e5811ed81a80d03c17d190b || (_templateObject2_567050b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), item.id, item.title, item.description, item.slug, item.metadata.created); })); } /** @@ -69,7 +69,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j * LitElement render styles */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogListing), "styles", this)), [(0, _index.css)(_templateObject3_8df730701da511ed9d313b9780b2ae17 || (_templateObject3_8df730701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .listing {\n width: 100%;\n max-width: 640px;\n margin: 0 auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n @media only screen and (max-width: 800px) {\n .listing {\n padding: 0 32px;\n }\n }\n simple-blog-overview:not(:defined) {\n display: none;\n }\n simple-blog-overview {\n width: 100%;\n border: 1px solid #f2f2f0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogListing), "styles", this)), [(0, _index.css)(_templateObject3_567050b01e5811ed81a80d03c17d190b || (_templateObject3_567050b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n .listing {\n width: 100%;\n max-width: 640px;\n margin: 0 auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n @media only screen and (max-width: 800px) {\n .listing {\n padding: 0 32px;\n }\n }\n simple-blog-overview:not(:defined) {\n display: none;\n }\n simple-blog-overview {\n width: 100%;\n border: 1px solid #f2f2f0;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-overview.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-overview.js index d7ce02ad485..b871bb7be27 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-overview.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-overview.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.SimpleBlogOverview = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8dfb76301da511ed9d313b9780b2ae17, _templateObject2_8dfb76301da511ed9d313b9780b2ae17; + var _templateObject_5673fa301e5811ed81a80d03c17d190b, _templateObject2_5673fa301e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -69,7 +69,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp babelHelpers.createClass(SimpleBlogOverview, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8dfb76301da511ed9d313b9780b2ae17 || (_templateObject_8dfb76301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n

        ", "

        \n
        \n
        \n

        ", "

        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n "])), this.link, this.title, this.title, this.description, this.changed); + return (0, _index.html)(_templateObject_5673fa301e5811ed81a80d03c17d190b || (_templateObject_5673fa301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n

        ", "

        \n
        \n
        \n

        ", "

        \n
        \n
        \n \n
        \n
        \n \n
        \n
        \n "])), this.link, this.title, this.title, this.description, this.changed); } /** * LitElement / popular convention @@ -100,7 +100,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement render style */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogOverview), "styles", this)), [(0, _index.css)(_templateObject2_8dfb76301da511ed9d313b9780b2ae17 || (_templateObject2_8dfb76301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n outline: none;\n text-transform: none;\n }\n div.card {\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n padding: 32px 16px;\n margin: 0;\n min-width: unset;\n width: 100%;\n background-color: transparent;\n }\n .post-title {\n letter-spacing: -0.32px;\n font-weight: 700;\n font-style: normal;\n display: block;\n font-size: 28px;\n line-height: 1.1;\n margin: 0;\n }\n .post-title a {\n text-decoration: none;\n color: #333332;\n }\n .post-excerpt,\n simple-datetime {\n letter-spacing: -0.32px;\n font-weight: 300;\n font-style: normal;\n font-size: 16px;\n line-height: 1.3;\n color: var(--simple-colors-default-theme-grey-10);\n }\n .post-excerpt p {\n text-transform: none;\n }\n :host([elevation=\"2\"]) .post-excerpt,\n :host([elevation=\"2\"]) simple-datetime {\n color: var(--simple-colors-default-theme-grey-12);\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);\n }\n .post-meta {\n font-size: 14px;\n color: #b3b3b1;\n line-height: 30px;\n }\n a,\n a:visited,\n a:hover,\n a:focus,\n a:active {\n color: inherit;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogOverview), "styles", this)), [(0, _index.css)(_templateObject2_5673fa301e5811ed81a80d03c17d190b || (_templateObject2_5673fa301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n outline: none;\n text-transform: none;\n }\n div.card {\n box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);\n padding: 32px 16px;\n margin: 0;\n min-width: unset;\n width: 100%;\n background-color: transparent;\n }\n .post-title {\n letter-spacing: -0.32px;\n font-weight: 700;\n font-style: normal;\n display: block;\n font-size: 28px;\n line-height: 1.1;\n margin: 0;\n }\n .post-title a {\n text-decoration: none;\n color: #333332;\n }\n .post-excerpt,\n simple-datetime {\n letter-spacing: -0.32px;\n font-weight: 300;\n font-style: normal;\n font-size: 16px;\n line-height: 1.3;\n color: var(--simple-colors-default-theme-grey-10);\n }\n .post-excerpt p {\n text-transform: none;\n }\n :host([elevation=\"2\"]) .post-excerpt,\n :host([elevation=\"2\"]) simple-datetime {\n color: var(--simple-colors-default-theme-grey-12);\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);\n }\n .post-meta {\n font-size: 14px;\n color: #b3b3b1;\n line-height: 30px;\n }\n a,\n a:visited,\n a:hover,\n a:focus,\n a:active {\n color: inherit;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-post.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-post.js index 298f7a9208d..0d073046f3f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-post.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/lib/simple-blog-post.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp _exports.SimpleBlogPost = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8e00f4701da511ed9d313b9780b2ae17, _templateObject2_8e00f4701da511ed9d313b9780b2ae17, _templateObject3_8e00f4701da511ed9d313b9780b2ae17; + var _templateObject_5678b5201e5811ed81a80d03c17d190b, _templateObject2_5678b5201e5811ed81a80d03c17d190b, _templateObject3_5678b5201e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -51,7 +51,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8e00f4701da511ed9d313b9780b2ae17 || (_templateObject_8e00f4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n
        \n
        \n ", "\n
        \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n "])), this.hasImage ? (0, _index.html)(_templateObject2_8e00f4701da511ed9d313b9780b2ae17 || (_templateObject2_8e00f4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image) : ""); + return (0, _index.html)(_templateObject_5678b5201e5811ed81a80d03c17d190b || (_templateObject_5678b5201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n
        \n
        \n
        \n ", "\n
        \n \n
        \n
        \n
        \n
        \n
        \n
        \n
        \n "])), this.hasImage ? (0, _index.html)(_templateObject2_5678b5201e5811ed81a80d03c17d190b || (_templateObject2_5678b5201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.image) : ""); } }, { key: "updated", @@ -157,7 +157,7 @@ define(["exports", "require", "../../../lit/index.js", "../../simple-colors/simp * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogPost), "styles", this)), [(0, _index.css)(_templateObject3_8e00f4701da511ed9d313b9780b2ae17 || (_templateObject3_8e00f4701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-height: 80vh;\n }\n main {\n transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;\n width: 100%;\n max-width: 900px;\n margin: 0 auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n opacity: 1;\n visibility: visible;\n }\n @media only screen and (max-width: 900px) {\n main {\n padding: 0 32px;\n }\n }\n section {\n width: 100%;\n font-family: Linux Libertine;\n color: #333;\n }\n section ::slotted(*) {\n font-weight: 400;\n font-style: normal;\n font-size: 22px;\n line-height: 30px;\n margin: 0;\n padding-bottom: 30px;\n color: #333;\n -webkit-hyphens: auto;\n -moz-hyphens: auto;\n hyphens: auto;\n }\n :host([has-image]) .article-image {\n position: absolute;\n background-color: var(--haxcms-color, black);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n }\n .post-image-image {\n background-size: cover;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n padding-top: 33%;\n z-index: 1;\n }\n .post-meta {\n font-family: Open Sans, MundoSans, \"Helvetica Neue\", Arial, Helvetica,\n sans-serif;\n }\n :host([has-image]) .post-meta {\n position: absolute;\n bottom: 80px;\n left: 30%;\n right: 30%;\n padding-top: 60px;\n z-index: 9;\n font-family: Open Sans, MundoSans, \"Helvetica Neue\", Arial, Helvetica,\n sans-serif;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n /**\n * Hide the slotted content during edit mode\n */\n :host([edit-mode]) #slot {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlogPost), "styles", this)), [(0, _index.css)(_templateObject3_5678b5201e5811ed81a80d03c17d190b || (_templateObject3_5678b5201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n min-height: 80vh;\n }\n main {\n transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;\n width: 100%;\n max-width: 900px;\n margin: 0 auto;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n opacity: 1;\n visibility: visible;\n }\n @media only screen and (max-width: 900px) {\n main {\n padding: 0 32px;\n }\n }\n section {\n width: 100%;\n font-family: Linux Libertine;\n color: #333;\n }\n section ::slotted(*) {\n font-weight: 400;\n font-style: normal;\n font-size: 22px;\n line-height: 30px;\n margin: 0;\n padding-bottom: 30px;\n color: #333;\n -webkit-hyphens: auto;\n -moz-hyphens: auto;\n hyphens: auto;\n }\n :host([has-image]) .article-image {\n position: absolute;\n background-color: var(--haxcms-color, black);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n }\n .post-image-image {\n background-size: cover;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-indent: -9999px;\n padding-top: 33%;\n z-index: 1;\n }\n .post-meta {\n font-family: Open Sans, MundoSans, \"Helvetica Neue\", Arial, Helvetica,\n sans-serif;\n }\n :host([has-image]) .post-meta {\n position: absolute;\n bottom: 80px;\n left: 30%;\n right: 30%;\n padding-top: 60px;\n z-index: 9;\n font-family: Open Sans, MundoSans, \"Helvetica Neue\", Arial, Helvetica,\n sans-serif;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n /**\n * Hide the slotted content during edit mode\n */\n :host([edit-mode]) #slot {\n display: none;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/simple-blog.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/simple-blog.js index 64ff81c11b7..b0a6a289a7f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/simple-blog.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-blog/simple-blog.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core _exports.SimpleBlog = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_491892f01da511ed9d313b9780b2ae17, _templateObject2_491892f01da511ed9d313b9780b2ae17; + var _templateObject_1dbc52f01e5811ed81a80d03c17d190b, _templateObject2_1dbc52f01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -61,7 +61,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_491892f01da511ed9d313b9780b2ae17 || (_templateObject_491892f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n
        \n
        \n \n Back to listing\n \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n "])), this.selectedPage, this._goBack, this.editMode); + return (0, _index.html)(_templateObject_1dbc52f01e5811ed81a80d03c17d190b || (_templateObject_1dbc52f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n \n
        \n
        \n \n Back to listing\n \n
        \n \n
        \n
        \n \n
        \n
        \n
        \n "])), this.selectedPage, this._goBack, this.editMode); } /** * Mix in an opened status @@ -194,7 +194,7 @@ define(["exports", "require", "../../lit/index.js", "../haxcms-elements/lib/core * LitElement constructable styles enhancement */ function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlog), "styles", this)), [(0, _index.css)(_templateObject2_491892f01da511ed9d313b9780b2ae17 || (_templateObject2_491892f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n html,\n body {\n background-color: #fafafa;\n }\n :host {\n display: block;\n font-family: \"Roboto\", \"Noto\", sans-serif;\n -webkit-font-smoothing: antialiased;\n font-size: 14px;\n background-color: #fafafa;\n font-family: \"Open Sans\", \"MundoSans\", helvetica neue, Arial,\n Helvetica, sans-serif;\n margin: 0;\n padding: 0;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-font-feature-settings: \"liga=1, dlig=1\";\n -ms-font-feature-settings: \"liga\", \"dlig\";\n -webkit-font-feature-settings: \"liga\", \"dlig\";\n -o-font-feature-settings: \"liga\", \"dlig\";\n font-feature-settings: \"liga\", \"dlig\";\n }\n #backbutton {\n position: fixed;\n top: 0px;\n left: 0px;\n padding: 2px;\n width: 40px;\n height: 40px;\n margin: 8px;\n z-index: 1000;\n color: black;\n background-color: rgba(250, 250, 250, 0.5);\n opacity: 0.5;\n border-radius: 50%;\n transition: all 0.6s linear;\n }\n #backbutton:focus,\n #backbutton:hover {\n opacity: 1;\n color: white;\n background-color: var(--haxcms-color, black);\n }\n iron-pages,\n iron-pages section {\n width: 100vw;\n height: 100vh;\n }\n simple-blog-post {\n transition: all 0.6s ease-in-out;\n visibility: hidden;\n }\n :host([selected-page=\"0\"]) simple-blog-post {\n opacity: 0;\n visibility: hidden;\n }\n :host([selected-page=\"1\"]) simple-blog-post {\n visibility: visible;\n opacity: 1;\n }\n a,\n a:active,\n a:hover,\n a:focus {\n color: inherit;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleBlog), "styles", this)), [(0, _index.css)(_templateObject2_1dbc52f01e5811ed81a80d03c17d190b || (_templateObject2_1dbc52f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n html,\n body {\n background-color: #fafafa;\n }\n :host {\n display: block;\n font-family: \"Roboto\", \"Noto\", sans-serif;\n -webkit-font-smoothing: antialiased;\n font-size: 14px;\n background-color: #fafafa;\n font-family: \"Open Sans\", \"MundoSans\", helvetica neue, Arial,\n Helvetica, sans-serif;\n margin: 0;\n padding: 0;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-font-feature-settings: \"liga=1, dlig=1\";\n -ms-font-feature-settings: \"liga\", \"dlig\";\n -webkit-font-feature-settings: \"liga\", \"dlig\";\n -o-font-feature-settings: \"liga\", \"dlig\";\n font-feature-settings: \"liga\", \"dlig\";\n }\n #backbutton {\n position: fixed;\n top: 0px;\n left: 0px;\n padding: 2px;\n width: 40px;\n height: 40px;\n margin: 8px;\n z-index: 1000;\n color: black;\n background-color: rgba(250, 250, 250, 0.5);\n opacity: 0.5;\n border-radius: 50%;\n transition: all 0.6s linear;\n }\n #backbutton:focus,\n #backbutton:hover {\n opacity: 1;\n color: white;\n background-color: var(--haxcms-color, black);\n }\n iron-pages,\n iron-pages section {\n width: 100vw;\n height: 100vh;\n }\n simple-blog-post {\n transition: all 0.6s ease-in-out;\n visibility: hidden;\n }\n :host([selected-page=\"0\"]) simple-blog-post {\n opacity: 0;\n visibility: hidden;\n }\n :host([selected-page=\"1\"]) simple-blog-post {\n visibility: visible;\n opacity: 1;\n }\n a,\n a:active,\n a:hover,\n a:focus {\n color: inherit;\n }\n "])))]); } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js index 3092a34373d..597aabc0a15 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.SimpleColorsSharedStylesGlobal = _exports.SimpleColorsSharedStyles = void 0; - var _templateObject_492abb601da511ed9d313b9780b2ae17, _templateObject2_492abb601da511ed9d313b9780b2ae17; + var _templateObject_1de510a01e5811ed81a80d03c17d190b, _templateObject2_1de510a01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -217,7 +217,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_492abb601da511ed9d313b9780b2ae17 || (_templateObject_492abb601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject_1de510a01e5811ed81a80d03c17d190b || (_templateObject_1de510a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } // properties available to the custom element for data binding }, { @@ -351,7 +351,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_492abb601da511ed9d313b9780b2ae17 || (_templateObject2_492abb601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n html {\n --simple-colors-default-theme-accent-1: #ffffff;\n --simple-colors-default-theme-accent-2: #eeeeee;\n --simple-colors-default-theme-accent-3: #dddddd;\n --simple-colors-default-theme-accent-4: #cccccc;\n --simple-colors-default-theme-accent-5: #bbbbbb;\n --simple-colors-default-theme-accent-6: #999999;\n --simple-colors-default-theme-accent-7: #666666;\n --simple-colors-default-theme-accent-8: #444444;\n --simple-colors-default-theme-accent-9: #333333;\n --simple-colors-default-theme-accent-10: #222222;\n --simple-colors-default-theme-accent-11: #111111;\n --simple-colors-default-theme-accent-12: #000000;\n\n --simple-colors-default-theme-grey-1: #ffffff;\n --simple-colors-default-theme-grey-2: #eeeeee;\n --simple-colors-default-theme-grey-3: #dddddd;\n --simple-colors-default-theme-grey-4: #cccccc;\n --simple-colors-default-theme-grey-5: #bbbbbb;\n --simple-colors-default-theme-grey-6: #999999;\n --simple-colors-default-theme-grey-7: #666666;\n --simple-colors-default-theme-grey-8: #444444;\n --simple-colors-default-theme-grey-9: #333333;\n --simple-colors-default-theme-grey-10: #222222;\n --simple-colors-default-theme-grey-11: #111111;\n --simple-colors-default-theme-grey-12: #000000;\n\n --simple-colors-default-theme-red-1: #ffdddd;\n --simple-colors-default-theme-red-2: #ffaeae;\n --simple-colors-default-theme-red-3: #ff8f8f;\n --simple-colors-default-theme-red-4: #ff7474;\n --simple-colors-default-theme-red-5: #fd5151;\n --simple-colors-default-theme-red-6: #ff2222;\n --simple-colors-default-theme-red-7: #ee0000;\n --simple-colors-default-theme-red-8: #ac0000;\n --simple-colors-default-theme-red-9: #850000;\n --simple-colors-default-theme-red-10: #670000;\n --simple-colors-default-theme-red-11: #520000;\n --simple-colors-default-theme-red-12: #3f0000;\n\n --simple-colors-default-theme-pink-1: #ffe6f1;\n --simple-colors-default-theme-pink-2: #ffa5cf;\n --simple-colors-default-theme-pink-3: #ff87c0;\n --simple-colors-default-theme-pink-4: #ff73b5;\n --simple-colors-default-theme-pink-5: #fd60aa;\n --simple-colors-default-theme-pink-6: #ff3996;\n --simple-colors-default-theme-pink-7: #da004e;\n --simple-colors-default-theme-pink-8: #b80042;\n --simple-colors-default-theme-pink-9: #980036;\n --simple-colors-default-theme-pink-10: #78002b;\n --simple-colors-default-theme-pink-11: #5a0020;\n --simple-colors-default-theme-pink-12: #440019;\n\n --simple-colors-default-theme-purple-1: #fce6ff;\n --simple-colors-default-theme-purple-2: #f4affd;\n --simple-colors-default-theme-purple-3: #f394ff;\n --simple-colors-default-theme-purple-4: #f07cff;\n --simple-colors-default-theme-purple-5: #ed61ff;\n --simple-colors-default-theme-purple-6: #e200ff;\n --simple-colors-default-theme-purple-7: #a500ba;\n --simple-colors-default-theme-purple-8: #8a009b;\n --simple-colors-default-theme-purple-9: #6c0079;\n --simple-colors-default-theme-purple-10: #490052;\n --simple-colors-default-theme-purple-11: #33003a;\n --simple-colors-default-theme-purple-12: #200025;\n\n --simple-colors-default-theme-deep-purple-1: #f3e4ff;\n --simple-colors-default-theme-deep-purple-2: #ddacff;\n --simple-colors-default-theme-deep-purple-3: #c97eff;\n --simple-colors-default-theme-deep-purple-4: #bb63f9;\n --simple-colors-default-theme-deep-purple-5: #b44aff;\n --simple-colors-default-theme-deep-purple-6: #a931ff;\n --simple-colors-default-theme-deep-purple-7: #7e00d8;\n --simple-colors-default-theme-deep-purple-8: #5d009f;\n --simple-colors-default-theme-deep-purple-9: #4c0081;\n --simple-colors-default-theme-deep-purple-10: #3a0063;\n --simple-colors-default-theme-deep-purple-11: #2a0049;\n --simple-colors-default-theme-deep-purple-12: #1d0033;\n\n --simple-colors-default-theme-indigo-1: #e5ddff;\n --simple-colors-default-theme-indigo-2: #c3b2ff;\n --simple-colors-default-theme-indigo-3: #af97ff;\n --simple-colors-default-theme-indigo-4: #9e82ff;\n --simple-colors-default-theme-indigo-5: #9373ff;\n --simple-colors-default-theme-indigo-6: #835fff;\n --simple-colors-default-theme-indigo-7: #3a00ff;\n --simple-colors-default-theme-indigo-8: #2801b0;\n --simple-colors-default-theme-indigo-9: #20008c;\n --simple-colors-default-theme-indigo-10: #160063;\n --simple-colors-default-theme-indigo-11: #100049;\n --simple-colors-default-theme-indigo-12: #0a0030;\n\n --simple-colors-default-theme-blue-1: #e2ecff;\n --simple-colors-default-theme-blue-2: #acc9ff;\n --simple-colors-default-theme-blue-3: #95baff;\n --simple-colors-default-theme-blue-4: #74a5ff;\n --simple-colors-default-theme-blue-5: #5892fd;\n --simple-colors-default-theme-blue-6: #4083ff;\n --simple-colors-default-theme-blue-7: #0059ff;\n --simple-colors-default-theme-blue-8: #0041bb;\n --simple-colors-default-theme-blue-9: #003494;\n --simple-colors-default-theme-blue-10: #002569;\n --simple-colors-default-theme-blue-11: #001947;\n --simple-colors-default-theme-blue-12: #001333;\n\n --simple-colors-default-theme-light-blue-1: #cde8ff;\n --simple-colors-default-theme-light-blue-2: #a1d1ff;\n --simple-colors-default-theme-light-blue-3: #92c9ff;\n --simple-colors-default-theme-light-blue-4: #65b3ff;\n --simple-colors-default-theme-light-blue-5: #58adff;\n --simple-colors-default-theme-light-blue-6: #41a1ff;\n --simple-colors-default-theme-light-blue-7: #007ffc;\n --simple-colors-default-theme-light-blue-8: #0066ca;\n --simple-colors-default-theme-light-blue-9: #0055a8;\n --simple-colors-default-theme-light-blue-10: #003f7d;\n --simple-colors-default-theme-light-blue-11: #002850;\n --simple-colors-default-theme-light-blue-12: #001b36;\n\n --simple-colors-default-theme-cyan-1: #ccf3fd;\n --simple-colors-default-theme-cyan-2: #9beaff;\n --simple-colors-default-theme-cyan-3: #77e2ff;\n --simple-colors-default-theme-cyan-4: #33d4ff;\n --simple-colors-default-theme-cyan-5: #1ccfff;\n --simple-colors-default-theme-cyan-6: #00c9ff;\n --simple-colors-default-theme-cyan-7: #009dc7;\n --simple-colors-default-theme-cyan-8: #007999;\n --simple-colors-default-theme-cyan-9: #005970;\n --simple-colors-default-theme-cyan-10: #003f50;\n --simple-colors-default-theme-cyan-11: #002c38;\n --simple-colors-default-theme-cyan-12: #001a20;\n\n --simple-colors-default-theme-teal-1: #d4ffee;\n --simple-colors-default-theme-teal-2: #98ffd7;\n --simple-colors-default-theme-teal-3: #79ffcb;\n --simple-colors-default-theme-teal-4: #56ffbd;\n --simple-colors-default-theme-teal-5: #29ffac;\n --simple-colors-default-theme-teal-6: #00ff9c;\n --simple-colors-default-theme-teal-7: #009d75;\n --simple-colors-default-theme-teal-8: #007658;\n --simple-colors-default-theme-teal-9: #004e3a;\n --simple-colors-default-theme-teal-10: #003829;\n --simple-colors-default-theme-teal-11: #002a20;\n --simple-colors-default-theme-teal-12: #001b14;\n\n --simple-colors-default-theme-green-1: #e1ffeb;\n --simple-colors-default-theme-green-2: #acffc9;\n --simple-colors-default-theme-green-3: #79ffa7;\n --simple-colors-default-theme-green-4: #49ff88;\n --simple-colors-default-theme-green-5: #24ff70;\n --simple-colors-default-theme-green-6: #00f961;\n --simple-colors-default-theme-green-7: #008c37;\n --simple-colors-default-theme-green-8: #00762e;\n --simple-colors-default-theme-green-9: #005a23;\n --simple-colors-default-theme-green-10: #003d18;\n --simple-colors-default-theme-green-11: #002a11;\n --simple-colors-default-theme-green-12: #001d0c;\n\n --simple-colors-default-theme-light-green-1: #ebffdb;\n --simple-colors-default-theme-light-green-2: #c7ff9b;\n --simple-colors-default-theme-light-green-3: #b1ff75;\n --simple-colors-default-theme-light-green-4: #a1fd5a;\n --simple-colors-default-theme-light-green-5: #8efd38;\n --simple-colors-default-theme-light-green-6: #6fff00;\n --simple-colors-default-theme-light-green-7: #429d00;\n --simple-colors-default-theme-light-green-8: #357f00;\n --simple-colors-default-theme-light-green-9: #296100;\n --simple-colors-default-theme-light-green-10: #1b3f00;\n --simple-colors-default-theme-light-green-11: #143000;\n --simple-colors-default-theme-light-green-12: #0d2000;\n\n --simple-colors-default-theme-lime-1: #f1ffd2;\n --simple-colors-default-theme-lime-2: #dfff9b;\n --simple-colors-default-theme-lime-3: #d4ff77;\n --simple-colors-default-theme-lime-4: #caff58;\n --simple-colors-default-theme-lime-5: #bdff2d;\n --simple-colors-default-theme-lime-6: #aeff00;\n --simple-colors-default-theme-lime-7: #649900;\n --simple-colors-default-theme-lime-8: #4d7600;\n --simple-colors-default-theme-lime-9: #3b5a00;\n --simple-colors-default-theme-lime-10: #293f00;\n --simple-colors-default-theme-lime-11: #223400;\n --simple-colors-default-theme-lime-12: #182400;\n\n --simple-colors-default-theme-yellow-1: #ffffd5;\n --simple-colors-default-theme-yellow-2: #ffffac;\n --simple-colors-default-theme-yellow-3: #ffff90;\n --simple-colors-default-theme-yellow-4: #ffff7c;\n --simple-colors-default-theme-yellow-5: #ffff3a;\n --simple-colors-default-theme-yellow-6: #f6f600;\n --simple-colors-default-theme-yellow-7: #929100;\n --simple-colors-default-theme-yellow-8: #787700;\n --simple-colors-default-theme-yellow-9: #585700;\n --simple-colors-default-theme-yellow-10: #454400;\n --simple-colors-default-theme-yellow-11: #303000;\n --simple-colors-default-theme-yellow-12: #242400;\n\n --simple-colors-default-theme-amber-1: #fff2d4;\n --simple-colors-default-theme-amber-2: #ffdf92;\n --simple-colors-default-theme-amber-3: #ffd677;\n --simple-colors-default-theme-amber-4: #ffcf5e;\n --simple-colors-default-theme-amber-5: #ffc235;\n --simple-colors-default-theme-amber-6: #ffc500;\n --simple-colors-default-theme-amber-7: #b28900;\n --simple-colors-default-theme-amber-8: #876800;\n --simple-colors-default-theme-amber-9: #614b00;\n --simple-colors-default-theme-amber-10: #413200;\n --simple-colors-default-theme-amber-11: #302500;\n --simple-colors-default-theme-amber-12: #221a00;\n\n --simple-colors-default-theme-orange-1: #ffebd7;\n --simple-colors-default-theme-orange-2: #ffca92;\n --simple-colors-default-theme-orange-3: #ffbd75;\n --simple-colors-default-theme-orange-4: #ffb05c;\n --simple-colors-default-theme-orange-5: #ff9e36;\n --simple-colors-default-theme-orange-6: #ff9625;\n --simple-colors-default-theme-orange-7: #e56a00;\n --simple-colors-default-theme-orange-8: #ae5100;\n --simple-colors-default-theme-orange-9: #833d00;\n --simple-colors-default-theme-orange-10: #612d00;\n --simple-colors-default-theme-orange-11: #3d1c00;\n --simple-colors-default-theme-orange-12: #2c1400;\n\n --simple-colors-default-theme-deep-orange-1: #ffe7e0;\n --simple-colors-default-theme-deep-orange-2: #ffb299;\n --simple-colors-default-theme-deep-orange-3: #ffa588;\n --simple-colors-default-theme-deep-orange-4: #ff8a64;\n --simple-colors-default-theme-deep-orange-5: #ff7649;\n --simple-colors-default-theme-deep-orange-6: #ff6c3c;\n --simple-colors-default-theme-deep-orange-7: #f53100;\n --simple-colors-default-theme-deep-orange-8: #b92500;\n --simple-colors-default-theme-deep-orange-9: #8a1c00;\n --simple-colors-default-theme-deep-orange-10: #561100;\n --simple-colors-default-theme-deep-orange-11: #3a0c00;\n --simple-colors-default-theme-deep-orange-12: #240700;\n\n --simple-colors-default-theme-brown-1: #f0e2de;\n --simple-colors-default-theme-brown-2: #e5b8aa;\n --simple-colors-default-theme-brown-3: #c59485;\n --simple-colors-default-theme-brown-4: #b68373;\n --simple-colors-default-theme-brown-5: #ac7868;\n --simple-colors-default-theme-brown-6: #a47060;\n --simple-colors-default-theme-brown-7: #85574a;\n --simple-colors-default-theme-brown-8: #724539;\n --simple-colors-default-theme-brown-9: #5b3328;\n --simple-colors-default-theme-brown-10: #3b1e15;\n --simple-colors-default-theme-brown-11: #2c140e;\n --simple-colors-default-theme-brown-12: #200e09;\n\n --simple-colors-default-theme-blue-grey-1: #e7eff1;\n --simple-colors-default-theme-blue-grey-2: #b1c5ce;\n --simple-colors-default-theme-blue-grey-3: #9badb6;\n --simple-colors-default-theme-blue-grey-4: #8d9fa7;\n --simple-colors-default-theme-blue-grey-5: #7a8f98;\n --simple-colors-default-theme-blue-grey-6: #718892;\n --simple-colors-default-theme-blue-grey-7: #56707c;\n --simple-colors-default-theme-blue-grey-8: #40535b;\n --simple-colors-default-theme-blue-grey-9: #2f3e45;\n --simple-colors-default-theme-blue-grey-10: #1e282c;\n --simple-colors-default-theme-blue-grey-11: #182023;\n --simple-colors-default-theme-blue-grey-12: #0f1518;\n --simple-colors-fixed-theme-accent-1: #ffffff;\n --simple-colors-fixed-theme-accent-2: #eeeeee;\n --simple-colors-fixed-theme-accent-3: #dddddd;\n --simple-colors-fixed-theme-accent-4: #cccccc;\n --simple-colors-fixed-theme-accent-5: #bbbbbb;\n --simple-colors-fixed-theme-accent-6: #999999;\n --simple-colors-fixed-theme-accent-7: #666666;\n --simple-colors-fixed-theme-accent-8: #444444;\n --simple-colors-fixed-theme-accent-9: #333333;\n --simple-colors-fixed-theme-accent-10: #222222;\n --simple-colors-fixed-theme-accent-11: #111111;\n --simple-colors-fixed-theme-accent-12: #000000;\n\n --simple-colors-fixed-theme-grey-1: #ffffff;\n --simple-colors-fixed-theme-grey-2: #eeeeee;\n --simple-colors-fixed-theme-grey-3: #dddddd;\n --simple-colors-fixed-theme-grey-4: #cccccc;\n --simple-colors-fixed-theme-grey-5: #bbbbbb;\n --simple-colors-fixed-theme-grey-6: #999999;\n --simple-colors-fixed-theme-grey-7: #666666;\n --simple-colors-fixed-theme-grey-8: #444444;\n --simple-colors-fixed-theme-grey-9: #333333;\n --simple-colors-fixed-theme-grey-10: #222222;\n --simple-colors-fixed-theme-grey-11: #111111;\n --simple-colors-fixed-theme-grey-12: #000000;\n\n --simple-colors-fixed-theme-red-1: #ffdddd;\n --simple-colors-fixed-theme-red-2: #ffaeae;\n --simple-colors-fixed-theme-red-3: #ff8f8f;\n --simple-colors-fixed-theme-red-4: #ff7474;\n --simple-colors-fixed-theme-red-5: #fd5151;\n --simple-colors-fixed-theme-red-6: #ff2222;\n --simple-colors-fixed-theme-red-7: #ee0000;\n --simple-colors-fixed-theme-red-8: #ac0000;\n --simple-colors-fixed-theme-red-9: #850000;\n --simple-colors-fixed-theme-red-10: #670000;\n --simple-colors-fixed-theme-red-11: #520000;\n --simple-colors-fixed-theme-red-12: #3f0000;\n\n --simple-colors-fixed-theme-pink-1: #ffe6f1;\n --simple-colors-fixed-theme-pink-2: #ffa5cf;\n --simple-colors-fixed-theme-pink-3: #ff87c0;\n --simple-colors-fixed-theme-pink-4: #ff73b5;\n --simple-colors-fixed-theme-pink-5: #fd60aa;\n --simple-colors-fixed-theme-pink-6: #ff3996;\n --simple-colors-fixed-theme-pink-7: #da004e;\n --simple-colors-fixed-theme-pink-8: #b80042;\n --simple-colors-fixed-theme-pink-9: #980036;\n --simple-colors-fixed-theme-pink-10: #78002b;\n --simple-colors-fixed-theme-pink-11: #5a0020;\n --simple-colors-fixed-theme-pink-12: #440019;\n\n --simple-colors-fixed-theme-purple-1: #fce6ff;\n --simple-colors-fixed-theme-purple-2: #f4affd;\n --simple-colors-fixed-theme-purple-3: #f394ff;\n --simple-colors-fixed-theme-purple-4: #f07cff;\n --simple-colors-fixed-theme-purple-5: #ed61ff;\n --simple-colors-fixed-theme-purple-6: #e200ff;\n --simple-colors-fixed-theme-purple-7: #a500ba;\n --simple-colors-fixed-theme-purple-8: #8a009b;\n --simple-colors-fixed-theme-purple-9: #6c0079;\n --simple-colors-fixed-theme-purple-10: #490052;\n --simple-colors-fixed-theme-purple-11: #33003a;\n --simple-colors-fixed-theme-purple-12: #200025;\n\n --simple-colors-fixed-theme-deep-purple-1: #f3e4ff;\n --simple-colors-fixed-theme-deep-purple-2: #ddacff;\n --simple-colors-fixed-theme-deep-purple-3: #c97eff;\n --simple-colors-fixed-theme-deep-purple-4: #bb63f9;\n --simple-colors-fixed-theme-deep-purple-5: #b44aff;\n --simple-colors-fixed-theme-deep-purple-6: #a931ff;\n --simple-colors-fixed-theme-deep-purple-7: #7e00d8;\n --simple-colors-fixed-theme-deep-purple-8: #5d009f;\n --simple-colors-fixed-theme-deep-purple-9: #4c0081;\n --simple-colors-fixed-theme-deep-purple-10: #3a0063;\n --simple-colors-fixed-theme-deep-purple-11: #2a0049;\n --simple-colors-fixed-theme-deep-purple-12: #1d0033;\n\n --simple-colors-fixed-theme-indigo-1: #e5ddff;\n --simple-colors-fixed-theme-indigo-2: #c3b2ff;\n --simple-colors-fixed-theme-indigo-3: #af97ff;\n --simple-colors-fixed-theme-indigo-4: #9e82ff;\n --simple-colors-fixed-theme-indigo-5: #9373ff;\n --simple-colors-fixed-theme-indigo-6: #835fff;\n --simple-colors-fixed-theme-indigo-7: #3a00ff;\n --simple-colors-fixed-theme-indigo-8: #2801b0;\n --simple-colors-fixed-theme-indigo-9: #20008c;\n --simple-colors-fixed-theme-indigo-10: #160063;\n --simple-colors-fixed-theme-indigo-11: #100049;\n --simple-colors-fixed-theme-indigo-12: #0a0030;\n\n --simple-colors-fixed-theme-blue-1: #e2ecff;\n --simple-colors-fixed-theme-blue-2: #acc9ff;\n --simple-colors-fixed-theme-blue-3: #95baff;\n --simple-colors-fixed-theme-blue-4: #74a5ff;\n --simple-colors-fixed-theme-blue-5: #5892fd;\n --simple-colors-fixed-theme-blue-6: #4083ff;\n --simple-colors-fixed-theme-blue-7: #0059ff;\n --simple-colors-fixed-theme-blue-8: #0041bb;\n --simple-colors-fixed-theme-blue-9: #003494;\n --simple-colors-fixed-theme-blue-10: #002569;\n --simple-colors-fixed-theme-blue-11: #001947;\n --simple-colors-fixed-theme-blue-12: #001333;\n\n --simple-colors-fixed-theme-light-blue-1: #cde8ff;\n --simple-colors-fixed-theme-light-blue-2: #a1d1ff;\n --simple-colors-fixed-theme-light-blue-3: #92c9ff;\n --simple-colors-fixed-theme-light-blue-4: #65b3ff;\n --simple-colors-fixed-theme-light-blue-5: #58adff;\n --simple-colors-fixed-theme-light-blue-6: #41a1ff;\n --simple-colors-fixed-theme-light-blue-7: #007ffc;\n --simple-colors-fixed-theme-light-blue-8: #0066ca;\n --simple-colors-fixed-theme-light-blue-9: #0055a8;\n --simple-colors-fixed-theme-light-blue-10: #003f7d;\n --simple-colors-fixed-theme-light-blue-11: #002850;\n --simple-colors-fixed-theme-light-blue-12: #001b36;\n\n --simple-colors-fixed-theme-cyan-1: #ccf3fd;\n --simple-colors-fixed-theme-cyan-2: #9beaff;\n --simple-colors-fixed-theme-cyan-3: #77e2ff;\n --simple-colors-fixed-theme-cyan-4: #33d4ff;\n --simple-colors-fixed-theme-cyan-5: #1ccfff;\n --simple-colors-fixed-theme-cyan-6: #00c9ff;\n --simple-colors-fixed-theme-cyan-7: #009dc7;\n --simple-colors-fixed-theme-cyan-8: #007999;\n --simple-colors-fixed-theme-cyan-9: #005970;\n --simple-colors-fixed-theme-cyan-10: #003f50;\n --simple-colors-fixed-theme-cyan-11: #002c38;\n --simple-colors-fixed-theme-cyan-12: #001a20;\n\n --simple-colors-fixed-theme-teal-1: #d4ffee;\n --simple-colors-fixed-theme-teal-2: #98ffd7;\n --simple-colors-fixed-theme-teal-3: #79ffcb;\n --simple-colors-fixed-theme-teal-4: #56ffbd;\n --simple-colors-fixed-theme-teal-5: #29ffac;\n --simple-colors-fixed-theme-teal-6: #00ff9c;\n --simple-colors-fixed-theme-teal-7: #009d75;\n --simple-colors-fixed-theme-teal-8: #007658;\n --simple-colors-fixed-theme-teal-9: #004e3a;\n --simple-colors-fixed-theme-teal-10: #003829;\n --simple-colors-fixed-theme-teal-11: #002a20;\n --simple-colors-fixed-theme-teal-12: #001b14;\n\n --simple-colors-fixed-theme-green-1: #e1ffeb;\n --simple-colors-fixed-theme-green-2: #acffc9;\n --simple-colors-fixed-theme-green-3: #79ffa7;\n --simple-colors-fixed-theme-green-4: #49ff88;\n --simple-colors-fixed-theme-green-5: #24ff70;\n --simple-colors-fixed-theme-green-6: #00f961;\n --simple-colors-fixed-theme-green-7: #008c37;\n --simple-colors-fixed-theme-green-8: #00762e;\n --simple-colors-fixed-theme-green-9: #005a23;\n --simple-colors-fixed-theme-green-10: #003d18;\n --simple-colors-fixed-theme-green-11: #002a11;\n --simple-colors-fixed-theme-green-12: #001d0c;\n\n --simple-colors-fixed-theme-light-green-1: #ebffdb;\n --simple-colors-fixed-theme-light-green-2: #c7ff9b;\n --simple-colors-fixed-theme-light-green-3: #b1ff75;\n --simple-colors-fixed-theme-light-green-4: #a1fd5a;\n --simple-colors-fixed-theme-light-green-5: #8efd38;\n --simple-colors-fixed-theme-light-green-6: #6fff00;\n --simple-colors-fixed-theme-light-green-7: #429d00;\n --simple-colors-fixed-theme-light-green-8: #357f00;\n --simple-colors-fixed-theme-light-green-9: #296100;\n --simple-colors-fixed-theme-light-green-10: #1b3f00;\n --simple-colors-fixed-theme-light-green-11: #143000;\n --simple-colors-fixed-theme-light-green-12: #0d2000;\n\n --simple-colors-fixed-theme-lime-1: #f1ffd2;\n --simple-colors-fixed-theme-lime-2: #dfff9b;\n --simple-colors-fixed-theme-lime-3: #d4ff77;\n --simple-colors-fixed-theme-lime-4: #caff58;\n --simple-colors-fixed-theme-lime-5: #bdff2d;\n --simple-colors-fixed-theme-lime-6: #aeff00;\n --simple-colors-fixed-theme-lime-7: #649900;\n --simple-colors-fixed-theme-lime-8: #4d7600;\n --simple-colors-fixed-theme-lime-9: #3b5a00;\n --simple-colors-fixed-theme-lime-10: #293f00;\n --simple-colors-fixed-theme-lime-11: #223400;\n --simple-colors-fixed-theme-lime-12: #182400;\n\n --simple-colors-fixed-theme-yellow-1: #ffffd5;\n --simple-colors-fixed-theme-yellow-2: #ffffac;\n --simple-colors-fixed-theme-yellow-3: #ffff90;\n --simple-colors-fixed-theme-yellow-4: #ffff7c;\n --simple-colors-fixed-theme-yellow-5: #ffff3a;\n --simple-colors-fixed-theme-yellow-6: #f6f600;\n --simple-colors-fixed-theme-yellow-7: #929100;\n --simple-colors-fixed-theme-yellow-8: #787700;\n --simple-colors-fixed-theme-yellow-9: #585700;\n --simple-colors-fixed-theme-yellow-10: #454400;\n --simple-colors-fixed-theme-yellow-11: #303000;\n --simple-colors-fixed-theme-yellow-12: #242400;\n\n --simple-colors-fixed-theme-amber-1: #fff2d4;\n --simple-colors-fixed-theme-amber-2: #ffdf92;\n --simple-colors-fixed-theme-amber-3: #ffd677;\n --simple-colors-fixed-theme-amber-4: #ffcf5e;\n --simple-colors-fixed-theme-amber-5: #ffc235;\n --simple-colors-fixed-theme-amber-6: #ffc500;\n --simple-colors-fixed-theme-amber-7: #b28900;\n --simple-colors-fixed-theme-amber-8: #876800;\n --simple-colors-fixed-theme-amber-9: #614b00;\n --simple-colors-fixed-theme-amber-10: #413200;\n --simple-colors-fixed-theme-amber-11: #302500;\n --simple-colors-fixed-theme-amber-12: #221a00;\n\n --simple-colors-fixed-theme-orange-1: #ffebd7;\n --simple-colors-fixed-theme-orange-2: #ffca92;\n --simple-colors-fixed-theme-orange-3: #ffbd75;\n --simple-colors-fixed-theme-orange-4: #ffb05c;\n --simple-colors-fixed-theme-orange-5: #ff9e36;\n --simple-colors-fixed-theme-orange-6: #ff9625;\n --simple-colors-fixed-theme-orange-7: #e56a00;\n --simple-colors-fixed-theme-orange-8: #ae5100;\n --simple-colors-fixed-theme-orange-9: #833d00;\n --simple-colors-fixed-theme-orange-10: #612d00;\n --simple-colors-fixed-theme-orange-11: #3d1c00;\n --simple-colors-fixed-theme-orange-12: #2c1400;\n\n --simple-colors-fixed-theme-deep-orange-1: #ffe7e0;\n --simple-colors-fixed-theme-deep-orange-2: #ffb299;\n --simple-colors-fixed-theme-deep-orange-3: #ffa588;\n --simple-colors-fixed-theme-deep-orange-4: #ff8a64;\n --simple-colors-fixed-theme-deep-orange-5: #ff7649;\n --simple-colors-fixed-theme-deep-orange-6: #ff6c3c;\n --simple-colors-fixed-theme-deep-orange-7: #f53100;\n --simple-colors-fixed-theme-deep-orange-8: #b92500;\n --simple-colors-fixed-theme-deep-orange-9: #8a1c00;\n --simple-colors-fixed-theme-deep-orange-10: #561100;\n --simple-colors-fixed-theme-deep-orange-11: #3a0c00;\n --simple-colors-fixed-theme-deep-orange-12: #240700;\n\n --simple-colors-fixed-theme-brown-1: #f0e2de;\n --simple-colors-fixed-theme-brown-2: #e5b8aa;\n --simple-colors-fixed-theme-brown-3: #c59485;\n --simple-colors-fixed-theme-brown-4: #b68373;\n --simple-colors-fixed-theme-brown-5: #ac7868;\n --simple-colors-fixed-theme-brown-6: #a47060;\n --simple-colors-fixed-theme-brown-7: #85574a;\n --simple-colors-fixed-theme-brown-8: #724539;\n --simple-colors-fixed-theme-brown-9: #5b3328;\n --simple-colors-fixed-theme-brown-10: #3b1e15;\n --simple-colors-fixed-theme-brown-11: #2c140e;\n --simple-colors-fixed-theme-brown-12: #200e09;\n\n --simple-colors-fixed-theme-blue-grey-1: #e7eff1;\n --simple-colors-fixed-theme-blue-grey-2: #b1c5ce;\n --simple-colors-fixed-theme-blue-grey-3: #9badb6;\n --simple-colors-fixed-theme-blue-grey-4: #8d9fa7;\n --simple-colors-fixed-theme-blue-grey-5: #7a8f98;\n --simple-colors-fixed-theme-blue-grey-6: #718892;\n --simple-colors-fixed-theme-blue-grey-7: #56707c;\n --simple-colors-fixed-theme-blue-grey-8: #40535b;\n --simple-colors-fixed-theme-blue-grey-9: #2f3e45;\n --simple-colors-fixed-theme-blue-grey-10: #1e282c;\n --simple-colors-fixed-theme-blue-grey-11: #182023;\n --simple-colors-fixed-theme-blue-grey-12: #0f1518;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1de510a01e5811ed81a80d03c17d190b || (_templateObject2_1de510a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n html {\n --simple-colors-default-theme-accent-1: #ffffff;\n --simple-colors-default-theme-accent-2: #eeeeee;\n --simple-colors-default-theme-accent-3: #dddddd;\n --simple-colors-default-theme-accent-4: #cccccc;\n --simple-colors-default-theme-accent-5: #bbbbbb;\n --simple-colors-default-theme-accent-6: #999999;\n --simple-colors-default-theme-accent-7: #666666;\n --simple-colors-default-theme-accent-8: #444444;\n --simple-colors-default-theme-accent-9: #333333;\n --simple-colors-default-theme-accent-10: #222222;\n --simple-colors-default-theme-accent-11: #111111;\n --simple-colors-default-theme-accent-12: #000000;\n\n --simple-colors-default-theme-grey-1: #ffffff;\n --simple-colors-default-theme-grey-2: #eeeeee;\n --simple-colors-default-theme-grey-3: #dddddd;\n --simple-colors-default-theme-grey-4: #cccccc;\n --simple-colors-default-theme-grey-5: #bbbbbb;\n --simple-colors-default-theme-grey-6: #999999;\n --simple-colors-default-theme-grey-7: #666666;\n --simple-colors-default-theme-grey-8: #444444;\n --simple-colors-default-theme-grey-9: #333333;\n --simple-colors-default-theme-grey-10: #222222;\n --simple-colors-default-theme-grey-11: #111111;\n --simple-colors-default-theme-grey-12: #000000;\n\n --simple-colors-default-theme-red-1: #ffdddd;\n --simple-colors-default-theme-red-2: #ffaeae;\n --simple-colors-default-theme-red-3: #ff8f8f;\n --simple-colors-default-theme-red-4: #ff7474;\n --simple-colors-default-theme-red-5: #fd5151;\n --simple-colors-default-theme-red-6: #ff2222;\n --simple-colors-default-theme-red-7: #ee0000;\n --simple-colors-default-theme-red-8: #ac0000;\n --simple-colors-default-theme-red-9: #850000;\n --simple-colors-default-theme-red-10: #670000;\n --simple-colors-default-theme-red-11: #520000;\n --simple-colors-default-theme-red-12: #3f0000;\n\n --simple-colors-default-theme-pink-1: #ffe6f1;\n --simple-colors-default-theme-pink-2: #ffa5cf;\n --simple-colors-default-theme-pink-3: #ff87c0;\n --simple-colors-default-theme-pink-4: #ff73b5;\n --simple-colors-default-theme-pink-5: #fd60aa;\n --simple-colors-default-theme-pink-6: #ff3996;\n --simple-colors-default-theme-pink-7: #da004e;\n --simple-colors-default-theme-pink-8: #b80042;\n --simple-colors-default-theme-pink-9: #980036;\n --simple-colors-default-theme-pink-10: #78002b;\n --simple-colors-default-theme-pink-11: #5a0020;\n --simple-colors-default-theme-pink-12: #440019;\n\n --simple-colors-default-theme-purple-1: #fce6ff;\n --simple-colors-default-theme-purple-2: #f4affd;\n --simple-colors-default-theme-purple-3: #f394ff;\n --simple-colors-default-theme-purple-4: #f07cff;\n --simple-colors-default-theme-purple-5: #ed61ff;\n --simple-colors-default-theme-purple-6: #e200ff;\n --simple-colors-default-theme-purple-7: #a500ba;\n --simple-colors-default-theme-purple-8: #8a009b;\n --simple-colors-default-theme-purple-9: #6c0079;\n --simple-colors-default-theme-purple-10: #490052;\n --simple-colors-default-theme-purple-11: #33003a;\n --simple-colors-default-theme-purple-12: #200025;\n\n --simple-colors-default-theme-deep-purple-1: #f3e4ff;\n --simple-colors-default-theme-deep-purple-2: #ddacff;\n --simple-colors-default-theme-deep-purple-3: #c97eff;\n --simple-colors-default-theme-deep-purple-4: #bb63f9;\n --simple-colors-default-theme-deep-purple-5: #b44aff;\n --simple-colors-default-theme-deep-purple-6: #a931ff;\n --simple-colors-default-theme-deep-purple-7: #7e00d8;\n --simple-colors-default-theme-deep-purple-8: #5d009f;\n --simple-colors-default-theme-deep-purple-9: #4c0081;\n --simple-colors-default-theme-deep-purple-10: #3a0063;\n --simple-colors-default-theme-deep-purple-11: #2a0049;\n --simple-colors-default-theme-deep-purple-12: #1d0033;\n\n --simple-colors-default-theme-indigo-1: #e5ddff;\n --simple-colors-default-theme-indigo-2: #c3b2ff;\n --simple-colors-default-theme-indigo-3: #af97ff;\n --simple-colors-default-theme-indigo-4: #9e82ff;\n --simple-colors-default-theme-indigo-5: #9373ff;\n --simple-colors-default-theme-indigo-6: #835fff;\n --simple-colors-default-theme-indigo-7: #3a00ff;\n --simple-colors-default-theme-indigo-8: #2801b0;\n --simple-colors-default-theme-indigo-9: #20008c;\n --simple-colors-default-theme-indigo-10: #160063;\n --simple-colors-default-theme-indigo-11: #100049;\n --simple-colors-default-theme-indigo-12: #0a0030;\n\n --simple-colors-default-theme-blue-1: #e2ecff;\n --simple-colors-default-theme-blue-2: #acc9ff;\n --simple-colors-default-theme-blue-3: #95baff;\n --simple-colors-default-theme-blue-4: #74a5ff;\n --simple-colors-default-theme-blue-5: #5892fd;\n --simple-colors-default-theme-blue-6: #4083ff;\n --simple-colors-default-theme-blue-7: #0059ff;\n --simple-colors-default-theme-blue-8: #0041bb;\n --simple-colors-default-theme-blue-9: #003494;\n --simple-colors-default-theme-blue-10: #002569;\n --simple-colors-default-theme-blue-11: #001947;\n --simple-colors-default-theme-blue-12: #001333;\n\n --simple-colors-default-theme-light-blue-1: #cde8ff;\n --simple-colors-default-theme-light-blue-2: #a1d1ff;\n --simple-colors-default-theme-light-blue-3: #92c9ff;\n --simple-colors-default-theme-light-blue-4: #65b3ff;\n --simple-colors-default-theme-light-blue-5: #58adff;\n --simple-colors-default-theme-light-blue-6: #41a1ff;\n --simple-colors-default-theme-light-blue-7: #007ffc;\n --simple-colors-default-theme-light-blue-8: #0066ca;\n --simple-colors-default-theme-light-blue-9: #0055a8;\n --simple-colors-default-theme-light-blue-10: #003f7d;\n --simple-colors-default-theme-light-blue-11: #002850;\n --simple-colors-default-theme-light-blue-12: #001b36;\n\n --simple-colors-default-theme-cyan-1: #ccf3fd;\n --simple-colors-default-theme-cyan-2: #9beaff;\n --simple-colors-default-theme-cyan-3: #77e2ff;\n --simple-colors-default-theme-cyan-4: #33d4ff;\n --simple-colors-default-theme-cyan-5: #1ccfff;\n --simple-colors-default-theme-cyan-6: #00c9ff;\n --simple-colors-default-theme-cyan-7: #009dc7;\n --simple-colors-default-theme-cyan-8: #007999;\n --simple-colors-default-theme-cyan-9: #005970;\n --simple-colors-default-theme-cyan-10: #003f50;\n --simple-colors-default-theme-cyan-11: #002c38;\n --simple-colors-default-theme-cyan-12: #001a20;\n\n --simple-colors-default-theme-teal-1: #d4ffee;\n --simple-colors-default-theme-teal-2: #98ffd7;\n --simple-colors-default-theme-teal-3: #79ffcb;\n --simple-colors-default-theme-teal-4: #56ffbd;\n --simple-colors-default-theme-teal-5: #29ffac;\n --simple-colors-default-theme-teal-6: #00ff9c;\n --simple-colors-default-theme-teal-7: #009d75;\n --simple-colors-default-theme-teal-8: #007658;\n --simple-colors-default-theme-teal-9: #004e3a;\n --simple-colors-default-theme-teal-10: #003829;\n --simple-colors-default-theme-teal-11: #002a20;\n --simple-colors-default-theme-teal-12: #001b14;\n\n --simple-colors-default-theme-green-1: #e1ffeb;\n --simple-colors-default-theme-green-2: #acffc9;\n --simple-colors-default-theme-green-3: #79ffa7;\n --simple-colors-default-theme-green-4: #49ff88;\n --simple-colors-default-theme-green-5: #24ff70;\n --simple-colors-default-theme-green-6: #00f961;\n --simple-colors-default-theme-green-7: #008c37;\n --simple-colors-default-theme-green-8: #00762e;\n --simple-colors-default-theme-green-9: #005a23;\n --simple-colors-default-theme-green-10: #003d18;\n --simple-colors-default-theme-green-11: #002a11;\n --simple-colors-default-theme-green-12: #001d0c;\n\n --simple-colors-default-theme-light-green-1: #ebffdb;\n --simple-colors-default-theme-light-green-2: #c7ff9b;\n --simple-colors-default-theme-light-green-3: #b1ff75;\n --simple-colors-default-theme-light-green-4: #a1fd5a;\n --simple-colors-default-theme-light-green-5: #8efd38;\n --simple-colors-default-theme-light-green-6: #6fff00;\n --simple-colors-default-theme-light-green-7: #429d00;\n --simple-colors-default-theme-light-green-8: #357f00;\n --simple-colors-default-theme-light-green-9: #296100;\n --simple-colors-default-theme-light-green-10: #1b3f00;\n --simple-colors-default-theme-light-green-11: #143000;\n --simple-colors-default-theme-light-green-12: #0d2000;\n\n --simple-colors-default-theme-lime-1: #f1ffd2;\n --simple-colors-default-theme-lime-2: #dfff9b;\n --simple-colors-default-theme-lime-3: #d4ff77;\n --simple-colors-default-theme-lime-4: #caff58;\n --simple-colors-default-theme-lime-5: #bdff2d;\n --simple-colors-default-theme-lime-6: #aeff00;\n --simple-colors-default-theme-lime-7: #649900;\n --simple-colors-default-theme-lime-8: #4d7600;\n --simple-colors-default-theme-lime-9: #3b5a00;\n --simple-colors-default-theme-lime-10: #293f00;\n --simple-colors-default-theme-lime-11: #223400;\n --simple-colors-default-theme-lime-12: #182400;\n\n --simple-colors-default-theme-yellow-1: #ffffd5;\n --simple-colors-default-theme-yellow-2: #ffffac;\n --simple-colors-default-theme-yellow-3: #ffff90;\n --simple-colors-default-theme-yellow-4: #ffff7c;\n --simple-colors-default-theme-yellow-5: #ffff3a;\n --simple-colors-default-theme-yellow-6: #f6f600;\n --simple-colors-default-theme-yellow-7: #929100;\n --simple-colors-default-theme-yellow-8: #787700;\n --simple-colors-default-theme-yellow-9: #585700;\n --simple-colors-default-theme-yellow-10: #454400;\n --simple-colors-default-theme-yellow-11: #303000;\n --simple-colors-default-theme-yellow-12: #242400;\n\n --simple-colors-default-theme-amber-1: #fff2d4;\n --simple-colors-default-theme-amber-2: #ffdf92;\n --simple-colors-default-theme-amber-3: #ffd677;\n --simple-colors-default-theme-amber-4: #ffcf5e;\n --simple-colors-default-theme-amber-5: #ffc235;\n --simple-colors-default-theme-amber-6: #ffc500;\n --simple-colors-default-theme-amber-7: #b28900;\n --simple-colors-default-theme-amber-8: #876800;\n --simple-colors-default-theme-amber-9: #614b00;\n --simple-colors-default-theme-amber-10: #413200;\n --simple-colors-default-theme-amber-11: #302500;\n --simple-colors-default-theme-amber-12: #221a00;\n\n --simple-colors-default-theme-orange-1: #ffebd7;\n --simple-colors-default-theme-orange-2: #ffca92;\n --simple-colors-default-theme-orange-3: #ffbd75;\n --simple-colors-default-theme-orange-4: #ffb05c;\n --simple-colors-default-theme-orange-5: #ff9e36;\n --simple-colors-default-theme-orange-6: #ff9625;\n --simple-colors-default-theme-orange-7: #e56a00;\n --simple-colors-default-theme-orange-8: #ae5100;\n --simple-colors-default-theme-orange-9: #833d00;\n --simple-colors-default-theme-orange-10: #612d00;\n --simple-colors-default-theme-orange-11: #3d1c00;\n --simple-colors-default-theme-orange-12: #2c1400;\n\n --simple-colors-default-theme-deep-orange-1: #ffe7e0;\n --simple-colors-default-theme-deep-orange-2: #ffb299;\n --simple-colors-default-theme-deep-orange-3: #ffa588;\n --simple-colors-default-theme-deep-orange-4: #ff8a64;\n --simple-colors-default-theme-deep-orange-5: #ff7649;\n --simple-colors-default-theme-deep-orange-6: #ff6c3c;\n --simple-colors-default-theme-deep-orange-7: #f53100;\n --simple-colors-default-theme-deep-orange-8: #b92500;\n --simple-colors-default-theme-deep-orange-9: #8a1c00;\n --simple-colors-default-theme-deep-orange-10: #561100;\n --simple-colors-default-theme-deep-orange-11: #3a0c00;\n --simple-colors-default-theme-deep-orange-12: #240700;\n\n --simple-colors-default-theme-brown-1: #f0e2de;\n --simple-colors-default-theme-brown-2: #e5b8aa;\n --simple-colors-default-theme-brown-3: #c59485;\n --simple-colors-default-theme-brown-4: #b68373;\n --simple-colors-default-theme-brown-5: #ac7868;\n --simple-colors-default-theme-brown-6: #a47060;\n --simple-colors-default-theme-brown-7: #85574a;\n --simple-colors-default-theme-brown-8: #724539;\n --simple-colors-default-theme-brown-9: #5b3328;\n --simple-colors-default-theme-brown-10: #3b1e15;\n --simple-colors-default-theme-brown-11: #2c140e;\n --simple-colors-default-theme-brown-12: #200e09;\n\n --simple-colors-default-theme-blue-grey-1: #e7eff1;\n --simple-colors-default-theme-blue-grey-2: #b1c5ce;\n --simple-colors-default-theme-blue-grey-3: #9badb6;\n --simple-colors-default-theme-blue-grey-4: #8d9fa7;\n --simple-colors-default-theme-blue-grey-5: #7a8f98;\n --simple-colors-default-theme-blue-grey-6: #718892;\n --simple-colors-default-theme-blue-grey-7: #56707c;\n --simple-colors-default-theme-blue-grey-8: #40535b;\n --simple-colors-default-theme-blue-grey-9: #2f3e45;\n --simple-colors-default-theme-blue-grey-10: #1e282c;\n --simple-colors-default-theme-blue-grey-11: #182023;\n --simple-colors-default-theme-blue-grey-12: #0f1518;\n --simple-colors-fixed-theme-accent-1: #ffffff;\n --simple-colors-fixed-theme-accent-2: #eeeeee;\n --simple-colors-fixed-theme-accent-3: #dddddd;\n --simple-colors-fixed-theme-accent-4: #cccccc;\n --simple-colors-fixed-theme-accent-5: #bbbbbb;\n --simple-colors-fixed-theme-accent-6: #999999;\n --simple-colors-fixed-theme-accent-7: #666666;\n --simple-colors-fixed-theme-accent-8: #444444;\n --simple-colors-fixed-theme-accent-9: #333333;\n --simple-colors-fixed-theme-accent-10: #222222;\n --simple-colors-fixed-theme-accent-11: #111111;\n --simple-colors-fixed-theme-accent-12: #000000;\n\n --simple-colors-fixed-theme-grey-1: #ffffff;\n --simple-colors-fixed-theme-grey-2: #eeeeee;\n --simple-colors-fixed-theme-grey-3: #dddddd;\n --simple-colors-fixed-theme-grey-4: #cccccc;\n --simple-colors-fixed-theme-grey-5: #bbbbbb;\n --simple-colors-fixed-theme-grey-6: #999999;\n --simple-colors-fixed-theme-grey-7: #666666;\n --simple-colors-fixed-theme-grey-8: #444444;\n --simple-colors-fixed-theme-grey-9: #333333;\n --simple-colors-fixed-theme-grey-10: #222222;\n --simple-colors-fixed-theme-grey-11: #111111;\n --simple-colors-fixed-theme-grey-12: #000000;\n\n --simple-colors-fixed-theme-red-1: #ffdddd;\n --simple-colors-fixed-theme-red-2: #ffaeae;\n --simple-colors-fixed-theme-red-3: #ff8f8f;\n --simple-colors-fixed-theme-red-4: #ff7474;\n --simple-colors-fixed-theme-red-5: #fd5151;\n --simple-colors-fixed-theme-red-6: #ff2222;\n --simple-colors-fixed-theme-red-7: #ee0000;\n --simple-colors-fixed-theme-red-8: #ac0000;\n --simple-colors-fixed-theme-red-9: #850000;\n --simple-colors-fixed-theme-red-10: #670000;\n --simple-colors-fixed-theme-red-11: #520000;\n --simple-colors-fixed-theme-red-12: #3f0000;\n\n --simple-colors-fixed-theme-pink-1: #ffe6f1;\n --simple-colors-fixed-theme-pink-2: #ffa5cf;\n --simple-colors-fixed-theme-pink-3: #ff87c0;\n --simple-colors-fixed-theme-pink-4: #ff73b5;\n --simple-colors-fixed-theme-pink-5: #fd60aa;\n --simple-colors-fixed-theme-pink-6: #ff3996;\n --simple-colors-fixed-theme-pink-7: #da004e;\n --simple-colors-fixed-theme-pink-8: #b80042;\n --simple-colors-fixed-theme-pink-9: #980036;\n --simple-colors-fixed-theme-pink-10: #78002b;\n --simple-colors-fixed-theme-pink-11: #5a0020;\n --simple-colors-fixed-theme-pink-12: #440019;\n\n --simple-colors-fixed-theme-purple-1: #fce6ff;\n --simple-colors-fixed-theme-purple-2: #f4affd;\n --simple-colors-fixed-theme-purple-3: #f394ff;\n --simple-colors-fixed-theme-purple-4: #f07cff;\n --simple-colors-fixed-theme-purple-5: #ed61ff;\n --simple-colors-fixed-theme-purple-6: #e200ff;\n --simple-colors-fixed-theme-purple-7: #a500ba;\n --simple-colors-fixed-theme-purple-8: #8a009b;\n --simple-colors-fixed-theme-purple-9: #6c0079;\n --simple-colors-fixed-theme-purple-10: #490052;\n --simple-colors-fixed-theme-purple-11: #33003a;\n --simple-colors-fixed-theme-purple-12: #200025;\n\n --simple-colors-fixed-theme-deep-purple-1: #f3e4ff;\n --simple-colors-fixed-theme-deep-purple-2: #ddacff;\n --simple-colors-fixed-theme-deep-purple-3: #c97eff;\n --simple-colors-fixed-theme-deep-purple-4: #bb63f9;\n --simple-colors-fixed-theme-deep-purple-5: #b44aff;\n --simple-colors-fixed-theme-deep-purple-6: #a931ff;\n --simple-colors-fixed-theme-deep-purple-7: #7e00d8;\n --simple-colors-fixed-theme-deep-purple-8: #5d009f;\n --simple-colors-fixed-theme-deep-purple-9: #4c0081;\n --simple-colors-fixed-theme-deep-purple-10: #3a0063;\n --simple-colors-fixed-theme-deep-purple-11: #2a0049;\n --simple-colors-fixed-theme-deep-purple-12: #1d0033;\n\n --simple-colors-fixed-theme-indigo-1: #e5ddff;\n --simple-colors-fixed-theme-indigo-2: #c3b2ff;\n --simple-colors-fixed-theme-indigo-3: #af97ff;\n --simple-colors-fixed-theme-indigo-4: #9e82ff;\n --simple-colors-fixed-theme-indigo-5: #9373ff;\n --simple-colors-fixed-theme-indigo-6: #835fff;\n --simple-colors-fixed-theme-indigo-7: #3a00ff;\n --simple-colors-fixed-theme-indigo-8: #2801b0;\n --simple-colors-fixed-theme-indigo-9: #20008c;\n --simple-colors-fixed-theme-indigo-10: #160063;\n --simple-colors-fixed-theme-indigo-11: #100049;\n --simple-colors-fixed-theme-indigo-12: #0a0030;\n\n --simple-colors-fixed-theme-blue-1: #e2ecff;\n --simple-colors-fixed-theme-blue-2: #acc9ff;\n --simple-colors-fixed-theme-blue-3: #95baff;\n --simple-colors-fixed-theme-blue-4: #74a5ff;\n --simple-colors-fixed-theme-blue-5: #5892fd;\n --simple-colors-fixed-theme-blue-6: #4083ff;\n --simple-colors-fixed-theme-blue-7: #0059ff;\n --simple-colors-fixed-theme-blue-8: #0041bb;\n --simple-colors-fixed-theme-blue-9: #003494;\n --simple-colors-fixed-theme-blue-10: #002569;\n --simple-colors-fixed-theme-blue-11: #001947;\n --simple-colors-fixed-theme-blue-12: #001333;\n\n --simple-colors-fixed-theme-light-blue-1: #cde8ff;\n --simple-colors-fixed-theme-light-blue-2: #a1d1ff;\n --simple-colors-fixed-theme-light-blue-3: #92c9ff;\n --simple-colors-fixed-theme-light-blue-4: #65b3ff;\n --simple-colors-fixed-theme-light-blue-5: #58adff;\n --simple-colors-fixed-theme-light-blue-6: #41a1ff;\n --simple-colors-fixed-theme-light-blue-7: #007ffc;\n --simple-colors-fixed-theme-light-blue-8: #0066ca;\n --simple-colors-fixed-theme-light-blue-9: #0055a8;\n --simple-colors-fixed-theme-light-blue-10: #003f7d;\n --simple-colors-fixed-theme-light-blue-11: #002850;\n --simple-colors-fixed-theme-light-blue-12: #001b36;\n\n --simple-colors-fixed-theme-cyan-1: #ccf3fd;\n --simple-colors-fixed-theme-cyan-2: #9beaff;\n --simple-colors-fixed-theme-cyan-3: #77e2ff;\n --simple-colors-fixed-theme-cyan-4: #33d4ff;\n --simple-colors-fixed-theme-cyan-5: #1ccfff;\n --simple-colors-fixed-theme-cyan-6: #00c9ff;\n --simple-colors-fixed-theme-cyan-7: #009dc7;\n --simple-colors-fixed-theme-cyan-8: #007999;\n --simple-colors-fixed-theme-cyan-9: #005970;\n --simple-colors-fixed-theme-cyan-10: #003f50;\n --simple-colors-fixed-theme-cyan-11: #002c38;\n --simple-colors-fixed-theme-cyan-12: #001a20;\n\n --simple-colors-fixed-theme-teal-1: #d4ffee;\n --simple-colors-fixed-theme-teal-2: #98ffd7;\n --simple-colors-fixed-theme-teal-3: #79ffcb;\n --simple-colors-fixed-theme-teal-4: #56ffbd;\n --simple-colors-fixed-theme-teal-5: #29ffac;\n --simple-colors-fixed-theme-teal-6: #00ff9c;\n --simple-colors-fixed-theme-teal-7: #009d75;\n --simple-colors-fixed-theme-teal-8: #007658;\n --simple-colors-fixed-theme-teal-9: #004e3a;\n --simple-colors-fixed-theme-teal-10: #003829;\n --simple-colors-fixed-theme-teal-11: #002a20;\n --simple-colors-fixed-theme-teal-12: #001b14;\n\n --simple-colors-fixed-theme-green-1: #e1ffeb;\n --simple-colors-fixed-theme-green-2: #acffc9;\n --simple-colors-fixed-theme-green-3: #79ffa7;\n --simple-colors-fixed-theme-green-4: #49ff88;\n --simple-colors-fixed-theme-green-5: #24ff70;\n --simple-colors-fixed-theme-green-6: #00f961;\n --simple-colors-fixed-theme-green-7: #008c37;\n --simple-colors-fixed-theme-green-8: #00762e;\n --simple-colors-fixed-theme-green-9: #005a23;\n --simple-colors-fixed-theme-green-10: #003d18;\n --simple-colors-fixed-theme-green-11: #002a11;\n --simple-colors-fixed-theme-green-12: #001d0c;\n\n --simple-colors-fixed-theme-light-green-1: #ebffdb;\n --simple-colors-fixed-theme-light-green-2: #c7ff9b;\n --simple-colors-fixed-theme-light-green-3: #b1ff75;\n --simple-colors-fixed-theme-light-green-4: #a1fd5a;\n --simple-colors-fixed-theme-light-green-5: #8efd38;\n --simple-colors-fixed-theme-light-green-6: #6fff00;\n --simple-colors-fixed-theme-light-green-7: #429d00;\n --simple-colors-fixed-theme-light-green-8: #357f00;\n --simple-colors-fixed-theme-light-green-9: #296100;\n --simple-colors-fixed-theme-light-green-10: #1b3f00;\n --simple-colors-fixed-theme-light-green-11: #143000;\n --simple-colors-fixed-theme-light-green-12: #0d2000;\n\n --simple-colors-fixed-theme-lime-1: #f1ffd2;\n --simple-colors-fixed-theme-lime-2: #dfff9b;\n --simple-colors-fixed-theme-lime-3: #d4ff77;\n --simple-colors-fixed-theme-lime-4: #caff58;\n --simple-colors-fixed-theme-lime-5: #bdff2d;\n --simple-colors-fixed-theme-lime-6: #aeff00;\n --simple-colors-fixed-theme-lime-7: #649900;\n --simple-colors-fixed-theme-lime-8: #4d7600;\n --simple-colors-fixed-theme-lime-9: #3b5a00;\n --simple-colors-fixed-theme-lime-10: #293f00;\n --simple-colors-fixed-theme-lime-11: #223400;\n --simple-colors-fixed-theme-lime-12: #182400;\n\n --simple-colors-fixed-theme-yellow-1: #ffffd5;\n --simple-colors-fixed-theme-yellow-2: #ffffac;\n --simple-colors-fixed-theme-yellow-3: #ffff90;\n --simple-colors-fixed-theme-yellow-4: #ffff7c;\n --simple-colors-fixed-theme-yellow-5: #ffff3a;\n --simple-colors-fixed-theme-yellow-6: #f6f600;\n --simple-colors-fixed-theme-yellow-7: #929100;\n --simple-colors-fixed-theme-yellow-8: #787700;\n --simple-colors-fixed-theme-yellow-9: #585700;\n --simple-colors-fixed-theme-yellow-10: #454400;\n --simple-colors-fixed-theme-yellow-11: #303000;\n --simple-colors-fixed-theme-yellow-12: #242400;\n\n --simple-colors-fixed-theme-amber-1: #fff2d4;\n --simple-colors-fixed-theme-amber-2: #ffdf92;\n --simple-colors-fixed-theme-amber-3: #ffd677;\n --simple-colors-fixed-theme-amber-4: #ffcf5e;\n --simple-colors-fixed-theme-amber-5: #ffc235;\n --simple-colors-fixed-theme-amber-6: #ffc500;\n --simple-colors-fixed-theme-amber-7: #b28900;\n --simple-colors-fixed-theme-amber-8: #876800;\n --simple-colors-fixed-theme-amber-9: #614b00;\n --simple-colors-fixed-theme-amber-10: #413200;\n --simple-colors-fixed-theme-amber-11: #302500;\n --simple-colors-fixed-theme-amber-12: #221a00;\n\n --simple-colors-fixed-theme-orange-1: #ffebd7;\n --simple-colors-fixed-theme-orange-2: #ffca92;\n --simple-colors-fixed-theme-orange-3: #ffbd75;\n --simple-colors-fixed-theme-orange-4: #ffb05c;\n --simple-colors-fixed-theme-orange-5: #ff9e36;\n --simple-colors-fixed-theme-orange-6: #ff9625;\n --simple-colors-fixed-theme-orange-7: #e56a00;\n --simple-colors-fixed-theme-orange-8: #ae5100;\n --simple-colors-fixed-theme-orange-9: #833d00;\n --simple-colors-fixed-theme-orange-10: #612d00;\n --simple-colors-fixed-theme-orange-11: #3d1c00;\n --simple-colors-fixed-theme-orange-12: #2c1400;\n\n --simple-colors-fixed-theme-deep-orange-1: #ffe7e0;\n --simple-colors-fixed-theme-deep-orange-2: #ffb299;\n --simple-colors-fixed-theme-deep-orange-3: #ffa588;\n --simple-colors-fixed-theme-deep-orange-4: #ff8a64;\n --simple-colors-fixed-theme-deep-orange-5: #ff7649;\n --simple-colors-fixed-theme-deep-orange-6: #ff6c3c;\n --simple-colors-fixed-theme-deep-orange-7: #f53100;\n --simple-colors-fixed-theme-deep-orange-8: #b92500;\n --simple-colors-fixed-theme-deep-orange-9: #8a1c00;\n --simple-colors-fixed-theme-deep-orange-10: #561100;\n --simple-colors-fixed-theme-deep-orange-11: #3a0c00;\n --simple-colors-fixed-theme-deep-orange-12: #240700;\n\n --simple-colors-fixed-theme-brown-1: #f0e2de;\n --simple-colors-fixed-theme-brown-2: #e5b8aa;\n --simple-colors-fixed-theme-brown-3: #c59485;\n --simple-colors-fixed-theme-brown-4: #b68373;\n --simple-colors-fixed-theme-brown-5: #ac7868;\n --simple-colors-fixed-theme-brown-6: #a47060;\n --simple-colors-fixed-theme-brown-7: #85574a;\n --simple-colors-fixed-theme-brown-8: #724539;\n --simple-colors-fixed-theme-brown-9: #5b3328;\n --simple-colors-fixed-theme-brown-10: #3b1e15;\n --simple-colors-fixed-theme-brown-11: #2c140e;\n --simple-colors-fixed-theme-brown-12: #200e09;\n\n --simple-colors-fixed-theme-blue-grey-1: #e7eff1;\n --simple-colors-fixed-theme-blue-grey-2: #b1c5ce;\n --simple-colors-fixed-theme-blue-grey-3: #9badb6;\n --simple-colors-fixed-theme-blue-grey-4: #8d9fa7;\n --simple-colors-fixed-theme-blue-grey-5: #7a8f98;\n --simple-colors-fixed-theme-blue-grey-6: #718892;\n --simple-colors-fixed-theme-blue-grey-7: #56707c;\n --simple-colors-fixed-theme-blue-grey-8: #40535b;\n --simple-colors-fixed-theme-blue-grey-9: #2f3e45;\n --simple-colors-fixed-theme-blue-grey-10: #1e282c;\n --simple-colors-fixed-theme-blue-grey-11: #182023;\n --simple-colors-fixed-theme-blue-grey-12: #0f1518;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatch-info.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatch-info.js index 9329736cdd9..e936780739d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatch-info.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatch-info.js @@ -6,7 +6,7 @@ define(["exports", "../../../../lit/index.js", "../../simple-colors.js"], functi }); _exports.simpleColorsSwatchInfo = void 0; - var _templateObject_9f9bf1801da511ed9d313b9780b2ae17, _templateObject2_9f9bf1801da511ed9d313b9780b2ae17, _templateObject3_9f9bf1801da511ed9d313b9780b2ae17, _templateObject4_9f9bf1801da511ed9d313b9780b2ae17, _templateObject5_9f9bf1801da511ed9d313b9780b2ae17; + var _templateObject_64004cd01e5811ed81a80d03c17d190b, _templateObject2_64004cd01e5811ed81a80d03c17d190b, _templateObject3_64004cd01e5811ed81a80d03c17d190b, _templateObject4_64004cd01e5811ed81a80d03c17d190b, _templateObject5_64004cd01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -50,11 +50,11 @@ define(["exports", "../../../../lit/index.js", "../../simple-colors.js"], functi function render() { var _this2 = this; - return (0, _index.html)(_templateObject_9f9bf1801da511ed9d313b9780b2ae17 || (_templateObject_9f9bf1801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n CSS Variables and Classes for ", "\n \n \n \n Variable Name\n Color\n With dark Attribute\n \n \n \n \n \n --simple-colors-default-theme-", "\n \n default color\n inverted color\n \n \n --simple-colors-fixed-theme-", "\n default color\n fixed color\n \n \n \n\n \n \n WCAG 2.0 AA Contrast with ", "\n \n \n \n Color Name\n Regular Text\n Large Text*\n \n \n \n ", "\n \n \n

        \n * Large text is defined as bold text at least 14pt or normal text at\n least 18pt\n

        \n "])), this.swatchName, this.swatchName, this._getBg(this.swatchId), this._getInverseBg(this.swatchId), this.swatchName, this._getBg(this.swatchId), this._getBg(this.swatchId), this.swatchName, this._getOptions(this.colors).map(function (color) { - return (0, _index.html)(_templateObject2_9f9bf1801da511ed9d313b9780b2ae17 || (_templateObject2_9f9bf1801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n \n \n ", "\n \n \n "])), color, _this2._getAa(_this2.swatchId, color).map(function (contrast) { - return (0, _index.html)(_templateObject3_9f9bf1801da511ed9d313b9780b2ae17 || (_templateObject3_9f9bf1801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "-", "\n "])), _this2._getContrastBg(color, contrast), color, contrast); + return (0, _index.html)(_templateObject_64004cd01e5811ed81a80d03c17d190b || (_templateObject_64004cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n CSS Variables and Classes for ", "\n \n \n \n Variable Name\n Color\n With dark Attribute\n \n \n \n \n \n --simple-colors-default-theme-", "\n \n default color\n inverted color\n \n \n --simple-colors-fixed-theme-", "\n default color\n fixed color\n \n \n \n\n \n \n WCAG 2.0 AA Contrast with ", "\n \n \n \n Color Name\n Regular Text\n Large Text*\n \n \n \n ", "\n \n \n

        \n * Large text is defined as bold text at least 14pt or normal text at\n least 18pt\n

        \n "])), this.swatchName, this.swatchName, this._getBg(this.swatchId), this._getInverseBg(this.swatchId), this.swatchName, this._getBg(this.swatchId), this._getBg(this.swatchId), this.swatchName, this._getOptions(this.colors).map(function (color) { + return (0, _index.html)(_templateObject2_64004cd01e5811ed81a80d03c17d190b || (_templateObject2_64004cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n ", "\n \n \n ", "\n \n \n "])), color, _this2._getAa(_this2.swatchId, color).map(function (contrast) { + return (0, _index.html)(_templateObject3_64004cd01e5811ed81a80d03c17d190b || (_templateObject3_64004cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "-", "\n "])), _this2._getContrastBg(color, contrast), color, contrast); }), _this2._getAaLarge(_this2.swatchId, color).map(function (contrast) { - return (0, _index.html)(_templateObject4_9f9bf1801da511ed9d313b9780b2ae17 || (_templateObject4_9f9bf1801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "-", "\n "])), _this2._getContrastBg(color, contrast), color, contrast); + return (0, _index.html)(_templateObject4_64004cd01e5811ed81a80d03c17d190b || (_templateObject4_64004cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "-", "\n "])), _this2._getContrastBg(color, contrast), color, contrast); })); })); } @@ -171,7 +171,7 @@ define(["exports", "../../../../lit/index.js", "../../simple-colors.js"], functi }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(simpleColorsSwatchInfo), "styles", this)), [(0, _index.css)(_templateObject5_9f9bf1801da511ed9d313b9780b2ae17 || (_templateObject5_9f9bf1801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]) {\n display: none;\n }\n :host table {\n width: 100%;\n border: 1px solid black;\n border-radius: 3px;\n border-collapse: collapse;\n margin: 0 0 15px;\n }\n :host table caption {\n font-weight: bold;\n background-color: #222;\n color: white;\n }\n :host table th {\n background-color: #e0e0e0;\n }\n :host table caption,\n :host table th,\n :host table td {\n padding: 5px;\n border: 1px solid black;\n text-align: left;\n line-height: 160%;\n }\n :host table td span {\n padding: 5px;\n white-space: nowrap;\n margin: 5px 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(simpleColorsSwatchInfo), "styles", this)), [(0, _index.css)(_templateObject5_64004cd01e5811ed81a80d03c17d190b || (_templateObject5_64004cd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]) {\n display: none;\n }\n :host table {\n width: 100%;\n border: 1px solid black;\n border-radius: 3px;\n border-collapse: collapse;\n margin: 0 0 15px;\n }\n :host table caption {\n font-weight: bold;\n background-color: #222;\n color: white;\n }\n :host table th {\n background-color: #e0e0e0;\n }\n :host table caption,\n :host table th,\n :host table td {\n padding: 5px;\n border: 1px solid black;\n text-align: left;\n line-height: 160%;\n }\n :host table td span {\n padding: 5px;\n white-space: nowrap;\n margin: 5px 0;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatches.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatches.js index 1e1d868e14c..c07b8edc451 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatches.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/demo/simple-colors-swatches.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../simple-colors.j _exports.simpleColorsSwatches = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_9f9f25d01da511ed9d313b9780b2ae17, _templateObject2_9f9f25d01da511ed9d313b9780b2ae17, _templateObject3_9f9f25d01da511ed9d313b9780b2ae17, _templateObject4_9f9f25d01da511ed9d313b9780b2ae17; + var _templateObject_6403f6501e5811ed81a80d03c17d190b, _templateObject2_6403f6501e5811ed81a80d03c17d190b, _templateObject3_6403f6501e5811ed81a80d03c17d190b, _templateObject4_6403f6501e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -76,9 +76,9 @@ define(["exports", "require", "../../../../lit/index.js", "../../simple-colors.j function render() { var _this2 = this; - return (0, _index.html)(_templateObject_9f9f25d01da511ed9d313b9780b2ae17 || (_templateObject_9f9f25d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n

        Click on the swatches above to learn more.

        \n
        \n ", "\n
        \n \n

        \n \n \n

        \n
        \n
        \n "])), Object.keys(this.colors).map(function (color) { - return (0, _index.html)(_templateObject2_9f9f25d01da511ed9d313b9780b2ae17 || (_templateObject2_9f9f25d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), _this2.colors.grey.map(function (shade, index) { - return (0, _index.html)(_templateObject3_9f9f25d01da511ed9d313b9780b2ae17 || (_templateObject3_9f9f25d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        ", "
        \n \n "])), _this2._getId(color, index), _this2.colors[color][index], _this2._getTitle(color, index), function (e) { + return (0, _index.html)(_templateObject_6403f6501e5811ed81a80d03c17d190b || (_templateObject_6403f6501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n

        Click on the swatches above to learn more.

        \n
        \n ", "\n
        \n \n

        \n \n \n

        \n
        \n
        \n "])), Object.keys(this.colors).map(function (color) { + return (0, _index.html)(_templateObject2_6403f6501e5811ed81a80d03c17d190b || (_templateObject2_6403f6501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), _this2.colors.grey.map(function (shade, index) { + return (0, _index.html)(_templateObject3_6403f6501e5811ed81a80d03c17d190b || (_templateObject3_6403f6501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        ", "
        \n \n "])), _this2._getId(color, index), _this2.colors[color][index], _this2._getTitle(color, index), function (e) { return _this2._handleClick(color, index); }, _this2._getTitle(color, index)); })); @@ -145,7 +145,7 @@ define(["exports", "require", "../../../../lit/index.js", "../../simple-colors.j }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(simpleColorsSwatches), "styles", this)), [(0, _index.css)(_templateObject4_9f9f25d01da511ed9d313b9780b2ae17 || (_templateObject4_9f9f25d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]) {\n display: none;\n }\n :host simple-modal-template {\n --simple-modal-titlebar-color: var(--simple-colors-swatch-contrast);\n --simple-modal-titlebar-background: var(--simple-colors-swatch-color);\n }\n :host .row {\n display: flex;\n align-items: stretch;\n }\n :host button {\n width: calc(8% - 6px);\n height: 80px;\n margin: 3px;\n border: 1px solid black;\n border-radius: 3px;\n padding: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: stretch;\n }\n :host button div {\n margin: 0;\n padding: 2px;\n font-size: 10px;\n background: black;\n color: white;\n width: calc(100% - 4px);\n }\n :host button:focus,\n :host button:hover {\n opacity: 0.7;\n cursor: pointer;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(simpleColorsSwatches), "styles", this)), [(0, _index.css)(_templateObject4_6403f6501e5811ed81a80d03c17d190b || (_templateObject4_6403f6501e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n margin: 15px 0;\n }\n :host([hidden]) {\n display: none;\n }\n :host simple-modal-template {\n --simple-modal-titlebar-color: var(--simple-colors-swatch-contrast);\n --simple-modal-titlebar-background: var(--simple-colors-swatch-color);\n }\n :host .row {\n display: flex;\n align-items: stretch;\n }\n :host button {\n width: calc(8% - 6px);\n height: 80px;\n margin: 3px;\n border: 1px solid black;\n border-radius: 3px;\n padding: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: stretch;\n }\n :host button div {\n margin: 0;\n padding: 2px;\n font-size: 10px;\n background: black;\n color: white;\n width: calc(100% - 4px);\n }\n :host button:focus,\n :host button:hover {\n opacity: 0.7;\n cursor: pointer;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/dist/simple-colors-shared-styles-polymer.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/dist/simple-colors-shared-styles-polymer.dev.js index 047fc422593..4590932816d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/dist/simple-colors-shared-styles-polymer.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/dist/simple-colors-shared-styles-polymer.dev.js @@ -7,10 +7,10 @@ exports.css = void 0; var _polymerElement = require("@polymer/polymer/polymer-element.js"); -function _templateObject_9f9848001da511ed9d313b9780b2ae17() { +function _templateObject_64046b801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n']); - _templateObject_9f9848001da511ed9d313b9780b2ae17 = function _templateObject_9f9848001da511ed9d313b9780b2ae17() { + _templateObject_64046b801e5811ed81a80d03c17d190b = function _templateObject_64046b801e5811ed81a80d03c17d190b() { return data; }; @@ -40,7 +40,7 @@ function _taggedTemplateLiteral(strings, raw) { var StyleElement = document.createElement("dom-module"); // styles -var css = (0, _polymerElement.html)(_templateObject_9f9848001da511ed9d313b9780b2ae17()); +var css = (0, _polymerElement.html)(_templateObject_64046b801e5811ed81a80d03c17d190b()); exports.css = css; StyleElement.appendChild(css); StyleElement.register("simple-colors-shared-styles-polymer"); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-picker.js index 5de96a86376..d7539941228 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../simple-colors.js", "../../simple }); _exports.SimpleColorsPicker = void 0; - var _templateObject_8e053a301da511ed9d313b9780b2ae17; + var _templateObject_567cacc01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -135,7 +135,7 @@ define(["exports", "../../../lit/index.js", "../simple-colors.js", "../../simple }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleColorsPicker), "styles", this)), [(0, _index.css)(_templateObject_8e053a301da511ed9d313b9780b2ae17 || (_templateObject_8e053a301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n :host([hidden]) {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleColorsPicker), "styles", this)), [(0, _index.css)(_templateObject_567cacc01e5811ed81a80d03c17d190b || (_templateObject_567cacc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n }\n :host([hidden]) {\n display: none;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-polymer.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-polymer.js index b203258be28..e17770fd5ec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-polymer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-polymer.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../simple }); _exports.SimpleColorsPolymer = void 0; - var _templateObject_8e090ac01da511ed9d313b9780b2ae17; + var _templateObject_567ea8901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -128,7 +128,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../simple key: "template", get: // render function function get() { - return (0, _polymerElement.html)(_templateObject_8e090ac01da511ed9d313b9780b2ae17 || (_templateObject_8e090ac01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_567ea8901e5811ed81a80d03c17d190b || (_templateObject_567ea8901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-shared-styles-polymer.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-shared-styles-polymer.js index 5e072e28f10..ab27f7b6fed 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-shared-styles-polymer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/lib/simple-colors-shared-styles-polymer.js @@ -6,7 +6,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js"], function (_e }); _exports.css = void 0; - var _templateObject_8e0a43401da511ed9d313b9780b2ae17; + var _templateObject_567fba001e5811ed81a80d03c17d190b; /** * `simple-colors-shared-styles-polymer` @@ -18,7 +18,7 @@ define(["exports", "../../../@polymer/polymer/polymer-element.js"], function (_e */ var StyleElement = document.createElement("dom-module"); // styles - var css = (0, _polymerElement.html)(_templateObject_8e0a43401da511ed9d313b9780b2ae17 || (_templateObject_8e0a43401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n"]))); + var css = (0, _polymerElement.html)(_templateObject_567fba001e5811ed81a80d03c17d190b || (_templateObject_567fba001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n"]))); _exports.css = css; StyleElement.appendChild(css); StyleElement.register("simple-colors-shared-styles-polymer"); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/simple-colors.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/simple-colors.js index 9ffb5cfb2d3..6b6b335b57f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/simple-colors.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-colors/simple-colors.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors-shared-styles/simple- }); _exports.SimpleColorsSuper = _exports.SimpleColors = void 0; - var _templateObject_49222fe01da511ed9d313b9780b2ae17, _templateObject2_49222fe01da511ed9d313b9780b2ae17; + var _templateObject_1ddf44401e5811ed81a80d03c17d190b, _templateObject2_1ddf44401e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -37,7 +37,7 @@ define(["exports", "../../lit/index.js", "../simple-colors-shared-styles/simple- key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_49222fe01da511ed9d313b9780b2ae17 || (_templateObject_49222fe01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_1ddf44401e5811ed81a80d03c17d190b || (_templateObject_1ddf44401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } // properties available to the custom element for data binding }, { @@ -140,7 +140,7 @@ define(["exports", "../../lit/index.js", "../simple-colors-shared-styles/simple- styles = babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this); } - return [styles, _a11yUtils.screenreaderOnlyCSS, (0, _index.css)(_templateObject2_49222fe01da511ed9d313b9780b2ae17 || (_templateObject2_49222fe01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([dark]) {\n --simple-colors-default-theme-accent-1: #000000;\n --simple-colors-default-theme-accent-2: #111111;\n --simple-colors-default-theme-accent-3: #222222;\n --simple-colors-default-theme-accent-4: #333333;\n --simple-colors-default-theme-accent-5: #444444;\n --simple-colors-default-theme-accent-6: #666666;\n --simple-colors-default-theme-accent-7: #999999;\n --simple-colors-default-theme-accent-8: #bbbbbb;\n --simple-colors-default-theme-accent-9: #cccccc;\n --simple-colors-default-theme-accent-10: #dddddd;\n --simple-colors-default-theme-accent-11: #eeeeee;\n --simple-colors-default-theme-accent-12: #ffffff;\n\n --simple-colors-default-theme-grey-1: #000000;\n --simple-colors-default-theme-grey-2: #111111;\n --simple-colors-default-theme-grey-3: #222222;\n --simple-colors-default-theme-grey-4: #333333;\n --simple-colors-default-theme-grey-5: #444444;\n --simple-colors-default-theme-grey-6: #666666;\n --simple-colors-default-theme-grey-7: #999999;\n --simple-colors-default-theme-grey-8: #bbbbbb;\n --simple-colors-default-theme-grey-9: #cccccc;\n --simple-colors-default-theme-grey-10: #dddddd;\n --simple-colors-default-theme-grey-11: #eeeeee;\n --simple-colors-default-theme-grey-12: #ffffff;\n\n --simple-colors-default-theme-red-1: #3f0000;\n --simple-colors-default-theme-red-2: #520000;\n --simple-colors-default-theme-red-3: #670000;\n --simple-colors-default-theme-red-4: #850000;\n --simple-colors-default-theme-red-5: #ac0000;\n --simple-colors-default-theme-red-6: #ee0000;\n --simple-colors-default-theme-red-7: #ff2222;\n --simple-colors-default-theme-red-8: #fd5151;\n --simple-colors-default-theme-red-9: #ff7474;\n --simple-colors-default-theme-red-10: #ff8f8f;\n --simple-colors-default-theme-red-11: #ffaeae;\n --simple-colors-default-theme-red-12: #ffdddd;\n\n --simple-colors-default-theme-pink-1: #440019;\n --simple-colors-default-theme-pink-2: #5a0020;\n --simple-colors-default-theme-pink-3: #78002b;\n --simple-colors-default-theme-pink-4: #980036;\n --simple-colors-default-theme-pink-5: #b80042;\n --simple-colors-default-theme-pink-6: #da004e;\n --simple-colors-default-theme-pink-7: #ff3996;\n --simple-colors-default-theme-pink-8: #fd60aa;\n --simple-colors-default-theme-pink-9: #ff73b5;\n --simple-colors-default-theme-pink-10: #ff87c0;\n --simple-colors-default-theme-pink-11: #ffa5cf;\n --simple-colors-default-theme-pink-12: #ffe6f1;\n\n --simple-colors-default-theme-purple-1: #200025;\n --simple-colors-default-theme-purple-2: #33003a;\n --simple-colors-default-theme-purple-3: #490052;\n --simple-colors-default-theme-purple-4: #6c0079;\n --simple-colors-default-theme-purple-5: #8a009b;\n --simple-colors-default-theme-purple-6: #a500ba;\n --simple-colors-default-theme-purple-7: #e200ff;\n --simple-colors-default-theme-purple-8: #ed61ff;\n --simple-colors-default-theme-purple-9: #f07cff;\n --simple-colors-default-theme-purple-10: #f394ff;\n --simple-colors-default-theme-purple-11: #f4affd;\n --simple-colors-default-theme-purple-12: #fce6ff;\n\n --simple-colors-default-theme-deep-purple-1: #1d0033;\n --simple-colors-default-theme-deep-purple-2: #2a0049;\n --simple-colors-default-theme-deep-purple-3: #3a0063;\n --simple-colors-default-theme-deep-purple-4: #4c0081;\n --simple-colors-default-theme-deep-purple-5: #5d009f;\n --simple-colors-default-theme-deep-purple-6: #7e00d8;\n --simple-colors-default-theme-deep-purple-7: #a931ff;\n --simple-colors-default-theme-deep-purple-8: #b44aff;\n --simple-colors-default-theme-deep-purple-9: #bb63f9;\n --simple-colors-default-theme-deep-purple-10: #c97eff;\n --simple-colors-default-theme-deep-purple-11: #ddacff;\n --simple-colors-default-theme-deep-purple-12: #f3e4ff;\n\n --simple-colors-default-theme-indigo-1: #0a0030;\n --simple-colors-default-theme-indigo-2: #100049;\n --simple-colors-default-theme-indigo-3: #160063;\n --simple-colors-default-theme-indigo-4: #20008c;\n --simple-colors-default-theme-indigo-5: #2801b0;\n --simple-colors-default-theme-indigo-6: #3a00ff;\n --simple-colors-default-theme-indigo-7: #835fff;\n --simple-colors-default-theme-indigo-8: #9373ff;\n --simple-colors-default-theme-indigo-9: #9e82ff;\n --simple-colors-default-theme-indigo-10: #af97ff;\n --simple-colors-default-theme-indigo-11: #c3b2ff;\n --simple-colors-default-theme-indigo-12: #e5ddff;\n\n --simple-colors-default-theme-blue-1: #001333;\n --simple-colors-default-theme-blue-2: #001947;\n --simple-colors-default-theme-blue-3: #002569;\n --simple-colors-default-theme-blue-4: #003494;\n --simple-colors-default-theme-blue-5: #0041bb;\n --simple-colors-default-theme-blue-6: #0059ff;\n --simple-colors-default-theme-blue-7: #4083ff;\n --simple-colors-default-theme-blue-8: #5892fd;\n --simple-colors-default-theme-blue-9: #74a5ff;\n --simple-colors-default-theme-blue-10: #95baff;\n --simple-colors-default-theme-blue-11: #acc9ff;\n --simple-colors-default-theme-blue-12: #e2ecff;\n\n --simple-colors-default-theme-light-blue-1: #001b36;\n --simple-colors-default-theme-light-blue-2: #002850;\n --simple-colors-default-theme-light-blue-3: #003f7d;\n --simple-colors-default-theme-light-blue-4: #0055a8;\n --simple-colors-default-theme-light-blue-5: #0066ca;\n --simple-colors-default-theme-light-blue-6: #007ffc;\n --simple-colors-default-theme-light-blue-7: #41a1ff;\n --simple-colors-default-theme-light-blue-8: #58adff;\n --simple-colors-default-theme-light-blue-9: #65b3ff;\n --simple-colors-default-theme-light-blue-10: #92c9ff;\n --simple-colors-default-theme-light-blue-11: #a1d1ff;\n --simple-colors-default-theme-light-blue-12: #cde8ff;\n\n --simple-colors-default-theme-cyan-1: #001a20;\n --simple-colors-default-theme-cyan-2: #002c38;\n --simple-colors-default-theme-cyan-3: #003f50;\n --simple-colors-default-theme-cyan-4: #005970;\n --simple-colors-default-theme-cyan-5: #007999;\n --simple-colors-default-theme-cyan-6: #009dc7;\n --simple-colors-default-theme-cyan-7: #00c9ff;\n --simple-colors-default-theme-cyan-8: #1ccfff;\n --simple-colors-default-theme-cyan-9: #33d4ff;\n --simple-colors-default-theme-cyan-10: #77e2ff;\n --simple-colors-default-theme-cyan-11: #9beaff;\n --simple-colors-default-theme-cyan-12: #ddf8ff;\n\n --simple-colors-default-theme-teal-1: #001b14;\n --simple-colors-default-theme-teal-2: #002a20;\n --simple-colors-default-theme-teal-3: #003829;\n --simple-colors-default-theme-teal-4: #004e3a;\n --simple-colors-default-theme-teal-5: #007658;\n --simple-colors-default-theme-teal-6: #009d75;\n --simple-colors-default-theme-teal-7: #00ff9c;\n --simple-colors-default-theme-teal-8: #29ffac;\n --simple-colors-default-theme-teal-9: #56ffbd;\n --simple-colors-default-theme-teal-10: #79ffcb;\n --simple-colors-default-theme-teal-11: #98ffd7;\n --simple-colors-default-theme-teal-12: #d9fff0;\n\n --simple-colors-default-theme-green-1: #001d0c;\n --simple-colors-default-theme-green-2: #002a11;\n --simple-colors-default-theme-green-3: #003d18;\n --simple-colors-default-theme-green-4: #005a23;\n --simple-colors-default-theme-green-5: #00762e;\n --simple-colors-default-theme-green-6: #008c37;\n --simple-colors-default-theme-green-7: #00f961;\n --simple-colors-default-theme-green-8: #24ff70;\n --simple-colors-default-theme-green-9: #49ff88;\n --simple-colors-default-theme-green-10: #79ffa7;\n --simple-colors-default-theme-green-11: #acffc9;\n --simple-colors-default-theme-green-12: #e1ffeb;\n\n --simple-colors-default-theme-light-green-1: #0d2000;\n --simple-colors-default-theme-light-green-2: #143000;\n --simple-colors-default-theme-light-green-3: #1b3f00;\n --simple-colors-default-theme-light-green-4: #296100;\n --simple-colors-default-theme-light-green-5: #357f00;\n --simple-colors-default-theme-light-green-6: #429d00;\n --simple-colors-default-theme-light-green-7: #6fff00;\n --simple-colors-default-theme-light-green-8: #8efd38;\n --simple-colors-default-theme-light-green-9: #a1fd5a;\n --simple-colors-default-theme-light-green-10: #b1ff75;\n --simple-colors-default-theme-light-green-11: #c7ff9b;\n --simple-colors-default-theme-light-green-12: #ebffdb;\n\n --simple-colors-default-theme-lime-1: #182400;\n --simple-colors-default-theme-lime-2: #223400;\n --simple-colors-default-theme-lime-3: #293f00;\n --simple-colors-default-theme-lime-4: #3b5a00;\n --simple-colors-default-theme-lime-5: #4d7600;\n --simple-colors-default-theme-lime-6: #649900;\n --simple-colors-default-theme-lime-7: #aeff00;\n --simple-colors-default-theme-lime-8: #bdff2d;\n --simple-colors-default-theme-lime-9: #caff58;\n --simple-colors-default-theme-lime-10: #d4ff77;\n --simple-colors-default-theme-lime-11: #dfff9b;\n --simple-colors-default-theme-lime-12: #f1ffd2;\n\n --simple-colors-default-theme-yellow-1: #242400;\n --simple-colors-default-theme-yellow-2: #303000;\n --simple-colors-default-theme-yellow-3: #454400;\n --simple-colors-default-theme-yellow-4: #585700;\n --simple-colors-default-theme-yellow-5: #787700;\n --simple-colors-default-theme-yellow-6: #929100;\n --simple-colors-default-theme-yellow-7: #f6f600;\n --simple-colors-default-theme-yellow-8: #ffff3a;\n --simple-colors-default-theme-yellow-9: #ffff7c;\n --simple-colors-default-theme-yellow-10: #ffff90;\n --simple-colors-default-theme-yellow-11: #ffffac;\n --simple-colors-default-theme-yellow-12: #ffffd5;\n\n --simple-colors-default-theme-amber-1: #221a00;\n --simple-colors-default-theme-amber-2: #302500;\n --simple-colors-default-theme-amber-3: #413200;\n --simple-colors-default-theme-amber-4: #614b00;\n --simple-colors-default-theme-amber-5: #876800;\n --simple-colors-default-theme-amber-6: #b28900;\n --simple-colors-default-theme-amber-7: #ffc500;\n --simple-colors-default-theme-amber-8: #ffc235;\n --simple-colors-default-theme-amber-9: #ffcf5e;\n --simple-colors-default-theme-amber-10: #ffd677;\n --simple-colors-default-theme-amber-11: #ffdf92;\n --simple-colors-default-theme-amber-12: #fff2d4;\n\n --simple-colors-default-theme-orange-1: #2c1400;\n --simple-colors-default-theme-orange-2: #3d1c00;\n --simple-colors-default-theme-orange-3: #612d00;\n --simple-colors-default-theme-orange-4: #833d00;\n --simple-colors-default-theme-orange-5: #ae5100;\n --simple-colors-default-theme-orange-6: #e56a00;\n --simple-colors-default-theme-orange-7: #ff9625;\n --simple-colors-default-theme-orange-8: #ff9e36;\n --simple-colors-default-theme-orange-9: #ffb05c;\n --simple-colors-default-theme-orange-10: #ffbd75;\n --simple-colors-default-theme-orange-11: #ffca92;\n --simple-colors-default-theme-orange-12: #ffebd7;\n\n --simple-colors-default-theme-deep-orange-1: #240700;\n --simple-colors-default-theme-deep-orange-2: #3a0c00;\n --simple-colors-default-theme-deep-orange-3: #561100;\n --simple-colors-default-theme-deep-orange-4: #8a1c00;\n --simple-colors-default-theme-deep-orange-5: #b92500;\n --simple-colors-default-theme-deep-orange-6: #f53100;\n --simple-colors-default-theme-deep-orange-7: #ff6c3c;\n --simple-colors-default-theme-deep-orange-8: #ff7649;\n --simple-colors-default-theme-deep-orange-9: #ff8a64;\n --simple-colors-default-theme-deep-orange-10: #ffa588;\n --simple-colors-default-theme-deep-orange-11: #ffb299;\n --simple-colors-default-theme-deep-orange-12: #ffe7e0;\n\n --simple-colors-default-theme-brown-1: #200e09;\n --simple-colors-default-theme-brown-2: #2c140e;\n --simple-colors-default-theme-brown-3: #3b1e15;\n --simple-colors-default-theme-brown-4: #5b3328;\n --simple-colors-default-theme-brown-5: #724539;\n --simple-colors-default-theme-brown-6: #85574a;\n --simple-colors-default-theme-brown-7: #a47060;\n --simple-colors-default-theme-brown-8: #ac7868;\n --simple-colors-default-theme-brown-9: #b68373;\n --simple-colors-default-theme-brown-10: #c59485;\n --simple-colors-default-theme-brown-11: #e5b8aa;\n --simple-colors-default-theme-brown-12: #f0e2de;\n\n --simple-colors-default-theme-blue-grey-1: #0f1518;\n --simple-colors-default-theme-blue-grey-2: #182023;\n --simple-colors-default-theme-blue-grey-3: #1e282c;\n --simple-colors-default-theme-blue-grey-4: #2f3e45;\n --simple-colors-default-theme-blue-grey-5: #40535b;\n --simple-colors-default-theme-blue-grey-6: #56707c;\n --simple-colors-default-theme-blue-grey-7: #718892;\n --simple-colors-default-theme-blue-grey-8: #7a8f98;\n --simple-colors-default-theme-blue-grey-9: #8d9fa7;\n --simple-colors-default-theme-blue-grey-10: #9badb6;\n --simple-colors-default-theme-blue-grey-11: #b1c5ce;\n --simple-colors-default-theme-blue-grey-12: #e7eff1;\n }\n\n :host {\n accent-color: var(--simple-colors-default-theme-accent-7);\n }\n\n :host([accent-color=\"grey\"]) {\n --simple-colors-default-theme-accent-1: #ffffff;\n --simple-colors-default-theme-accent-2: #eeeeee;\n --simple-colors-default-theme-accent-3: #dddddd;\n --simple-colors-default-theme-accent-4: #cccccc;\n --simple-colors-default-theme-accent-5: #bbbbbb;\n --simple-colors-default-theme-accent-6: #999999;\n --simple-colors-default-theme-accent-7: #666666;\n --simple-colors-default-theme-accent-8: #444444;\n --simple-colors-default-theme-accent-9: #333333;\n --simple-colors-default-theme-accent-10: #222222;\n --simple-colors-default-theme-accent-11: #111111;\n --simple-colors-default-theme-accent-12: #000000;\n --simple-colors-fixed-theme-accent-1: #ffffff;\n --simple-colors-fixed-theme-accent-2: #eeeeee;\n --simple-colors-fixed-theme-accent-3: #dddddd;\n --simple-colors-fixed-theme-accent-4: #cccccc;\n --simple-colors-fixed-theme-accent-5: #bbbbbb;\n --simple-colors-fixed-theme-accent-6: #999999;\n --simple-colors-fixed-theme-accent-7: #666666;\n --simple-colors-fixed-theme-accent-8: #444444;\n --simple-colors-fixed-theme-accent-9: #333333;\n --simple-colors-fixed-theme-accent-10: #222222;\n --simple-colors-fixed-theme-accent-11: #111111;\n --simple-colors-fixed-theme-accent-12: #000000;\n }\n\n :host([dark][accent-color=\"grey\"]) {\n --simple-colors-default-theme-accent-1: #000000;\n --simple-colors-default-theme-accent-2: #111111;\n --simple-colors-default-theme-accent-3: #222222;\n --simple-colors-default-theme-accent-4: #333333;\n --simple-colors-default-theme-accent-5: #444444;\n --simple-colors-default-theme-accent-6: #666666;\n --simple-colors-default-theme-accent-7: #999999;\n --simple-colors-default-theme-accent-8: #bbbbbb;\n --simple-colors-default-theme-accent-9: #cccccc;\n --simple-colors-default-theme-accent-10: #dddddd;\n --simple-colors-default-theme-accent-11: #eeeeee;\n --simple-colors-default-theme-accent-12: #ffffff;\n }\n\n :host([accent-color=\"red\"]) {\n --simple-colors-default-theme-accent-1: #ffdddd;\n --simple-colors-default-theme-accent-2: #ffaeae;\n --simple-colors-default-theme-accent-3: #ff8f8f;\n --simple-colors-default-theme-accent-4: #ff7474;\n --simple-colors-default-theme-accent-5: #fd5151;\n --simple-colors-default-theme-accent-6: #ff2222;\n --simple-colors-default-theme-accent-7: #ee0000;\n --simple-colors-default-theme-accent-8: #ac0000;\n --simple-colors-default-theme-accent-9: #850000;\n --simple-colors-default-theme-accent-10: #670000;\n --simple-colors-default-theme-accent-11: #520000;\n --simple-colors-default-theme-accent-12: #3f0000;\n --simple-colors-fixed-theme-accent-1: #ffdddd;\n --simple-colors-fixed-theme-accent-2: #ffaeae;\n --simple-colors-fixed-theme-accent-3: #ff8f8f;\n --simple-colors-fixed-theme-accent-4: #ff7474;\n --simple-colors-fixed-theme-accent-5: #fd5151;\n --simple-colors-fixed-theme-accent-6: #ff2222;\n --simple-colors-fixed-theme-accent-7: #ee0000;\n --simple-colors-fixed-theme-accent-8: #ac0000;\n --simple-colors-fixed-theme-accent-9: #850000;\n --simple-colors-fixed-theme-accent-10: #670000;\n --simple-colors-fixed-theme-accent-11: #520000;\n --simple-colors-fixed-theme-accent-12: #3f0000;\n }\n\n :host([dark][accent-color=\"red\"]) {\n --simple-colors-default-theme-accent-1: #3f0000;\n --simple-colors-default-theme-accent-2: #520000;\n --simple-colors-default-theme-accent-3: #670000;\n --simple-colors-default-theme-accent-4: #850000;\n --simple-colors-default-theme-accent-5: #ac0000;\n --simple-colors-default-theme-accent-6: #ee0000;\n --simple-colors-default-theme-accent-7: #ff2222;\n --simple-colors-default-theme-accent-8: #fd5151;\n --simple-colors-default-theme-accent-9: #ff7474;\n --simple-colors-default-theme-accent-10: #ff8f8f;\n --simple-colors-default-theme-accent-11: #ffaeae;\n --simple-colors-default-theme-accent-12: #ffdddd;\n }\n\n :host([accent-color=\"pink\"]) {\n --simple-colors-default-theme-accent-1: #ffe6f1;\n --simple-colors-default-theme-accent-2: #ffa5cf;\n --simple-colors-default-theme-accent-3: #ff87c0;\n --simple-colors-default-theme-accent-4: #ff73b5;\n --simple-colors-default-theme-accent-5: #fd60aa;\n --simple-colors-default-theme-accent-6: #ff3996;\n --simple-colors-default-theme-accent-7: #da004e;\n --simple-colors-default-theme-accent-8: #b80042;\n --simple-colors-default-theme-accent-9: #980036;\n --simple-colors-default-theme-accent-10: #78002b;\n --simple-colors-default-theme-accent-11: #5a0020;\n --simple-colors-default-theme-accent-12: #440019;\n --simple-colors-fixed-theme-accent-1: #ffe6f1;\n --simple-colors-fixed-theme-accent-2: #ffa5cf;\n --simple-colors-fixed-theme-accent-3: #ff87c0;\n --simple-colors-fixed-theme-accent-4: #ff73b5;\n --simple-colors-fixed-theme-accent-5: #fd60aa;\n --simple-colors-fixed-theme-accent-6: #ff3996;\n --simple-colors-fixed-theme-accent-7: #da004e;\n --simple-colors-fixed-theme-accent-8: #b80042;\n --simple-colors-fixed-theme-accent-9: #980036;\n --simple-colors-fixed-theme-accent-10: #78002b;\n --simple-colors-fixed-theme-accent-11: #5a0020;\n --simple-colors-fixed-theme-accent-12: #440019;\n }\n\n :host([dark][accent-color=\"pink\"]) {\n --simple-colors-default-theme-accent-1: #440019;\n --simple-colors-default-theme-accent-2: #5a0020;\n --simple-colors-default-theme-accent-3: #78002b;\n --simple-colors-default-theme-accent-4: #980036;\n --simple-colors-default-theme-accent-5: #b80042;\n --simple-colors-default-theme-accent-6: #da004e;\n --simple-colors-default-theme-accent-7: #ff3996;\n --simple-colors-default-theme-accent-8: #fd60aa;\n --simple-colors-default-theme-accent-9: #ff73b5;\n --simple-colors-default-theme-accent-10: #ff87c0;\n --simple-colors-default-theme-accent-11: #ffa5cf;\n --simple-colors-default-theme-accent-12: #ffe6f1;\n }\n\n :host([accent-color=\"purple\"]) {\n --simple-colors-default-theme-accent-1: #fce6ff;\n --simple-colors-default-theme-accent-2: #f4affd;\n --simple-colors-default-theme-accent-3: #f394ff;\n --simple-colors-default-theme-accent-4: #f07cff;\n --simple-colors-default-theme-accent-5: #ed61ff;\n --simple-colors-default-theme-accent-6: #e200ff;\n --simple-colors-default-theme-accent-7: #a500ba;\n --simple-colors-default-theme-accent-8: #8a009b;\n --simple-colors-default-theme-accent-9: #6c0079;\n --simple-colors-default-theme-accent-10: #490052;\n --simple-colors-default-theme-accent-11: #33003a;\n --simple-colors-default-theme-accent-12: #200025;\n --simple-colors-fixed-theme-accent-1: #fce6ff;\n --simple-colors-fixed-theme-accent-2: #f4affd;\n --simple-colors-fixed-theme-accent-3: #f394ff;\n --simple-colors-fixed-theme-accent-4: #f07cff;\n --simple-colors-fixed-theme-accent-5: #ed61ff;\n --simple-colors-fixed-theme-accent-6: #e200ff;\n --simple-colors-fixed-theme-accent-7: #a500ba;\n --simple-colors-fixed-theme-accent-8: #8a009b;\n --simple-colors-fixed-theme-accent-9: #6c0079;\n --simple-colors-fixed-theme-accent-10: #490052;\n --simple-colors-fixed-theme-accent-11: #33003a;\n --simple-colors-fixed-theme-accent-12: #200025;\n }\n\n :host([dark][accent-color=\"purple\"]) {\n --simple-colors-default-theme-accent-1: #200025;\n --simple-colors-default-theme-accent-2: #33003a;\n --simple-colors-default-theme-accent-3: #490052;\n --simple-colors-default-theme-accent-4: #6c0079;\n --simple-colors-default-theme-accent-5: #8a009b;\n --simple-colors-default-theme-accent-6: #a500ba;\n --simple-colors-default-theme-accent-7: #e200ff;\n --simple-colors-default-theme-accent-8: #ed61ff;\n --simple-colors-default-theme-accent-9: #f07cff;\n --simple-colors-default-theme-accent-10: #f394ff;\n --simple-colors-default-theme-accent-11: #f4affd;\n --simple-colors-default-theme-accent-12: #fce6ff;\n }\n\n :host([accent-color=\"deep-purple\"]) {\n --simple-colors-default-theme-accent-1: #f3e4ff;\n --simple-colors-default-theme-accent-2: #ddacff;\n --simple-colors-default-theme-accent-3: #c97eff;\n --simple-colors-default-theme-accent-4: #bb63f9;\n --simple-colors-default-theme-accent-5: #b44aff;\n --simple-colors-default-theme-accent-6: #a931ff;\n --simple-colors-default-theme-accent-7: #7e00d8;\n --simple-colors-default-theme-accent-8: #5d009f;\n --simple-colors-default-theme-accent-9: #4c0081;\n --simple-colors-default-theme-accent-10: #3a0063;\n --simple-colors-default-theme-accent-11: #2a0049;\n --simple-colors-default-theme-accent-12: #1d0033;\n --simple-colors-fixed-theme-accent-1: #f3e4ff;\n --simple-colors-fixed-theme-accent-2: #ddacff;\n --simple-colors-fixed-theme-accent-3: #c97eff;\n --simple-colors-fixed-theme-accent-4: #bb63f9;\n --simple-colors-fixed-theme-accent-5: #b44aff;\n --simple-colors-fixed-theme-accent-6: #a931ff;\n --simple-colors-fixed-theme-accent-7: #7e00d8;\n --simple-colors-fixed-theme-accent-8: #5d009f;\n --simple-colors-fixed-theme-accent-9: #4c0081;\n --simple-colors-fixed-theme-accent-10: #3a0063;\n --simple-colors-fixed-theme-accent-11: #2a0049;\n --simple-colors-fixed-theme-accent-12: #1d0033;\n }\n\n :host([dark][accent-color=\"deep-purple\"]) {\n --simple-colors-default-theme-accent-1: #1d0033;\n --simple-colors-default-theme-accent-2: #2a0049;\n --simple-colors-default-theme-accent-3: #3a0063;\n --simple-colors-default-theme-accent-4: #4c0081;\n --simple-colors-default-theme-accent-5: #5d009f;\n --simple-colors-default-theme-accent-6: #7e00d8;\n --simple-colors-default-theme-accent-7: #a931ff;\n --simple-colors-default-theme-accent-8: #b44aff;\n --simple-colors-default-theme-accent-9: #bb63f9;\n --simple-colors-default-theme-accent-10: #c97eff;\n --simple-colors-default-theme-accent-11: #ddacff;\n --simple-colors-default-theme-accent-12: #f3e4ff;\n }\n\n :host([accent-color=\"indigo\"]) {\n --simple-colors-default-theme-accent-1: #e5ddff;\n --simple-colors-default-theme-accent-2: #c3b2ff;\n --simple-colors-default-theme-accent-3: #af97ff;\n --simple-colors-default-theme-accent-4: #9e82ff;\n --simple-colors-default-theme-accent-5: #9373ff;\n --simple-colors-default-theme-accent-6: #835fff;\n --simple-colors-default-theme-accent-7: #3a00ff;\n --simple-colors-default-theme-accent-8: #2801b0;\n --simple-colors-default-theme-accent-9: #20008c;\n --simple-colors-default-theme-accent-10: #160063;\n --simple-colors-default-theme-accent-11: #100049;\n --simple-colors-default-theme-accent-12: #0a0030;\n --simple-colors-fixed-theme-accent-1: #e5ddff;\n --simple-colors-fixed-theme-accent-2: #c3b2ff;\n --simple-colors-fixed-theme-accent-3: #af97ff;\n --simple-colors-fixed-theme-accent-4: #9e82ff;\n --simple-colors-fixed-theme-accent-5: #9373ff;\n --simple-colors-fixed-theme-accent-6: #835fff;\n --simple-colors-fixed-theme-accent-7: #3a00ff;\n --simple-colors-fixed-theme-accent-8: #2801b0;\n --simple-colors-fixed-theme-accent-9: #20008c;\n --simple-colors-fixed-theme-accent-10: #160063;\n --simple-colors-fixed-theme-accent-11: #100049;\n --simple-colors-fixed-theme-accent-12: #0a0030;\n }\n\n :host([dark][accent-color=\"indigo\"]) {\n --simple-colors-default-theme-accent-1: #0a0030;\n --simple-colors-default-theme-accent-2: #100049;\n --simple-colors-default-theme-accent-3: #160063;\n --simple-colors-default-theme-accent-4: #20008c;\n --simple-colors-default-theme-accent-5: #2801b0;\n --simple-colors-default-theme-accent-6: #3a00ff;\n --simple-colors-default-theme-accent-7: #835fff;\n --simple-colors-default-theme-accent-8: #9373ff;\n --simple-colors-default-theme-accent-9: #9e82ff;\n --simple-colors-default-theme-accent-10: #af97ff;\n --simple-colors-default-theme-accent-11: #c3b2ff;\n --simple-colors-default-theme-accent-12: #e5ddff;\n }\n\n :host([accent-color=\"blue\"]) {\n --simple-colors-default-theme-accent-1: #e2ecff;\n --simple-colors-default-theme-accent-2: #acc9ff;\n --simple-colors-default-theme-accent-3: #95baff;\n --simple-colors-default-theme-accent-4: #74a5ff;\n --simple-colors-default-theme-accent-5: #5892fd;\n --simple-colors-default-theme-accent-6: #4083ff;\n --simple-colors-default-theme-accent-7: #0059ff;\n --simple-colors-default-theme-accent-8: #0041bb;\n --simple-colors-default-theme-accent-9: #003494;\n --simple-colors-default-theme-accent-10: #002569;\n --simple-colors-default-theme-accent-11: #001947;\n --simple-colors-default-theme-accent-12: #001333;\n --simple-colors-fixed-theme-accent-1: #e2ecff;\n --simple-colors-fixed-theme-accent-2: #acc9ff;\n --simple-colors-fixed-theme-accent-3: #95baff;\n --simple-colors-fixed-theme-accent-4: #74a5ff;\n --simple-colors-fixed-theme-accent-5: #5892fd;\n --simple-colors-fixed-theme-accent-6: #4083ff;\n --simple-colors-fixed-theme-accent-7: #0059ff;\n --simple-colors-fixed-theme-accent-8: #0041bb;\n --simple-colors-fixed-theme-accent-9: #003494;\n --simple-colors-fixed-theme-accent-10: #002569;\n --simple-colors-fixed-theme-accent-11: #001947;\n --simple-colors-fixed-theme-accent-12: #001333;\n }\n\n :host([dark][accent-color=\"blue\"]) {\n --simple-colors-default-theme-accent-1: #001333;\n --simple-colors-default-theme-accent-2: #001947;\n --simple-colors-default-theme-accent-3: #002569;\n --simple-colors-default-theme-accent-4: #003494;\n --simple-colors-default-theme-accent-5: #0041bb;\n --simple-colors-default-theme-accent-6: #0059ff;\n --simple-colors-default-theme-accent-7: #4083ff;\n --simple-colors-default-theme-accent-8: #5892fd;\n --simple-colors-default-theme-accent-9: #74a5ff;\n --simple-colors-default-theme-accent-10: #95baff;\n --simple-colors-default-theme-accent-11: #acc9ff;\n --simple-colors-default-theme-accent-12: #e2ecff;\n }\n\n :host([accent-color=\"light-blue\"]) {\n --simple-colors-default-theme-accent-1: #cde8ff;\n --simple-colors-default-theme-accent-2: #a1d1ff;\n --simple-colors-default-theme-accent-3: #92c9ff;\n --simple-colors-default-theme-accent-4: #65b3ff;\n --simple-colors-default-theme-accent-5: #58adff;\n --simple-colors-default-theme-accent-6: #41a1ff;\n --simple-colors-default-theme-accent-7: #007ffc;\n --simple-colors-default-theme-accent-8: #0066ca;\n --simple-colors-default-theme-accent-9: #0055a8;\n --simple-colors-default-theme-accent-10: #003f7d;\n --simple-colors-default-theme-accent-11: #002850;\n --simple-colors-default-theme-accent-12: #001b36;\n --simple-colors-fixed-theme-accent-1: #cde8ff;\n --simple-colors-fixed-theme-accent-2: #a1d1ff;\n --simple-colors-fixed-theme-accent-3: #92c9ff;\n --simple-colors-fixed-theme-accent-4: #65b3ff;\n --simple-colors-fixed-theme-accent-5: #58adff;\n --simple-colors-fixed-theme-accent-6: #41a1ff;\n --simple-colors-fixed-theme-accent-7: #007ffc;\n --simple-colors-fixed-theme-accent-8: #0066ca;\n --simple-colors-fixed-theme-accent-9: #0055a8;\n --simple-colors-fixed-theme-accent-10: #003f7d;\n --simple-colors-fixed-theme-accent-11: #002850;\n --simple-colors-fixed-theme-accent-12: #001b36;\n }\n\n :host([dark][accent-color=\"light-blue\"]) {\n --simple-colors-default-theme-accent-1: #001b36;\n --simple-colors-default-theme-accent-2: #002850;\n --simple-colors-default-theme-accent-3: #003f7d;\n --simple-colors-default-theme-accent-4: #0055a8;\n --simple-colors-default-theme-accent-5: #0066ca;\n --simple-colors-default-theme-accent-6: #007ffc;\n --simple-colors-default-theme-accent-7: #41a1ff;\n --simple-colors-default-theme-accent-8: #58adff;\n --simple-colors-default-theme-accent-9: #65b3ff;\n --simple-colors-default-theme-accent-10: #92c9ff;\n --simple-colors-default-theme-accent-11: #a1d1ff;\n --simple-colors-default-theme-accent-12: #cde8ff;\n }\n\n :host([accent-color=\"cyan\"]) {\n --simple-colors-default-theme-accent-1: #ddf8ff;\n --simple-colors-default-theme-accent-2: #9beaff;\n --simple-colors-default-theme-accent-3: #77e2ff;\n --simple-colors-default-theme-accent-4: #33d4ff;\n --simple-colors-default-theme-accent-5: #1ccfff;\n --simple-colors-default-theme-accent-6: #00c9ff;\n --simple-colors-default-theme-accent-7: #009dc7;\n --simple-colors-default-theme-accent-8: #007999;\n --simple-colors-default-theme-accent-9: #005970;\n --simple-colors-default-theme-accent-10: #003f50;\n --simple-colors-default-theme-accent-11: #002c38;\n --simple-colors-default-theme-accent-12: #001a20;\n --simple-colors-fixed-theme-accent-1: #ddf8ff;\n --simple-colors-fixed-theme-accent-2: #9beaff;\n --simple-colors-fixed-theme-accent-3: #77e2ff;\n --simple-colors-fixed-theme-accent-4: #33d4ff;\n --simple-colors-fixed-theme-accent-5: #1ccfff;\n --simple-colors-fixed-theme-accent-6: #00c9ff;\n --simple-colors-fixed-theme-accent-7: #009dc7;\n --simple-colors-fixed-theme-accent-8: #007999;\n --simple-colors-fixed-theme-accent-9: #005970;\n --simple-colors-fixed-theme-accent-10: #003f50;\n --simple-colors-fixed-theme-accent-11: #002c38;\n --simple-colors-fixed-theme-accent-12: #001a20;\n }\n\n :host([dark][accent-color=\"cyan\"]) {\n --simple-colors-default-theme-accent-1: #001a20;\n --simple-colors-default-theme-accent-2: #002c38;\n --simple-colors-default-theme-accent-3: #003f50;\n --simple-colors-default-theme-accent-4: #005970;\n --simple-colors-default-theme-accent-5: #007999;\n --simple-colors-default-theme-accent-6: #009dc7;\n --simple-colors-default-theme-accent-7: #00c9ff;\n --simple-colors-default-theme-accent-8: #1ccfff;\n --simple-colors-default-theme-accent-9: #33d4ff;\n --simple-colors-default-theme-accent-10: #77e2ff;\n --simple-colors-default-theme-accent-11: #9beaff;\n --simple-colors-default-theme-accent-12: #ddf8ff;\n }\n\n :host([accent-color=\"teal\"]) {\n --simple-colors-default-theme-accent-1: #d9fff0;\n --simple-colors-default-theme-accent-2: #98ffd7;\n --simple-colors-default-theme-accent-3: #79ffcb;\n --simple-colors-default-theme-accent-4: #56ffbd;\n --simple-colors-default-theme-accent-5: #29ffac;\n --simple-colors-default-theme-accent-6: #00ff9c;\n --simple-colors-default-theme-accent-7: #009d75;\n --simple-colors-default-theme-accent-8: #007658;\n --simple-colors-default-theme-accent-9: #004e3a;\n --simple-colors-default-theme-accent-10: #003829;\n --simple-colors-default-theme-accent-11: #002a20;\n --simple-colors-default-theme-accent-12: #001b14;\n --simple-colors-fixed-theme-accent-1: #d9fff0;\n --simple-colors-fixed-theme-accent-2: #98ffd7;\n --simple-colors-fixed-theme-accent-3: #79ffcb;\n --simple-colors-fixed-theme-accent-4: #56ffbd;\n --simple-colors-fixed-theme-accent-5: #29ffac;\n --simple-colors-fixed-theme-accent-6: #00ff9c;\n --simple-colors-fixed-theme-accent-7: #009d75;\n --simple-colors-fixed-theme-accent-8: #007658;\n --simple-colors-fixed-theme-accent-9: #004e3a;\n --simple-colors-fixed-theme-accent-10: #003829;\n --simple-colors-fixed-theme-accent-11: #002a20;\n --simple-colors-fixed-theme-accent-12: #001b14;\n }\n\n :host([dark][accent-color=\"teal\"]) {\n --simple-colors-default-theme-accent-1: #001b14;\n --simple-colors-default-theme-accent-2: #002a20;\n --simple-colors-default-theme-accent-3: #003829;\n --simple-colors-default-theme-accent-4: #004e3a;\n --simple-colors-default-theme-accent-5: #007658;\n --simple-colors-default-theme-accent-6: #009d75;\n --simple-colors-default-theme-accent-7: #00ff9c;\n --simple-colors-default-theme-accent-8: #29ffac;\n --simple-colors-default-theme-accent-9: #56ffbd;\n --simple-colors-default-theme-accent-10: #79ffcb;\n --simple-colors-default-theme-accent-11: #98ffd7;\n --simple-colors-default-theme-accent-12: #d9fff0;\n }\n\n :host([accent-color=\"green\"]) {\n --simple-colors-default-theme-accent-1: #e1ffeb;\n --simple-colors-default-theme-accent-2: #acffc9;\n --simple-colors-default-theme-accent-3: #79ffa7;\n --simple-colors-default-theme-accent-4: #49ff88;\n --simple-colors-default-theme-accent-5: #24ff70;\n --simple-colors-default-theme-accent-6: #00f961;\n --simple-colors-default-theme-accent-7: #008c37;\n --simple-colors-default-theme-accent-8: #00762e;\n --simple-colors-default-theme-accent-9: #005a23;\n --simple-colors-default-theme-accent-10: #003d18;\n --simple-colors-default-theme-accent-11: #002a11;\n --simple-colors-default-theme-accent-12: #001d0c;\n --simple-colors-fixed-theme-accent-1: #e1ffeb;\n --simple-colors-fixed-theme-accent-2: #acffc9;\n --simple-colors-fixed-theme-accent-3: #79ffa7;\n --simple-colors-fixed-theme-accent-4: #49ff88;\n --simple-colors-fixed-theme-accent-5: #24ff70;\n --simple-colors-fixed-theme-accent-6: #00f961;\n --simple-colors-fixed-theme-accent-7: #008c37;\n --simple-colors-fixed-theme-accent-8: #00762e;\n --simple-colors-fixed-theme-accent-9: #005a23;\n --simple-colors-fixed-theme-accent-10: #003d18;\n --simple-colors-fixed-theme-accent-11: #002a11;\n --simple-colors-fixed-theme-accent-12: #001d0c;\n }\n\n :host([dark][accent-color=\"green\"]) {\n --simple-colors-default-theme-accent-1: #001d0c;\n --simple-colors-default-theme-accent-2: #002a11;\n --simple-colors-default-theme-accent-3: #003d18;\n --simple-colors-default-theme-accent-4: #005a23;\n --simple-colors-default-theme-accent-5: #00762e;\n --simple-colors-default-theme-accent-6: #008c37;\n --simple-colors-default-theme-accent-7: #00f961;\n --simple-colors-default-theme-accent-8: #24ff70;\n --simple-colors-default-theme-accent-9: #49ff88;\n --simple-colors-default-theme-accent-10: #79ffa7;\n --simple-colors-default-theme-accent-11: #acffc9;\n --simple-colors-default-theme-accent-12: #e1ffeb;\n }\n\n :host([accent-color=\"light-green\"]) {\n --simple-colors-default-theme-accent-1: #ebffdb;\n --simple-colors-default-theme-accent-2: #c7ff9b;\n --simple-colors-default-theme-accent-3: #b1ff75;\n --simple-colors-default-theme-accent-4: #a1fd5a;\n --simple-colors-default-theme-accent-5: #8efd38;\n --simple-colors-default-theme-accent-6: #6fff00;\n --simple-colors-default-theme-accent-7: #429d00;\n --simple-colors-default-theme-accent-8: #357f00;\n --simple-colors-default-theme-accent-9: #296100;\n --simple-colors-default-theme-accent-10: #1b3f00;\n --simple-colors-default-theme-accent-11: #143000;\n --simple-colors-default-theme-accent-12: #0d2000;\n --simple-colors-fixed-theme-accent-1: #ebffdb;\n --simple-colors-fixed-theme-accent-2: #c7ff9b;\n --simple-colors-fixed-theme-accent-3: #b1ff75;\n --simple-colors-fixed-theme-accent-4: #a1fd5a;\n --simple-colors-fixed-theme-accent-5: #8efd38;\n --simple-colors-fixed-theme-accent-6: #6fff00;\n --simple-colors-fixed-theme-accent-7: #429d00;\n --simple-colors-fixed-theme-accent-8: #357f00;\n --simple-colors-fixed-theme-accent-9: #296100;\n --simple-colors-fixed-theme-accent-10: #1b3f00;\n --simple-colors-fixed-theme-accent-11: #143000;\n --simple-colors-fixed-theme-accent-12: #0d2000;\n }\n\n :host([dark][accent-color=\"light-green\"]) {\n --simple-colors-default-theme-accent-1: #0d2000;\n --simple-colors-default-theme-accent-2: #143000;\n --simple-colors-default-theme-accent-3: #1b3f00;\n --simple-colors-default-theme-accent-4: #296100;\n --simple-colors-default-theme-accent-5: #357f00;\n --simple-colors-default-theme-accent-6: #429d00;\n --simple-colors-default-theme-accent-7: #6fff00;\n --simple-colors-default-theme-accent-8: #8efd38;\n --simple-colors-default-theme-accent-9: #a1fd5a;\n --simple-colors-default-theme-accent-10: #b1ff75;\n --simple-colors-default-theme-accent-11: #c7ff9b;\n --simple-colors-default-theme-accent-12: #ebffdb;\n }\n\n :host([accent-color=\"lime\"]) {\n --simple-colors-default-theme-accent-1: #f1ffd2;\n --simple-colors-default-theme-accent-2: #dfff9b;\n --simple-colors-default-theme-accent-3: #d4ff77;\n --simple-colors-default-theme-accent-4: #caff58;\n --simple-colors-default-theme-accent-5: #bdff2d;\n --simple-colors-default-theme-accent-6: #aeff00;\n --simple-colors-default-theme-accent-7: #649900;\n --simple-colors-default-theme-accent-8: #4d7600;\n --simple-colors-default-theme-accent-9: #3b5a00;\n --simple-colors-default-theme-accent-10: #293f00;\n --simple-colors-default-theme-accent-11: #223400;\n --simple-colors-default-theme-accent-12: #182400;\n --simple-colors-fixed-theme-accent-1: #f1ffd2;\n --simple-colors-fixed-theme-accent-2: #dfff9b;\n --simple-colors-fixed-theme-accent-3: #d4ff77;\n --simple-colors-fixed-theme-accent-4: #caff58;\n --simple-colors-fixed-theme-accent-5: #bdff2d;\n --simple-colors-fixed-theme-accent-6: #aeff00;\n --simple-colors-fixed-theme-accent-7: #649900;\n --simple-colors-fixed-theme-accent-8: #4d7600;\n --simple-colors-fixed-theme-accent-9: #3b5a00;\n --simple-colors-fixed-theme-accent-10: #293f00;\n --simple-colors-fixed-theme-accent-11: #223400;\n --simple-colors-fixed-theme-accent-12: #182400;\n }\n\n :host([dark][accent-color=\"lime\"]) {\n --simple-colors-default-theme-accent-1: #182400;\n --simple-colors-default-theme-accent-2: #223400;\n --simple-colors-default-theme-accent-3: #293f00;\n --simple-colors-default-theme-accent-4: #3b5a00;\n --simple-colors-default-theme-accent-5: #4d7600;\n --simple-colors-default-theme-accent-6: #649900;\n --simple-colors-default-theme-accent-7: #aeff00;\n --simple-colors-default-theme-accent-8: #bdff2d;\n --simple-colors-default-theme-accent-9: #caff58;\n --simple-colors-default-theme-accent-10: #d4ff77;\n --simple-colors-default-theme-accent-11: #dfff9b;\n --simple-colors-default-theme-accent-12: #f1ffd2;\n }\n\n :host([accent-color=\"yellow\"]) {\n --simple-colors-default-theme-accent-1: #ffffd5;\n --simple-colors-default-theme-accent-2: #ffffac;\n --simple-colors-default-theme-accent-3: #ffff90;\n --simple-colors-default-theme-accent-4: #ffff7c;\n --simple-colors-default-theme-accent-5: #ffff3a;\n --simple-colors-default-theme-accent-6: #f6f600;\n --simple-colors-default-theme-accent-7: #929100;\n --simple-colors-default-theme-accent-8: #787700;\n --simple-colors-default-theme-accent-9: #585700;\n --simple-colors-default-theme-accent-10: #454400;\n --simple-colors-default-theme-accent-11: #303000;\n --simple-colors-default-theme-accent-12: #242400;\n --simple-colors-fixed-theme-accent-1: #ffffd5;\n --simple-colors-fixed-theme-accent-2: #ffffac;\n --simple-colors-fixed-theme-accent-3: #ffff90;\n --simple-colors-fixed-theme-accent-4: #ffff7c;\n --simple-colors-fixed-theme-accent-5: #ffff3a;\n --simple-colors-fixed-theme-accent-6: #f6f600;\n --simple-colors-fixed-theme-accent-7: #929100;\n --simple-colors-fixed-theme-accent-8: #787700;\n --simple-colors-fixed-theme-accent-9: #585700;\n --simple-colors-fixed-theme-accent-10: #454400;\n --simple-colors-fixed-theme-accent-11: #303000;\n --simple-colors-fixed-theme-accent-12: #242400;\n }\n\n :host([dark][accent-color=\"yellow\"]) {\n --simple-colors-default-theme-accent-1: #242400;\n --simple-colors-default-theme-accent-2: #303000;\n --simple-colors-default-theme-accent-3: #454400;\n --simple-colors-default-theme-accent-4: #585700;\n --simple-colors-default-theme-accent-5: #787700;\n --simple-colors-default-theme-accent-6: #929100;\n --simple-colors-default-theme-accent-7: #f6f600;\n --simple-colors-default-theme-accent-8: #ffff3a;\n --simple-colors-default-theme-accent-9: #ffff7c;\n --simple-colors-default-theme-accent-10: #ffff90;\n --simple-colors-default-theme-accent-11: #ffffac;\n --simple-colors-default-theme-accent-12: #ffffd5;\n }\n\n :host([accent-color=\"amber\"]) {\n --simple-colors-default-theme-accent-1: #fff2d4;\n --simple-colors-default-theme-accent-2: #ffdf92;\n --simple-colors-default-theme-accent-3: #ffd677;\n --simple-colors-default-theme-accent-4: #ffcf5e;\n --simple-colors-default-theme-accent-5: #ffc235;\n --simple-colors-default-theme-accent-6: #ffc500;\n --simple-colors-default-theme-accent-7: #b28900;\n --simple-colors-default-theme-accent-8: #876800;\n --simple-colors-default-theme-accent-9: #614b00;\n --simple-colors-default-theme-accent-10: #413200;\n --simple-colors-default-theme-accent-11: #302500;\n --simple-colors-default-theme-accent-12: #221a00;\n --simple-colors-fixed-theme-accent-1: #fff2d4;\n --simple-colors-fixed-theme-accent-2: #ffdf92;\n --simple-colors-fixed-theme-accent-3: #ffd677;\n --simple-colors-fixed-theme-accent-4: #ffcf5e;\n --simple-colors-fixed-theme-accent-5: #ffc235;\n --simple-colors-fixed-theme-accent-6: #ffc500;\n --simple-colors-fixed-theme-accent-7: #b28900;\n --simple-colors-fixed-theme-accent-8: #876800;\n --simple-colors-fixed-theme-accent-9: #614b00;\n --simple-colors-fixed-theme-accent-10: #413200;\n --simple-colors-fixed-theme-accent-11: #302500;\n --simple-colors-fixed-theme-accent-12: #221a00;\n }\n\n :host([dark][accent-color=\"amber\"]) {\n --simple-colors-default-theme-accent-1: #221a00;\n --simple-colors-default-theme-accent-2: #302500;\n --simple-colors-default-theme-accent-3: #413200;\n --simple-colors-default-theme-accent-4: #614b00;\n --simple-colors-default-theme-accent-5: #876800;\n --simple-colors-default-theme-accent-6: #b28900;\n --simple-colors-default-theme-accent-7: #ffc500;\n --simple-colors-default-theme-accent-8: #ffc235;\n --simple-colors-default-theme-accent-9: #ffcf5e;\n --simple-colors-default-theme-accent-10: #ffd677;\n --simple-colors-default-theme-accent-11: #ffdf92;\n --simple-colors-default-theme-accent-12: #fff2d4;\n }\n\n :host([accent-color=\"orange\"]) {\n --simple-colors-default-theme-accent-1: #ffebd7;\n --simple-colors-default-theme-accent-2: #ffca92;\n --simple-colors-default-theme-accent-3: #ffbd75;\n --simple-colors-default-theme-accent-4: #ffb05c;\n --simple-colors-default-theme-accent-5: #ff9e36;\n --simple-colors-default-theme-accent-6: #ff9625;\n --simple-colors-default-theme-accent-7: #e56a00;\n --simple-colors-default-theme-accent-8: #ae5100;\n --simple-colors-default-theme-accent-9: #833d00;\n --simple-colors-default-theme-accent-10: #612d00;\n --simple-colors-default-theme-accent-11: #3d1c00;\n --simple-colors-default-theme-accent-12: #2c1400;\n --simple-colors-fixed-theme-accent-1: #ffebd7;\n --simple-colors-fixed-theme-accent-2: #ffca92;\n --simple-colors-fixed-theme-accent-3: #ffbd75;\n --simple-colors-fixed-theme-accent-4: #ffb05c;\n --simple-colors-fixed-theme-accent-5: #ff9e36;\n --simple-colors-fixed-theme-accent-6: #ff9625;\n --simple-colors-fixed-theme-accent-7: #e56a00;\n --simple-colors-fixed-theme-accent-8: #ae5100;\n --simple-colors-fixed-theme-accent-9: #833d00;\n --simple-colors-fixed-theme-accent-10: #612d00;\n --simple-colors-fixed-theme-accent-11: #3d1c00;\n --simple-colors-fixed-theme-accent-12: #2c1400;\n }\n\n :host([dark][accent-color=\"orange\"]) {\n --simple-colors-default-theme-accent-1: #2c1400;\n --simple-colors-default-theme-accent-2: #3d1c00;\n --simple-colors-default-theme-accent-3: #612d00;\n --simple-colors-default-theme-accent-4: #833d00;\n --simple-colors-default-theme-accent-5: #ae5100;\n --simple-colors-default-theme-accent-6: #e56a00;\n --simple-colors-default-theme-accent-7: #ff9625;\n --simple-colors-default-theme-accent-8: #ff9e36;\n --simple-colors-default-theme-accent-9: #ffb05c;\n --simple-colors-default-theme-accent-10: #ffbd75;\n --simple-colors-default-theme-accent-11: #ffca92;\n --simple-colors-default-theme-accent-12: #ffebd7;\n }\n\n :host([accent-color=\"deep-orange\"]) {\n --simple-colors-default-theme-accent-1: #ffe7e0;\n --simple-colors-default-theme-accent-2: #ffb299;\n --simple-colors-default-theme-accent-3: #ffa588;\n --simple-colors-default-theme-accent-4: #ff8a64;\n --simple-colors-default-theme-accent-5: #ff7649;\n --simple-colors-default-theme-accent-6: #ff6c3c;\n --simple-colors-default-theme-accent-7: #f53100;\n --simple-colors-default-theme-accent-8: #b92500;\n --simple-colors-default-theme-accent-9: #8a1c00;\n --simple-colors-default-theme-accent-10: #561100;\n --simple-colors-default-theme-accent-11: #3a0c00;\n --simple-colors-default-theme-accent-12: #240700;\n --simple-colors-fixed-theme-accent-1: #ffe7e0;\n --simple-colors-fixed-theme-accent-2: #ffb299;\n --simple-colors-fixed-theme-accent-3: #ffa588;\n --simple-colors-fixed-theme-accent-4: #ff8a64;\n --simple-colors-fixed-theme-accent-5: #ff7649;\n --simple-colors-fixed-theme-accent-6: #ff6c3c;\n --simple-colors-fixed-theme-accent-7: #f53100;\n --simple-colors-fixed-theme-accent-8: #b92500;\n --simple-colors-fixed-theme-accent-9: #8a1c00;\n --simple-colors-fixed-theme-accent-10: #561100;\n --simple-colors-fixed-theme-accent-11: #3a0c00;\n --simple-colors-fixed-theme-accent-12: #240700;\n }\n\n :host([dark][accent-color=\"deep-orange\"]) {\n --simple-colors-default-theme-accent-1: #240700;\n --simple-colors-default-theme-accent-2: #3a0c00;\n --simple-colors-default-theme-accent-3: #561100;\n --simple-colors-default-theme-accent-4: #8a1c00;\n --simple-colors-default-theme-accent-5: #b92500;\n --simple-colors-default-theme-accent-6: #f53100;\n --simple-colors-default-theme-accent-7: #ff6c3c;\n --simple-colors-default-theme-accent-8: #ff7649;\n --simple-colors-default-theme-accent-9: #ff8a64;\n --simple-colors-default-theme-accent-10: #ffa588;\n --simple-colors-default-theme-accent-11: #ffb299;\n --simple-colors-default-theme-accent-12: #ffe7e0;\n }\n\n :host([accent-color=\"brown\"]) {\n --simple-colors-default-theme-accent-1: #f0e2de;\n --simple-colors-default-theme-accent-2: #e5b8aa;\n --simple-colors-default-theme-accent-3: #c59485;\n --simple-colors-default-theme-accent-4: #b68373;\n --simple-colors-default-theme-accent-5: #ac7868;\n --simple-colors-default-theme-accent-6: #a47060;\n --simple-colors-default-theme-accent-7: #85574a;\n --simple-colors-default-theme-accent-8: #724539;\n --simple-colors-default-theme-accent-9: #5b3328;\n --simple-colors-default-theme-accent-10: #3b1e15;\n --simple-colors-default-theme-accent-11: #2c140e;\n --simple-colors-default-theme-accent-12: #200e09;\n --simple-colors-fixed-theme-accent-1: #f0e2de;\n --simple-colors-fixed-theme-accent-2: #e5b8aa;\n --simple-colors-fixed-theme-accent-3: #c59485;\n --simple-colors-fixed-theme-accent-4: #b68373;\n --simple-colors-fixed-theme-accent-5: #ac7868;\n --simple-colors-fixed-theme-accent-6: #a47060;\n --simple-colors-fixed-theme-accent-7: #85574a;\n --simple-colors-fixed-theme-accent-8: #724539;\n --simple-colors-fixed-theme-accent-9: #5b3328;\n --simple-colors-fixed-theme-accent-10: #3b1e15;\n --simple-colors-fixed-theme-accent-11: #2c140e;\n --simple-colors-fixed-theme-accent-12: #200e09;\n }\n\n :host([dark][accent-color=\"brown\"]) {\n --simple-colors-default-theme-accent-1: #200e09;\n --simple-colors-default-theme-accent-2: #2c140e;\n --simple-colors-default-theme-accent-3: #3b1e15;\n --simple-colors-default-theme-accent-4: #5b3328;\n --simple-colors-default-theme-accent-5: #724539;\n --simple-colors-default-theme-accent-6: #85574a;\n --simple-colors-default-theme-accent-7: #a47060;\n --simple-colors-default-theme-accent-8: #ac7868;\n --simple-colors-default-theme-accent-9: #b68373;\n --simple-colors-default-theme-accent-10: #c59485;\n --simple-colors-default-theme-accent-11: #e5b8aa;\n --simple-colors-default-theme-accent-12: #f0e2de;\n }\n\n :host([accent-color=\"blue-grey\"]) {\n --simple-colors-default-theme-accent-1: #e7eff1;\n --simple-colors-default-theme-accent-2: #b1c5ce;\n --simple-colors-default-theme-accent-3: #9badb6;\n --simple-colors-default-theme-accent-4: #8d9fa7;\n --simple-colors-default-theme-accent-5: #7a8f98;\n --simple-colors-default-theme-accent-6: #718892;\n --simple-colors-default-theme-accent-7: #56707c;\n --simple-colors-default-theme-accent-8: #40535b;\n --simple-colors-default-theme-accent-9: #2f3e45;\n --simple-colors-default-theme-accent-10: #1e282c;\n --simple-colors-default-theme-accent-11: #182023;\n --simple-colors-default-theme-accent-12: #0f1518;\n --simple-colors-fixed-theme-accent-1: #e7eff1;\n --simple-colors-fixed-theme-accent-2: #b1c5ce;\n --simple-colors-fixed-theme-accent-3: #9badb6;\n --simple-colors-fixed-theme-accent-4: #8d9fa7;\n --simple-colors-fixed-theme-accent-5: #7a8f98;\n --simple-colors-fixed-theme-accent-6: #718892;\n --simple-colors-fixed-theme-accent-7: #56707c;\n --simple-colors-fixed-theme-accent-8: #40535b;\n --simple-colors-fixed-theme-accent-9: #2f3e45;\n --simple-colors-fixed-theme-accent-10: #1e282c;\n --simple-colors-fixed-theme-accent-11: #182023;\n --simple-colors-fixed-theme-accent-12: #0f1518;\n }\n\n :host([dark][accent-color=\"blue-grey\"]) {\n --simple-colors-default-theme-accent-1: #0f1518;\n --simple-colors-default-theme-accent-2: #182023;\n --simple-colors-default-theme-accent-3: #1e282c;\n --simple-colors-default-theme-accent-4: #2f3e45;\n --simple-colors-default-theme-accent-5: #40535b;\n --simple-colors-default-theme-accent-6: #56707c;\n --simple-colors-default-theme-accent-7: #718892;\n --simple-colors-default-theme-accent-8: #7a8f98;\n --simple-colors-default-theme-accent-9: #8d9fa7;\n --simple-colors-default-theme-accent-10: #9badb6;\n --simple-colors-default-theme-accent-11: #b1c5ce;\n --simple-colors-default-theme-accent-12: #e7eff1;\n }\n "])))]; + return [styles, _a11yUtils.screenreaderOnlyCSS, (0, _index.css)(_templateObject2_1ddf44401e5811ed81a80d03c17d190b || (_templateObject2_1ddf44401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([dark]) {\n --simple-colors-default-theme-accent-1: #000000;\n --simple-colors-default-theme-accent-2: #111111;\n --simple-colors-default-theme-accent-3: #222222;\n --simple-colors-default-theme-accent-4: #333333;\n --simple-colors-default-theme-accent-5: #444444;\n --simple-colors-default-theme-accent-6: #666666;\n --simple-colors-default-theme-accent-7: #999999;\n --simple-colors-default-theme-accent-8: #bbbbbb;\n --simple-colors-default-theme-accent-9: #cccccc;\n --simple-colors-default-theme-accent-10: #dddddd;\n --simple-colors-default-theme-accent-11: #eeeeee;\n --simple-colors-default-theme-accent-12: #ffffff;\n\n --simple-colors-default-theme-grey-1: #000000;\n --simple-colors-default-theme-grey-2: #111111;\n --simple-colors-default-theme-grey-3: #222222;\n --simple-colors-default-theme-grey-4: #333333;\n --simple-colors-default-theme-grey-5: #444444;\n --simple-colors-default-theme-grey-6: #666666;\n --simple-colors-default-theme-grey-7: #999999;\n --simple-colors-default-theme-grey-8: #bbbbbb;\n --simple-colors-default-theme-grey-9: #cccccc;\n --simple-colors-default-theme-grey-10: #dddddd;\n --simple-colors-default-theme-grey-11: #eeeeee;\n --simple-colors-default-theme-grey-12: #ffffff;\n\n --simple-colors-default-theme-red-1: #3f0000;\n --simple-colors-default-theme-red-2: #520000;\n --simple-colors-default-theme-red-3: #670000;\n --simple-colors-default-theme-red-4: #850000;\n --simple-colors-default-theme-red-5: #ac0000;\n --simple-colors-default-theme-red-6: #ee0000;\n --simple-colors-default-theme-red-7: #ff2222;\n --simple-colors-default-theme-red-8: #fd5151;\n --simple-colors-default-theme-red-9: #ff7474;\n --simple-colors-default-theme-red-10: #ff8f8f;\n --simple-colors-default-theme-red-11: #ffaeae;\n --simple-colors-default-theme-red-12: #ffdddd;\n\n --simple-colors-default-theme-pink-1: #440019;\n --simple-colors-default-theme-pink-2: #5a0020;\n --simple-colors-default-theme-pink-3: #78002b;\n --simple-colors-default-theme-pink-4: #980036;\n --simple-colors-default-theme-pink-5: #b80042;\n --simple-colors-default-theme-pink-6: #da004e;\n --simple-colors-default-theme-pink-7: #ff3996;\n --simple-colors-default-theme-pink-8: #fd60aa;\n --simple-colors-default-theme-pink-9: #ff73b5;\n --simple-colors-default-theme-pink-10: #ff87c0;\n --simple-colors-default-theme-pink-11: #ffa5cf;\n --simple-colors-default-theme-pink-12: #ffe6f1;\n\n --simple-colors-default-theme-purple-1: #200025;\n --simple-colors-default-theme-purple-2: #33003a;\n --simple-colors-default-theme-purple-3: #490052;\n --simple-colors-default-theme-purple-4: #6c0079;\n --simple-colors-default-theme-purple-5: #8a009b;\n --simple-colors-default-theme-purple-6: #a500ba;\n --simple-colors-default-theme-purple-7: #e200ff;\n --simple-colors-default-theme-purple-8: #ed61ff;\n --simple-colors-default-theme-purple-9: #f07cff;\n --simple-colors-default-theme-purple-10: #f394ff;\n --simple-colors-default-theme-purple-11: #f4affd;\n --simple-colors-default-theme-purple-12: #fce6ff;\n\n --simple-colors-default-theme-deep-purple-1: #1d0033;\n --simple-colors-default-theme-deep-purple-2: #2a0049;\n --simple-colors-default-theme-deep-purple-3: #3a0063;\n --simple-colors-default-theme-deep-purple-4: #4c0081;\n --simple-colors-default-theme-deep-purple-5: #5d009f;\n --simple-colors-default-theme-deep-purple-6: #7e00d8;\n --simple-colors-default-theme-deep-purple-7: #a931ff;\n --simple-colors-default-theme-deep-purple-8: #b44aff;\n --simple-colors-default-theme-deep-purple-9: #bb63f9;\n --simple-colors-default-theme-deep-purple-10: #c97eff;\n --simple-colors-default-theme-deep-purple-11: #ddacff;\n --simple-colors-default-theme-deep-purple-12: #f3e4ff;\n\n --simple-colors-default-theme-indigo-1: #0a0030;\n --simple-colors-default-theme-indigo-2: #100049;\n --simple-colors-default-theme-indigo-3: #160063;\n --simple-colors-default-theme-indigo-4: #20008c;\n --simple-colors-default-theme-indigo-5: #2801b0;\n --simple-colors-default-theme-indigo-6: #3a00ff;\n --simple-colors-default-theme-indigo-7: #835fff;\n --simple-colors-default-theme-indigo-8: #9373ff;\n --simple-colors-default-theme-indigo-9: #9e82ff;\n --simple-colors-default-theme-indigo-10: #af97ff;\n --simple-colors-default-theme-indigo-11: #c3b2ff;\n --simple-colors-default-theme-indigo-12: #e5ddff;\n\n --simple-colors-default-theme-blue-1: #001333;\n --simple-colors-default-theme-blue-2: #001947;\n --simple-colors-default-theme-blue-3: #002569;\n --simple-colors-default-theme-blue-4: #003494;\n --simple-colors-default-theme-blue-5: #0041bb;\n --simple-colors-default-theme-blue-6: #0059ff;\n --simple-colors-default-theme-blue-7: #4083ff;\n --simple-colors-default-theme-blue-8: #5892fd;\n --simple-colors-default-theme-blue-9: #74a5ff;\n --simple-colors-default-theme-blue-10: #95baff;\n --simple-colors-default-theme-blue-11: #acc9ff;\n --simple-colors-default-theme-blue-12: #e2ecff;\n\n --simple-colors-default-theme-light-blue-1: #001b36;\n --simple-colors-default-theme-light-blue-2: #002850;\n --simple-colors-default-theme-light-blue-3: #003f7d;\n --simple-colors-default-theme-light-blue-4: #0055a8;\n --simple-colors-default-theme-light-blue-5: #0066ca;\n --simple-colors-default-theme-light-blue-6: #007ffc;\n --simple-colors-default-theme-light-blue-7: #41a1ff;\n --simple-colors-default-theme-light-blue-8: #58adff;\n --simple-colors-default-theme-light-blue-9: #65b3ff;\n --simple-colors-default-theme-light-blue-10: #92c9ff;\n --simple-colors-default-theme-light-blue-11: #a1d1ff;\n --simple-colors-default-theme-light-blue-12: #cde8ff;\n\n --simple-colors-default-theme-cyan-1: #001a20;\n --simple-colors-default-theme-cyan-2: #002c38;\n --simple-colors-default-theme-cyan-3: #003f50;\n --simple-colors-default-theme-cyan-4: #005970;\n --simple-colors-default-theme-cyan-5: #007999;\n --simple-colors-default-theme-cyan-6: #009dc7;\n --simple-colors-default-theme-cyan-7: #00c9ff;\n --simple-colors-default-theme-cyan-8: #1ccfff;\n --simple-colors-default-theme-cyan-9: #33d4ff;\n --simple-colors-default-theme-cyan-10: #77e2ff;\n --simple-colors-default-theme-cyan-11: #9beaff;\n --simple-colors-default-theme-cyan-12: #ddf8ff;\n\n --simple-colors-default-theme-teal-1: #001b14;\n --simple-colors-default-theme-teal-2: #002a20;\n --simple-colors-default-theme-teal-3: #003829;\n --simple-colors-default-theme-teal-4: #004e3a;\n --simple-colors-default-theme-teal-5: #007658;\n --simple-colors-default-theme-teal-6: #009d75;\n --simple-colors-default-theme-teal-7: #00ff9c;\n --simple-colors-default-theme-teal-8: #29ffac;\n --simple-colors-default-theme-teal-9: #56ffbd;\n --simple-colors-default-theme-teal-10: #79ffcb;\n --simple-colors-default-theme-teal-11: #98ffd7;\n --simple-colors-default-theme-teal-12: #d9fff0;\n\n --simple-colors-default-theme-green-1: #001d0c;\n --simple-colors-default-theme-green-2: #002a11;\n --simple-colors-default-theme-green-3: #003d18;\n --simple-colors-default-theme-green-4: #005a23;\n --simple-colors-default-theme-green-5: #00762e;\n --simple-colors-default-theme-green-6: #008c37;\n --simple-colors-default-theme-green-7: #00f961;\n --simple-colors-default-theme-green-8: #24ff70;\n --simple-colors-default-theme-green-9: #49ff88;\n --simple-colors-default-theme-green-10: #79ffa7;\n --simple-colors-default-theme-green-11: #acffc9;\n --simple-colors-default-theme-green-12: #e1ffeb;\n\n --simple-colors-default-theme-light-green-1: #0d2000;\n --simple-colors-default-theme-light-green-2: #143000;\n --simple-colors-default-theme-light-green-3: #1b3f00;\n --simple-colors-default-theme-light-green-4: #296100;\n --simple-colors-default-theme-light-green-5: #357f00;\n --simple-colors-default-theme-light-green-6: #429d00;\n --simple-colors-default-theme-light-green-7: #6fff00;\n --simple-colors-default-theme-light-green-8: #8efd38;\n --simple-colors-default-theme-light-green-9: #a1fd5a;\n --simple-colors-default-theme-light-green-10: #b1ff75;\n --simple-colors-default-theme-light-green-11: #c7ff9b;\n --simple-colors-default-theme-light-green-12: #ebffdb;\n\n --simple-colors-default-theme-lime-1: #182400;\n --simple-colors-default-theme-lime-2: #223400;\n --simple-colors-default-theme-lime-3: #293f00;\n --simple-colors-default-theme-lime-4: #3b5a00;\n --simple-colors-default-theme-lime-5: #4d7600;\n --simple-colors-default-theme-lime-6: #649900;\n --simple-colors-default-theme-lime-7: #aeff00;\n --simple-colors-default-theme-lime-8: #bdff2d;\n --simple-colors-default-theme-lime-9: #caff58;\n --simple-colors-default-theme-lime-10: #d4ff77;\n --simple-colors-default-theme-lime-11: #dfff9b;\n --simple-colors-default-theme-lime-12: #f1ffd2;\n\n --simple-colors-default-theme-yellow-1: #242400;\n --simple-colors-default-theme-yellow-2: #303000;\n --simple-colors-default-theme-yellow-3: #454400;\n --simple-colors-default-theme-yellow-4: #585700;\n --simple-colors-default-theme-yellow-5: #787700;\n --simple-colors-default-theme-yellow-6: #929100;\n --simple-colors-default-theme-yellow-7: #f6f600;\n --simple-colors-default-theme-yellow-8: #ffff3a;\n --simple-colors-default-theme-yellow-9: #ffff7c;\n --simple-colors-default-theme-yellow-10: #ffff90;\n --simple-colors-default-theme-yellow-11: #ffffac;\n --simple-colors-default-theme-yellow-12: #ffffd5;\n\n --simple-colors-default-theme-amber-1: #221a00;\n --simple-colors-default-theme-amber-2: #302500;\n --simple-colors-default-theme-amber-3: #413200;\n --simple-colors-default-theme-amber-4: #614b00;\n --simple-colors-default-theme-amber-5: #876800;\n --simple-colors-default-theme-amber-6: #b28900;\n --simple-colors-default-theme-amber-7: #ffc500;\n --simple-colors-default-theme-amber-8: #ffc235;\n --simple-colors-default-theme-amber-9: #ffcf5e;\n --simple-colors-default-theme-amber-10: #ffd677;\n --simple-colors-default-theme-amber-11: #ffdf92;\n --simple-colors-default-theme-amber-12: #fff2d4;\n\n --simple-colors-default-theme-orange-1: #2c1400;\n --simple-colors-default-theme-orange-2: #3d1c00;\n --simple-colors-default-theme-orange-3: #612d00;\n --simple-colors-default-theme-orange-4: #833d00;\n --simple-colors-default-theme-orange-5: #ae5100;\n --simple-colors-default-theme-orange-6: #e56a00;\n --simple-colors-default-theme-orange-7: #ff9625;\n --simple-colors-default-theme-orange-8: #ff9e36;\n --simple-colors-default-theme-orange-9: #ffb05c;\n --simple-colors-default-theme-orange-10: #ffbd75;\n --simple-colors-default-theme-orange-11: #ffca92;\n --simple-colors-default-theme-orange-12: #ffebd7;\n\n --simple-colors-default-theme-deep-orange-1: #240700;\n --simple-colors-default-theme-deep-orange-2: #3a0c00;\n --simple-colors-default-theme-deep-orange-3: #561100;\n --simple-colors-default-theme-deep-orange-4: #8a1c00;\n --simple-colors-default-theme-deep-orange-5: #b92500;\n --simple-colors-default-theme-deep-orange-6: #f53100;\n --simple-colors-default-theme-deep-orange-7: #ff6c3c;\n --simple-colors-default-theme-deep-orange-8: #ff7649;\n --simple-colors-default-theme-deep-orange-9: #ff8a64;\n --simple-colors-default-theme-deep-orange-10: #ffa588;\n --simple-colors-default-theme-deep-orange-11: #ffb299;\n --simple-colors-default-theme-deep-orange-12: #ffe7e0;\n\n --simple-colors-default-theme-brown-1: #200e09;\n --simple-colors-default-theme-brown-2: #2c140e;\n --simple-colors-default-theme-brown-3: #3b1e15;\n --simple-colors-default-theme-brown-4: #5b3328;\n --simple-colors-default-theme-brown-5: #724539;\n --simple-colors-default-theme-brown-6: #85574a;\n --simple-colors-default-theme-brown-7: #a47060;\n --simple-colors-default-theme-brown-8: #ac7868;\n --simple-colors-default-theme-brown-9: #b68373;\n --simple-colors-default-theme-brown-10: #c59485;\n --simple-colors-default-theme-brown-11: #e5b8aa;\n --simple-colors-default-theme-brown-12: #f0e2de;\n\n --simple-colors-default-theme-blue-grey-1: #0f1518;\n --simple-colors-default-theme-blue-grey-2: #182023;\n --simple-colors-default-theme-blue-grey-3: #1e282c;\n --simple-colors-default-theme-blue-grey-4: #2f3e45;\n --simple-colors-default-theme-blue-grey-5: #40535b;\n --simple-colors-default-theme-blue-grey-6: #56707c;\n --simple-colors-default-theme-blue-grey-7: #718892;\n --simple-colors-default-theme-blue-grey-8: #7a8f98;\n --simple-colors-default-theme-blue-grey-9: #8d9fa7;\n --simple-colors-default-theme-blue-grey-10: #9badb6;\n --simple-colors-default-theme-blue-grey-11: #b1c5ce;\n --simple-colors-default-theme-blue-grey-12: #e7eff1;\n }\n\n :host {\n accent-color: var(--simple-colors-default-theme-accent-7);\n }\n\n :host([accent-color=\"grey\"]) {\n --simple-colors-default-theme-accent-1: #ffffff;\n --simple-colors-default-theme-accent-2: #eeeeee;\n --simple-colors-default-theme-accent-3: #dddddd;\n --simple-colors-default-theme-accent-4: #cccccc;\n --simple-colors-default-theme-accent-5: #bbbbbb;\n --simple-colors-default-theme-accent-6: #999999;\n --simple-colors-default-theme-accent-7: #666666;\n --simple-colors-default-theme-accent-8: #444444;\n --simple-colors-default-theme-accent-9: #333333;\n --simple-colors-default-theme-accent-10: #222222;\n --simple-colors-default-theme-accent-11: #111111;\n --simple-colors-default-theme-accent-12: #000000;\n --simple-colors-fixed-theme-accent-1: #ffffff;\n --simple-colors-fixed-theme-accent-2: #eeeeee;\n --simple-colors-fixed-theme-accent-3: #dddddd;\n --simple-colors-fixed-theme-accent-4: #cccccc;\n --simple-colors-fixed-theme-accent-5: #bbbbbb;\n --simple-colors-fixed-theme-accent-6: #999999;\n --simple-colors-fixed-theme-accent-7: #666666;\n --simple-colors-fixed-theme-accent-8: #444444;\n --simple-colors-fixed-theme-accent-9: #333333;\n --simple-colors-fixed-theme-accent-10: #222222;\n --simple-colors-fixed-theme-accent-11: #111111;\n --simple-colors-fixed-theme-accent-12: #000000;\n }\n\n :host([dark][accent-color=\"grey\"]) {\n --simple-colors-default-theme-accent-1: #000000;\n --simple-colors-default-theme-accent-2: #111111;\n --simple-colors-default-theme-accent-3: #222222;\n --simple-colors-default-theme-accent-4: #333333;\n --simple-colors-default-theme-accent-5: #444444;\n --simple-colors-default-theme-accent-6: #666666;\n --simple-colors-default-theme-accent-7: #999999;\n --simple-colors-default-theme-accent-8: #bbbbbb;\n --simple-colors-default-theme-accent-9: #cccccc;\n --simple-colors-default-theme-accent-10: #dddddd;\n --simple-colors-default-theme-accent-11: #eeeeee;\n --simple-colors-default-theme-accent-12: #ffffff;\n }\n\n :host([accent-color=\"red\"]) {\n --simple-colors-default-theme-accent-1: #ffdddd;\n --simple-colors-default-theme-accent-2: #ffaeae;\n --simple-colors-default-theme-accent-3: #ff8f8f;\n --simple-colors-default-theme-accent-4: #ff7474;\n --simple-colors-default-theme-accent-5: #fd5151;\n --simple-colors-default-theme-accent-6: #ff2222;\n --simple-colors-default-theme-accent-7: #ee0000;\n --simple-colors-default-theme-accent-8: #ac0000;\n --simple-colors-default-theme-accent-9: #850000;\n --simple-colors-default-theme-accent-10: #670000;\n --simple-colors-default-theme-accent-11: #520000;\n --simple-colors-default-theme-accent-12: #3f0000;\n --simple-colors-fixed-theme-accent-1: #ffdddd;\n --simple-colors-fixed-theme-accent-2: #ffaeae;\n --simple-colors-fixed-theme-accent-3: #ff8f8f;\n --simple-colors-fixed-theme-accent-4: #ff7474;\n --simple-colors-fixed-theme-accent-5: #fd5151;\n --simple-colors-fixed-theme-accent-6: #ff2222;\n --simple-colors-fixed-theme-accent-7: #ee0000;\n --simple-colors-fixed-theme-accent-8: #ac0000;\n --simple-colors-fixed-theme-accent-9: #850000;\n --simple-colors-fixed-theme-accent-10: #670000;\n --simple-colors-fixed-theme-accent-11: #520000;\n --simple-colors-fixed-theme-accent-12: #3f0000;\n }\n\n :host([dark][accent-color=\"red\"]) {\n --simple-colors-default-theme-accent-1: #3f0000;\n --simple-colors-default-theme-accent-2: #520000;\n --simple-colors-default-theme-accent-3: #670000;\n --simple-colors-default-theme-accent-4: #850000;\n --simple-colors-default-theme-accent-5: #ac0000;\n --simple-colors-default-theme-accent-6: #ee0000;\n --simple-colors-default-theme-accent-7: #ff2222;\n --simple-colors-default-theme-accent-8: #fd5151;\n --simple-colors-default-theme-accent-9: #ff7474;\n --simple-colors-default-theme-accent-10: #ff8f8f;\n --simple-colors-default-theme-accent-11: #ffaeae;\n --simple-colors-default-theme-accent-12: #ffdddd;\n }\n\n :host([accent-color=\"pink\"]) {\n --simple-colors-default-theme-accent-1: #ffe6f1;\n --simple-colors-default-theme-accent-2: #ffa5cf;\n --simple-colors-default-theme-accent-3: #ff87c0;\n --simple-colors-default-theme-accent-4: #ff73b5;\n --simple-colors-default-theme-accent-5: #fd60aa;\n --simple-colors-default-theme-accent-6: #ff3996;\n --simple-colors-default-theme-accent-7: #da004e;\n --simple-colors-default-theme-accent-8: #b80042;\n --simple-colors-default-theme-accent-9: #980036;\n --simple-colors-default-theme-accent-10: #78002b;\n --simple-colors-default-theme-accent-11: #5a0020;\n --simple-colors-default-theme-accent-12: #440019;\n --simple-colors-fixed-theme-accent-1: #ffe6f1;\n --simple-colors-fixed-theme-accent-2: #ffa5cf;\n --simple-colors-fixed-theme-accent-3: #ff87c0;\n --simple-colors-fixed-theme-accent-4: #ff73b5;\n --simple-colors-fixed-theme-accent-5: #fd60aa;\n --simple-colors-fixed-theme-accent-6: #ff3996;\n --simple-colors-fixed-theme-accent-7: #da004e;\n --simple-colors-fixed-theme-accent-8: #b80042;\n --simple-colors-fixed-theme-accent-9: #980036;\n --simple-colors-fixed-theme-accent-10: #78002b;\n --simple-colors-fixed-theme-accent-11: #5a0020;\n --simple-colors-fixed-theme-accent-12: #440019;\n }\n\n :host([dark][accent-color=\"pink\"]) {\n --simple-colors-default-theme-accent-1: #440019;\n --simple-colors-default-theme-accent-2: #5a0020;\n --simple-colors-default-theme-accent-3: #78002b;\n --simple-colors-default-theme-accent-4: #980036;\n --simple-colors-default-theme-accent-5: #b80042;\n --simple-colors-default-theme-accent-6: #da004e;\n --simple-colors-default-theme-accent-7: #ff3996;\n --simple-colors-default-theme-accent-8: #fd60aa;\n --simple-colors-default-theme-accent-9: #ff73b5;\n --simple-colors-default-theme-accent-10: #ff87c0;\n --simple-colors-default-theme-accent-11: #ffa5cf;\n --simple-colors-default-theme-accent-12: #ffe6f1;\n }\n\n :host([accent-color=\"purple\"]) {\n --simple-colors-default-theme-accent-1: #fce6ff;\n --simple-colors-default-theme-accent-2: #f4affd;\n --simple-colors-default-theme-accent-3: #f394ff;\n --simple-colors-default-theme-accent-4: #f07cff;\n --simple-colors-default-theme-accent-5: #ed61ff;\n --simple-colors-default-theme-accent-6: #e200ff;\n --simple-colors-default-theme-accent-7: #a500ba;\n --simple-colors-default-theme-accent-8: #8a009b;\n --simple-colors-default-theme-accent-9: #6c0079;\n --simple-colors-default-theme-accent-10: #490052;\n --simple-colors-default-theme-accent-11: #33003a;\n --simple-colors-default-theme-accent-12: #200025;\n --simple-colors-fixed-theme-accent-1: #fce6ff;\n --simple-colors-fixed-theme-accent-2: #f4affd;\n --simple-colors-fixed-theme-accent-3: #f394ff;\n --simple-colors-fixed-theme-accent-4: #f07cff;\n --simple-colors-fixed-theme-accent-5: #ed61ff;\n --simple-colors-fixed-theme-accent-6: #e200ff;\n --simple-colors-fixed-theme-accent-7: #a500ba;\n --simple-colors-fixed-theme-accent-8: #8a009b;\n --simple-colors-fixed-theme-accent-9: #6c0079;\n --simple-colors-fixed-theme-accent-10: #490052;\n --simple-colors-fixed-theme-accent-11: #33003a;\n --simple-colors-fixed-theme-accent-12: #200025;\n }\n\n :host([dark][accent-color=\"purple\"]) {\n --simple-colors-default-theme-accent-1: #200025;\n --simple-colors-default-theme-accent-2: #33003a;\n --simple-colors-default-theme-accent-3: #490052;\n --simple-colors-default-theme-accent-4: #6c0079;\n --simple-colors-default-theme-accent-5: #8a009b;\n --simple-colors-default-theme-accent-6: #a500ba;\n --simple-colors-default-theme-accent-7: #e200ff;\n --simple-colors-default-theme-accent-8: #ed61ff;\n --simple-colors-default-theme-accent-9: #f07cff;\n --simple-colors-default-theme-accent-10: #f394ff;\n --simple-colors-default-theme-accent-11: #f4affd;\n --simple-colors-default-theme-accent-12: #fce6ff;\n }\n\n :host([accent-color=\"deep-purple\"]) {\n --simple-colors-default-theme-accent-1: #f3e4ff;\n --simple-colors-default-theme-accent-2: #ddacff;\n --simple-colors-default-theme-accent-3: #c97eff;\n --simple-colors-default-theme-accent-4: #bb63f9;\n --simple-colors-default-theme-accent-5: #b44aff;\n --simple-colors-default-theme-accent-6: #a931ff;\n --simple-colors-default-theme-accent-7: #7e00d8;\n --simple-colors-default-theme-accent-8: #5d009f;\n --simple-colors-default-theme-accent-9: #4c0081;\n --simple-colors-default-theme-accent-10: #3a0063;\n --simple-colors-default-theme-accent-11: #2a0049;\n --simple-colors-default-theme-accent-12: #1d0033;\n --simple-colors-fixed-theme-accent-1: #f3e4ff;\n --simple-colors-fixed-theme-accent-2: #ddacff;\n --simple-colors-fixed-theme-accent-3: #c97eff;\n --simple-colors-fixed-theme-accent-4: #bb63f9;\n --simple-colors-fixed-theme-accent-5: #b44aff;\n --simple-colors-fixed-theme-accent-6: #a931ff;\n --simple-colors-fixed-theme-accent-7: #7e00d8;\n --simple-colors-fixed-theme-accent-8: #5d009f;\n --simple-colors-fixed-theme-accent-9: #4c0081;\n --simple-colors-fixed-theme-accent-10: #3a0063;\n --simple-colors-fixed-theme-accent-11: #2a0049;\n --simple-colors-fixed-theme-accent-12: #1d0033;\n }\n\n :host([dark][accent-color=\"deep-purple\"]) {\n --simple-colors-default-theme-accent-1: #1d0033;\n --simple-colors-default-theme-accent-2: #2a0049;\n --simple-colors-default-theme-accent-3: #3a0063;\n --simple-colors-default-theme-accent-4: #4c0081;\n --simple-colors-default-theme-accent-5: #5d009f;\n --simple-colors-default-theme-accent-6: #7e00d8;\n --simple-colors-default-theme-accent-7: #a931ff;\n --simple-colors-default-theme-accent-8: #b44aff;\n --simple-colors-default-theme-accent-9: #bb63f9;\n --simple-colors-default-theme-accent-10: #c97eff;\n --simple-colors-default-theme-accent-11: #ddacff;\n --simple-colors-default-theme-accent-12: #f3e4ff;\n }\n\n :host([accent-color=\"indigo\"]) {\n --simple-colors-default-theme-accent-1: #e5ddff;\n --simple-colors-default-theme-accent-2: #c3b2ff;\n --simple-colors-default-theme-accent-3: #af97ff;\n --simple-colors-default-theme-accent-4: #9e82ff;\n --simple-colors-default-theme-accent-5: #9373ff;\n --simple-colors-default-theme-accent-6: #835fff;\n --simple-colors-default-theme-accent-7: #3a00ff;\n --simple-colors-default-theme-accent-8: #2801b0;\n --simple-colors-default-theme-accent-9: #20008c;\n --simple-colors-default-theme-accent-10: #160063;\n --simple-colors-default-theme-accent-11: #100049;\n --simple-colors-default-theme-accent-12: #0a0030;\n --simple-colors-fixed-theme-accent-1: #e5ddff;\n --simple-colors-fixed-theme-accent-2: #c3b2ff;\n --simple-colors-fixed-theme-accent-3: #af97ff;\n --simple-colors-fixed-theme-accent-4: #9e82ff;\n --simple-colors-fixed-theme-accent-5: #9373ff;\n --simple-colors-fixed-theme-accent-6: #835fff;\n --simple-colors-fixed-theme-accent-7: #3a00ff;\n --simple-colors-fixed-theme-accent-8: #2801b0;\n --simple-colors-fixed-theme-accent-9: #20008c;\n --simple-colors-fixed-theme-accent-10: #160063;\n --simple-colors-fixed-theme-accent-11: #100049;\n --simple-colors-fixed-theme-accent-12: #0a0030;\n }\n\n :host([dark][accent-color=\"indigo\"]) {\n --simple-colors-default-theme-accent-1: #0a0030;\n --simple-colors-default-theme-accent-2: #100049;\n --simple-colors-default-theme-accent-3: #160063;\n --simple-colors-default-theme-accent-4: #20008c;\n --simple-colors-default-theme-accent-5: #2801b0;\n --simple-colors-default-theme-accent-6: #3a00ff;\n --simple-colors-default-theme-accent-7: #835fff;\n --simple-colors-default-theme-accent-8: #9373ff;\n --simple-colors-default-theme-accent-9: #9e82ff;\n --simple-colors-default-theme-accent-10: #af97ff;\n --simple-colors-default-theme-accent-11: #c3b2ff;\n --simple-colors-default-theme-accent-12: #e5ddff;\n }\n\n :host([accent-color=\"blue\"]) {\n --simple-colors-default-theme-accent-1: #e2ecff;\n --simple-colors-default-theme-accent-2: #acc9ff;\n --simple-colors-default-theme-accent-3: #95baff;\n --simple-colors-default-theme-accent-4: #74a5ff;\n --simple-colors-default-theme-accent-5: #5892fd;\n --simple-colors-default-theme-accent-6: #4083ff;\n --simple-colors-default-theme-accent-7: #0059ff;\n --simple-colors-default-theme-accent-8: #0041bb;\n --simple-colors-default-theme-accent-9: #003494;\n --simple-colors-default-theme-accent-10: #002569;\n --simple-colors-default-theme-accent-11: #001947;\n --simple-colors-default-theme-accent-12: #001333;\n --simple-colors-fixed-theme-accent-1: #e2ecff;\n --simple-colors-fixed-theme-accent-2: #acc9ff;\n --simple-colors-fixed-theme-accent-3: #95baff;\n --simple-colors-fixed-theme-accent-4: #74a5ff;\n --simple-colors-fixed-theme-accent-5: #5892fd;\n --simple-colors-fixed-theme-accent-6: #4083ff;\n --simple-colors-fixed-theme-accent-7: #0059ff;\n --simple-colors-fixed-theme-accent-8: #0041bb;\n --simple-colors-fixed-theme-accent-9: #003494;\n --simple-colors-fixed-theme-accent-10: #002569;\n --simple-colors-fixed-theme-accent-11: #001947;\n --simple-colors-fixed-theme-accent-12: #001333;\n }\n\n :host([dark][accent-color=\"blue\"]) {\n --simple-colors-default-theme-accent-1: #001333;\n --simple-colors-default-theme-accent-2: #001947;\n --simple-colors-default-theme-accent-3: #002569;\n --simple-colors-default-theme-accent-4: #003494;\n --simple-colors-default-theme-accent-5: #0041bb;\n --simple-colors-default-theme-accent-6: #0059ff;\n --simple-colors-default-theme-accent-7: #4083ff;\n --simple-colors-default-theme-accent-8: #5892fd;\n --simple-colors-default-theme-accent-9: #74a5ff;\n --simple-colors-default-theme-accent-10: #95baff;\n --simple-colors-default-theme-accent-11: #acc9ff;\n --simple-colors-default-theme-accent-12: #e2ecff;\n }\n\n :host([accent-color=\"light-blue\"]) {\n --simple-colors-default-theme-accent-1: #cde8ff;\n --simple-colors-default-theme-accent-2: #a1d1ff;\n --simple-colors-default-theme-accent-3: #92c9ff;\n --simple-colors-default-theme-accent-4: #65b3ff;\n --simple-colors-default-theme-accent-5: #58adff;\n --simple-colors-default-theme-accent-6: #41a1ff;\n --simple-colors-default-theme-accent-7: #007ffc;\n --simple-colors-default-theme-accent-8: #0066ca;\n --simple-colors-default-theme-accent-9: #0055a8;\n --simple-colors-default-theme-accent-10: #003f7d;\n --simple-colors-default-theme-accent-11: #002850;\n --simple-colors-default-theme-accent-12: #001b36;\n --simple-colors-fixed-theme-accent-1: #cde8ff;\n --simple-colors-fixed-theme-accent-2: #a1d1ff;\n --simple-colors-fixed-theme-accent-3: #92c9ff;\n --simple-colors-fixed-theme-accent-4: #65b3ff;\n --simple-colors-fixed-theme-accent-5: #58adff;\n --simple-colors-fixed-theme-accent-6: #41a1ff;\n --simple-colors-fixed-theme-accent-7: #007ffc;\n --simple-colors-fixed-theme-accent-8: #0066ca;\n --simple-colors-fixed-theme-accent-9: #0055a8;\n --simple-colors-fixed-theme-accent-10: #003f7d;\n --simple-colors-fixed-theme-accent-11: #002850;\n --simple-colors-fixed-theme-accent-12: #001b36;\n }\n\n :host([dark][accent-color=\"light-blue\"]) {\n --simple-colors-default-theme-accent-1: #001b36;\n --simple-colors-default-theme-accent-2: #002850;\n --simple-colors-default-theme-accent-3: #003f7d;\n --simple-colors-default-theme-accent-4: #0055a8;\n --simple-colors-default-theme-accent-5: #0066ca;\n --simple-colors-default-theme-accent-6: #007ffc;\n --simple-colors-default-theme-accent-7: #41a1ff;\n --simple-colors-default-theme-accent-8: #58adff;\n --simple-colors-default-theme-accent-9: #65b3ff;\n --simple-colors-default-theme-accent-10: #92c9ff;\n --simple-colors-default-theme-accent-11: #a1d1ff;\n --simple-colors-default-theme-accent-12: #cde8ff;\n }\n\n :host([accent-color=\"cyan\"]) {\n --simple-colors-default-theme-accent-1: #ddf8ff;\n --simple-colors-default-theme-accent-2: #9beaff;\n --simple-colors-default-theme-accent-3: #77e2ff;\n --simple-colors-default-theme-accent-4: #33d4ff;\n --simple-colors-default-theme-accent-5: #1ccfff;\n --simple-colors-default-theme-accent-6: #00c9ff;\n --simple-colors-default-theme-accent-7: #009dc7;\n --simple-colors-default-theme-accent-8: #007999;\n --simple-colors-default-theme-accent-9: #005970;\n --simple-colors-default-theme-accent-10: #003f50;\n --simple-colors-default-theme-accent-11: #002c38;\n --simple-colors-default-theme-accent-12: #001a20;\n --simple-colors-fixed-theme-accent-1: #ddf8ff;\n --simple-colors-fixed-theme-accent-2: #9beaff;\n --simple-colors-fixed-theme-accent-3: #77e2ff;\n --simple-colors-fixed-theme-accent-4: #33d4ff;\n --simple-colors-fixed-theme-accent-5: #1ccfff;\n --simple-colors-fixed-theme-accent-6: #00c9ff;\n --simple-colors-fixed-theme-accent-7: #009dc7;\n --simple-colors-fixed-theme-accent-8: #007999;\n --simple-colors-fixed-theme-accent-9: #005970;\n --simple-colors-fixed-theme-accent-10: #003f50;\n --simple-colors-fixed-theme-accent-11: #002c38;\n --simple-colors-fixed-theme-accent-12: #001a20;\n }\n\n :host([dark][accent-color=\"cyan\"]) {\n --simple-colors-default-theme-accent-1: #001a20;\n --simple-colors-default-theme-accent-2: #002c38;\n --simple-colors-default-theme-accent-3: #003f50;\n --simple-colors-default-theme-accent-4: #005970;\n --simple-colors-default-theme-accent-5: #007999;\n --simple-colors-default-theme-accent-6: #009dc7;\n --simple-colors-default-theme-accent-7: #00c9ff;\n --simple-colors-default-theme-accent-8: #1ccfff;\n --simple-colors-default-theme-accent-9: #33d4ff;\n --simple-colors-default-theme-accent-10: #77e2ff;\n --simple-colors-default-theme-accent-11: #9beaff;\n --simple-colors-default-theme-accent-12: #ddf8ff;\n }\n\n :host([accent-color=\"teal\"]) {\n --simple-colors-default-theme-accent-1: #d9fff0;\n --simple-colors-default-theme-accent-2: #98ffd7;\n --simple-colors-default-theme-accent-3: #79ffcb;\n --simple-colors-default-theme-accent-4: #56ffbd;\n --simple-colors-default-theme-accent-5: #29ffac;\n --simple-colors-default-theme-accent-6: #00ff9c;\n --simple-colors-default-theme-accent-7: #009d75;\n --simple-colors-default-theme-accent-8: #007658;\n --simple-colors-default-theme-accent-9: #004e3a;\n --simple-colors-default-theme-accent-10: #003829;\n --simple-colors-default-theme-accent-11: #002a20;\n --simple-colors-default-theme-accent-12: #001b14;\n --simple-colors-fixed-theme-accent-1: #d9fff0;\n --simple-colors-fixed-theme-accent-2: #98ffd7;\n --simple-colors-fixed-theme-accent-3: #79ffcb;\n --simple-colors-fixed-theme-accent-4: #56ffbd;\n --simple-colors-fixed-theme-accent-5: #29ffac;\n --simple-colors-fixed-theme-accent-6: #00ff9c;\n --simple-colors-fixed-theme-accent-7: #009d75;\n --simple-colors-fixed-theme-accent-8: #007658;\n --simple-colors-fixed-theme-accent-9: #004e3a;\n --simple-colors-fixed-theme-accent-10: #003829;\n --simple-colors-fixed-theme-accent-11: #002a20;\n --simple-colors-fixed-theme-accent-12: #001b14;\n }\n\n :host([dark][accent-color=\"teal\"]) {\n --simple-colors-default-theme-accent-1: #001b14;\n --simple-colors-default-theme-accent-2: #002a20;\n --simple-colors-default-theme-accent-3: #003829;\n --simple-colors-default-theme-accent-4: #004e3a;\n --simple-colors-default-theme-accent-5: #007658;\n --simple-colors-default-theme-accent-6: #009d75;\n --simple-colors-default-theme-accent-7: #00ff9c;\n --simple-colors-default-theme-accent-8: #29ffac;\n --simple-colors-default-theme-accent-9: #56ffbd;\n --simple-colors-default-theme-accent-10: #79ffcb;\n --simple-colors-default-theme-accent-11: #98ffd7;\n --simple-colors-default-theme-accent-12: #d9fff0;\n }\n\n :host([accent-color=\"green\"]) {\n --simple-colors-default-theme-accent-1: #e1ffeb;\n --simple-colors-default-theme-accent-2: #acffc9;\n --simple-colors-default-theme-accent-3: #79ffa7;\n --simple-colors-default-theme-accent-4: #49ff88;\n --simple-colors-default-theme-accent-5: #24ff70;\n --simple-colors-default-theme-accent-6: #00f961;\n --simple-colors-default-theme-accent-7: #008c37;\n --simple-colors-default-theme-accent-8: #00762e;\n --simple-colors-default-theme-accent-9: #005a23;\n --simple-colors-default-theme-accent-10: #003d18;\n --simple-colors-default-theme-accent-11: #002a11;\n --simple-colors-default-theme-accent-12: #001d0c;\n --simple-colors-fixed-theme-accent-1: #e1ffeb;\n --simple-colors-fixed-theme-accent-2: #acffc9;\n --simple-colors-fixed-theme-accent-3: #79ffa7;\n --simple-colors-fixed-theme-accent-4: #49ff88;\n --simple-colors-fixed-theme-accent-5: #24ff70;\n --simple-colors-fixed-theme-accent-6: #00f961;\n --simple-colors-fixed-theme-accent-7: #008c37;\n --simple-colors-fixed-theme-accent-8: #00762e;\n --simple-colors-fixed-theme-accent-9: #005a23;\n --simple-colors-fixed-theme-accent-10: #003d18;\n --simple-colors-fixed-theme-accent-11: #002a11;\n --simple-colors-fixed-theme-accent-12: #001d0c;\n }\n\n :host([dark][accent-color=\"green\"]) {\n --simple-colors-default-theme-accent-1: #001d0c;\n --simple-colors-default-theme-accent-2: #002a11;\n --simple-colors-default-theme-accent-3: #003d18;\n --simple-colors-default-theme-accent-4: #005a23;\n --simple-colors-default-theme-accent-5: #00762e;\n --simple-colors-default-theme-accent-6: #008c37;\n --simple-colors-default-theme-accent-7: #00f961;\n --simple-colors-default-theme-accent-8: #24ff70;\n --simple-colors-default-theme-accent-9: #49ff88;\n --simple-colors-default-theme-accent-10: #79ffa7;\n --simple-colors-default-theme-accent-11: #acffc9;\n --simple-colors-default-theme-accent-12: #e1ffeb;\n }\n\n :host([accent-color=\"light-green\"]) {\n --simple-colors-default-theme-accent-1: #ebffdb;\n --simple-colors-default-theme-accent-2: #c7ff9b;\n --simple-colors-default-theme-accent-3: #b1ff75;\n --simple-colors-default-theme-accent-4: #a1fd5a;\n --simple-colors-default-theme-accent-5: #8efd38;\n --simple-colors-default-theme-accent-6: #6fff00;\n --simple-colors-default-theme-accent-7: #429d00;\n --simple-colors-default-theme-accent-8: #357f00;\n --simple-colors-default-theme-accent-9: #296100;\n --simple-colors-default-theme-accent-10: #1b3f00;\n --simple-colors-default-theme-accent-11: #143000;\n --simple-colors-default-theme-accent-12: #0d2000;\n --simple-colors-fixed-theme-accent-1: #ebffdb;\n --simple-colors-fixed-theme-accent-2: #c7ff9b;\n --simple-colors-fixed-theme-accent-3: #b1ff75;\n --simple-colors-fixed-theme-accent-4: #a1fd5a;\n --simple-colors-fixed-theme-accent-5: #8efd38;\n --simple-colors-fixed-theme-accent-6: #6fff00;\n --simple-colors-fixed-theme-accent-7: #429d00;\n --simple-colors-fixed-theme-accent-8: #357f00;\n --simple-colors-fixed-theme-accent-9: #296100;\n --simple-colors-fixed-theme-accent-10: #1b3f00;\n --simple-colors-fixed-theme-accent-11: #143000;\n --simple-colors-fixed-theme-accent-12: #0d2000;\n }\n\n :host([dark][accent-color=\"light-green\"]) {\n --simple-colors-default-theme-accent-1: #0d2000;\n --simple-colors-default-theme-accent-2: #143000;\n --simple-colors-default-theme-accent-3: #1b3f00;\n --simple-colors-default-theme-accent-4: #296100;\n --simple-colors-default-theme-accent-5: #357f00;\n --simple-colors-default-theme-accent-6: #429d00;\n --simple-colors-default-theme-accent-7: #6fff00;\n --simple-colors-default-theme-accent-8: #8efd38;\n --simple-colors-default-theme-accent-9: #a1fd5a;\n --simple-colors-default-theme-accent-10: #b1ff75;\n --simple-colors-default-theme-accent-11: #c7ff9b;\n --simple-colors-default-theme-accent-12: #ebffdb;\n }\n\n :host([accent-color=\"lime\"]) {\n --simple-colors-default-theme-accent-1: #f1ffd2;\n --simple-colors-default-theme-accent-2: #dfff9b;\n --simple-colors-default-theme-accent-3: #d4ff77;\n --simple-colors-default-theme-accent-4: #caff58;\n --simple-colors-default-theme-accent-5: #bdff2d;\n --simple-colors-default-theme-accent-6: #aeff00;\n --simple-colors-default-theme-accent-7: #649900;\n --simple-colors-default-theme-accent-8: #4d7600;\n --simple-colors-default-theme-accent-9: #3b5a00;\n --simple-colors-default-theme-accent-10: #293f00;\n --simple-colors-default-theme-accent-11: #223400;\n --simple-colors-default-theme-accent-12: #182400;\n --simple-colors-fixed-theme-accent-1: #f1ffd2;\n --simple-colors-fixed-theme-accent-2: #dfff9b;\n --simple-colors-fixed-theme-accent-3: #d4ff77;\n --simple-colors-fixed-theme-accent-4: #caff58;\n --simple-colors-fixed-theme-accent-5: #bdff2d;\n --simple-colors-fixed-theme-accent-6: #aeff00;\n --simple-colors-fixed-theme-accent-7: #649900;\n --simple-colors-fixed-theme-accent-8: #4d7600;\n --simple-colors-fixed-theme-accent-9: #3b5a00;\n --simple-colors-fixed-theme-accent-10: #293f00;\n --simple-colors-fixed-theme-accent-11: #223400;\n --simple-colors-fixed-theme-accent-12: #182400;\n }\n\n :host([dark][accent-color=\"lime\"]) {\n --simple-colors-default-theme-accent-1: #182400;\n --simple-colors-default-theme-accent-2: #223400;\n --simple-colors-default-theme-accent-3: #293f00;\n --simple-colors-default-theme-accent-4: #3b5a00;\n --simple-colors-default-theme-accent-5: #4d7600;\n --simple-colors-default-theme-accent-6: #649900;\n --simple-colors-default-theme-accent-7: #aeff00;\n --simple-colors-default-theme-accent-8: #bdff2d;\n --simple-colors-default-theme-accent-9: #caff58;\n --simple-colors-default-theme-accent-10: #d4ff77;\n --simple-colors-default-theme-accent-11: #dfff9b;\n --simple-colors-default-theme-accent-12: #f1ffd2;\n }\n\n :host([accent-color=\"yellow\"]) {\n --simple-colors-default-theme-accent-1: #ffffd5;\n --simple-colors-default-theme-accent-2: #ffffac;\n --simple-colors-default-theme-accent-3: #ffff90;\n --simple-colors-default-theme-accent-4: #ffff7c;\n --simple-colors-default-theme-accent-5: #ffff3a;\n --simple-colors-default-theme-accent-6: #f6f600;\n --simple-colors-default-theme-accent-7: #929100;\n --simple-colors-default-theme-accent-8: #787700;\n --simple-colors-default-theme-accent-9: #585700;\n --simple-colors-default-theme-accent-10: #454400;\n --simple-colors-default-theme-accent-11: #303000;\n --simple-colors-default-theme-accent-12: #242400;\n --simple-colors-fixed-theme-accent-1: #ffffd5;\n --simple-colors-fixed-theme-accent-2: #ffffac;\n --simple-colors-fixed-theme-accent-3: #ffff90;\n --simple-colors-fixed-theme-accent-4: #ffff7c;\n --simple-colors-fixed-theme-accent-5: #ffff3a;\n --simple-colors-fixed-theme-accent-6: #f6f600;\n --simple-colors-fixed-theme-accent-7: #929100;\n --simple-colors-fixed-theme-accent-8: #787700;\n --simple-colors-fixed-theme-accent-9: #585700;\n --simple-colors-fixed-theme-accent-10: #454400;\n --simple-colors-fixed-theme-accent-11: #303000;\n --simple-colors-fixed-theme-accent-12: #242400;\n }\n\n :host([dark][accent-color=\"yellow\"]) {\n --simple-colors-default-theme-accent-1: #242400;\n --simple-colors-default-theme-accent-2: #303000;\n --simple-colors-default-theme-accent-3: #454400;\n --simple-colors-default-theme-accent-4: #585700;\n --simple-colors-default-theme-accent-5: #787700;\n --simple-colors-default-theme-accent-6: #929100;\n --simple-colors-default-theme-accent-7: #f6f600;\n --simple-colors-default-theme-accent-8: #ffff3a;\n --simple-colors-default-theme-accent-9: #ffff7c;\n --simple-colors-default-theme-accent-10: #ffff90;\n --simple-colors-default-theme-accent-11: #ffffac;\n --simple-colors-default-theme-accent-12: #ffffd5;\n }\n\n :host([accent-color=\"amber\"]) {\n --simple-colors-default-theme-accent-1: #fff2d4;\n --simple-colors-default-theme-accent-2: #ffdf92;\n --simple-colors-default-theme-accent-3: #ffd677;\n --simple-colors-default-theme-accent-4: #ffcf5e;\n --simple-colors-default-theme-accent-5: #ffc235;\n --simple-colors-default-theme-accent-6: #ffc500;\n --simple-colors-default-theme-accent-7: #b28900;\n --simple-colors-default-theme-accent-8: #876800;\n --simple-colors-default-theme-accent-9: #614b00;\n --simple-colors-default-theme-accent-10: #413200;\n --simple-colors-default-theme-accent-11: #302500;\n --simple-colors-default-theme-accent-12: #221a00;\n --simple-colors-fixed-theme-accent-1: #fff2d4;\n --simple-colors-fixed-theme-accent-2: #ffdf92;\n --simple-colors-fixed-theme-accent-3: #ffd677;\n --simple-colors-fixed-theme-accent-4: #ffcf5e;\n --simple-colors-fixed-theme-accent-5: #ffc235;\n --simple-colors-fixed-theme-accent-6: #ffc500;\n --simple-colors-fixed-theme-accent-7: #b28900;\n --simple-colors-fixed-theme-accent-8: #876800;\n --simple-colors-fixed-theme-accent-9: #614b00;\n --simple-colors-fixed-theme-accent-10: #413200;\n --simple-colors-fixed-theme-accent-11: #302500;\n --simple-colors-fixed-theme-accent-12: #221a00;\n }\n\n :host([dark][accent-color=\"amber\"]) {\n --simple-colors-default-theme-accent-1: #221a00;\n --simple-colors-default-theme-accent-2: #302500;\n --simple-colors-default-theme-accent-3: #413200;\n --simple-colors-default-theme-accent-4: #614b00;\n --simple-colors-default-theme-accent-5: #876800;\n --simple-colors-default-theme-accent-6: #b28900;\n --simple-colors-default-theme-accent-7: #ffc500;\n --simple-colors-default-theme-accent-8: #ffc235;\n --simple-colors-default-theme-accent-9: #ffcf5e;\n --simple-colors-default-theme-accent-10: #ffd677;\n --simple-colors-default-theme-accent-11: #ffdf92;\n --simple-colors-default-theme-accent-12: #fff2d4;\n }\n\n :host([accent-color=\"orange\"]) {\n --simple-colors-default-theme-accent-1: #ffebd7;\n --simple-colors-default-theme-accent-2: #ffca92;\n --simple-colors-default-theme-accent-3: #ffbd75;\n --simple-colors-default-theme-accent-4: #ffb05c;\n --simple-colors-default-theme-accent-5: #ff9e36;\n --simple-colors-default-theme-accent-6: #ff9625;\n --simple-colors-default-theme-accent-7: #e56a00;\n --simple-colors-default-theme-accent-8: #ae5100;\n --simple-colors-default-theme-accent-9: #833d00;\n --simple-colors-default-theme-accent-10: #612d00;\n --simple-colors-default-theme-accent-11: #3d1c00;\n --simple-colors-default-theme-accent-12: #2c1400;\n --simple-colors-fixed-theme-accent-1: #ffebd7;\n --simple-colors-fixed-theme-accent-2: #ffca92;\n --simple-colors-fixed-theme-accent-3: #ffbd75;\n --simple-colors-fixed-theme-accent-4: #ffb05c;\n --simple-colors-fixed-theme-accent-5: #ff9e36;\n --simple-colors-fixed-theme-accent-6: #ff9625;\n --simple-colors-fixed-theme-accent-7: #e56a00;\n --simple-colors-fixed-theme-accent-8: #ae5100;\n --simple-colors-fixed-theme-accent-9: #833d00;\n --simple-colors-fixed-theme-accent-10: #612d00;\n --simple-colors-fixed-theme-accent-11: #3d1c00;\n --simple-colors-fixed-theme-accent-12: #2c1400;\n }\n\n :host([dark][accent-color=\"orange\"]) {\n --simple-colors-default-theme-accent-1: #2c1400;\n --simple-colors-default-theme-accent-2: #3d1c00;\n --simple-colors-default-theme-accent-3: #612d00;\n --simple-colors-default-theme-accent-4: #833d00;\n --simple-colors-default-theme-accent-5: #ae5100;\n --simple-colors-default-theme-accent-6: #e56a00;\n --simple-colors-default-theme-accent-7: #ff9625;\n --simple-colors-default-theme-accent-8: #ff9e36;\n --simple-colors-default-theme-accent-9: #ffb05c;\n --simple-colors-default-theme-accent-10: #ffbd75;\n --simple-colors-default-theme-accent-11: #ffca92;\n --simple-colors-default-theme-accent-12: #ffebd7;\n }\n\n :host([accent-color=\"deep-orange\"]) {\n --simple-colors-default-theme-accent-1: #ffe7e0;\n --simple-colors-default-theme-accent-2: #ffb299;\n --simple-colors-default-theme-accent-3: #ffa588;\n --simple-colors-default-theme-accent-4: #ff8a64;\n --simple-colors-default-theme-accent-5: #ff7649;\n --simple-colors-default-theme-accent-6: #ff6c3c;\n --simple-colors-default-theme-accent-7: #f53100;\n --simple-colors-default-theme-accent-8: #b92500;\n --simple-colors-default-theme-accent-9: #8a1c00;\n --simple-colors-default-theme-accent-10: #561100;\n --simple-colors-default-theme-accent-11: #3a0c00;\n --simple-colors-default-theme-accent-12: #240700;\n --simple-colors-fixed-theme-accent-1: #ffe7e0;\n --simple-colors-fixed-theme-accent-2: #ffb299;\n --simple-colors-fixed-theme-accent-3: #ffa588;\n --simple-colors-fixed-theme-accent-4: #ff8a64;\n --simple-colors-fixed-theme-accent-5: #ff7649;\n --simple-colors-fixed-theme-accent-6: #ff6c3c;\n --simple-colors-fixed-theme-accent-7: #f53100;\n --simple-colors-fixed-theme-accent-8: #b92500;\n --simple-colors-fixed-theme-accent-9: #8a1c00;\n --simple-colors-fixed-theme-accent-10: #561100;\n --simple-colors-fixed-theme-accent-11: #3a0c00;\n --simple-colors-fixed-theme-accent-12: #240700;\n }\n\n :host([dark][accent-color=\"deep-orange\"]) {\n --simple-colors-default-theme-accent-1: #240700;\n --simple-colors-default-theme-accent-2: #3a0c00;\n --simple-colors-default-theme-accent-3: #561100;\n --simple-colors-default-theme-accent-4: #8a1c00;\n --simple-colors-default-theme-accent-5: #b92500;\n --simple-colors-default-theme-accent-6: #f53100;\n --simple-colors-default-theme-accent-7: #ff6c3c;\n --simple-colors-default-theme-accent-8: #ff7649;\n --simple-colors-default-theme-accent-9: #ff8a64;\n --simple-colors-default-theme-accent-10: #ffa588;\n --simple-colors-default-theme-accent-11: #ffb299;\n --simple-colors-default-theme-accent-12: #ffe7e0;\n }\n\n :host([accent-color=\"brown\"]) {\n --simple-colors-default-theme-accent-1: #f0e2de;\n --simple-colors-default-theme-accent-2: #e5b8aa;\n --simple-colors-default-theme-accent-3: #c59485;\n --simple-colors-default-theme-accent-4: #b68373;\n --simple-colors-default-theme-accent-5: #ac7868;\n --simple-colors-default-theme-accent-6: #a47060;\n --simple-colors-default-theme-accent-7: #85574a;\n --simple-colors-default-theme-accent-8: #724539;\n --simple-colors-default-theme-accent-9: #5b3328;\n --simple-colors-default-theme-accent-10: #3b1e15;\n --simple-colors-default-theme-accent-11: #2c140e;\n --simple-colors-default-theme-accent-12: #200e09;\n --simple-colors-fixed-theme-accent-1: #f0e2de;\n --simple-colors-fixed-theme-accent-2: #e5b8aa;\n --simple-colors-fixed-theme-accent-3: #c59485;\n --simple-colors-fixed-theme-accent-4: #b68373;\n --simple-colors-fixed-theme-accent-5: #ac7868;\n --simple-colors-fixed-theme-accent-6: #a47060;\n --simple-colors-fixed-theme-accent-7: #85574a;\n --simple-colors-fixed-theme-accent-8: #724539;\n --simple-colors-fixed-theme-accent-9: #5b3328;\n --simple-colors-fixed-theme-accent-10: #3b1e15;\n --simple-colors-fixed-theme-accent-11: #2c140e;\n --simple-colors-fixed-theme-accent-12: #200e09;\n }\n\n :host([dark][accent-color=\"brown\"]) {\n --simple-colors-default-theme-accent-1: #200e09;\n --simple-colors-default-theme-accent-2: #2c140e;\n --simple-colors-default-theme-accent-3: #3b1e15;\n --simple-colors-default-theme-accent-4: #5b3328;\n --simple-colors-default-theme-accent-5: #724539;\n --simple-colors-default-theme-accent-6: #85574a;\n --simple-colors-default-theme-accent-7: #a47060;\n --simple-colors-default-theme-accent-8: #ac7868;\n --simple-colors-default-theme-accent-9: #b68373;\n --simple-colors-default-theme-accent-10: #c59485;\n --simple-colors-default-theme-accent-11: #e5b8aa;\n --simple-colors-default-theme-accent-12: #f0e2de;\n }\n\n :host([accent-color=\"blue-grey\"]) {\n --simple-colors-default-theme-accent-1: #e7eff1;\n --simple-colors-default-theme-accent-2: #b1c5ce;\n --simple-colors-default-theme-accent-3: #9badb6;\n --simple-colors-default-theme-accent-4: #8d9fa7;\n --simple-colors-default-theme-accent-5: #7a8f98;\n --simple-colors-default-theme-accent-6: #718892;\n --simple-colors-default-theme-accent-7: #56707c;\n --simple-colors-default-theme-accent-8: #40535b;\n --simple-colors-default-theme-accent-9: #2f3e45;\n --simple-colors-default-theme-accent-10: #1e282c;\n --simple-colors-default-theme-accent-11: #182023;\n --simple-colors-default-theme-accent-12: #0f1518;\n --simple-colors-fixed-theme-accent-1: #e7eff1;\n --simple-colors-fixed-theme-accent-2: #b1c5ce;\n --simple-colors-fixed-theme-accent-3: #9badb6;\n --simple-colors-fixed-theme-accent-4: #8d9fa7;\n --simple-colors-fixed-theme-accent-5: #7a8f98;\n --simple-colors-fixed-theme-accent-6: #718892;\n --simple-colors-fixed-theme-accent-7: #56707c;\n --simple-colors-fixed-theme-accent-8: #40535b;\n --simple-colors-fixed-theme-accent-9: #2f3e45;\n --simple-colors-fixed-theme-accent-10: #1e282c;\n --simple-colors-fixed-theme-accent-11: #182023;\n --simple-colors-fixed-theme-accent-12: #0f1518;\n }\n\n :host([dark][accent-color=\"blue-grey\"]) {\n --simple-colors-default-theme-accent-1: #0f1518;\n --simple-colors-default-theme-accent-2: #182023;\n --simple-colors-default-theme-accent-3: #1e282c;\n --simple-colors-default-theme-accent-4: #2f3e45;\n --simple-colors-default-theme-accent-5: #40535b;\n --simple-colors-default-theme-accent-6: #56707c;\n --simple-colors-default-theme-accent-7: #718892;\n --simple-colors-default-theme-accent-8: #7a8f98;\n --simple-colors-default-theme-accent-9: #8d9fa7;\n --simple-colors-default-theme-accent-10: #9badb6;\n --simple-colors-default-theme-accent-11: #b1c5ce;\n --simple-colors-default-theme-accent-12: #e7eff1;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/lib/simple-concept-network-node.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/lib/simple-concept-network-node.js index 9f653a24b36..2a2dfb81769 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/lib/simple-concept-network-node.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/lib/simple-concept-network-node.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". _exports.SimpleConceptNetworkNode = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_8e0d77901da511ed9d313b9780b2ae17; + var _templateObject_568252101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -47,7 +47,7 @@ define(["exports", "require", "../../../@polymer/polymer/polymer-element.js", ". babelHelpers.createClass(SimpleConceptNetworkNode, null, [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_8e0d77901da511ed9d313b9780b2ae17 || (_templateObject_8e0d77901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n [[label]]\n \n "]))); + return (0, _polymerElement.html)(_templateObject_568252101e5811ed81a80d03c17d190b || (_templateObject_568252101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n \n [[label]]\n \n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/simple-concept-network.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/simple-concept-network.js index 91a7dee2c12..9230e8b9818 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/simple-concept-network.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-concept-network/simple-concept-network.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s _exports.SimpleConceptNetwork = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_3b2875701da511ed9d313b9780b2ae17; + var _templateObject_0e694a101e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -62,7 +62,7 @@ define(["exports", "require", "../../@polymer/polymer/polymer-element.js", "../s }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_3b2875701da511ed9d313b9780b2ae17 || (_templateObject_3b2875701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); + return (0, _polymerElement.html)(_templateObject_0e694a101e5811ed81a80d03c17d190b || (_templateObject_0e694a101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-cta/simple-cta.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-cta/simple-cta.js index d583bdbce57..a8d4b88276e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-cta/simple-cta.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-cta/simple-cta.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../utils/lib/remoteLinkBehavior.js", " }); _exports.SimpleCta = void 0; - var _templateObject_493039a01da511ed9d313b9780b2ae17, _templateObject2_493039a01da511ed9d313b9780b2ae17; + var _templateObject_1de893101e5811ed81a80d03c17d190b, _templateObject2_1de893101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -56,7 +56,7 @@ define(["exports", "../../lit/index.js", "../utils/lib/remoteLinkBehavior.js", " key: "render", value: // Template return function function render() { - return (0, _index.html)(_templateObject_493039a01da511ed9d313b9780b2ae17 || (_templateObject_493039a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n ", "\n "])), this.link, this._clickCard, this.editMode, this.title); + return (0, _index.html)(_templateObject_1de893101e5811ed81a80d03c17d190b || (_templateObject_1de893101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n ", "\n "])), this.link, this._clickCard, this.editMode, this.title); } // haxProperty definition }, { @@ -172,7 +172,7 @@ define(["exports", "../../lit/index.js", "../utils/lib/remoteLinkBehavior.js", " key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleCta), "styles", this)), [(0, _index.css)(_templateObject2_493039a01da511ed9d313b9780b2ae17 || (_templateObject2_493039a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --simple-cta-color: var(\n --simple-colors-default-theme-accent-1,\n white\n );\n --simple-cta-outline: var(\n --simple-colors-default-theme-accent-12,\n black\n );\n --simple-cta-bg-color-is-user-selected: var(\n --simple-colors-default-theme-accent-10,\n darkgreen\n );\n --simple-cta-bg-color: var(\n --simple-colors-default-theme-accent-7,\n green\n );\n margin: 60px 0 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([contenteditable]) a {\n pointer-events: none;\n }\n\n :host([is-user-selected]) a {\n background-color: var(--simple-cta-bg-color-is-user-selected);\n outline: 1px solid var(--simple-cta-outline);\n }\n\n a {\n display: block;\n color: var(--simple-cta-color);\n background-color: var(--simple-cta-bg-color);\n transition: background 0.3s linear, border 0.3s linear,\n border-radius 0.3s linear, box-shadow 0.3s linear;\n text-decoration: none;\n font-size: 1em;\n text-transform: uppercase;\n border-radius: 100px 100px 100px 100px;\n box-shadow: 0 6px 26px 0 rgba(0, 0, 0, 0.16);\n padding: 16px 40px;\n font-family: Sans-serif;\n font-weight: 500;\n }\n\n a span {\n display: flex;\n justify-content: center;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleCta), "styles", this)), [(0, _index.css)(_templateObject2_1de893101e5811ed81a80d03c17d190b || (_templateObject2_1de893101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-block;\n --simple-cta-color: var(\n --simple-colors-default-theme-accent-1,\n white\n );\n --simple-cta-outline: var(\n --simple-colors-default-theme-accent-12,\n black\n );\n --simple-cta-bg-color-is-user-selected: var(\n --simple-colors-default-theme-accent-10,\n darkgreen\n );\n --simple-cta-bg-color: var(\n --simple-colors-default-theme-accent-7,\n green\n );\n margin: 60px 0 0;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([contenteditable]) a {\n pointer-events: none;\n }\n\n :host([is-user-selected]) a {\n background-color: var(--simple-cta-bg-color-is-user-selected);\n outline: 1px solid var(--simple-cta-outline);\n }\n\n a {\n display: block;\n color: var(--simple-cta-color);\n background-color: var(--simple-cta-bg-color);\n transition: background 0.3s linear, border 0.3s linear,\n border-radius 0.3s linear, box-shadow 0.3s linear;\n text-decoration: none;\n font-size: 1em;\n text-transform: uppercase;\n border-radius: 100px 100px 100px 100px;\n box-shadow: 0 6px 26px 0 rgba(0, 0, 0, 0.16);\n padding: 16px 40px;\n font-family: Sans-serif;\n font-weight: 500;\n }\n\n a span {\n display: flex;\n justify-content: center;\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-datetime/simple-datetime.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-datetime/simple-datetime.js index 792268ff6ca..b9d3f7d6c6f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-datetime/simple-datetime.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-datetime/simple-datetime.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/date.format.js"], function (_exp }); _exports.SimpleDatetime = void 0; - var _templateObject_4932d1b01da511ed9d313b9780b2ae17, _templateObject2_4932d1b01da511ed9d313b9780b2ae17; + var _templateObject_1deab5f01e5811ed81a80d03c17d190b, _templateObject2_1deab5f01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -49,7 +49,7 @@ define(["exports", "../../lit/index.js", "./lib/date.format.js"], function (_exp * LitElement life cycle - render callback */ function render() { - return (0, _index.html)(_templateObject_4932d1b01da511ed9d313b9780b2ae17 || (_templateObject_4932d1b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "])), this.date, this.date); + return (0, _index.html)(_templateObject_1deab5f01e5811ed81a80d03c17d190b || (_templateObject_1deab5f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "])), this.date, this.date); } }, { key: "updated", @@ -83,7 +83,7 @@ define(["exports", "../../lit/index.js", "./lib/date.format.js"], function (_exp }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_4932d1b01da511ed9d313b9780b2ae17 || (_templateObject2_4932d1b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 14px;\n color: #b3b3b1;\n line-height: 30px;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1deab5f01e5811ed81a80d03c17d190b || (_templateObject2_1deab5f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-size: 14px;\n color: #b3b3b1;\n line-height: 30px;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-drawer/simple-drawer.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-drawer/simple-drawer.js index 8fe4fd00c8b..201374bc945 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-drawer/simple-drawer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-drawer/simple-drawer.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.SimpleDrawer = void 0; - var _templateObject_4939fda01da511ed9d313b9780b2ae17, _templateObject2_4939fda01da511ed9d313b9780b2ae17, _templateObject3_4939fda01da511ed9d313b9780b2ae17; + var _templateObject_1def22c01e5811ed81a80d03c17d190b, _templateObject2_1def22c01e5811ed81a80d03c17d190b, _templateObject3_1def22c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -66,7 +66,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_4939fda01da511ed9d313b9780b2ae17 || (_templateObject_4939fda01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n \n
        \n
        \n ", "\n \n
        \n
        \n \n
        \n \n
        \n "])), this.opened, this.__openedChanged, this.align, this.title ? (0, _index.html)(_templateObject2_4939fda01da511ed9d313b9780b2ae17 || (_templateObject2_4939fda01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : "", this.close, this.closeIcon, this.closeLabel); + return (0, _index.html)(_templateObject_1def22c01e5811ed81a80d03c17d190b || (_templateObject_1def22c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n \n
        \n
        \n ", "\n \n
        \n
        \n \n
        \n \n
        \n "])), this.opened, this.__openedChanged, this.align, this.title ? (0, _index.html)(_templateObject2_1def22c01e5811ed81a80d03c17d190b || (_templateObject2_1def22c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        ", "

        "])), this.title) : "", this.close, this.closeIcon, this.closeLabel); } // properties available to the custom element for data binding }, { @@ -239,7 +239,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleDrawer), "styles", this)), [(0, _index.css)(_templateObject3_4939fda01da511ed9d313b9780b2ae17 || (_templateObject3_4939fda01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n z-index: 1000;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host div::slotted(*) {\n font-size: 14px;\n }\n\n .content {\n text-align: left;\n padding: 8px 24px;\n }\n\n .top ::slotted(*) {\n font-size: 24px;\n margin: 0;\n padding: 0 15px;\n height: 40px;\n line-height: 48px;\n }\n\n #close {\n position: absolute;\n right: 8px;\n top: 8px;\n padding: 4px 6px 4px 4px;\n margin: 11px 5px 0px 0px;\n text-transform: none;\n float: right;\n font-size: var(--simple-drawer-close-font-size, 12px);\n color: var(--simple-drawer-header-color, #ffffff);\n background-color: var(--simple-drawer-close-background, transparent);\n border: var(--simple-drawer-close-border);\n cursor: pointer;\n min-width: unset;\n }\n\n #close simple-icon {\n display: inline-block;\n --simple-icon-width: 16px;\n --simple-icon-height: 16px;\n margin-top: -2px;\n margin-right: 2px;\n }\n\n .top {\n font-size: 24px;\n margin: 0 0 8px 0;\n padding: 0 16px;\n height: 64px;\n line-height: 64px;\n display: flex;\n text-align: left;\n justify-content: space-between;\n background-color: var(--simple-drawer-header-background, #20427b);\n color: var(--simple-drawer-header-color, #ffffff);\n }\n\n .top h2 {\n flex: auto;\n color: var(--simple-drawer-header-color, #ffffff);\n font-size: 24px;\n padding: 0;\n line-height: 45px;\n margin: 8px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleDrawer), "styles", this)), [(0, _index.css)(_templateObject3_1def22c01e5811ed81a80d03c17d190b || (_templateObject3_1def22c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n z-index: 1000;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host div::slotted(*) {\n font-size: 14px;\n }\n\n .content {\n text-align: left;\n padding: 8px 24px;\n }\n\n .top ::slotted(*) {\n font-size: 24px;\n margin: 0;\n padding: 0 15px;\n height: 40px;\n line-height: 48px;\n }\n\n #close {\n position: absolute;\n right: 8px;\n top: 8px;\n padding: 4px 6px 4px 4px;\n margin: 11px 5px 0px 0px;\n text-transform: none;\n float: right;\n font-size: var(--simple-drawer-close-font-size, 12px);\n color: var(--simple-drawer-header-color, #ffffff);\n background-color: var(--simple-drawer-close-background, transparent);\n border: var(--simple-drawer-close-border);\n cursor: pointer;\n min-width: unset;\n }\n\n #close simple-icon {\n display: inline-block;\n --simple-icon-width: 16px;\n --simple-icon-height: 16px;\n margin-top: -2px;\n margin-right: 2px;\n }\n\n .top {\n font-size: 24px;\n margin: 0 0 8px 0;\n padding: 0 16px;\n height: 64px;\n line-height: 64px;\n display: flex;\n text-align: left;\n justify-content: space-between;\n background-color: var(--simple-drawer-header-background, #20427b);\n color: var(--simple-drawer-header-color, #ffffff);\n }\n\n .top h2 {\n flex: auto;\n color: var(--simple-drawer-header-color, #ffffff);\n font-size: 24px;\n padding: 0;\n line-height: 45px;\n margin: 8px;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-emoji/simple-emoji.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-emoji/simple-emoji.js index 90e1a9b02aa..ef5a2cc8fec 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-emoji/simple-emoji.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-emoji/simple-emoji.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { }); _exports.SimpleEmoji = void 0; - var _templateObject_493d59001da511ed9d313b9780b2ae17, _templateObject2_493d59001da511ed9d313b9780b2ae17; + var _templateObject_1df16cb01e5811ed81a80d03c17d190b, _templateObject2_1df16cb01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -42,7 +42,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { * LitElement render callback */ function render() { - return (0, _index.html)(_templateObject_493d59001da511ed9d313b9780b2ae17 || (_templateObject_493d59001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject_1df16cb01e5811ed81a80d03c17d190b || (_templateObject_1df16cb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } /** * Convention we use @@ -107,7 +107,7 @@ define(["exports", "../../lit/index.js"], function (_exports, _index) { styles = babelHelpers.get(babelHelpers.getPrototypeOf(SimpleEmoji), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_493d59001da511ed9d313b9780b2ae17 || (_templateObject2_493d59001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject2_1df16cb01e5811ed81a80d03c17d190b || (_templateObject2_1df16cb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array-item.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array-item.dev.js index 5ec9967a83d..b2cd4200d5f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array-item.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array-item.dev.js @@ -37,10 +37,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_9fa36b901da511ed9d313b9780b2ae17() { +function _templateObject2_64072aa01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n padding: 0;\n border-radius: var(--simple-fields-border-radius, 2px);\n display: block;\n border: none;\n transform: rotate(0deg);\n transition: all 0.5s ease;\n z-index: 1;\n position: relative;\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n :host([aria-expanded="true"]) {\n padding: var(--simple-fields-margin, 16px)\n var(--simple-fields-margin-small, 8px);\n outline: 1px solid var(--simple-fields-border-color-light, #ccc);\n transition: all 0.5s ease;\n }\n :host([error]) {\n outline: 1px solid var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n *[aria-controls="content"][disabled] {\n cursor: not-allowed;\n }\n #drag-handle {\n flex: 0 1 auto;\n position: relative;\n overflow: visible;\n }\n #preview {\n flex: 1 0 auto;\n margin: 0;\n margin-right: calc(0 - var(--simple-fields-margin-small, 8px) / 2);\n margin-left: calc(50px + var(--simple-fields-margin-small, 8px) / 2);\n max-width: calc(\n 100% - 72px - 2 * var(--simple-fields-margin-small, 8px) / 2\n );\n }\n #heading,\n .heading-inner {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n }\n #content {\n overflow: hidden;\n max-height: 0;\n }\n :host #content-inner {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n flex-wrap: wrap;\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded="true"]) #content {\n max-height: 20000vh;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded="true"]) #content-inner {\n max-height: 20000vh;\n }\n #content-inner > * {\n flex: 1 1 auto;\n }\n #copy-delete {\n display: flex;\n align-items: stretch;\n justify-content: flex-end;\n flex: 1 0 auto;\n }\n #copy,\n #remove {\n flex: 0 0 auto;\n }\n #expand {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n #drag-handle {\n position: absolute;\n left: 2px;\n top: 2px;\n --simple-toolbar-button-white-space: normal !important;\n }\n :host([aria-expanded="true"]) #drag-handle {\n top: var(--simple-fields-margin, 16px);\n left: var(--simple-fields-margin-small, 8px);\n }\n #dropzone {\n height: 0px;\n }\n :host(.dragging) #heading {\n opacity: 0.5;\n }\n :host(.dragging) #content,\n :host(.dragging) #expand {\n display: none;\n }\n #content:hover,\n #content:focus-within,\n #content:hover #content-inner,\n #content:focus-within #content-inner {\n overflow: visible;\n }\n :host(.dragging) #preview,\n :host(.droppable) #preview {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n :host(.dropzone) #dropzone {\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n height: 80px;\n }\n\n :host([aria-expanded="true"]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n ::slotted([slot="preview"]),\n ::slotted(*:first-child) {\n margin-top: 0;\n }\n ::slotted([slot="preview"]),\n ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n :host(:hover),\n :host(:focus),\n :host(:focus-within) {\n z-index: 100000;\n }\n :host(.dropzone) {\n z-index: 1;\n }\n [hidden],\n :host(:first-child) #move-up-outer,\n :host(:last-child) #move-down-outer,\n :host(:first-child):last-child #drag-handle {\n display: none;\n }\n ']); - _templateObject2_9fa36b901da511ed9d313b9780b2ae17 = function _templateObject2_9fa36b901da511ed9d313b9780b2ae17() { + _templateObject2_64072aa01e5811ed81a80d03c17d190b = function _templateObject2_64072aa01e5811ed81a80d03c17d190b() { return data; }; @@ -69,10 +69,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_9fa36b901da511ed9d313b9780b2ae17() { +function _templateObject_64072aa01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n \n \n \n \n \n \n \n \n \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n ']); - _templateObject_9fa36b901da511ed9d313b9780b2ae17 = function _templateObject_9fa36b901da511ed9d313b9780b2ae17() { + _templateObject_64072aa01e5811ed81a80d03c17d190b = function _templateObject_64072aa01e5811ed81a80d03c17d190b() { return data; }; @@ -231,7 +231,7 @@ var SimpleFieldsArrayItem = /*#__PURE__*/function (_SimpleFieldsFieldset) { value: function render() { var _this2 = this; - return (0, _litElement.html)(_templateObject_9fa36b901da511ed9d313b9780b2ae17(), this.id, this.disabled, this.__dropAccepts || this.__dragging, function (e) { + return (0, _litElement.html)(_templateObject_64072aa01e5811ed81a80d03c17d190b(), this.id, this.disabled, this.__dropAccepts || this.__dragging, function (e) { return _this2.draggable = "true"; }, function (e) { return _this2.draggable = "false"; @@ -240,7 +240,7 @@ var SimpleFieldsArrayItem = /*#__PURE__*/function (_SimpleFieldsFieldset) { }], [{ key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsArrayItem), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject2_9fa36b901da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsArrayItem), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject2_64072aa01e5811ed81a80d03c17d190b())]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array.dev.js index 7e60f57960a..47115aef902 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-array.dev.js @@ -82,10 +82,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject3_9fa678d01da511ed9d313b9780b2ae17() { +function _templateObject3_640a5ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host([expanded]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n #item-fields {\n margin: var(--simple-fields-margin-small, 8px) 0;\n clear: both;\n z-index: 3;\n }\n #top {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n }\n #add {\n float: right;\n }\n "]); - _templateObject3_9fa678d01da511ed9d313b9780b2ae17 = function _templateObject3_9fa678d01da511ed9d313b9780b2ae17() { + _templateObject3_640a5ef01e5811ed81a80d03c17d190b = function _templateObject3_640a5ef01e5811ed81a80d03c17d190b() { return data; }; @@ -114,20 +114,20 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject2_9fa678d01da511ed9d313b9780b2ae17() { +function _templateObject2_640a5ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ', '\n \n \n
        \n
        \n \n \n \n
        \n ']); - _templateObject2_9fa678d01da511ed9d313b9780b2ae17 = function _templateObject2_9fa678d01da511ed9d313b9780b2ae17() { + _templateObject2_640a5ef01e5811ed81a80d03c17d190b = function _templateObject2_640a5ef01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fa678d01da511ed9d313b9780b2ae17() { +function _templateObject_640a5ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        ', "", "
        \n "]); - _templateObject_9fa678d01da511ed9d313b9780b2ae17 = function _templateObject_9fa678d01da511ed9d313b9780b2ae17() { + _templateObject_640a5ef01e5811ed81a80d03c17d190b = function _templateObject_640a5ef01e5811ed81a80d03c17d190b() { return data; }; @@ -263,14 +263,14 @@ var SimpleFieldsArray = /*#__PURE__*/function (_SimpleFieldsFieldset) { _createClass(SimpleFieldsArray, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9fa678d01da511ed9d313b9780b2ae17(), this.legend, this.fields); + return (0, _litElement.html)(_templateObject_640a5ef01e5811ed81a80d03c17d190b(), this.legend, this.fields); } }, { key: "fields", get: function get() { var _this2 = this; - return (0, _litElement.html)(_templateObject2_9fa678d01da511ed9d313b9780b2ae17(), this.descriptionTemplate, function (e) { + return (0, _litElement.html)(_templateObject2_640a5ef01e5811ed81a80d03c17d190b(), this.descriptionTemplate, function (e) { return _this2.toggle(); }, this.expanded, this.expanded ? "Collapse All" : "Expand All", function (e) { return _this2._handleAdd(); @@ -284,7 +284,7 @@ var SimpleFieldsArray = /*#__PURE__*/function (_SimpleFieldsFieldset) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsArray), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject3_9fa678d01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsArray), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject3_640a5ef01e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-code.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-code.dev.js index f72be5b4929..d3a5f9d0b96 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-code.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-code.dev.js @@ -27,10 +27,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_9faa49601da511ed9d313b9780b2ae17() { +function _templateObject2_640d1e101e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ', '\n \n \n \n
        \n ']); - _templateObject2_9faa49601da511ed9d313b9780b2ae17 = function _templateObject2_9faa49601da511ed9d313b9780b2ae17() { + _templateObject2_640d1e101e5811ed81a80d03c17d190b = function _templateObject2_640d1e101e5811ed81a80d03c17d190b() { return data; }; @@ -86,10 +86,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9faa49601da511ed9d313b9780b2ae17() { +function _templateObject_640d1e101e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n code-editor {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n code-editor:focus {\n outline: none;\n }\n "]); - _templateObject_9faa49601da511ed9d313b9780b2ae17 = function _templateObject_9faa49601da511ed9d313b9780b2ae17() { + _templateObject_640d1e101e5811ed81a80d03c17d190b = function _templateObject_640d1e101e5811ed81a80d03c17d190b() { return data; }; @@ -259,7 +259,7 @@ var SimpleFieldsCode = /*#__PURE__*/function (_SimpleFieldsContaine) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsCode), "styles", this)), [(0, _litElement.css)(_templateObject_9faa49601da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsCode), "styles", this)), [(0, _litElement.css)(_templateObject_640d1e101e5811ed81a80d03c17d190b())]); } }, { key: "properties", @@ -493,7 +493,7 @@ var SimpleFieldsCode = /*#__PURE__*/function (_SimpleFieldsContaine) { get: function get() { var _this4 = this; - return (0, _litElement.html)(_templateObject2_9faa49601da511ed9d313b9780b2ae17(), this.labelTemplate, this.autofocus, this.disabled, this.fontSize, this.__editorValue || "", this.theme || "auto", this.language, this.mode, this.readonly || this.disabled, this._onChange, this._onFocusChange, function (e) { + return (0, _litElement.html)(_templateObject2_640d1e101e5811ed81a80d03c17d190b(), this.labelTemplate, this.autofocus, this.disabled, this.fontSize, this.__editorValue || "", this.theme || "auto", this.language, this.mode, this.readonly || this.disabled, this._onChange, this._onFocusChange, function (e) { return _this4.focused == true; }, function (e) { return _this4.focused == false; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-container.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-container.dev.js index 7693919d060..abf472e3a5a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-container.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-container.dev.js @@ -23,90 +23,90 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject10_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject10_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n "]); - _templateObject10_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject10_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject10_6413fbe01e5811ed81a80d03c17d190b = function _templateObject10_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject9_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject9_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n "]); - _templateObject9_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject9_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject9_6413fbe01e5811ed81a80d03c17d190b = function _templateObject9_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject8_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject8_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n \n ', "", "\n \n "]); - _templateObject8_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject8_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject8_6413fbe01e5811ed81a80d03c17d190b = function _templateObject8_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject7_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject7_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n
        \n ']); - _templateObject7_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject7_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject7_6413fbe01e5811ed81a80d03c17d190b = function _templateObject7_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject6_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject6_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', '\n
        \n ', '\n \n ', "\n
        \n \n "]); - _templateObject6_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject6_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject6_6413fbe01e5811ed81a80d03c17d190b = function _templateObject6_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject5_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject5_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n
        \n
        \n
        \n ', " ", "\n
        \n ", "\n
        \n "]); - _templateObject5_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject5_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject5_6413fbe01e5811ed81a80d03c17d190b = function _templateObject5_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject4_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject4_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject4_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject4_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject4_6413fbe01e5811ed81a80d03c17d190b = function _templateObject4_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject3_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n ', "\n
        \n "]); - _templateObject3_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject3_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject3_6413fbe01e5811ed81a80d03c17d190b = function _templateObject3_6413fbe01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject2_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n display: block;\n }\n :host([error]) {\n color: var(--simple-fields-error-color, #b40000);\n transition: color 0.3s ease-in-out;\n }\n :host([disabled]) {\n color: var(--simple-fields-disabled-color, #999);\n }\n .field-main.inline,\n .field-main > div,\n #field-bottom {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n }\n * {\n flex: 1 1 auto;\n }\n #fieldmeta {\n text-align: right;\n }\n .field,\n ::slotted([slot="field"]) {\n width: auto;\n border: none;\n color: var(--simple-fields-color, currentColor);\n background-color: var(--simple-fields-background-color, transparent);\n transition: opacity ease-in-out;\n flex: 1 0 auto;\n }\n ::slotted([slot="field"]:focus) {\n outline: none;\n }\n :host[inline] ::slotted([slot="field"]:focus),\n ::slotted([type="checkbox"][slot="radio"]:focus),\n ::slotted([type="checkbox"][slot="field"]:focus) {\n outline: unset;\n }\n .field-main.inline .field,\n .field-main.inline ::slotted([slot="field"]) {\n min-width: var(--simple-fields-detail-line-height, 22px);\n height: var(--simple-fields-detail-line-height, 22px);\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n .field[disabled],\n :host([readonly]) ::slotted([slot="field"]) {\n opacity: var(--simple-fields-disabled-opacity, 0.7);\n transition: opacity ease-in-out;\n }\n .field[readonly],\n .field[disabled],\n :host([readonly]) ::slotted([slot="field"]),\n :host([disabled]) ::slotted([slot="field"]) {\n cursor: not-allowed;\n pointer-events: none;\n }\n .border-bottom {\n height: 0;\n }\n :host([disabled]) .border-bottom {\n border-bottom: 1px dashed var(--simple-fields-border-color, #999);\n }\n .border-bottom.blur {\n border-bottom: 1px solid var(--simple-fields-border-color, #999);\n width: 100%;\n }\n .border-bottom.focus {\n margin: -1px auto 0;\n width: 0;\n border-bottom: 2px solid var(--simple-fields-accent-color, #3f51b5);\n transition: width 0.5s ease-in-out;\n }\n :host(:focus-within) .border-bottom.focus {\n width: 100%;\n transition: width 0.5s ease-in-out;\n }\n :host([type="checkbox"]) .border-bottom,\n :host([type="color"]) .border-bottom,\n :host([type="file"]) .border-bottom,\n :host([type="radio"]) .border-bottom,\n :host([type="range"]) .border-bottom {\n display: none;\n }\n ::slotted(input) {\n padding: 0px;\n }\n ::slotted(textarea[slot="field"]) {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n ::slotted(fieldset[slot="field"]) {\n margin: 0;\n padding: 0;\n border: none;\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n display: var(--simple-fields-radio-option-display, block);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n transition: color 0.3s ease-in-out;\n }\n ']); - _templateObject2_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject2_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject2_6413fbe01e5811ed81a80d03c17d190b = function _templateObject2_6413fbe01e5811ed81a80d03c17d190b() { return data; }; @@ -135,10 +135,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_9fb19c601da511ed9d313b9780b2ae17() { +function _templateObject_6413fbe01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([" ", " ", " "]); - _templateObject_9fb19c601da511ed9d313b9780b2ae17 = function _templateObject_9fb19c601da511ed9d313b9780b2ae17() { + _templateObject_6413fbe01e5811ed81a80d03c17d190b = function _templateObject_6413fbe01e5811ed81a80d03c17d190b() { return data; }; @@ -267,7 +267,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup _createClass(_class, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9fb19c601da511ed9d313b9780b2ae17(), this.fieldMainTemplate, this.fieldBottom); + return (0, _litElement.html)(_templateObject_6413fbe01e5811ed81a80d03c17d190b(), this.fieldMainTemplate, this.fieldBottom); } }], [{ key: "tag", @@ -277,7 +277,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsLabelStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _litElement.css)(_templateObject2_9fb19c601da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsLabelStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _litElement.css)(_templateObject2_6413fbe01e5811ed81a80d03c17d190b())]); } }, { key: "properties", @@ -977,7 +977,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "descriptionTemplate", get: function get() { - return (0, _litElement.html)(_templateObject3_9fb19c601da511ed9d313b9780b2ae17(), this.description); + return (0, _litElement.html)(_templateObject3_6413fbe01e5811ed81a80d03c17d190b(), this.description); } /** * template for slotted or shadow DOM error message @@ -990,7 +990,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "errorTemplate", get: function get() { - return (0, _litElement.html)(_templateObject4_9fb19c601da511ed9d313b9780b2ae17(), !this.error, this.errorMessage); + return (0, _litElement.html)(_templateObject4_6413fbe01e5811ed81a80d03c17d190b(), !this.error, this.errorMessage); } /** * @@ -1004,7 +1004,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "fieldBottom", get: function get() { - return (0, _litElement.html)(_templateObject5_9fb19c601da511ed9d313b9780b2ae17(), this.descriptionTemplate, this.errorTemplate, this.fieldMeta); + return (0, _litElement.html)(_templateObject5_6413fbe01e5811ed81a80d03c17d190b(), this.descriptionTemplate, this.errorTemplate, this.fieldMeta); } /** * gets field's id @@ -1030,7 +1030,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "fieldMainTemplate", get: function get() { - return (0, _litElement.html)(_templateObject6_9fb19c601da511ed9d313b9780b2ae17(), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.suffixTemplate); + return (0, _litElement.html)(_templateObject6_6413fbe01e5811ed81a80d03c17d190b(), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.suffixTemplate); } /** * @@ -1044,7 +1044,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "fieldMeta", get: function get() { - return (0, _litElement.html)(_templateObject7_9fb19c601da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject7_6413fbe01e5811ed81a80d03c17d190b()); } }, { key: "hasFieldset", @@ -1062,7 +1062,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "labelTemplate", get: function get() { - return (0, _litElement.html)(_templateObject8_9fb19c601da511ed9d313b9780b2ae17(), this.fieldId, this.type === "fieldset", this.label, this.error || this.required ? "*" : ""); + return (0, _litElement.html)(_templateObject8_6413fbe01e5811ed81a80d03c17d190b(), this.fieldId, this.type === "fieldset", this.label, this.error || this.required ? "*" : ""); } }, { key: "multicheck", @@ -1127,7 +1127,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "prefixTemplate", get: function get() { - return (0, _litElement.html)(_templateObject9_9fb19c601da511ed9d313b9780b2ae17(), this.prefix); + return (0, _litElement.html)(_templateObject9_6413fbe01e5811ed81a80d03c17d190b(), this.prefix); } /** * determines if field is required and blank @@ -1166,7 +1166,7 @@ var SimpleFieldsContainerBehaviors = function SimpleFieldsContainerBehaviors(Sup }, { key: "suffixTemplate", get: function get() { - return (0, _litElement.html)(_templateObject10_9fb19c601da511ed9d313b9780b2ae17(), this.suffix); + return (0, _litElement.html)(_templateObject10_6413fbe01e5811ed81a80d03c17d190b(), this.suffix); } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-field.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-field.dev.js index daf51dc14f2..997b47924c0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-field.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-field.dev.js @@ -15,30 +15,30 @@ require("@lrnwebcomponents/simple-icon/lib/simple-icons.js"); require("@lrnwebcomponents/simple-icon/simple-icon.js"); -function _templateObject10_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject10_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n "]); - _templateObject10_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject10_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject10_64197a201e5811ed81a80d03c17d190b = function _templateObject10_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject9_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject9_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "\n \n "]); - _templateObject9_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject9_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject9_64197a201e5811ed81a80d03c17d190b = function _templateObject9_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject8_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject8_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', '\n \n \n ']); - _templateObject8_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject8_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject8_64197a201e5811ed81a80d03c17d190b = function _templateObject8_64197a201e5811ed81a80d03c17d190b() { return data; }; @@ -59,60 +59,60 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject7_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject7_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ', "", "\n
        \n "]); - _templateObject7_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject7_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject7_64197a201e5811ed81a80d03c17d190b = function _templateObject7_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject6_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject6_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n ', "", '\n \n
        \n ', "\n
        \n ", "\n
        \n "]); - _templateObject6_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject6_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject6_64197a201e5811ed81a80d03c17d190b = function _templateObject6_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject5_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject5_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ']); - _templateObject5_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject5_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject5_64197a201e5811ed81a80d03c17d190b = function _templateObject5_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject4_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject4_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', '\n
        \n ', "\n ", "\n ", "\n
        \n \n "]); - _templateObject4_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject4_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject4_64197a201e5811ed81a80d03c17d190b = function _templateObject4_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject3_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ']); - _templateObject3_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject3_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject3_64197a201e5811ed81a80d03c17d190b = function _templateObject3_64197a201e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject2_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', "\n \n "]); - _templateObject2_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject2_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject2_64197a201e5811ed81a80d03c17d190b = function _templateObject2_64197a201e5811ed81a80d03c17d190b() { return data; }; @@ -168,10 +168,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9fb8a1401da511ed9d313b9780b2ae17() { +function _templateObject_64197a201e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n fieldset {\n margin: 0;\n padding: 0;\n border: none;\n background-color: transparent;\n }\n option {\n border-radius: 0;\n }\n option[selected] {\n background-color: var(\n --simple-fields-faded-background-color,\n rgba(0, 0, 0, 0.1)\n );\n }\n legend {\n padding-inline-start: unset;\n padding-inline-end: unset;\n }\n #field-main-inner {\n position: relative;\n }\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n .option {\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n justify-content: space-between;\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n .option:last-of-type {\n margin: 0;\n }\n .option:focus-within label {\n color: var(--simple-fields-accent-color, #003f7d);\n transition: color ease-in-out;\n }\n :host([type]) fieldset .border-bottom {\n display: block;\n }\n .box-input {\n width: 100%;\n padding: 2px;\n }\n .box-input:focus {\n outline: none;\n }\n .field-main.inline {\n align-items: center;\n }\n input {\n background-color: var(--simple-fields-background-color, transparent);\n }\n input[type="text"] {\n padding: 0;\n }\n textarea {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n background-color: var(--simple-fields-background-color, transparent);\n }\n select.field {\n width: calc(100% - 26px);\n padding-right: 26px;\n border: none;\n background-color: var(--simple-fields-background-color, transparent);\n border-radius: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n :host([type="select"]) simple-icon-lite {\n position: absolute;\n right: 0px;\n }\n select:focus,\n select:focus-within {\n outline: none;\n }\n :host([type="checkbox"]) span,\n :host([type="radio"]) span {\n position: relative;\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n }\n :host([type="checkbox"]) span:focus-within,\n :host([type="radio"]) span:focus-within {\n color: var(--simple-fields-accent-color, #003f7d);\n outline: 1px dotted var(--simple-fields-accent-color, #003f7d);\n }\n :host([type="checkbox"]) label.checkbox-label,\n :host([type="radio"]) label.radio-label {\n flex: 0 0 auto;\n }\n :host([type="checkbox"]) input,\n :host([type="radio"]) input,\n .field-main.inline input[type="checkbox"].field,\n .field-main.inline input[type="radio"].field {\n z-index: -1;\n opacity: 0;\n min-width: 0;\n width: 0;\n margin: 0;\n flex: 0 1 0px;\n }\n :host([type="checkbox"]) simple-icon-lite,\n :host([type="radio"]) simple-icon-lite {\n flex: 0 0 auto;\n }\n :host([type="checkbox"]) simple-icon-lite:hover,\n :host([type="radio"]) simple-icon-lite:hover,\n :host([type="checkbox"]) span:focus-within simple-icon-lite,\n :host([type="radio"]) span:focus-within simple-icon-lite {\n color: var(--simple-fields-accent-color, #003f7d);\n }\n \n input[type="range"] {\n width: 100%;\n height: calc(\n var(--simple-fields-font-size, 16px) +\n var(--simple-fields-line-height, 22px)\n );\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n -webkit-appearance: none;\n }\n input[type="range"]:focus {\n outline: none;\n }\n input[type="range"]::-webkit-slider-runnable-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type="range"]::-webkit-slider-runnable-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]::-webkit-slider-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background-color: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -2px;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][readonly]::-webkit-slider-thumb,\n input[type="range"][disabled]::-webkit-slider-thumb {\n cursor: not-allowed;\n }\n input[type="range"]:focus::-webkit-slider-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type="range"]::-webkit-slider-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][readonly]::-webkit-slider-thumb,\n input[type="range"][disabled]::-webkit-slider-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]::-moz-range-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][readonly]::-moz-range-track,\n input[type="range"][disabled]::-moz-range-track {\n cursor: not-allowed;\n }\n :host([error]) input[type="range"]::-moz-range-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]::-moz-range-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]:focus::-moz-range-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type="range"]::-moz-range-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][readonly]::-moz-range-thumb,\n input[type="range"][disabled]::-moz-range-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]::-ms-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][readonly]::-ms-track,\n input[type="range"][disabled]::-ms-track {\n cursor: not-allowed;\n }\n :host([error]) input[type="range"]::-ms-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type="range"]::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type="range"]::-ms-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n }\n input[type="range"][readonly]::-ms-thumb,\n input[type="range"][disabled]::-ms-thumb {\n cursor: not-allowed;\n }\n input[type="range"]:focus::-ms-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n }\n :host([error]) input[type="range"]::-ms-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"][redonly]::-ms-thumb,\n input[type="range"][disabled]::-ms-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type="range"]:focus::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n input[type="range"]:focus::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n ']); - _templateObject_9fb8a1401da511ed9d313b9780b2ae17 = function _templateObject_9fb8a1401da511ed9d313b9780b2ae17() { + _templateObject_64197a201e5811ed81a80d03c17d190b = function _templateObject_64197a201e5811ed81a80d03c17d190b() { return data; }; @@ -332,7 +332,7 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "styles", this)), [(0, _litElement.css)(_templateObject_9fb8a1401da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(_class), "styles", this)), [(0, _litElement.css)(_templateObject_64197a201e5811ed81a80d03c17d190b())]); } }, { key: "properties", @@ -553,7 +553,7 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) var checked = !option ? !!this.value : this.type === "radio" ? this.value === (option || {}).value : (this.value || []).includes((option || {}).value), icon = this.getOptionIcon(checked); - return (0, _litElement.html)(_templateObject2_9fb8a1401da511ed9d313b9780b2ae17(), this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, checked, ["checkbox", "color", "file", "radio", "range"].includes(this.type) ? "" : "box-input", this.disabled, this._onFocusin, this.hidden, !option ? this.id : option.value, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.type, !option ? this.value : (option || {}).value, this.type !== "checkbox" && this.type !== "radio" ? "" : (0, _litElement.html)(_templateObject3_9fb8a1401da511ed9d313b9780b2ae17(), icon, function (e) { + return (0, _litElement.html)(_templateObject2_64197a201e5811ed81a80d03c17d190b(), this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, checked, ["checkbox", "color", "file", "radio", "range"].includes(this.type) ? "" : "box-input", this.disabled, this._onFocusin, this.hidden, !option ? this.id : option.value, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.type, !option ? this.value : (option || {}).value, this.type !== "checkbox" && this.type !== "radio" ? "" : (0, _litElement.html)(_templateObject3_64197a201e5811ed81a80d03c17d190b(), icon, function (e) { return _this3._handleIconClick(checked, option); })); } @@ -719,7 +719,7 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) }, { key: "fieldMainTemplate", get: function get() { - return (0, _litElement.html)(_templateObject4_9fb8a1401da511ed9d313b9780b2ae17(), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.fieldElementTag === "input" ? this.inputTemplate : this.fieldElementTag === "select" ? this.selectTemplate : this.fieldElementTag === "textarea" ? this.textareaTemplate : "", this.suffixTemplate); + return (0, _litElement.html)(_templateObject4_64197a201e5811ed81a80d03c17d190b(), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.fieldElementTag === "input" ? this.inputTemplate : this.fieldElementTag === "select" ? this.selectTemplate : this.fieldElementTag === "textarea" ? this.textareaTemplate : "", this.suffixTemplate); } /** * @@ -733,7 +733,7 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) }, { key: "fieldMeta", get: function get() { - return (0, _litElement.html)(_templateObject5_9fb8a1401da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject5_64197a201e5811ed81a80d03c17d190b()); } /** * template for `fieldset` in shadow DOM @@ -748,8 +748,8 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) get: function get() { var _this5 = this; - return (0, _litElement.html)(_templateObject6_9fb8a1401da511ed9d313b9780b2ae17(), !this.label, this.label, this.error || this.required ? "*" : "", (this.sortedOptions || []).map(function (option) { - return (0, _litElement.html)(_templateObject7_9fb8a1401da511ed9d313b9780b2ae17(), _this5.id, option.value, option.text, _this5.getInput(option)); + return (0, _litElement.html)(_templateObject6_64197a201e5811ed81a80d03c17d190b(), !this.label, this.label, this.error || this.required ? "*" : "", (this.sortedOptions || []).map(function (option) { + return (0, _litElement.html)(_templateObject7_64197a201e5811ed81a80d03c17d190b(), _this5.id, option.value, option.text, _this5.getInput(option)); }), this.fieldBottom); } }, { @@ -832,8 +832,8 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) get: function get() { var _this7 = this; - return (0, _litElement.html)(_templateObject8_9fb8a1401da511ed9d313b9780b2ae17(), this.autofocus, this.describedBy, this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this.multiple, this.id, this.readonly, this.required, (this.sortedOptions || []).map(function (option) { - return (0, _litElement.html)(_templateObject9_9fb8a1401da511ed9d313b9780b2ae17(), _this7.id, option.value, _this7.multiple ? _this7.value && _this7.value.includes(option.value) : _this7.value === option.value, option.value, option.text); + return (0, _litElement.html)(_templateObject8_64197a201e5811ed81a80d03c17d190b(), this.autofocus, this.describedBy, this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this.multiple, this.id, this.readonly, this.required, (this.sortedOptions || []).map(function (option) { + return (0, _litElement.html)(_templateObject9_64197a201e5811ed81a80d03c17d190b(), _this7.id, option.value, _this7.multiple ? _this7.value && _this7.value.includes(option.value) : _this7.value === option.value, option.value, option.text); })); } /** @@ -857,7 +857,7 @@ var SimpleFieldsFieldBehaviors = function SimpleFieldsFieldBehaviors(SuperClass) }, { key: "textareaTemplate", get: function get() { - return (0, _litElement.html)(_templateObject10_9fb8a1401da511ed9d313b9780b2ae17(), this.error ? "true" : "false", this.autofocus, this._onFocusout, this._handleFieldChange, function (e) { + return (0, _litElement.html)(_templateObject10_64197a201e5811ed81a80d03c17d190b(), this.error ? "true" : "false", this.autofocus, this._onFocusout, this._handleFieldChange, function (e) { return e.stopPropagation(); }, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.readonly, this.required, this.value || ""); } diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-fieldset.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-fieldset.dev.js index 2cca3b7b916..cf229a59eac 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-fieldset.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-fieldset.dev.js @@ -23,10 +23,10 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject5_9fbac4201da511ed9d313b9780b2ae17() { +function _templateObject5_641b00c01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n "]); - _templateObject5_9fbac4201da511ed9d313b9780b2ae17 = function _templateObject5_9fbac4201da511ed9d313b9780b2ae17() { + _templateObject5_641b00c01e5811ed81a80d03c17d190b = function _templateObject5_641b00c01e5811ed81a80d03c17d190b() { return data; }; @@ -55,40 +55,40 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject4_9fbac4201da511ed9d313b9780b2ae17() { +function _templateObject4_641b00c01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n
        \n ']); - _templateObject4_9fbac4201da511ed9d313b9780b2ae17 = function _templateObject4_9fbac4201da511ed9d313b9780b2ae17() { + _templateObject4_641b00c01e5811ed81a80d03c17d190b = function _templateObject4_641b00c01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fbac4201da511ed9d313b9780b2ae17() { +function _templateObject3_641b00c01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ', "\n
        \n "]); - _templateObject3_9fbac4201da511ed9d313b9780b2ae17 = function _templateObject3_9fbac4201da511ed9d313b9780b2ae17() { + _templateObject3_641b00c01e5811ed81a80d03c17d190b = function _templateObject3_641b00c01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fbac4201da511ed9d313b9780b2ae17() { +function _templateObject2_641b00c01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ', "", "\n \n "]); - _templateObject2_9fbac4201da511ed9d313b9780b2ae17 = function _templateObject2_9fbac4201da511ed9d313b9780b2ae17() { + _templateObject2_641b00c01e5811ed81a80d03c17d190b = function _templateObject2_641b00c01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fbac4201da511ed9d313b9780b2ae17() { +function _templateObject_641b00c01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n ', " ", " ", "\n
        \n "]); - _templateObject_9fbac4201da511ed9d313b9780b2ae17 = function _templateObject_9fbac4201da511ed9d313b9780b2ae17() { + _templateObject_641b00c01e5811ed81a80d03c17d190b = function _templateObject_641b00c01e5811ed81a80d03c17d190b() { return data; }; @@ -193,22 +193,22 @@ var SimpleFieldsFieldsetBehaviors = function SimpleFieldsFieldsetBehaviors(Super _createClass(_class, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9fbac4201da511ed9d313b9780b2ae17(), this.legend, this.desc, this.fields); + return (0, _litElement.html)(_templateObject_641b00c01e5811ed81a80d03c17d190b(), this.legend, this.desc, this.fields); } }, { key: "legend", get: function get() { - return (0, _litElement.html)(_templateObject2_9fbac4201da511ed9d313b9780b2ae17(), !this.label, this.label, this.error ? "*" : ""); + return (0, _litElement.html)(_templateObject2_641b00c01e5811ed81a80d03c17d190b(), !this.label, this.label, this.error ? "*" : ""); } }, { key: "desc", get: function get() { - return (0, _litElement.html)(_templateObject3_9fbac4201da511ed9d313b9780b2ae17(), !this.description, this.description); + return (0, _litElement.html)(_templateObject3_641b00c01e5811ed81a80d03c17d190b(), !this.description, this.description); } }, { key: "fields", get: function get() { - return (0, _litElement.html)(_templateObject4_9fbac4201da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject4_641b00c01e5811ed81a80d03c17d190b()); } }], [{ key: "tag", @@ -218,7 +218,7 @@ var SimpleFieldsFieldsetBehaviors = function SimpleFieldsFieldsetBehaviors(Super }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsFieldsetStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _litElement.css)(_templateObject5_9fbac4201da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsFieldsetStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _litElement.css)(_templateObject5_641b00c01e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form-lite.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form-lite.dev.js index 639ee02c3eb..0516a136ce8 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form-lite.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form-lite.dev.js @@ -1,5 +1,7 @@ "use strict"; +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + Object.defineProperty(exports, "__esModule", { value: true }); @@ -74,10 +76,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_9fbf58001da511ed9d313b9780b2ae17() { +function _templateObject2_642205a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "]); - _templateObject2_9fbf58001da511ed9d313b9780b2ae17 = function _templateObject2_9fbf58001da511ed9d313b9780b2ae17() { + _templateObject2_642205a01e5811ed81a80d03c17d190b = function _templateObject2_642205a01e5811ed81a80d03c17d190b() { return data; }; @@ -126,10 +128,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _templateObject_9fbf58001da511ed9d313b9780b2ae17() { +function _templateObject_642205a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n \n \n \n \n \n ']); - _templateObject_9fbf58001da511ed9d313b9780b2ae17 = function _templateObject_9fbf58001da511ed9d313b9780b2ae17() { + _templateObject_642205a01e5811ed81a80d03c17d190b = function _templateObject_642205a01e5811ed81a80d03c17d190b() { return data; }; @@ -236,7 +238,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { key: "render", // render function value: function render() { - return (0, _litElement.html)(_templateObject_9fbf58001da511ed9d313b9780b2ae17(), !this.disableAutofocus, this.language, this.resources, this.schema, this.elementizer, this.value, this._valueChanged); + return (0, _litElement.html)(_templateObject_642205a01e5811ed81a80d03c17d190b(), !this.disableAutofocus, this.language, this.resources, this.schema, this.elementizer, this.value, this._valueChanged); } /** * updates the form value when a field changes @@ -349,7 +351,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { key: "fetchData", value: function fetchData(path, method, headers, body) { var response, data; - return regeneratorRuntime.async(function fetchData$(_context) { + return _regeneratorRuntime().async(function fetchData$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -371,7 +373,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { } _context.next = 5; - return regeneratorRuntime.awrap(fetch(path, { + return _regeneratorRuntime().awrap(fetch(path, { method: method, headers: headers })); @@ -383,7 +385,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { case 8: _context.next = 10; - return regeneratorRuntime.awrap(fetch(path, { + return _regeneratorRuntime().awrap(fetch(path, { method: method, headers: headers, //make sure to serialize your JSON body @@ -395,7 +397,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { case 11: _context.next = 13; - return regeneratorRuntime.awrap(response.json()); + return _regeneratorRuntime().awrap(response.json()); case 13: data = _context.sent; @@ -411,7 +413,7 @@ var SimpleFieldsFormLite = /*#__PURE__*/function (_LitElement) { }], [{ key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject2_9fbf58001da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_642205a01e5811ed81a80d03c17d190b())]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form.dev.js index 1d2ceda4e84..bd90effa2f3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-form.dev.js @@ -74,10 +74,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9fc153d01da511ed9d313b9780b2ae17() { +function _templateObject_642428801e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n \n \n \n \n ']); - _templateObject_9fc153d01da511ed9d313b9780b2ae17 = function _templateObject_9fc153d01da511ed9d313b9780b2ae17() { + _templateObject_642428801e5811ed81a80d03c17d190b = function _templateObject_642428801e5811ed81a80d03c17d190b() { return data; }; @@ -217,7 +217,7 @@ var SimpleFieldsForm = /*#__PURE__*/function (_SimpleFieldsFormLite) { key: "render", // render function value: function render() { - return (0, _litElement.html)(_templateObject_9fc153d01da511ed9d313b9780b2ae17(), !this.disableAutofocus, this.watchColorPrefs, this.language || "", this.resources, this.schema, this.fields, this.fieldsConversion, this.elementizer, this.value, this._valueChanged); + return (0, _litElement.html)(_templateObject_642428801e5811ed81a80d03c17d190b(), !this.disableAutofocus, this.watchColorPrefs, this.language || "", this.resources, this.schema, this.fields, this.fieldsConversion, this.elementizer, this.value, this._valueChanged); } /** * applies loaded datda to simple-fields-lite diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tabs.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tabs.dev.js index fe4493d4e03..c945292b1e6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tabs.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tabs.dev.js @@ -78,10 +78,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_9fc5e7b01da511ed9d313b9780b2ae17() { +function _templateObject2_642847301e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n border: 1px solid var(--simple-fields-border-color-light, #ccc);\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n background-color: var(--simple-fields-background-color, transparent);\n border-radius: var(--simple-fields-border-radius, 2px);\n }\n :host([error]) #tabs .error {\n color: var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n "]); - _templateObject2_9fc5e7b01da511ed9d313b9780b2ae17 = function _templateObject2_9fc5e7b01da511ed9d313b9780b2ae17() { + _templateObject2_642847301e5811ed81a80d03c17d190b = function _templateObject2_642847301e5811ed81a80d03c17d190b() { return data; }; @@ -110,10 +110,10 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject_9fc5e7b01da511ed9d313b9780b2ae17() { +function _templateObject_642847301e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n ', "", "\n "]); - _templateObject_9fc5e7b01da511ed9d313b9780b2ae17 = function _templateObject_9fc5e7b01da511ed9d313b9780b2ae17() { + _templateObject_642847301e5811ed81a80d03c17d190b = function _templateObject_642847301e5811ed81a80d03c17d190b() { return data; }; @@ -267,7 +267,7 @@ var SimpleFieldsTabs = /*#__PURE__*/function (_A11yTabs) { * @memberof A11yTabs */ value: function _tabLabel(tab) { - return (0, _litElement.html)(_templateObject_9fc5e7b01da511ed9d313b9780b2ae17(), tab.error ? " error" : "", tab.label, tab.error ? "*" : ""); + return (0, _litElement.html)(_templateObject_642847301e5811ed81a80d03c17d190b(), tab.error ? " error" : "", tab.label, tab.error ? "*" : ""); } }, { key: "tabQuery", @@ -290,7 +290,7 @@ var SimpleFieldsTabs = /*#__PURE__*/function (_A11yTabs) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(this.A11yTabsCoreStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject2_9fc5e7b01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(this.A11yTabsCoreStyles), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject2_642847301e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tag-list.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tag-list.dev.js index 7175a7ba221..d139ccc7b70 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tag-list.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-tag-list.dev.js @@ -25,30 +25,30 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject4_9fcaf0c01da511ed9d313b9780b2ae17() { +function _templateObject4_642b2d601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n \n ']); - _templateObject4_9fcaf0c01da511ed9d313b9780b2ae17 = function _templateObject4_9fcaf0c01da511ed9d313b9780b2ae17() { + _templateObject4_642b2d601e5811ed81a80d03c17d190b = function _templateObject4_642b2d601e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fcaf0c01da511ed9d313b9780b2ae17() { +function _templateObject3_642b2d601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n ", '\n \n ', "\n \n "]); - _templateObject3_9fcaf0c01da511ed9d313b9780b2ae17 = function _templateObject3_9fcaf0c01da511ed9d313b9780b2ae17() { + _templateObject3_642b2d601e5811ed81a80d03c17d190b = function _templateObject3_642b2d601e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fcaf0c01da511ed9d313b9780b2ae17() { +function _templateObject2_642b2d601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n \n ']); - _templateObject2_9fcaf0c01da511ed9d313b9780b2ae17 = function _templateObject2_9fcaf0c01da511ed9d313b9780b2ae17() { + _templateObject2_642b2d601e5811ed81a80d03c17d190b = function _templateObject2_642b2d601e5811ed81a80d03c17d190b() { return data; }; @@ -104,10 +104,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9fcaf0c01da511ed9d313b9780b2ae17() { +function _templateObject_642b2d601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: block;\n }\n #field-main-inner {\n align-items: center;\n flex-wrap: wrap;\n }\n simple-tag {\n flex: 0 1 auto;\n margin: calc(0.5 * var(--simple-fields-button-padding, 2px))\n var(--simple-fields-button-padding, 2px);\n }\n .drag-focus {\n background-color: var(--simple-fields-accent-color, #3f51b5);\n }\n "]); - _templateObject_9fcaf0c01da511ed9d313b9780b2ae17 = function _templateObject_9fcaf0c01da511ed9d313b9780b2ae17() { + _templateObject_642b2d601e5811ed81a80d03c17d190b = function _templateObject_642b2d601e5811ed81a80d03c17d190b() { return data; }; @@ -274,7 +274,7 @@ var SimpleFieldsTagList = /*#__PURE__*/function (_SimpleFieldsFieldBeh) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsTagList), "styles", this)), [(0, _litElement.css)(_templateObject_9fcaf0c01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsTagList), "styles", this)), [(0, _litElement.css)(_templateObject_642b2d601e5811ed81a80d03c17d190b())]); } }, { key: "properties", @@ -356,7 +356,7 @@ var SimpleFieldsTagList = /*#__PURE__*/function (_SimpleFieldsFieldBeh) { }, { key: "getInput", value: function getInput() { - return (0, _litElement.html)(_templateObject2_9fcaf0c01da511ed9d313b9780b2ae17(), this._handleKeydown, this._handleKeyup, this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.value); + return (0, _litElement.html)(_templateObject2_642b2d601e5811ed81a80d03c17d190b(), this._handleKeydown, this._handleKeyup, this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.value); } }, { key: "removeTag", @@ -503,8 +503,8 @@ var SimpleFieldsTagList = /*#__PURE__*/function (_SimpleFieldsFieldBeh) { get: function get() { var _this5 = this; - return (0, _litElement.html)(_templateObject3_9fcaf0c01da511ed9d313b9780b2ae17(), _get(_getPrototypeOf(SimpleFieldsTagList.prototype), "prefixTemplate", this), this.tagList.map(function (tag) { - return (0, _litElement.html)(_templateObject4_9fcaf0c01da511ed9d313b9780b2ae17(), tag, tag.term, tag.color, _this5.removeTag); + return (0, _litElement.html)(_templateObject3_642b2d601e5811ed81a80d03c17d190b(), _get(_getPrototypeOf(SimpleFieldsTagList.prototype), "prefixTemplate", this), this.tagList.map(function (tag) { + return (0, _litElement.html)(_templateObject4_642b2d601e5811ed81a80d03c17d190b(), tag, tag.term, tag.color, _this5.removeTag); })); } }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-ui.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-ui.dev.js index e2292ac1c3a..0fe655dea20 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-ui.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-ui.dev.js @@ -7,60 +7,60 @@ exports.SimpleFieldsFieldsetStyles = exports.SimpleFieldsDescriptionStyles = exp var _litElement = require("lit"); -function _templateObject6_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject6_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n fieldset {\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n margin: var(--simple-fields-margin-small, 8px) 0\n var(--simple-fields-margin, 16px);\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n border-radius: var(--simple-fields-border-radius, 2px);\n transition: all 0.3s ease-in-out;\n max-width: calc(100% - 2 * var(--simple-fields-margin, 16px) - 2px);\n }\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n *[part="legend"] {\n font-family: var(--simple-fields-font-family, sans-serif);\n font-size: var(\n --simple-fields-legend-font-size,\n var(--simple-fields-font-size, 16px)\n );\n line-height: var(--simple-fields-line-height, 22px);\n text-transform: var(--simple-fields-legend-text-transform, unset);\n }\n :host([error]) *[part="legend"] {\n color: var(--simple-fields-error-color, #b40000);\n transition: all 0.3s ease-in-out;\n }\n ']); - _templateObject6_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject6_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject6_642bc9a01e5811ed81a80d03c17d190b = function _templateObject6_642bc9a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject5_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject5_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n *[part="field-desc"],\n *[part="error-desc"],\n *[part="error-meta"] {\n color: var(--simple-fields-meta-color);\n font-size: var(--simple-fields-meta-font-size, 10px);\n line-height: var(--simple-fields-meta-line-height, 110%);\n opacity: var(--simple-fields-meta-opacity, unset);\n text-transform: none;\n }\n :host:hover *[part="field-desc"],\n :host:hover-within *[part="error-desc"],\n :host:hover-within *[part="error-meta"],\n :host:hover *[part="field-desc"],\n :host:hover *[part="error-desc"],\n :host:hover *[part="error-meta"] {\n color: var(--simple-fields-focus-meta-color);\n opacity: var(--simple-fields-focus-meta-opacity, unset);\n }\n ']); - _templateObject5_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject5_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject5_642bc9a01e5811ed81a80d03c17d190b = function _templateObject5_642bc9a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject4_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject4_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n button,\n button[aria-selected],\n simple-toolbar-button::part(button),\n simple-toolbar-menu::part(button) {\n color: var(--simple-fields-button-color, var(--simple-fields-color));\n background-color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n font-family: var(\n --simple-fields-button-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(--simple-fields-button-font-size, 14px);\n line-height: var(--simple-fields-button-line-height 22px);\n text-transform: var(--simple-fields-button-text-transform, unset);\n border-radius: var(--simple-fields-border-radius, 2px);\n padding: var(--simple-fields-button-padding-sm, 1px)\n var(--simple-fields-button-padding, 2px);\n min-height: calc(\n 24px + 2 * var(--simple-fields-button-padding-sm, 2px) + 2px\n );\n }\n simple-toolbar-menu-item > simple-toolbar-button::part(button) {\n border-color: transparent;\n border-radius: 0 !important;\n }\n simple-toolbar-button.danger::part(button),\n simple-toolbar-menu.danger::part(button) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n }\n button[aria-pressed="true"],\n button[aria-selected="true"],\n simple-toolbar-button[toggled]::part(button) {\n color: var(\n --simple-fields-button-toggled-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n background-color: var(\n --simple-fields-button-toggled-background-color,\n unset\n );\n border-color: var(\n --simple-fields-button-toggled-border-color,\n var(--simple-fields-color, currentColor)\n );\n opacity: var(--simple-fields-button-toggled-opacity, 1);\n }\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:hover::part(button[aria-pressed="true"]),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button[aria-pressed="true"]) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:focus,\n button:hover,\n button[aria-selected="false"]:not([disabled]):focus,\n button[aria-selected="false"]:not([disabled]):hover,\n simple-toolbar-button:focus-within::part(button),\n simple-toolbar-button:hover::part(button),\n simple-toolbar-menu:focus-within::part(button),\n simple-toolbar-menu:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button:focus-within::part(button) {\n color: var(--simple-fields-button-focus-color, unset);\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n border-color: var(\n --simple-fields-button-focus-border-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n text-decoration: var(--simple-fields-button-focus-text-decoration, unset);\n }\n simple-toolbar-menu.danger:focus-within::part(button),\n simple-toolbar-menu.danger:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button.danger:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button) {\n background-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:disabled,\n button[disabled],\n simple-toolbar-button[disabled],\n simple-toolbar-menu[disabled] {\n color: var(--simple-fields-button-disabled-color, unset);\n background-color: var(\n --simple-fields-button-disabled-background-color,\n unset\n );\n border-color: var(--simple-fields-button-disabled-border-color, unset);\n opacity: var(\n --simple-fields-button-disabled-opacity,\n var(--simple-fields-disabled-opacity, 0.7)\n );\n }\n ']); - _templateObject4_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject4_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject4_642bc9a01e5811ed81a80d03c17d190b = function _templateObject4_642bc9a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject3_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n simple-tooltip,\n simple-toolbar-button::part(tooltip) {\n text-transform: var(--simple-fields-tooltip-text-transform, unset);\n font-family: var(\n --simple-fields-detail-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(\n --simple-fields-tooltip-font-size,\n var(--simple-fields-detail-font-size, 12px)\n );\n line-height: var(\n --simple-fields-tooltip-line-height,\n var(--simple-fields-detail-line-height, 22px)\n );\n border-radius: var(\n --simple-fields-border-radius,\n var(--simple-fields-tooltip-border-radius, 2px)\n );\n }\n "]); - _templateObject3_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject3_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject3_642bc9a01e5811ed81a80d03c17d190b = function _templateObject3_642bc9a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject2_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host .label-main:after {\n content: var(--simple-fields-label-flag, "");\n }\n :host([focused]) .label-main,\n :host(:focus-within) .label-main {\n color: var(--simple-fields-accent-color, #3f51b5);\n transition: color 0.3s ease-in-out;\n }\n .inline {\n --simple-fields-radio-option-display: flex;\n --simple-fields-radio-option-flex-wrap: wrap;\n }\n label {\n margin: 0 0 0 0;\n }\n .inline label {\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n flex: 0 1 var(--simple-fields-label-width, auto);\n }\n .inline label,\n .field-main > div,\n .field,\n ::slotted([slot="field"]) {\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n ']); - _templateObject2_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject2_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject2_642bc9a01e5811ed81a80d03c17d190b = function _templateObject2_642bc9a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fc6ab001da511ed9d313b9780b2ae17() { +function _templateObject_642bc9a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n visibility: visible;\n box-sizing: border-box;\n display: block;\n margin: 0 0 var(--simple-fields-margin, 16px);\n padding: 0;\n font-size: var(--simple-fields-font-size);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height);\n font-size: var(--simple-fields-detail-font-size, 12px);\n font-family: var(--simple-fields-detail-font-family, sans-serif);\n line-height: var(--simple-fields-detail-line-height, 130%);\n background-color: var(--simple-fields-background-color, white);\n color: var(--simple-fields-color, currentColor);\n margin: 0 0\n var(--simple-fields-field-margin, var(--simple-fields-margin, 16px));\n }\n :host([hidden]),\n :host [hidden],\n :host([type="hidden"]) {\n display: none !important;\n }\n ']); - _templateObject_9fc6ab001da511ed9d313b9780b2ae17 = function _templateObject_9fc6ab001da511ed9d313b9780b2ae17() { + _templateObject_642bc9a01e5811ed81a80d03c17d190b = function _templateObject_642bc9a01e5811ed81a80d03c17d190b() { return data; }; @@ -79,15 +79,15 @@ function _taggedTemplateLiteral(strings, raw) { })); } -var SimpleFieldsBaseStyles = [(0, _litElement.css)(_templateObject_9fc6ab001da511ed9d313b9780b2ae17())]; +var SimpleFieldsBaseStyles = [(0, _litElement.css)(_templateObject_642bc9a01e5811ed81a80d03c17d190b())]; exports.SimpleFieldsBaseStyles = SimpleFieldsBaseStyles; -var SimpleFieldsLabelStyles = [(0, _litElement.css)(_templateObject2_9fc6ab001da511ed9d313b9780b2ae17())]; +var SimpleFieldsLabelStyles = [(0, _litElement.css)(_templateObject2_642bc9a01e5811ed81a80d03c17d190b())]; exports.SimpleFieldsLabelStyles = SimpleFieldsLabelStyles; -var SimpleFieldsTooltipStyles = [(0, _litElement.css)(_templateObject3_9fc6ab001da511ed9d313b9780b2ae17())]; +var SimpleFieldsTooltipStyles = [(0, _litElement.css)(_templateObject3_642bc9a01e5811ed81a80d03c17d190b())]; exports.SimpleFieldsTooltipStyles = SimpleFieldsTooltipStyles; -var SimpleFieldsButtonStyles = [].concat(SimpleFieldsTooltipStyles, [(0, _litElement.css)(_templateObject4_9fc6ab001da511ed9d313b9780b2ae17())]); +var SimpleFieldsButtonStyles = [].concat(SimpleFieldsTooltipStyles, [(0, _litElement.css)(_templateObject4_642bc9a01e5811ed81a80d03c17d190b())]); exports.SimpleFieldsButtonStyles = SimpleFieldsButtonStyles; -var SimpleFieldsDescriptionStyles = [(0, _litElement.css)(_templateObject5_9fc6ab001da511ed9d313b9780b2ae17())]; +var SimpleFieldsDescriptionStyles = [(0, _litElement.css)(_templateObject5_642bc9a01e5811ed81a80d03c17d190b())]; exports.SimpleFieldsDescriptionStyles = SimpleFieldsDescriptionStyles; -var SimpleFieldsFieldsetStyles = [(0, _litElement.css)(_templateObject6_9fc6ab001da511ed9d313b9780b2ae17())]; +var SimpleFieldsFieldsetStyles = [(0, _litElement.css)(_templateObject6_642bc9a01e5811ed81a80d03c17d190b())]; exports.SimpleFieldsFieldsetStyles = SimpleFieldsFieldsetStyles; \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-upload.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-upload.dev.js index 4d863de79c5..b5c9423db4d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-upload.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-fields-upload.dev.js @@ -86,20 +86,20 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject4_9fcff9d01da511ed9d313b9780b2ae17() { +function _templateObject4_64300f601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([" or "]); - _templateObject4_9fcff9d01da511ed9d313b9780b2ae17 = function _templateObject4_9fcff9d01da511ed9d313b9780b2ae17() { + _templateObject4_64300f601e5811ed81a80d03c17d190b = function _templateObject4_64300f601e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_9fcff9d01da511ed9d313b9780b2ae17() { +function _templateObject3_64300f601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n \n \n \n
        \n
        \n \n \n \n \n \n Drop media here ', '\n \n \n \n \n \n
        \n \n \n \n \n \n \n ']); - _templateObject3_9fcff9d01da511ed9d313b9780b2ae17 = function _templateObject3_9fcff9d01da511ed9d313b9780b2ae17() { + _templateObject3_64300f601e5811ed81a80d03c17d190b = function _templateObject3_64300f601e5811ed81a80d03c17d190b() { return data; }; @@ -158,20 +158,20 @@ function _interopRequireWildcard(obj) { return newObj; } -function _templateObject2_9fcff9d01da511ed9d313b9780b2ae17() { +function _templateObject2_64300f601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        ', " ", "
        \n "]); - _templateObject2_9fcff9d01da511ed9d313b9780b2ae17 = function _templateObject2_9fcff9d01da511ed9d313b9780b2ae17() { + _templateObject2_64300f601e5811ed81a80d03c17d190b = function _templateObject2_64300f601e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fcff9d01da511ed9d313b9780b2ae17() { +function _templateObject_64300f601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n pointer-events: all;\n overflow: visible;\n transition: 0.3s all ease;\n --simple-login-camera-aspect: 1.777777777777;\n --simple-camera-snap-color: var(--simple-fields-color, currentColor);\n --simple-camera-snap-background: var(\n --simple-fields-background-color,\n unset\n );\n --simple-camera-snap-border-radius: 2px;\n --lumo-font-family: var(--simple-fields-font-family, sans-serif);\n --lumo-error-color: var(--simple-fields-error-color, #b40000);\n --lumo-primary-font-color: var(--simple-fields-color, currentColor);\n --lumo-base-color: var(--simple-fields-background-color, transparent);\n }\n #url-browse,\n #drop-camera {\n width: 100%;\n font-family: var(--simple-fields-button-font-family, sans-serif);\n font-size: var(--simple-fields-button-font-size, 14px);\n }\n #drop-camera {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n }\n #browse {\n margin-right: 0;\n }\n #url {\n margin-bottom: var(--simple-fields-margin-small, 8px);\n }\n #url::part(option-inner) {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n }\n #drop,\n #photo {\n white-space: nowrap;\n }\n #upload-options {\n transition: height 0.3s linear;\n }\n #cancel-camera {\n display: block;\n margin: 0;\n margin: -12px -12px 0;\n z-index: 2;\n }\n #cancel-camera::part(button) {\n width: 24px;\n }\n simple-toolbar-button {\n margin: 0 5px;\n }\n vaadin-upload {\n padding: 0 var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin-small, 8px);\n position: relative;\n overflow: visible;\n }\n vaadin-upload::part(drop-label-icon) {\n display: none;\n }\n vaadin-upload::part(add-button) {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n }\n vaadin-upload::part(drop-label) {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 calc(1 * var(--simple-fields-margin-small, 8px));\n width: calc(100% - 2 * var(--simple-fields-margin-small) - 2px);\n }\n vaadin-upload.option-selfie::part(drop-label) {\n display: block;\n }\n vaadin-upload.option-selfie #drop-camera {\n display: none;\n }\n vaadin-upload[dragover] {\n border-color: var(\n --simple-fields-secondary-accent-color,\n var(--simple-colors-default-theme-accent-3, #77e2ff)\n );\n }\n vaadin-upload-file {\n --disabled-text-color: #var(--simple-fields-border-color, #999);\n }\n simple-camera-snap {\n --simple-camera-snap-button-container-bottom: 2px;\n --simple-camera-snap-button-container-z-index: 5;\n --simple-camera-snap-button-border-radius: 100%;\n --simple-camera-snap-button-opacity: 0.7;\n }\n "]); - _templateObject_9fcff9d01da511ed9d313b9780b2ae17 = function _templateObject_9fcff9d01da511ed9d313b9780b2ae17() { + _templateObject_64300f601e5811ed81a80d03c17d190b = function _templateObject_64300f601e5811ed81a80d03c17d190b() { return data; }; @@ -335,7 +335,7 @@ var SimpleFieldsUpload = /*#__PURE__*/function (_SimpleFieldsFieldset) { }, { key: "styles", get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsUpload), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject_9fcff9d01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleFieldsUpload), "styles", this)), _toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _litElement.css)(_templateObject_64300f601e5811ed81a80d03c17d190b())]); } /** * HTMLElement life cycle @@ -359,7 +359,7 @@ var SimpleFieldsUpload = /*#__PURE__*/function (_SimpleFieldsFieldset) { _createClass(SimpleFieldsUpload, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject2_9fcff9d01da511ed9d313b9780b2ae17(), this.legend, this.fields); + return (0, _litElement.html)(_templateObject2_64300f601e5811ed81a80d03c17d190b(), this.legend, this.fields); } /** * LitElement life cycle - render callback @@ -590,13 +590,13 @@ var SimpleFieldsUpload = /*#__PURE__*/function (_SimpleFieldsFieldset) { }, { key: "fields", get: function get() { - return (0, _litElement.html)(_templateObject3_9fcff9d01da511ed9d313b9780b2ae17(), this.autofocus, this.autocomplete, this.value || "", this.valueChanged, this.description, function (e) { + return (0, _litElement.html)(_templateObject3_64300f601e5811ed81a80d03c17d190b(), this.autofocus, this.autocomplete, this.value || "", this.valueChanged, this.description, function (e) { return e.preventDefault(); }, function (e) { return e.preventDefault(); }, function (e) { return e.preventDefault(); - }, this._handleBrowse, this.option, this._fileAboutToUpload, this._fileUploadResponse, this.option == "selfie" || this.option == "audio", !navigator.mediaDevices ? "" : (0, _litElement.html)(_templateObject4_9fcff9d01da511ed9d313b9780b2ae17()), function (e) { + }, this._handleBrowse, this.option, this._fileAboutToUpload, this._fileUploadResponse, this.option == "selfie" || this.option == "audio", !navigator.mediaDevices ? "" : (0, _litElement.html)(_templateObject4_64300f601e5811ed81a80d03c17d190b()), function (e) { return e.preventDefault(); }, function (e) { return e.preventDefault(); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-tag.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-tag.dev.js index 7a6f3e92695..7acaa18861d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-tag.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/dist/simple-tag.dev.js @@ -25,30 +25,30 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject3_9fd1a7801da511ed9d313b9780b2ae17() { +function _templateObject3_64316ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n background-color: var(\n --simple-fields-button-color,\n var(--simple-fields-color)\n );\n color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n border-radius: var(--simple-fields-tag-border-radius, 4px);\n padding: var(--simple-fields-button-padding, 2px)\n calc(2 * var(--simple-fields-button-padding, 2px));\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n }\n simple-icon-button-lite {\n cursor: pointer;\n margin-left: 4px;\n --simple-icon-height: var(--simple-fields-font-size, 16px);\n --simple-icon-width: var(--simple-fields-font-size, 16px);\n }\n :host([hidden]) {\n display: none;\n }\n :host([disabled]):not([readonly]) {\n opacity: 0.5;\n }\n "]); - _templateObject3_9fd1a7801da511ed9d313b9780b2ae17 = function _templateObject3_9fd1a7801da511ed9d313b9780b2ae17() { + _templateObject3_64316ef01e5811ed81a80d03c17d190b = function _templateObject3_64316ef01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fd1a7801da511ed9d313b9780b2ae17() { +function _templateObject2_64316ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ']); - _templateObject2_9fd1a7801da511ed9d313b9780b2ae17 = function _templateObject2_9fd1a7801da511ed9d313b9780b2ae17() { + _templateObject2_64316ef01e5811ed81a80d03c17d190b = function _templateObject2_64316ef01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fd1a7801da511ed9d313b9780b2ae17() { +function _templateObject_64316ef01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n ", "\n ", "\n "]); - _templateObject_9fd1a7801da511ed9d313b9780b2ae17 = function _templateObject_9fd1a7801da511ed9d313b9780b2ae17() { + _templateObject_64316ef01e5811ed81a80d03c17d190b = function _templateObject_64316ef01e5811ed81a80d03c17d190b() { return data; }; @@ -199,7 +199,7 @@ var SimpleTag = /*#__PURE__*/function (_LitElement) { _createClass(SimpleTag, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9fd1a7801da511ed9d313b9780b2ae17(), this.value, !!this.readonly ? "" : (0, _litElement.html)(_templateObject2_9fd1a7801da511ed9d313b9780b2ae17(), this.icon, this.value, this.cancelButton, this.clickEvent, this.disabled)); + return (0, _litElement.html)(_templateObject_64316ef01e5811ed81a80d03c17d190b(), this.value, !!this.readonly ? "" : (0, _litElement.html)(_templateObject2_64316ef01e5811ed81a80d03c17d190b(), this.icon, this.value, this.cancelButton, this.clickEvent, this.disabled)); } }, { key: "clickEvent", @@ -216,7 +216,7 @@ var SimpleTag = /*#__PURE__*/function (_LitElement) { }], [{ key: "styles", get: function get() { - return [_simpleFieldsUi.SimpleFieldsButtonStyles, _simpleFieldsUi.SimpleFieldsTooltipStyles, (0, _litElement.css)(_templateObject3_9fd1a7801da511ed9d313b9780b2ae17())]; + return [_simpleFieldsUi.SimpleFieldsButtonStyles, _simpleFieldsUi.SimpleFieldsTooltipStyles, (0, _litElement.css)(_templateObject3_64316ef01e5811ed81a80d03c17d190b())]; } }]); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array-item.js index 45ece36e732..1030f958c88 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si }); _exports.SimpleFieldsArrayItem = void 0; - var _templateObject_8e195e701da511ed9d313b9780b2ae17, _templateObject2_8e195e701da511ed9d313b9780b2ae17; + var _templateObject_568a1a401e5811ed81a80d03c17d190b, _templateObject2_568a1a401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -87,7 +87,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si value: function render() { var _this2 = this; - return (0, _index.html)(_templateObject_8e195e701da511ed9d313b9780b2ae17 || (_templateObject_8e195e701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n \n \n \n \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n "])), this.id, this.disabled, this.__dropAccepts || this.__dragging, function (e) { + return (0, _index.html)(_templateObject_568a1a401e5811ed81a80d03c17d190b || (_templateObject_568a1a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n \n \n \n \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n \n \n \n \n \n \n \n \n
        \n
        \n
        \n "])), this.id, this.disabled, this.__dropAccepts || this.__dragging, function (e) { return _this2.draggable = "true"; }, function (e) { return _this2.draggable = "false"; @@ -361,7 +361,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si }], [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsArrayItem), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject2_8e195e701da511ed9d313b9780b2ae17 || (_templateObject2_8e195e701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n padding: 0;\n border-radius: var(--simple-fields-border-radius, 2px);\n display: block;\n border: none;\n transform: rotate(0deg);\n transition: all 0.5s ease;\n z-index: 1;\n position: relative;\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n :host([aria-expanded=\"true\"]) {\n padding: var(--simple-fields-margin, 16px)\n var(--simple-fields-margin-small, 8px);\n outline: 1px solid var(--simple-fields-border-color-light, #ccc);\n transition: all 0.5s ease;\n }\n :host([error]) {\n outline: 1px solid var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n *[aria-controls=\"content\"][disabled] {\n cursor: not-allowed;\n }\n #drag-handle {\n flex: 0 1 auto;\n position: relative;\n overflow: visible;\n }\n #preview {\n flex: 1 0 auto;\n margin: 0;\n margin-right: calc(0 - var(--simple-fields-margin-small, 8px) / 2);\n margin-left: calc(50px + var(--simple-fields-margin-small, 8px) / 2);\n max-width: calc(\n 100% - 72px - 2 * var(--simple-fields-margin-small, 8px) / 2\n );\n }\n #heading,\n .heading-inner {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n }\n #content {\n overflow: hidden;\n max-height: 0;\n }\n :host #content-inner {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n flex-wrap: wrap;\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded=\"true\"]) #content {\n max-height: 20000vh;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded=\"true\"]) #content-inner {\n max-height: 20000vh;\n }\n #content-inner > * {\n flex: 1 1 auto;\n }\n #copy-delete {\n display: flex;\n flex: 0 0 auto;\n }\n #copy,\n #remove {\n flex: 0 0 auto;\n }\n #expand {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n #drag-handle {\n position: absolute;\n left: 2px;\n top: 2px;\n --simple-toolbar-button-white-space: normal !important;\n }\n :host([aria-expanded=\"true\"]) #drag-handle {\n top: var(--simple-fields-margin, 16px);\n left: var(--simple-fields-margin-small, 8px);\n }\n #dropzone {\n height: 0px;\n }\n :host(.dragging) #heading {\n opacity: 0.5;\n }\n :host(.dragging) #content,\n :host(.dragging) #expand {\n display: none;\n }\n #content:hover,\n #content:focus-within,\n #content:hover #content-inner,\n #content:focus-within #content-inner {\n overflow: visible;\n }\n :host(.dragging) #preview,\n :host(.droppable) #preview {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n :host(.dropzone) #dropzone {\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n height: 80px;\n }\n\n :host([aria-expanded=\"true\"]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n ::slotted([slot=\"preview\"]),\n ::slotted(*:first-child) {\n margin-top: 0;\n }\n ::slotted([slot=\"preview\"]),\n ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n :host(:hover),\n :host(:focus),\n :host(:focus-within) {\n z-index: 100000;\n }\n :host(.dropzone) {\n z-index: 1;\n }\n [hidden],\n :host(:first-child) #move-up-outer,\n :host(:last-child) #move-down-outer,\n :host(:first-child):last-child #drag-handle {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsArrayItem), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject2_568a1a401e5811ed81a80d03c17d190b || (_templateObject2_568a1a401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n padding: 0;\n border-radius: var(--simple-fields-border-radius, 2px);\n display: block;\n border: none;\n transform: rotate(0deg);\n transition: all 0.5s ease;\n z-index: 1;\n position: relative;\n }\n :host([disabled]) {\n opacity: 0.5;\n }\n :host([aria-expanded=\"true\"]) {\n padding: var(--simple-fields-margin, 16px)\n var(--simple-fields-margin-small, 8px);\n outline: 1px solid var(--simple-fields-border-color-light, #ccc);\n transition: all 0.5s ease;\n }\n :host([error]) {\n outline: 1px solid var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n *[aria-controls=\"content\"][disabled] {\n cursor: not-allowed;\n }\n #drag-handle {\n flex: 0 1 auto;\n position: relative;\n overflow: visible;\n }\n #preview {\n flex: 1 0 auto;\n margin: 0;\n margin-right: calc(0 - var(--simple-fields-margin-small, 8px) / 2);\n margin-left: calc(50px + var(--simple-fields-margin-small, 8px) / 2);\n max-width: calc(\n 100% - 72px - 2 * var(--simple-fields-margin-small, 8px) / 2\n );\n }\n #heading,\n .heading-inner {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n }\n #content {\n overflow: hidden;\n max-height: 0;\n }\n :host #content-inner {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n flex-wrap: wrap;\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded=\"true\"]) #content {\n max-height: 20000vh;\n transition: max-height 0.75s ease 0.1s;\n }\n :host([aria-expanded=\"true\"]) #content-inner {\n max-height: 20000vh;\n }\n #content-inner > * {\n flex: 1 1 auto;\n }\n #copy-delete {\n display: flex;\n flex: 0 0 auto;\n }\n #copy,\n #remove {\n flex: 0 0 auto;\n }\n #expand {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n #drag-handle {\n position: absolute;\n left: 2px;\n top: 2px;\n --simple-toolbar-button-white-space: normal !important;\n }\n :host([aria-expanded=\"true\"]) #drag-handle {\n top: var(--simple-fields-margin, 16px);\n left: var(--simple-fields-margin-small, 8px);\n }\n #dropzone {\n height: 0px;\n }\n :host(.dragging) #heading {\n opacity: 0.5;\n }\n :host(.dragging) #content,\n :host(.dragging) #expand {\n display: none;\n }\n #content:hover,\n #content:focus-within,\n #content:hover #content-inner,\n #content:focus-within #content-inner {\n overflow: visible;\n }\n :host(.dragging) #preview,\n :host(.droppable) #preview {\n margin-left: calc(var(--simple-fields-margin-small, 8px) / 2);\n }\n :host(.dropzone) #dropzone {\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n height: 80px;\n }\n\n :host([aria-expanded=\"true\"]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n ::slotted([slot=\"preview\"]),\n ::slotted(*:first-child) {\n margin-top: 0;\n }\n ::slotted([slot=\"preview\"]),\n ::slotted(*:last-child) {\n margin-bottom: 0;\n }\n :host(:hover),\n :host(:focus),\n :host(:focus-within) {\n z-index: 100000;\n }\n :host(.dropzone) {\n z-index: 1;\n }\n [hidden],\n :host(:first-child) #move-up-outer,\n :host(:last-child) #move-down-outer,\n :host(:first-child):last-child #drag-handle {\n display: none;\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array.js index cf16d94be41..61d78f8ba87 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-array.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si }); _exports.SimpleFieldsArray = void 0; - var _templateObject_8e1f78f01da511ed9d313b9780b2ae17, _templateObject2_8e1f78f01da511ed9d313b9780b2ae17, _templateObject3_8e1f78f01da511ed9d313b9780b2ae17; + var _templateObject_568efc401e5811ed81a80d03c17d190b, _templateObject2_568efc401e5811ed81a80d03c17d190b, _templateObject3_568efc401e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,14 +47,14 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si babelHelpers.createClass(SimpleFieldsArray, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e1f78f01da511ed9d313b9780b2ae17 || (_templateObject_8e1f78f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        ", "", "
        \n "])), this.legend, this.fields); + return (0, _index.html)(_templateObject_568efc401e5811ed81a80d03c17d190b || (_templateObject_568efc401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        ", "", "
        \n "])), this.legend, this.fields); } }, { key: "fields", get: function get() { var _this2 = this; - return (0, _index.html)(_templateObject2_8e1f78f01da511ed9d313b9780b2ae17 || (_templateObject2_8e1f78f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n \n \n
        \n
        \n \n \n \n
        \n "])), this.descriptionTemplate, this.disabled, function (e) { + return (0, _index.html)(_templateObject2_568efc401e5811ed81a80d03c17d190b || (_templateObject2_568efc401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n \n \n
        \n
        \n \n \n \n
        \n "])), this.descriptionTemplate, this.disabled, function (e) { return _this2.toggle(); }, this.expanded, this.responsiveSize !== "xs", this.expanded ? "Collapse All" : "Expand All", this.disabled || this.disableAdd, function (e) { return _this2._handleAdd(); @@ -234,7 +234,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "./si }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsArray), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject3_8e1f78f01da511ed9d313b9780b2ae17 || (_templateObject3_8e1f78f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([expanded]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n #item-fields {\n margin: var(--simple-fields-margin-small, 8px) 0;\n clear: both;\n z-index: 3;\n }\n #top {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n }\n #add {\n float: right;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsArray), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject3_568efc401e5811ed81a80d03c17d190b || (_templateObject3_568efc401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([expanded]) #expand::part(icon) {\n transform: rotate(90deg);\n transition: all 0.5s ease;\n }\n #item-fields {\n margin: var(--simple-fields-margin-small, 8px) 0;\n clear: both;\n z-index: 3;\n }\n #top {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n }\n #add {\n float: right;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-code.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-code.js index df007d4ec54..9f7deee9c16 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-code.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-code.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }); _exports.SimpleFieldsCode = void 0; - var _templateObject_8e245af01da511ed9d313b9780b2ae17, _templateObject2_8e245af01da511ed9d313b9780b2ae17; + var _templateObject_5692f3e01e5811ed81a80d03c17d190b, _templateObject2_5692f3e01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -87,7 +87,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ get: function get() { var _this4 = this; - return (0, _index.html)(_templateObject_8e245af01da511ed9d313b9780b2ae17 || (_templateObject_8e245af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n \n \n \n
        \n "])), this.labelTemplate, this.autofocus, this.disabled, this.fontSize, this.__editorValue || "", this.theme || "auto", this.language, this.mode, this.readonly || this.disabled, this._onChange, this._onFocusChange, function (e) { + return (0, _index.html)(_templateObject_5692f3e01e5811ed81a80d03c17d190b || (_templateObject_5692f3e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n \n \n \n
        \n "])), this.labelTemplate, this.autofocus, this.disabled, this.fontSize, this.__editorValue || "", this.theme || "auto", this.language, this.mode, this.readonly || this.disabled, this._onChange, this._onFocusChange, function (e) { return _this4.focused == true; }, function (e) { return _this4.focused == false; @@ -204,7 +204,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsCode), "styles", this)), [(0, _index.css)(_templateObject2_8e245af01da511ed9d313b9780b2ae17 || (_templateObject2_8e245af01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n code-editor {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n code-editor:focus {\n outline: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsCode), "styles", this)), [(0, _index.css)(_templateObject2_5692f3e01e5811ed81a80d03c17d190b || (_templateObject2_5692f3e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n code-editor {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n code-editor:focus {\n outline: none;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-combo.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-combo.js index 5ce58701e6c..a1e67ee21d5 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-combo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-combo.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js"], functio }); _exports.SimpleFieldsCombo = void 0; - var _templateObject_8e3523d01da511ed9d313b9780b2ae17, _templateObject2_8e3523d01da511ed9d313b9780b2ae17, _templateObject3_8e3523d01da511ed9d313b9780b2ae17, _templateObject4_8e3523d01da511ed9d313b9780b2ae17, _templateObject5_8e3523d01da511ed9d313b9780b2ae17, _templateObject6_8e3523d01da511ed9d313b9780b2ae17; + var _templateObject_569fec301e5811ed81a80d03c17d190b, _templateObject2_569fec301e5811ed81a80d03c17d190b, _templateObject3_569fec301e5811ed81a80d03c17d190b, _templateObject4_569fec301e5811ed81a80d03c17d190b, _templateObject5_569fec301e5811ed81a80d03c17d190b, _templateObject6_569fec301e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -114,17 +114,17 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js"], functio }, { key: "inputTemplate", get: function get() { - return (0, _index.html)(_templateObject_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.activeDescendant, this.autocomplete, this.describedBy, this.expanded, this.error ? "true" : "false", this.id, this.autofocus, this._onInputBlur, this._handleFieldChange, this.inputFocus ? "focus" : "", this._onInputClick, this.disabled, this._onInputFocus, this.id, this._onInputKeydown, this._onInputKeyup, this.id, this.placeholder || "", this.readonly, this.required, this.value || ""); + return (0, _index.html)(_templateObject_569fec301e5811ed81a80d03c17d190b || (_templateObject_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.activeDescendant, this.autocomplete, this.describedBy, this.expanded, this.error ? "true" : "false", this.id, this.autofocus, this._onInputBlur, this._handleFieldChange, this.inputFocus ? "focus" : "", this._onInputClick, this.disabled, this._onInputFocus, this.id, this._onInputKeydown, this._onInputKeyup, this.id, this.placeholder || "", this.readonly, this.required, this.value || ""); } }, { key: "expandButtonTemplate", get: function get() { - return (0, _index.html)(_templateObject2_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject2_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.sortedOptions.length < 1, this._onButtonClick); + return (0, _index.html)(_templateObject2_569fec301e5811ed81a80d03c17d190b || (_templateObject2_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), this.sortedOptions.length < 1, this._onButtonClick); } }, { key: "listboxTemplate", get: function get() { - return (0, _index.html)(_templateObject3_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject3_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.fieldId, this.listFocus ? "focus" : "", this.itemsList.join(), this.filteredOptions.map(function (option) { + return (0, _index.html)(_templateObject3_569fec301e5811ed81a80d03c17d190b || (_templateObject3_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this.fieldId, this.listFocus ? "focus" : "", this.itemsList.join(), this.filteredOptions.map(function (option) { return option.value; }).join(), this.isListboxHidden, this.id, this._onListboxMouseout, this._onListboxMouseover, this.listboxInnerTemplate); } @@ -154,7 +154,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js"], functio value: function getListItem(option) { var _this4 = this; - return (0, _index.html)(_templateObject4_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject4_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this._isSelected(option), option.id, function (e) { + return (0, _index.html)(_templateObject4_569fec301e5811ed81a80d03c17d190b || (_templateObject4_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), this._isSelected(option), option.id, function (e) { return _this4._onOptionClick(e, option); }, function (e) { return _this4._onOptionMouseout(e, option); @@ -179,7 +179,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js"], functio }, { key: "fieldMainTemplate", get: function get() { - return (0, _index.html)(_templateObject5_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject5_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n ", "\n \n ", " ", "\n ", "\n \n ", "\n
        \n
        \n "])), this.hidden, this.labelTemplate, this.prefixTemplate, this.inputTemplate, this.suffixTemplate, this.expandButtonTemplate, this.listboxTemplate); + return (0, _index.html)(_templateObject5_569fec301e5811ed81a80d03c17d190b || (_templateObject5_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n ", "\n \n ", " ", "\n ", "\n \n ", "\n
        \n
        \n "])), this.hidden, this.labelTemplate, this.prefixTemplate, this.inputTemplate, this.suffixTemplate, this.expandButtonTemplate, this.listboxTemplate); } }, { key: "hasOptions", @@ -783,7 +783,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js"], functio }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsCombo), "styles", this)), [(0, _index.css)(_templateObject6_8e3523d01da511ed9d313b9780b2ae17 || (_templateObject6_8e3523d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([expanded]) {\n overflow: visible;\n }\n :host(:focus-within),\n :host(:hover),\n ul:hover,\n li:hover {\n z-index: 2;\n }\n .input-option {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 1 1 100%;\n }\n .box-input {\n flex: 1 1 auto;\n }\n ul[role=\"listbox\"] {\n opacity: 0;\n position: absolute;\n list-style: none;\n max-height: var(--simple-fields-combo-max-height, 12em);\n max-width: 100%;\n left: 0;\n }\n :host([align-right]) ul[role=\"listbox\"] {\n right: 0;\n left: unset;\n }\n :host([justify]) ul[role=\"listbox\"] {\n right: 0;\n left: 0;\n }\n :host([expanded]:hover) ul[role=\"listbox\"],\n :host([expanded]:focus-within) ul[role=\"listbox\"] {\n opacity: 1;\n }\n\n ul[role=\"listbox\"] li[role=\"option\"] {\n margin: 0;\n padding: 0;\n padding-left: 0.125em;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n background-color: var(--simple-fields-background-color, white);\n }\n\n [role=\"listbox\"] [role=\"option\"] {\n display: block;\n margin: 0.25em;\n padding: 0;\n font-size: 100%;\n }\n\n [role=\"listbox\"] [role=\"option\"][aria-selected=\"true\"] {\n background-color: var(--simple-fields-active-color, #eeeeee);\n }\n\n [role=\"listbox\"].focus [role=\"option\"][aria-selected=\"true\"] {\n background-color: var(--simple-fields-accent-color-light, #d9eaff);\n border-color: var(--simple-fields-accent-color, #3f51b5);\n }\n\n [role=\"listbox\"] li[role=\"option\"]:hover {\n background-color: var(--simple-fields-accent-color-light, #d9eaff);\n }\n ::slotted([slot=\"prefix\"]:not(:empty)) {\n margin-right: 0.25em;\n }\n ::slotted([slot=\"suffix\"]:not(:empty)) {\n margin: 0 0.25em;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsCombo), "styles", this)), [(0, _index.css)(_templateObject6_569fec301e5811ed81a80d03c17d190b || (_templateObject6_569fec301e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([expanded]) {\n overflow: visible;\n }\n :host(:focus-within),\n :host(:hover),\n ul:hover,\n li:hover {\n z-index: 2;\n }\n .input-option {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 1 1 100%;\n }\n .box-input {\n flex: 1 1 auto;\n }\n ul[role=\"listbox\"] {\n opacity: 0;\n position: absolute;\n list-style: none;\n max-height: var(--simple-fields-combo-max-height, 12em);\n max-width: 100%;\n left: 0;\n }\n :host([align-right]) ul[role=\"listbox\"] {\n right: 0;\n left: unset;\n }\n :host([justify]) ul[role=\"listbox\"] {\n right: 0;\n left: 0;\n }\n :host([expanded]:hover) ul[role=\"listbox\"],\n :host([expanded]:focus-within) ul[role=\"listbox\"] {\n opacity: 1;\n }\n\n ul[role=\"listbox\"] li[role=\"option\"] {\n margin: 0;\n padding: 0;\n padding-left: 0.125em;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n background-color: var(--simple-fields-background-color, white);\n }\n\n [role=\"listbox\"] [role=\"option\"] {\n display: block;\n margin: 0.25em;\n padding: 0;\n font-size: 100%;\n }\n\n [role=\"listbox\"] [role=\"option\"][aria-selected=\"true\"] {\n background-color: var(--simple-fields-active-color, #eeeeee);\n }\n\n [role=\"listbox\"].focus [role=\"option\"][aria-selected=\"true\"] {\n background-color: var(--simple-fields-accent-color-light, #d9eaff);\n border-color: var(--simple-fields-accent-color, #3f51b5);\n }\n\n [role=\"listbox\"] li[role=\"option\"]:hover {\n background-color: var(--simple-fields-accent-color-light, #d9eaff);\n }\n ::slotted([slot=\"prefix\"]:not(:empty)) {\n margin-right: 0.25em;\n }\n ::slotted([slot=\"suffix\"]:not(:empty)) {\n margin: 0 0.25em;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-container.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-container.js index f6f6e015da0..c13878ddd35 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-container.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-container.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }); _exports.SimpleFieldsContainerBehaviors = _exports.SimpleFieldsContainer = void 0; - var _templateObject_8e437bb01da511ed9d313b9780b2ae17, _templateObject2_8e437bb01da511ed9d313b9780b2ae17, _templateObject3_8e437bb01da511ed9d313b9780b2ae17, _templateObject4_8e437bb01da511ed9d313b9780b2ae17, _templateObject5_8e437bb01da511ed9d313b9780b2ae17, _templateObject6_8e437bb01da511ed9d313b9780b2ae17, _templateObject7_8e437bb01da511ed9d313b9780b2ae17, _templateObject8_8e437bb01da511ed9d313b9780b2ae17, _templateObject9_8e437bb01da511ed9d313b9780b2ae17, _templateObject10_8e437bb01da511ed9d313b9780b2ae17; + var _templateObject_56aac1a01e5811ed81a80d03c17d190b, _templateObject2_56aac1a01e5811ed81a80d03c17d190b, _templateObject3_56aac1a01e5811ed81a80d03c17d190b, _templateObject4_56aac1a01e5811ed81a80d03c17d190b, _templateObject5_56aac1a01e5811ed81a80d03c17d190b, _templateObject6_56aac1a01e5811ed81a80d03c17d190b, _templateObject7_56aac1a01e5811ed81a80d03c17d190b, _templateObject8_56aac1a01e5811ed81a80d03c17d190b, _templateObject9_56aac1a01e5811ed81a80d03c17d190b, _templateObject10_56aac1a01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -47,7 +47,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" ", " ", " "])), this.fieldMainTemplate, this.fieldBottom); + return (0, _index.html)(_templateObject_56aac1a01e5811ed81a80d03c17d190b || (_templateObject_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" ", " ", " "])), this.fieldMainTemplate, this.fieldBottom); } }, { key: "disconnectedCallback", @@ -122,7 +122,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "descriptionTemplate", get: function get() { - return (0, _index.html)(_templateObject2_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject2_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n ", "\n
        \n "])), this.description); + return (0, _index.html)(_templateObject2_56aac1a01e5811ed81a80d03c17d190b || (_templateObject2_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n ", "\n
        \n "])), this.description); } /** * template for slotted or shadow DOM error message @@ -135,7 +135,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "errorTemplate", get: function get() { - return (0, _index.html)(_templateObject3_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject3_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), !this.error, this.errorMessage); + return (0, _index.html)(_templateObject3_56aac1a01e5811ed81a80d03c17d190b || (_templateObject3_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), !this.error, this.errorMessage); } /** * @@ -149,7 +149,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "fieldBottom", get: function get() { - return (0, _index.html)(_templateObject4_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject4_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n
        \n ", " ", "\n
        \n ", "\n
        \n "])), this.descriptionTemplate, this.errorTemplate, this.fieldMeta); + return (0, _index.html)(_templateObject4_56aac1a01e5811ed81a80d03c17d190b || (_templateObject4_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n
        \n
        \n ", " ", "\n
        \n ", "\n
        \n "])), this.descriptionTemplate, this.errorTemplate, this.fieldMeta); } /** * gets field's id @@ -175,7 +175,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "fieldMainTemplate", get: function get() { - return (0, _index.html)(_templateObject5_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject5_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n ", "\n \n ", "\n
        \n \n "])), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.suffixTemplate); + return (0, _index.html)(_templateObject5_56aac1a01e5811ed81a80d03c17d190b || (_templateObject5_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n ", "\n \n ", "\n
        \n \n "])), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.labelTemplate, this.prefixTemplate, this.suffixTemplate); } /** * @@ -189,7 +189,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "fieldMeta", get: function get() { - return (0, _index.html)(_templateObject6_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject6_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject6_56aac1a01e5811ed81a80d03c17d190b || (_templateObject6_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } }, { key: "hasFieldset", @@ -207,7 +207,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "labelTemplate", get: function get() { - return (0, _index.html)(_templateObject7_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject7_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "", "\n \n "])), this.fieldId, this.fieldId, this.type === "fieldset", this.label, this.error || this.required ? "*" : ""); + return (0, _index.html)(_templateObject7_56aac1a01e5811ed81a80d03c17d190b || (_templateObject7_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n ", "", "\n \n "])), this.fieldId, this.fieldId, this.type === "fieldset", this.label, this.error || this.required ? "*" : ""); } }, { key: "multicheck", @@ -272,7 +272,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "prefixTemplate", get: function get() { - return (0, _index.html)(_templateObject8_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject8_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.prefix); + return (0, _index.html)(_templateObject8_56aac1a01e5811ed81a80d03c17d190b || (_templateObject8_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.prefix); } /** * determines if field is required and blank @@ -311,7 +311,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "suffixTemplate", get: function get() { - return (0, _index.html)(_templateObject9_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject9_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.suffix); + return (0, _index.html)(_templateObject9_56aac1a01e5811ed81a80d03c17d190b || (_templateObject9_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.suffix); } /** * focuses on field @@ -705,7 +705,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsLabelStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _index.css)(_templateObject10_8e437bb01da511ed9d313b9780b2ae17 || (_templateObject10_8e437bb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([error]) {\n color: var(--simple-fields-error-color, #b40000);\n transition: color 0.3s ease-in-out;\n }\n :host([disabled]) {\n color: var(--simple-fields-disabled-color, #999999);\n }\n .field-main.inline,\n .field-main > div,\n #field-bottom {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n }\n * {\n flex: 1 1 auto;\n }\n #fieldmeta {\n text-align: right;\n }\n .field,\n ::slotted([slot=\"field\"]) {\n width: auto;\n border: none;\n color: var(--simple-fields-color, currentColor);\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n transition: opacity ease-in-out;\n flex: 1 0 auto;\n }\n ::slotted([slot=\"field\"]:focus) {\n outline: none;\n }\n :host[inline] ::slotted([slot=\"field\"]:focus),\n ::slotted([type=\"checkbox\"][slot=\"radio\"]:focus),\n ::slotted([type=\"checkbox\"][slot=\"field\"]:focus) {\n outline: unset;\n }\n .field-main.inline .field,\n .field-main.inline ::slotted([slot=\"field\"]) {\n min-width: var(--simple-fields-detail-line-height, 22px);\n height: var(--simple-fields-detail-line-height, 22px);\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n .field[disabled],\n :host([readonly]) ::slotted([slot=\"field\"]) {\n opacity: var(--simple-fields-disabled-opacity, 0.7);\n transition: opacity ease-in-out;\n }\n .field[readonly],\n .field[disabled],\n :host([readonly]) ::slotted([slot=\"field\"]),\n :host([disabled]) ::slotted([slot=\"field\"]) {\n cursor: not-allowed;\n pointer-events: none;\n }\n .border-bottom {\n height: 0;\n }\n :host([disabled]) .border-bottom {\n border-bottom: var(\n --simple-fields-border-bottom-disabled-size,\n var(--simple-fields-border-bottom-size, 1px)\n )\n dashed var(--simple-fields-border-color, #999);\n }\n .border-bottom.blur {\n border-bottom: var(--simple-fields-border-bottom-size, 1px) solid\n var(--simple-fields-border-color, #999);\n width: 100%;\n }\n .border-bottom.focus {\n margin: -1px auto 0;\n width: 0;\n border-bottom: var(--simple-fields-border-bottom-focus-size, 2px)\n solid var(--simple-fields-accent-color, #3f51b5);\n transition: width 0.5s ease-in-out;\n }\n :host(:focus-within) .border-bottom.focus {\n width: 100%;\n transition: width 0.5s ease-in-out;\n }\n :host([type=\"checkbox\"]) .border-bottom,\n :host([type=\"color\"]) .border-bottom,\n :host([type=\"file\"]) .border-bottom,\n :host([type=\"radio\"]) .border-bottom,\n :host([type=\"range\"]) .border-bottom {\n display: none;\n }\n ::slotted(label:hover),\n ::slotted(label:focus),\n ::slotted(label:focus-within) {\n color: var(--simple-fields-accent-color, #3f51b5);\n transition: background-color 0.3s ease-in-out;\n }\n ::slotted(input) {\n padding: 0px;\n }\n ::slotted(textarea[slot=\"field\"]) {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n ::slotted(fieldset[slot=\"field\"]) {\n margin: 0;\n padding: 0;\n border: none;\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n display: var(--simple-fields-radio-option-display, block);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n transition: color 0.3s ease-in-out;\n }\n ::slotted(fieldset[slot=\"field\"]:hover),\n ::slotted(fieldset[slot=\"field\"]:focus),\n ::slotted(fieldset[slot=\"field\"]:focus-within) {\n color: var(--simple-fields-accent-color, #3f51b5);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsLabelStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _index.css)(_templateObject10_56aac1a01e5811ed81a80d03c17d190b || (_templateObject10_56aac1a01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n :host([error]) {\n color: var(--simple-fields-error-color, #b40000);\n transition: color 0.3s ease-in-out;\n }\n :host([disabled]) {\n color: var(--simple-fields-disabled-color, #999999);\n }\n .field-main.inline,\n .field-main > div,\n #field-bottom {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n }\n * {\n flex: 1 1 auto;\n }\n #fieldmeta {\n text-align: right;\n }\n .field,\n ::slotted([slot=\"field\"]) {\n width: auto;\n border: none;\n color: var(--simple-fields-color, currentColor);\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n transition: opacity ease-in-out;\n flex: 1 0 auto;\n }\n ::slotted([slot=\"field\"]:focus) {\n outline: none;\n }\n :host[inline] ::slotted([slot=\"field\"]:focus),\n ::slotted([type=\"checkbox\"][slot=\"radio\"]:focus),\n ::slotted([type=\"checkbox\"][slot=\"field\"]:focus) {\n outline: unset;\n }\n .field-main.inline .field,\n .field-main.inline ::slotted([slot=\"field\"]) {\n min-width: var(--simple-fields-detail-line-height, 22px);\n height: var(--simple-fields-detail-line-height, 22px);\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n .field[disabled],\n :host([readonly]) ::slotted([slot=\"field\"]) {\n opacity: var(--simple-fields-disabled-opacity, 0.7);\n transition: opacity ease-in-out;\n }\n .field[readonly],\n .field[disabled],\n :host([readonly]) ::slotted([slot=\"field\"]),\n :host([disabled]) ::slotted([slot=\"field\"]) {\n cursor: not-allowed;\n pointer-events: none;\n }\n .border-bottom {\n height: 0;\n }\n :host([disabled]) .border-bottom {\n border-bottom: var(\n --simple-fields-border-bottom-disabled-size,\n var(--simple-fields-border-bottom-size, 1px)\n )\n dashed var(--simple-fields-border-color, #999);\n }\n .border-bottom.blur {\n border-bottom: var(--simple-fields-border-bottom-size, 1px) solid\n var(--simple-fields-border-color, #999);\n width: 100%;\n }\n .border-bottom.focus {\n margin: -1px auto 0;\n width: 0;\n border-bottom: var(--simple-fields-border-bottom-focus-size, 2px)\n solid var(--simple-fields-accent-color, #3f51b5);\n transition: width 0.5s ease-in-out;\n }\n :host(:focus-within) .border-bottom.focus {\n width: 100%;\n transition: width 0.5s ease-in-out;\n }\n :host([type=\"checkbox\"]) .border-bottom,\n :host([type=\"color\"]) .border-bottom,\n :host([type=\"file\"]) .border-bottom,\n :host([type=\"radio\"]) .border-bottom,\n :host([type=\"range\"]) .border-bottom {\n display: none;\n }\n ::slotted(label:hover),\n ::slotted(label:focus),\n ::slotted(label:focus-within) {\n color: var(--simple-fields-accent-color, #3f51b5);\n transition: background-color 0.3s ease-in-out;\n }\n ::slotted(input) {\n padding: 0px;\n }\n ::slotted(textarea[slot=\"field\"]) {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n }\n ::slotted(fieldset[slot=\"field\"]) {\n margin: 0;\n padding: 0;\n border: none;\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n display: var(--simple-fields-radio-option-display, block);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n transition: color 0.3s ease-in-out;\n }\n ::slotted(fieldset[slot=\"field\"]:hover),\n ::slotted(fieldset[slot=\"field\"]:focus),\n ::slotted(fieldset[slot=\"field\"]:focus-within) {\n color: var(--simple-fields-accent-color, #3f51b5);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-field.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-field.js index eac4d5b642b..3fa8266a6ca 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-field.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-field.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }); _exports.SimpleFieldsFieldBehaviors = _exports.SimpleFieldsField = void 0; - var _templateObject_8e4e03001da511ed9d313b9780b2ae17, _templateObject2_8e4e03001da511ed9d313b9780b2ae17, _templateObject3_8e4e03001da511ed9d313b9780b2ae17, _templateObject4_8e4e03001da511ed9d313b9780b2ae17, _templateObject5_8e4e03001da511ed9d313b9780b2ae17, _templateObject6_8e4e03001da511ed9d313b9780b2ae17, _templateObject7_8e4e03001da511ed9d313b9780b2ae17, _templateObject8_8e4e03001da511ed9d313b9780b2ae17, _templateObject9_8e4e03001da511ed9d313b9780b2ae17, _templateObject10_8e4e03001da511ed9d313b9780b2ae17; + var _templateObject_56dc31e01e5811ed81a80d03c17d190b, _templateObject2_56dc31e01e5811ed81a80d03c17d190b, _templateObject3_56dc31e01e5811ed81a80d03c17d190b, _templateObject4_56dc31e01e5811ed81a80d03c17d190b, _templateObject5_56dc31e01e5811ed81a80d03c17d190b, _templateObject6_56dc31e01e5811ed81a80d03c17d190b, _templateObject7_56dc31e01e5811ed81a80d03c17d190b, _templateObject8_56dc31e01e5811ed81a80d03c17d190b, _templateObject9_56dc31e01e5811ed81a80d03c17d190b, _templateObject10_56dc31e01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -131,7 +131,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }, { key: "fieldMainTemplate", get: function get() { - return (0, _index.html)(_templateObject_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n ", "\n ", "\n ", "\n
        \n \n "])), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.sortedOptions && !this.sortedOptions.length > 0 ? "field-main-multi" : "field-main-single", this.labelTemplate, this.prefixTemplate, this.fieldElementTag === "input" ? this.inputTemplate : this.fieldElementTag === "select" ? this.selectTemplate : this.fieldElementTag === "textarea" ? this.textareaTemplate : "", this.suffixTemplate); + return (0, _index.html)(_templateObject_56dc31e01e5811ed81a80d03c17d190b || (_templateObject_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n
        \n ", "\n ", "\n ", "\n
        \n \n "])), this.inline || ["checkbox", "color", "radio"].includes(this.type || "text") ? "field-main inline" : "field-main", this.sortedOptions && !this.sortedOptions.length > 0 ? "field-main-multi" : "field-main-single", this.labelTemplate, this.prefixTemplate, this.fieldElementTag === "input" ? this.inputTemplate : this.fieldElementTag === "select" ? this.selectTemplate : this.fieldElementTag === "textarea" ? this.textareaTemplate : "", this.suffixTemplate); } /** * @@ -145,7 +145,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }, { key: "fieldMeta", get: function get() { - return (0, _index.html)(_templateObject2_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject2_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n "]))); + return (0, _index.html)(_templateObject2_56dc31e01e5811ed81a80d03c17d190b || (_templateObject2_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n "]))); } /** * template for `fieldset` in shadow DOM @@ -160,8 +160,8 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ get: function get() { var _this3 = this; - return (0, _index.html)(_templateObject3_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject3_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "", "\n \n
        \n ", "\n
        \n ", "\n \n "])), !!this.blockOptions ? "block-options" : "inline-options", !this.label, this.label, this.error || this.required ? "*" : "", (this.sortedOptions || []).map(function (option) { - return (0, _index.html)(_templateObject4_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject4_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "", "\n
        \n "])), _this3.id, option.value, option.text, _this3.getInput(option)); + return (0, _index.html)(_templateObject3_56dc31e01e5811ed81a80d03c17d190b || (_templateObject3_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "", "\n \n
        \n ", "\n
        \n ", "\n \n "])), !!this.blockOptions ? "block-options" : "inline-options", !this.label, this.label, this.error || this.required ? "*" : "", (this.sortedOptions || []).map(function (option) { + return (0, _index.html)(_templateObject4_56dc31e01e5811ed81a80d03c17d190b || (_templateObject4_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "", "\n
        \n "])), _this3.id, option.value, option.text, _this3.getInput(option)); }), this.fieldBottom); } }, { @@ -190,7 +190,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ var checked = this.type !== "radio" && this.type !== "checkbox" ? false : !option ? !!this.value : this.type === "radio" ? this.value === (option || {}).value : (this.value || []).includes && (this.value || []).includes((option || {}).value), icon = this.getOptionIcon(checked); - return (0, _index.html)(_templateObject5_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject5_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n "])), this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, checked, ["checkbox", "color", "file", "radio", "range"].includes(this.type) ? "" : "box-input", this.disabled, this._onFocusin, this.hidden, this.id, !option ? "" : option.value, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.type, !option ? this.value : (option || {}).value, this.type !== "checkbox" && this.type !== "radio" ? "" : (0, _index.html)(_templateObject6_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject6_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), icon, function (e) { + return (0, _index.html)(_templateObject5_56dc31e01e5811ed81a80d03c17d190b || (_templateObject5_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n "])), this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, checked, ["checkbox", "color", "file", "radio", "range"].includes(this.type) ? "" : "box-input", this.disabled, this._onFocusin, this.hidden, this.id, !option ? "" : option.value, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.type, !option ? this.value : (option || {}).value, this.type !== "checkbox" && this.type !== "radio" ? "" : (0, _index.html)(_templateObject6_56dc31e01e5811ed81a80d03c17d190b || (_templateObject6_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), icon, function (e) { e.preventDefault(); e.stopPropagation(); @@ -285,8 +285,8 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ get: function get() { var _this6 = this; - return (0, _index.html)(_templateObject7_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject7_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n "])), this.autofocus, this.describedBy, this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this.multiple, this.id, this.readonly, this.required, (this.sortedOptions || []).map(function (option) { - return (0, _index.html)(_templateObject8_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject8_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this6.id, option.value, _this6.multiple ? _this6.value && _this6.value.includes(option.value) : _this6.value === option.value, option.value, option.text); + return (0, _index.html)(_templateObject7_56dc31e01e5811ed81a80d03c17d190b || (_templateObject7_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n \n "])), this.autofocus, this.describedBy, this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this.multiple, this.id, this.readonly, this.required, (this.sortedOptions || []).map(function (option) { + return (0, _index.html)(_templateObject8_56dc31e01e5811ed81a80d03c17d190b || (_templateObject8_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n \n "])), _this6.id, option.value, _this6.multiple ? _this6.value && _this6.value.includes(option.value) : _this6.value === option.value, option.value, option.text); })); } /** @@ -310,7 +310,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }, { key: "textareaTemplate", get: function get() { - return (0, _index.html)(_templateObject9_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject9_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.error ? "true" : "false", this.autofocus, this._onFocusout, this._handleFieldChange, function (e) { + return (0, _index.html)(_templateObject9_56dc31e01e5811ed81a80d03c17d190b || (_templateObject9_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "\n "])), this.error ? "true" : "false", this.autofocus, this._onFocusout, this._handleFieldChange, function (e) { return e.stopPropagation(); }, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.readonly, this.required, this.value || ""); } @@ -447,7 +447,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-container.js", "../ }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), [(0, _index.css)(_templateObject10_8e4e03001da511ed9d313b9780b2ae17 || (_templateObject10_8e4e03001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n fieldset {\n margin: 0;\n padding: 0;\n border: none;\n background-color: transparent;\n }\n option {\n border-radius: 0;\n }\n option[selected] {\n background-color: var(\n --simple-fields-faded-background-color,\n rgba(0, 0, 0, 0.1)\n );\n }\n legend {\n padding-inline-start: unset;\n padding-inline-end: unset;\n }\n #field-main-inner {\n position: relative;\n }\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n fieldset.block-options #options {\n display: block;\n }\n .option {\n flex-direction: row;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n justify-content: space-between;\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n fieldset.block-options .option {\n flex-direction: row-reverse;\n justify-content: flex-end;\n }\n .option:last-of-type {\n margin: 0;\n }\n .option:focus-within label {\n color: var(--simple-fields-accent-color, #003f7d);\n transition: color ease-in-out;\n }\n :host([type]) fieldset .border-bottom {\n display: block;\n }\n .box-input {\n width: calc(100% - 4px);\n padding: 2px;\n }\n .box-input:focus {\n outline: none;\n }\n .field-main.inline {\n align-items: center;\n }\n input {\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n }\n input[type=\"text\"] {\n padding: 0;\n }\n textarea {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n }\n select.field {\n width: calc(100% - 26px);\n padding-right: 26px;\n border: none;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n border-radius: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n :host([type=\"select\"]) simple-icon-lite {\n position: absolute;\n right: 0px;\n }\n select:focus,\n select:focus-within {\n outline: none;\n }\n :host([type=\"checkbox\"]) span,\n :host([type=\"radio\"]) span {\n position: relative;\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n }\n :host([type=\"checkbox\"]) fieldset.block-options span,\n :host([type=\"radio\"]) fieldset.block-options span {\n flex: 0 0 auto;\n }\n :host([hovered][type=\"checkbox\"]) .field-main-single,\n :host([hovered][type=\"radio\"]) .field-main-single,\n .field-main-multi .option:hover {\n cursor: pointer;\n color: var(--simple-fields-accent-color, #003f7d);\n }\n :host([type=\"checkbox\"]) span:focus-within,\n :host([type=\"radio\"]) span:focus-within {\n color: var(--simple-fields-accent-color, #003f7d);\n }\n :host([type=\"checkbox\"]) label.checkbox-label,\n :host([type=\"radio\"]) label.radio-label {\n flex: 0 0 auto;\n }\n :host([type=\"checkbox\"]) input,\n :host([type=\"radio\"]) input,\n .field-main.inline input[type=\"checkbox\"].field,\n .field-main.inline input[type=\"radio\"].field {\n z-index: -1;\n opacity: 0;\n min-width: 0;\n width: 0;\n margin: 0;\n flex: 0 1 0px;\n }\n :host([type=\"checkbox\"]) simple-icon-lite,\n :host([type=\"radio\"]) simple-icon-lite {\n flex: 0 0 auto;\n }\n :host([type=\"checkbox\"]) simple-icon-lite:hover,\n :host([type=\"radio\"]) simple-icon-lite:hover,\n :host([type=\"checkbox\"]) span:focus-within simple-icon-lite,\n :host([type=\"radio\"]) span:focus-within simple-icon-lite {\n color: var(--simple-fields-accent-color, #003f7d);\n }\n\n input[type=\"range\"] {\n width: 100%;\n height: calc(\n var(--simple-fields-font-size, 16px) +\n var(--simple-fields-line-height, 22px)\n );\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n -webkit-appearance: none;\n }\n input[type=\"range\"]:focus {\n outline: none;\n }\n input[type=\"range\"]::-webkit-slider-runnable-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-webkit-slider-runnable-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-webkit-slider-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -2px;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-webkit-slider-thumb,\n input[type=\"range\"][disabled]::-webkit-slider-thumb {\n cursor: not-allowed;\n }\n input[type=\"range\"]:focus::-webkit-slider-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-webkit-slider-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-webkit-slider-thumb,\n input[type=\"range\"][disabled]::-webkit-slider-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-moz-range-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-moz-range-track,\n input[type=\"range\"][disabled]::-moz-range-track {\n cursor: not-allowed;\n }\n :host([error]) input[type=\"range\"]::-moz-range-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-moz-range-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]:focus::-moz-range-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-moz-range-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-moz-range-thumb,\n input[type=\"range\"][disabled]::-moz-range-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-ms-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-ms-track,\n input[type=\"range\"][disabled]::-ms-track {\n cursor: not-allowed;\n }\n :host([error]) input[type=\"range\"]::-ms-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type=\"range\"]::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type=\"range\"]::-ms-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n }\n input[type=\"range\"][readonly]::-ms-thumb,\n input[type=\"range\"][disabled]::-ms-thumb {\n cursor: not-allowed;\n }\n input[type=\"range\"]:focus::-ms-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n }\n :host([error]) input[type=\"range\"]::-ms-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][redonly]::-ms-thumb,\n input[type=\"range\"][disabled]::-ms-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]:focus::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n input[type=\"range\"]:focus::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this)), [(0, _index.css)(_templateObject10_56dc31e01e5811ed81a80d03c17d190b || (_templateObject10_56dc31e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n fieldset {\n margin: 0;\n padding: 0;\n border: none;\n background-color: transparent;\n }\n option {\n border-radius: 0;\n }\n option[selected] {\n background-color: var(\n --simple-fields-faded-background-color,\n rgba(0, 0, 0, 0.1)\n );\n }\n legend {\n padding-inline-start: unset;\n padding-inline-end: unset;\n }\n #field-main-inner {\n position: relative;\n }\n #options {\n display: var(--simple-fields-radio-option-display, flex);\n flex-wrap: var(--simple-fields-radio-option-flex-wrap, wrap);\n }\n fieldset.block-options #options {\n display: block;\n }\n .option {\n flex-direction: row;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n justify-content: space-between;\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n }\n fieldset.block-options .option {\n flex-direction: row-reverse;\n justify-content: flex-end;\n }\n .option:last-of-type {\n margin: 0;\n }\n .option:focus-within label {\n color: var(--simple-fields-accent-color, #003f7d);\n transition: color ease-in-out;\n }\n :host([type]) fieldset .border-bottom {\n display: block;\n }\n .box-input {\n width: calc(100% - 4px);\n padding: 2px;\n }\n .box-input:focus {\n outline: none;\n }\n .field-main.inline {\n align-items: center;\n }\n input {\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n }\n input[type=\"text\"] {\n padding: 0;\n }\n textarea {\n margin: 0;\n transition: height 0.5s ease-in-out;\n box-sizing: border-box;\n vertical-align: bottom;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n }\n select.field {\n width: calc(100% - 26px);\n padding-right: 26px;\n border: none;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n border-radius: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n :host([type=\"select\"]) simple-icon-lite {\n position: absolute;\n right: 0px;\n }\n select:focus,\n select:focus-within {\n outline: none;\n }\n :host([type=\"checkbox\"]) span,\n :host([type=\"radio\"]) span {\n position: relative;\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n }\n :host([type=\"checkbox\"]) fieldset.block-options span,\n :host([type=\"radio\"]) fieldset.block-options span {\n flex: 0 0 auto;\n }\n :host([hovered][type=\"checkbox\"]) .field-main-single,\n :host([hovered][type=\"radio\"]) .field-main-single,\n .field-main-multi .option:hover {\n cursor: pointer;\n color: var(--simple-fields-accent-color, #003f7d);\n }\n :host([type=\"checkbox\"]) span:focus-within,\n :host([type=\"radio\"]) span:focus-within {\n color: var(--simple-fields-accent-color, #003f7d);\n }\n :host([type=\"checkbox\"]) label.checkbox-label,\n :host([type=\"radio\"]) label.radio-label {\n flex: 0 0 auto;\n }\n :host([type=\"checkbox\"]) input,\n :host([type=\"radio\"]) input,\n .field-main.inline input[type=\"checkbox\"].field,\n .field-main.inline input[type=\"radio\"].field {\n z-index: -1;\n opacity: 0;\n min-width: 0;\n width: 0;\n margin: 0;\n flex: 0 1 0px;\n }\n :host([type=\"checkbox\"]) simple-icon-lite,\n :host([type=\"radio\"]) simple-icon-lite {\n flex: 0 0 auto;\n }\n :host([type=\"checkbox\"]) simple-icon-lite:hover,\n :host([type=\"radio\"]) simple-icon-lite:hover,\n :host([type=\"checkbox\"]) span:focus-within simple-icon-lite,\n :host([type=\"radio\"]) span:focus-within simple-icon-lite {\n color: var(--simple-fields-accent-color, #003f7d);\n }\n\n input[type=\"range\"] {\n width: 100%;\n height: calc(\n var(--simple-fields-font-size, 16px) +\n var(--simple-fields-line-height, 22px)\n );\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n -webkit-appearance: none;\n }\n input[type=\"range\"]:focus {\n outline: none;\n }\n input[type=\"range\"]::-webkit-slider-runnable-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-webkit-slider-runnable-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-webkit-slider-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background-color: var(\n --simple-fields-background-color,\n transparent\n );\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -2px;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-webkit-slider-thumb,\n input[type=\"range\"][disabled]::-webkit-slider-thumb {\n cursor: not-allowed;\n }\n input[type=\"range\"]:focus::-webkit-slider-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-webkit-slider-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-webkit-slider-thumb,\n input[type=\"range\"][disabled]::-webkit-slider-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-moz-range-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-moz-range-track,\n input[type=\"range\"][disabled]::-moz-range-track {\n cursor: not-allowed;\n }\n :host([error]) input[type=\"range\"]::-moz-range-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-moz-range-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]:focus::-moz-range-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n transition: all 0.5ms ease-in-out;\n }\n :host([error]) input[type=\"range\"]::-moz-range-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-moz-range-thumb,\n input[type=\"range\"][disabled]::-moz-range-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-ms-track {\n width: 100%;\n height: 16px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][readonly]::-ms-track,\n input[type=\"range\"][disabled]::-ms-track {\n cursor: not-allowed;\n }\n :host([error]) input[type=\"range\"]::-ms-track {\n background: var(--simple-fields-faded-error-color, #ffc0c0);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type=\"range\"]::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n border-radius: 8px;\n }\n input[type=\"range\"]::-ms-thumb {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: var(--simple-fields-background-color, transparent);\n box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n cursor: pointer;\n }\n input[type=\"range\"][readonly]::-ms-thumb,\n input[type=\"range\"][disabled]::-ms-thumb {\n cursor: not-allowed;\n }\n input[type=\"range\"]:focus::-ms-thumb {\n background: var(--simple-fields-accent-color, #3f51b5);\n }\n :host([error]) input[type=\"range\"]::-ms-thumb {\n background: var(--simple-fields-error-color, #b40000);\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"][redonly]::-ms-thumb,\n input[type=\"range\"][disabled]::-ms-thumb {\n background: var(--simple-fields-border-color, #999);\n cursor: not-allowed;\n box-shadow: none;\n transition: all 0.5ms ease-in-out;\n }\n input[type=\"range\"]:focus::-ms-fill-lower {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n input[type=\"range\"]:focus::-ms-fill-upper {\n background: var(--simple-fields-border-color-light, #ccc);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-fieldset.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-fieldset.js index afb35277883..0dca28623a9 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-fieldset.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-fieldset.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }); _exports.SimpleFieldsFieldsetBehaviors = _exports.SimpleFieldsFieldset = void 0; - var _templateObject_8e5381401da511ed9d313b9780b2ae17, _templateObject2_8e5381401da511ed9d313b9780b2ae17, _templateObject3_8e5381401da511ed9d313b9780b2ae17, _templateObject4_8e5381401da511ed9d313b9780b2ae17, _templateObject5_8e5381401da511ed9d313b9780b2ae17; + var _templateObject_56de7bd01e5811ed81a80d03c17d190b, _templateObject2_56de7bd01e5811ed81a80d03c17d190b, _templateObject3_56de7bd01e5811ed81a80d03c17d190b, _templateObject4_56de7bd01e5811ed81a80d03c17d190b, _templateObject5_56de7bd01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -33,22 +33,22 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e5381401da511ed9d313b9780b2ae17 || (_templateObject_8e5381401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", " ", " ", "\n
        \n "])), this.legend, this.desc, this.fields); + return (0, _index.html)(_templateObject_56de7bd01e5811ed81a80d03c17d190b || (_templateObject_56de7bd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", " ", " ", "\n
        \n "])), this.legend, this.desc, this.fields); } }, { key: "legend", get: function get() { - return (0, _index.html)(_templateObject2_8e5381401da511ed9d313b9780b2ae17 || (_templateObject2_8e5381401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n ", "", "\n \n "])), !this.label, this.label, this.error ? "*" : ""); + return (0, _index.html)(_templateObject2_56de7bd01e5811ed81a80d03c17d190b || (_templateObject2_56de7bd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n ", "", "\n \n "])), !this.label, this.label, this.error ? "*" : ""); } }, { key: "desc", get: function get() { - return (0, _index.html)(_templateObject3_8e5381401da511ed9d313b9780b2ae17 || (_templateObject3_8e5381401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !this.description, this.description); + return (0, _index.html)(_templateObject3_56de7bd01e5811ed81a80d03c17d190b || (_templateObject3_56de7bd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !this.description, this.description); } }, { key: "fields", get: function get() { - return (0, _index.html)(_templateObject4_8e5381401da511ed9d313b9780b2ae17 || (_templateObject4_8e5381401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); + return (0, _index.html)(_templateObject4_56de7bd01e5811ed81a80d03c17d190b || (_templateObject4_56de7bd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); } }], [{ key: "tag", @@ -58,7 +58,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js"], function ( }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsFieldsetStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _index.css)(_templateObject5_8e5381401da511ed9d313b9780b2ae17 || (_templateObject5_8e5381401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsFieldsetStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsDescriptionStyles), [(0, _index.css)(_templateObject5_56de7bd01e5811ed81a80d03c17d190b || (_templateObject5_56de7bd01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form-lite.js index 479a3137c5f..d8a2eec246f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form-lite.js @@ -6,12 +6,14 @@ define(["exports", "../../../lit/index.js", "./simple-fields-lite.js", "../simpl }); _exports.SimpleFieldsFormLite = void 0; - var _templateObject_8e5a38001da511ed9d313b9780b2ae17, _templateObject2_8e5a38001da511ed9d313b9780b2ae17; + var _templateObject_56ea62b01e5811ed81a80d03c17d190b, _templateObject2_56ea62b01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -53,7 +55,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-lite.js", "../simpl key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8e5a38001da511ed9d313b9780b2ae17 || (_templateObject_8e5a38001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n "])), !this.disableAutofocus, this.language, this.resources, this.schema, this.elementizer, this.value, this._valueChanged); + return (0, _index.html)(_templateObject_56ea62b01e5811ed81a80d03c17d190b || (_templateObject_56ea62b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n \n "])), !this.disableAutofocus, this.language, this.resources, this.schema, this.elementizer, this.value, this._valueChanged); } /** * gets form element that matches given form ID @@ -191,9 +193,9 @@ define(["exports", "../../../lit/index.js", "./simple-fields-lite.js", "../simpl }, { key: "fetchData", value: function () { - var _fetchData = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(path, method, headers, body) { + var _fetchData = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(path, method, headers, body) { var response, data; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -358,7 +360,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-lite.js", "../simpl }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8e5a38001da511ed9d313b9780b2ae17 || (_templateObject2_8e5a38001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_56ea62b01e5811ed81a80d03c17d190b || (_templateObject2_56ea62b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]; } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form.js index 84004b17f5a..6a88612f937 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-form.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-form-lite.js", "../ }); _exports.SimpleFieldsForm = void 0; - var _templateObject_8e5d93601da511ed9d313b9780b2ae17; + var _templateObject_56ed21d01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -38,7 +38,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-form-lite.js", "../ key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8e5d93601da511ed9d313b9780b2ae17 || (_templateObject_8e5d93601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n "])), !this.disableAutofocus, this.watchColorPrefs, this.language || "", this.resources, this.schema, this.fields, this.fieldsConversion, this.elementizer, this.value, this._valueChanged); + return (0, _index.html)(_templateObject_56ed21d01e5811ed81a80d03c17d190b || (_templateObject_56ed21d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n "])), !this.disableAutofocus, this.watchColorPrefs, this.language || "", this.resources, this.schema, this.fields, this.fieldsConversion, this.elementizer, this.value, this._valueChanged); } /** * applies loaded datda to simple-fields-lite diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-html-block.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-html-block.js index d4645fe7978..4f7ae18929d 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-html-block.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-html-block.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js", "../../util }); _exports.SimpleFieldsHtmlBlock = void 0; - var _templateObject_8e60c7b01da511ed9d313b9780b2ae17, _templateObject2_8e60c7b01da511ed9d313b9780b2ae17; + var _templateObject_56eecf801e5811ed81a80d03c17d190b, _templateObject2_56eecf801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -28,7 +28,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js", "../../util babelHelpers.createClass(SimpleFieldsHtmlBlock, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e60c7b01da511ed9d313b9780b2ae17 || (_templateObject_8e60c7b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "]))); + return (0, _index.html)(_templateObject_56eecf801e5811ed81a80d03c17d190b || (_templateObject_56eecf801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "]))); } }, { key: "updated", @@ -62,7 +62,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-ui.js", "../../util }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), [(0, _index.css)(_templateObject2_8e60c7b01da511ed9d313b9780b2ae17 || (_templateObject2_8e60c7b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsBaseStyles), [(0, _index.css)(_templateObject2_56eecf801e5811ed81a80d03c17d190b || (_templateObject2_56eecf801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-lite.js index 5c1d1205e5c..24e4cf27f64 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-lite.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_8e75d6501da511ed9d313b9780b2ae17, _templateObject2_8e75d6501da511ed9d313b9780b2ae17; + var _templateObject_56feae001e5811ed81a80d03c17d190b, _templateObject2_56feae001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -260,7 +260,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8e75d6501da511ed9d313b9780b2ae17 || (_templateObject_8e75d6501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); + return (0, _index.html)(_templateObject_56feae001e5811ed81a80d03c17d190b || (_templateObject_56feae001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n
        \n "]))); } // properties available to the custom element for data binding }, { @@ -1082,7 +1082,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_8e75d6501da511ed9d313b9780b2ae17 || (_templateObject2_8e75d6501da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: var(\n --simple-fields-detail-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(\n --simple-fields-detail-font-size,\n var(--simple-fields-font-size, 12px)\n );\n background: var(--simple-fields-background-color, transparent);\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_56feae001e5811ed81a80d03c17d190b || (_templateObject2_56feae001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n font-family: var(\n --simple-fields-detail-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(\n --simple-fields-detail-font-size,\n var(--simple-fields-font-size, 12px)\n );\n background: var(--simple-fields-background-color, transparent);\n }\n :host([hidden]) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tabs.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tabs.js index e0e55c442cd..a68460c6e67 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tabs.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tabs.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "../. }); _exports.SimpleFieldsTabs = void 0; - var _templateObject_8e7a6a301da511ed9d313b9780b2ae17, _templateObject2_8e7a6a301da511ed9d313b9780b2ae17; + var _templateObject_5702ccb01e5811ed81a80d03c17d190b, _templateObject2_5702ccb01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -65,7 +65,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "../. }, { key: "_tabLabel", value: function _tabLabel(tab) { - return (0, _index.html)(_templateObject_8e7a6a301da511ed9d313b9780b2ae17 || (_templateObject_8e7a6a301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "", "\n "])), tab.error ? " error" : "", tab.label, tab.error ? "*" : ""); + return (0, _index.html)(_templateObject_5702ccb01e5811ed81a80d03c17d190b || (_templateObject_5702ccb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "", "\n "])), tab.error ? " error" : "", tab.label, tab.error ? "*" : ""); } }], [{ key: "tag", @@ -75,7 +75,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-fieldset.js", "../. }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(this.A11yTabsCoreStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject2_8e7a6a301da511ed9d313b9780b2ae17 || (_templateObject2_8e7a6a301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n border: 1px solid var(--simple-fields-border-color-light, #ccc);\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n background-color: var(--simple-fields-background-color, transparent);\n border-radius: var(--simple-fields-border-radius, 2px);\n }\n :host([error]) #tabs .error {\n color: var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(this.A11yTabsCoreStyles), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject2_5702ccb01e5811ed81a80d03c17d190b || (_templateObject2_5702ccb01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n border: 1px solid var(--simple-fields-border-color-light, #ccc);\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n background-color: var(--simple-fields-background-color, transparent);\n border-radius: var(--simple-fields-border-radius, 2px);\n }\n :host([error]) #tabs .error {\n color: var(--simple-fields-error-color, #b40000);\n transition: border 0.5s ease;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tag-list.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tag-list.js index c076b9c3a96..2243ebaf487 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tag-list.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-tag-list.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "../../s }); _exports.SimpleFieldsTagList = void 0; - var _templateObject_8e80d2d01da511ed9d313b9780b2ae17, _templateObject2_8e80d2d01da511ed9d313b9780b2ae17, _templateObject3_8e80d2d01da511ed9d313b9780b2ae17, _templateObject4_8e80d2d01da511ed9d313b9780b2ae17; + var _templateObject_57084af01e5811ed81a80d03c17d190b, _templateObject2_57084af01e5811ed81a80d03c17d190b, _templateObject3_57084af01e5811ed81a80d03c17d190b, _templateObject4_57084af01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -88,14 +88,14 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "../../s get: function get() { var _this3 = this; - return (0, _index.html)(_templateObject_8e80d2d01da511ed9d313b9780b2ae17 || (_templateObject_8e80d2d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n ", "\n \n "])), babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsTagList.prototype), "prefixTemplate", this), this.tagList.map(function (tag) { - return (0, _index.html)(_templateObject2_8e80d2d01da511ed9d313b9780b2ae17 || (_templateObject2_8e80d2d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), tag, tag.term, tag.color, _this3.removeTag); + return (0, _index.html)(_templateObject_57084af01e5811ed81a80d03c17d190b || (_templateObject_57084af01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n \n ", "\n \n "])), babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsTagList.prototype), "prefixTemplate", this), this.tagList.map(function (tag) { + return (0, _index.html)(_templateObject2_57084af01e5811ed81a80d03c17d190b || (_templateObject2_57084af01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), tag, tag.term, tag.color, _this3.removeTag); })); } }, { key: "getInput", value: function getInput() { - return (0, _index.html)(_templateObject3_8e80d2d01da511ed9d313b9780b2ae17 || (_templateObject3_8e80d2d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this._handleKeydown, this._handleKeyup, this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.value); + return (0, _index.html)(_templateObject3_57084af01e5811ed81a80d03c17d190b || (_templateObject3_57084af01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this._handleKeydown, this._handleKeyup, this.autofocus, this.describedBy || "", this.error ? "true" : "false", this._onFocusout, this._handleFieldChange, this.disabled, this._onFocusin, this.hidden, this.id, this._handleFieldChange, this.id, this.placeholder || "", this.readonly, this.required, this.value); } }, { key: "removeTag", @@ -289,7 +289,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "../../s }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsTagList), "styles", this)), [(0, _index.css)(_templateObject4_8e80d2d01da511ed9d313b9780b2ae17 || (_templateObject4_8e80d2d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-fields-tag-list-height: 24px;\n }\n #field-main-inner {\n align-items: center;\n flex-wrap: wrap;\n }\n simple-tag {\n flex: 0 1 auto;\n margin: calc(0.5 * var(--simple-fields-button-padding, 2px))\n var(--simple-fields-button-padding, 2px);\n height: var(--simple-fields-tag-list-height);\n }\n :host(.drop-possible) [part=\"option-inner\"] {\n --simple-fields-accent-color: var(\n --simple-fields-tag-list-possible,\n var(--simple-colors-default-theme-accent-2, #eeffee)\n );\n background-color: var(--simple-fields-accent-color);\n outline: 2px dashed\n var(--simple-colors-default-theme-accent-12, #eeffee);\n outline-offset: 1px;\n }\n :host(.drag-focus) [part=\"option-inner\"] {\n --simple-fields-accent-color: var(\n --simple-fields-tag-list-focus,\n var(--simple-colors-default-theme-accent-8, #44ff44)\n );\n background-color: var(--simple-fields-accent-color);\n outline: 2px dashed\n var(--simple-colors-default-theme-accent-10, #44ff44);\n outline-offset: 1px;\n }\n [part=\"option-inner\"] {\n height: var(--simple-fields-tag-list-height);\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsTagList), "styles", this)), [(0, _index.css)(_templateObject4_57084af01e5811ed81a80d03c17d190b || (_templateObject4_57084af01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-fields-tag-list-height: 24px;\n }\n #field-main-inner {\n align-items: center;\n flex-wrap: wrap;\n }\n simple-tag {\n flex: 0 1 auto;\n margin: calc(0.5 * var(--simple-fields-button-padding, 2px))\n var(--simple-fields-button-padding, 2px);\n height: var(--simple-fields-tag-list-height);\n }\n :host(.drop-possible) [part=\"option-inner\"] {\n --simple-fields-accent-color: var(\n --simple-fields-tag-list-possible,\n var(--simple-colors-default-theme-accent-2, #eeffee)\n );\n background-color: var(--simple-fields-accent-color);\n outline: 2px dashed\n var(--simple-colors-default-theme-accent-12, #eeffee);\n outline-offset: 1px;\n }\n :host(.drag-focus) [part=\"option-inner\"] {\n --simple-fields-accent-color: var(\n --simple-fields-tag-list-focus,\n var(--simple-colors-default-theme-accent-8, #44ff44)\n );\n background-color: var(--simple-fields-accent-color);\n outline: 2px dashed\n var(--simple-colors-default-theme-accent-10, #44ff44);\n outline-offset: 1px;\n }\n [part=\"option-inner\"] {\n height: var(--simple-fields-tag-list-height);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-ui.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-ui.js index ad08e27f328..518dc93f5d4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-ui.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-ui.js @@ -6,18 +6,18 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.SimpleFieldsTooltipStyles = _exports.SimpleFieldsLabelStyles = _exports.SimpleFieldsFieldsetStyles = _exports.SimpleFieldsDescriptionStyles = _exports.SimpleFieldsButtonStyles = _exports.SimpleFieldsBaseStyles = void 0; - var _templateObject_8e82f5b01da511ed9d313b9780b2ae17, _templateObject2_8e82f5b01da511ed9d313b9780b2ae17, _templateObject3_8e82f5b01da511ed9d313b9780b2ae17, _templateObject4_8e82f5b01da511ed9d313b9780b2ae17, _templateObject5_8e82f5b01da511ed9d313b9780b2ae17, _templateObject6_8e82f5b01da511ed9d313b9780b2ae17; + var _templateObject_5709d1901e5811ed81a80d03c17d190b, _templateObject2_5709d1901e5811ed81a80d03c17d190b, _templateObject3_5709d1901e5811ed81a80d03c17d190b, _templateObject4_5709d1901e5811ed81a80d03c17d190b, _templateObject5_5709d1901e5811ed81a80d03c17d190b, _templateObject6_5709d1901e5811ed81a80d03c17d190b; - var SimpleFieldsBaseStyles = [(0, _index.css)(_templateObject_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n visibility: visible;\n box-sizing: border-box;\n display: block;\n margin: 0 0 var(--simple-fields-margin, 16px);\n padding: 0;\n font-size: var(--simple-fields-font-size);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height);\n font-size: var(--simple-fields-detail-font-size, 12px);\n font-family: var(--simple-fields-detail-font-family, sans-serif);\n line-height: var(--simple-fields-detail-line-height, 130%);\n background-color: var(--simple-fields-background-color, white);\n color: var(--simple-fields-color, currentColor);\n margin: 0 0\n var(--simple-fields-field-margin, var(--simple-fields-margin, 16px));\n --simple-picker-options-border: 1px solid\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n );\n --simple-picker-options-focus-border: 1px solid\n var(--simple-fields-accent-color, #3f51b5);\n }\n ::slotted([slot=\"field\"]) {\n --simple-picker-options-left: 0;\n --simple-picker-options-right: 0;\n --simple-picker-options-border: 1px\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n )\n solid;\n --simple-picker-options-focus-border: 1px\n var(--simple-fields-accent-color, #3f51b5) solid;\n }\n :host([hidden]),\n :host [hidden],\n :host([type=\"hidden\"]) {\n display: none !important;\n }\n ul[role=\"listbox\"] {\n z-index: 2;\n opacity: 0;\n margin: 0;\n padding: 0;\n top: 100%;\n background-color: var(--simple-fields-background-color, white);\n color: var(--simple-fields-color, currentColor);\n border: 1px\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n )\n solid;\n overflow: auto;\n }\n\n ul[role=\"listbox\"].focus,\n ul[role=\"listbox\"]:focus,\n ul[role=\"listbox\"]:focus-within {\n border-color: var(--simple-fields-accent-color, #3f51b5);\n }\n :host([disabled]),\n *[disabled] {\n pointer-events: none !important;\n }\n "])))]; + var SimpleFieldsBaseStyles = [(0, _index.css)(_templateObject_5709d1901e5811ed81a80d03c17d190b || (_templateObject_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n visibility: visible;\n box-sizing: border-box;\n display: block;\n margin: 0 0 var(--simple-fields-margin, 16px);\n padding: 0;\n font-size: var(--simple-fields-font-size);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height);\n font-size: var(--simple-fields-detail-font-size, 12px);\n font-family: var(--simple-fields-detail-font-family, sans-serif);\n line-height: var(--simple-fields-detail-line-height, 130%);\n background-color: var(--simple-fields-background-color, white);\n color: var(--simple-fields-color, currentColor);\n margin: 0 0\n var(--simple-fields-field-margin, var(--simple-fields-margin, 16px));\n --simple-picker-options-border: 1px solid\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n );\n --simple-picker-options-focus-border: 1px solid\n var(--simple-fields-accent-color, #3f51b5);\n }\n ::slotted([slot=\"field\"]) {\n --simple-picker-options-left: 0;\n --simple-picker-options-right: 0;\n --simple-picker-options-border: 1px\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n )\n solid;\n --simple-picker-options-focus-border: 1px\n var(--simple-fields-accent-color, #3f51b5) solid;\n }\n :host([hidden]),\n :host [hidden],\n :host([type=\"hidden\"]) {\n display: none !important;\n }\n ul[role=\"listbox\"] {\n z-index: 2;\n opacity: 0;\n margin: 0;\n padding: 0;\n top: 100%;\n background-color: var(--simple-fields-background-color, white);\n color: var(--simple-fields-color, currentColor);\n border: 1px\n var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n )\n solid;\n overflow: auto;\n }\n\n ul[role=\"listbox\"].focus,\n ul[role=\"listbox\"]:focus,\n ul[role=\"listbox\"]:focus-within {\n border-color: var(--simple-fields-accent-color, #3f51b5);\n }\n :host([disabled]),\n *[disabled] {\n pointer-events: none !important;\n }\n "])))]; _exports.SimpleFieldsBaseStyles = SimpleFieldsBaseStyles; - var SimpleFieldsLabelStyles = [(0, _index.css)(_templateObject2_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject2_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host .label-main:after {\n content: var(--simple-fields-label-flag, \"\");\n }\n :host([focused]) .label-main,\n :host(:focus-within) .label-main {\n color: var(--simple-fields-accent-color, #3f51b5);\n transition: color 0.3s ease-in-out;\n }\n .inline {\n --simple-fields-radio-option-display: flex;\n --simple-fields-radio-option-flex-wrap: wrap;\n }\n label {\n margin: 0 0 0 0;\n }\n .inline label,\n .option label {\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n flex: 0 1 var(--simple-fields-label-width, auto);\n }\n .inline label,\n .option label,\n .field-main > div,\n .field,\n ::slotted([slot=\"field\"]) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]; + var SimpleFieldsLabelStyles = [(0, _index.css)(_templateObject2_5709d1901e5811ed81a80d03c17d190b || (_templateObject2_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host .label-main:after {\n content: var(--simple-fields-label-flag, \"\");\n }\n :host([focused]) .label-main,\n :host(:focus-within) .label-main {\n color: var(--simple-fields-accent-color, #3f51b5);\n transition: color 0.3s ease-in-out;\n }\n .inline {\n --simple-fields-radio-option-display: flex;\n --simple-fields-radio-option-flex-wrap: wrap;\n }\n label {\n margin: 0 0 0 0;\n }\n .inline label,\n .option label {\n margin: 0 var(--simple-fields-margin-small, 8px) 0 0;\n flex: 0 1 var(--simple-fields-label-width, auto);\n }\n .inline label,\n .option label,\n .field-main > div,\n .field,\n ::slotted([slot=\"field\"]) {\n font-size: var(--simple-fields-font-size, 16px);\n text-align: var(--simple-fields-text-align);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n }\n "])))]; _exports.SimpleFieldsLabelStyles = SimpleFieldsLabelStyles; - var SimpleFieldsTooltipStyles = [(0, _index.css)(_templateObject3_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject3_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n simple-tooltip,\n simple-toolbar-button::part(tooltip) {\n text-transform: var(--simple-fields-tooltip-text-transform, unset);\n font-family: var(\n --simple-fields-detail-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(\n --simple-fields-tooltip-font-size,\n var(--simple-fields-detail-font-size, 12px)\n );\n line-height: var(\n --simple-fields-tooltip-line-height,\n var(--simple-fields-detail-line-height, 22px)\n );\n border-radius: var(\n --simple-fields-border-radius,\n var(--simple-fields-tooltip-border-radius, 2px)\n );\n }\n "])))]; + var SimpleFieldsTooltipStyles = [(0, _index.css)(_templateObject3_5709d1901e5811ed81a80d03c17d190b || (_templateObject3_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n simple-tooltip,\n simple-toolbar-button::part(tooltip) {\n text-transform: var(--simple-fields-tooltip-text-transform, unset);\n font-family: var(\n --simple-fields-detail-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(\n --simple-fields-tooltip-font-size,\n var(--simple-fields-detail-font-size, 12px)\n );\n line-height: var(\n --simple-fields-tooltip-line-height,\n var(--simple-fields-detail-line-height, 22px)\n );\n border-radius: var(\n --simple-fields-border-radius,\n var(--simple-fields-tooltip-border-radius, 2px)\n );\n }\n "])))]; _exports.SimpleFieldsTooltipStyles = SimpleFieldsTooltipStyles; - var SimpleFieldsButtonStyles = [].concat(SimpleFieldsTooltipStyles, [(0, _index.css)(_templateObject4_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject4_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n button,\n button[aria-selected],\n simple-toolbar-button::part(button),\n simple-toolbar-menu::part(button) {\n color: var(--simple-fields-button-color, var(--simple-fields-color));\n background-color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n font-family: var(\n --simple-fields-button-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(--simple-fields-button-font-size, 14px);\n line-height: var(--simple-fields-button-line-height 22px);\n text-transform: var(--simple-fields-button-text-transform, unset);\n border-radius: var(--simple-fields-border-radius, 2px);\n padding: var(--simple-fields-button-padding-sm, 1px)\n var(--simple-fields-button-padding, 2px);\n min-height: calc(\n 24px + 2 * var(--simple-fields-button-padding-sm, 2px) + 2px\n );\n }\n simple-toolbar-menu-item > simple-toolbar-button::part(button) {\n border-color: transparent;\n border-radius: 0 !important;\n }\n simple-toolbar-button.danger::part(button),\n simple-toolbar-menu.danger::part(button) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n }\n button[aria-pressed=\"true\"],\n button[aria-selected=\"true\"],\n simple-toolbar-button[toggled]::part(button) {\n color: var(\n --simple-fields-button-toggled-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n background-color: var(\n --simple-fields-button-toggled-background-color,\n unset\n );\n border-color: var(\n --simple-fields-button-toggled-border-color,\n var(--simple-fields-color, currentColor)\n );\n opacity: var(--simple-fields-button-toggled-opacity, 1);\n }\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:hover::part(button[aria-pressed=\"true\"]),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button[aria-pressed=\"true\"]) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:focus,\n button:hover,\n button[aria-selected=\"false\"]:not([disabled]):focus,\n button[aria-selected=\"false\"]:not([disabled]):hover,\n simple-toolbar-button:focus-within::part(button),\n simple-toolbar-button:hover::part(button),\n simple-toolbar-menu:focus-within::part(button),\n simple-toolbar-menu:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button:focus-within::part(button) {\n color: var(--simple-fields-button-focus-color, unset);\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n border-color: var(\n --simple-fields-button-focus-border-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n text-decoration: var(--simple-fields-button-focus-text-decoration, unset);\n }\n simple-toolbar-menu.danger:focus-within::part(button),\n simple-toolbar-menu.danger:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button.danger:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button) {\n background-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:disabled,\n button[disabled],\n simple-toolbar-button[disabled],\n simple-toolbar-menu[disabled] {\n color: var(--simple-fields-button-disabled-color, unset);\n background-color: var(\n --simple-fields-button-disabled-background-color,\n unset\n );\n border-color: var(--simple-fields-button-disabled-border-color, unset);\n opacity: var(\n --simple-fields-button-disabled-opacity,\n var(--simple-fields-disabled-opacity, 0.7)\n );\n }\n "])))]); + var SimpleFieldsButtonStyles = [].concat(SimpleFieldsTooltipStyles, [(0, _index.css)(_templateObject4_5709d1901e5811ed81a80d03c17d190b || (_templateObject4_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n button,\n button[aria-selected],\n simple-toolbar-button::part(button),\n simple-toolbar-menu::part(button) {\n color: var(--simple-fields-button-color, var(--simple-fields-color));\n background-color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-button-border-color,\n var(--simple-fields-border-color, #999)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n font-family: var(\n --simple-fields-button-font-family,\n var(--simple-fields-font-family, sans-serif)\n );\n font-size: var(--simple-fields-button-font-size, 14px);\n line-height: var(--simple-fields-button-line-height 22px);\n text-transform: var(--simple-fields-button-text-transform, unset);\n border-radius: var(--simple-fields-border-radius, 2px);\n padding: var(--simple-fields-button-padding-sm, 1px)\n var(--simple-fields-button-padding, 2px);\n min-height: calc(\n 24px + 2 * var(--simple-fields-button-padding-sm, 2px) + 2px\n );\n }\n simple-toolbar-menu-item > simple-toolbar-button::part(button) {\n border-color: transparent;\n border-radius: 0 !important;\n }\n simple-toolbar-button.danger::part(button),\n simple-toolbar-menu.danger::part(button) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n }\n button[aria-pressed=\"true\"],\n button[aria-selected=\"true\"],\n simple-toolbar-button[toggled]::part(button) {\n color: var(\n --simple-fields-button-toggled-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n background-color: var(\n --simple-fields-button-toggled-background-color,\n unset\n );\n border-color: var(\n --simple-fields-button-toggled-border-color,\n var(--simple-fields-color, currentColor)\n );\n opacity: var(--simple-fields-button-toggled-opacity, 1);\n }\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:hover::part(button[aria-pressed=\"true\"]),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button[aria-pressed=\"true\"]) {\n background-color: var(\n --simple-fields-button-danger-color,\n var(--simple-fields-error-color, #b40000)\n );\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:focus,\n button:hover,\n button[aria-selected=\"false\"]:not([disabled]):focus,\n button[aria-selected=\"false\"]:not([disabled]):hover,\n simple-toolbar-button:focus-within::part(button),\n simple-toolbar-button:hover::part(button),\n simple-toolbar-menu:focus-within::part(button),\n simple-toolbar-menu:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button:focus-within::part(button) {\n color: var(--simple-fields-button-focus-color, unset);\n background-color: var(\n --simple-fields-button-focus-background-color,\n var(--simple-fields-accent-color-light, #d9eaff)\n );\n border-color: var(\n --simple-fields-button-focus-border-color,\n var(--simple-fields-accent-color, #3f51b5)\n );\n opacity: var(--simple-fields-button-focus-opacity, 1);\n text-decoration: var(--simple-fields-button-focus-text-decoration, unset);\n }\n simple-toolbar-menu.danger:focus-within::part(button),\n simple-toolbar-menu.danger:hover::part(button),\n simple-toolbar-menu-item > simple-toolbar-button.danger:hover::part(button),\n simple-toolbar-menu-item\n > simple-toolbar-button.danger:focus-within::part(button) {\n background-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n color: var(--simple-fields-button-danger-background-color, white);\n border-color: var(--simple-fields-button-danger-focus-color, #8a0000);\n }\n button:disabled,\n button[disabled],\n simple-toolbar-button[disabled],\n simple-toolbar-menu[disabled] {\n color: var(--simple-fields-button-disabled-color, unset);\n background-color: var(\n --simple-fields-button-disabled-background-color,\n unset\n );\n border-color: var(--simple-fields-button-disabled-border-color, unset);\n opacity: var(\n --simple-fields-button-disabled-opacity,\n var(--simple-fields-disabled-opacity, 0.7)\n );\n }\n "])))]); _exports.SimpleFieldsButtonStyles = SimpleFieldsButtonStyles; - var SimpleFieldsDescriptionStyles = [(0, _index.css)(_templateObject5_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject5_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n *[part=\"field-desc\"],\n *[part=\"error-desc\"],\n *[part=\"error-meta\"] {\n color: var(--simple-fields-meta-color);\n font-size: var(--simple-fields-meta-font-size, 10px);\n line-height: var(--simple-fields-meta-line-height, 110%);\n opacity: var(--simple-fields-meta-opacity, unset);\n text-transform: none;\n }\n :host:hover *[part=\"field-desc\"],\n :host:hover-within *[part=\"error-desc\"],\n :host:hover-within *[part=\"error-meta\"],\n :host:hover *[part=\"field-desc\"],\n :host:hover *[part=\"error-desc\"],\n :host:hover *[part=\"error-meta\"] {\n color: var(--simple-fields-focus-meta-color);\n opacity: var(--simple-fields-focus-meta-opacity, unset);\n }\n "])))]; + var SimpleFieldsDescriptionStyles = [(0, _index.css)(_templateObject5_5709d1901e5811ed81a80d03c17d190b || (_templateObject5_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n *[part=\"field-desc\"],\n *[part=\"error-desc\"],\n *[part=\"error-meta\"] {\n color: var(--simple-fields-meta-color);\n font-size: var(--simple-fields-meta-font-size, 10px);\n line-height: var(--simple-fields-meta-line-height, 110%);\n opacity: var(--simple-fields-meta-opacity, unset);\n text-transform: none;\n }\n :host:hover *[part=\"field-desc\"],\n :host:hover-within *[part=\"error-desc\"],\n :host:hover-within *[part=\"error-meta\"],\n :host:hover *[part=\"field-desc\"],\n :host:hover *[part=\"error-desc\"],\n :host:hover *[part=\"error-meta\"] {\n color: var(--simple-fields-focus-meta-color);\n opacity: var(--simple-fields-focus-meta-opacity, unset);\n }\n "])))]; _exports.SimpleFieldsDescriptionStyles = SimpleFieldsDescriptionStyles; - var SimpleFieldsFieldsetStyles = [(0, _index.css)(_templateObject6_8e82f5b01da511ed9d313b9780b2ae17 || (_templateObject6_8e82f5b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n fieldset {\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n margin: var(--simple-fields-margin-small, 8px) 0\n var(--simple-fields-margin, 16px);\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n border-radius: var(--simple-fields-border-radius, 2px);\n transition: all 0.3s ease-in-out;\n max-width: calc(100% - 2 * var(--simple-fields-margin, 16px) - 2px);\n }\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n *[part=\"legend\"] {\n font-family: var(--simple-fields-font-family, sans-serif);\n font-size: var(\n --simple-fields-legend-font-size,\n var(--simple-fields-font-size, 16px)\n );\n line-height: var(--simple-fields-line-height, 22px);\n text-transform: var(--simple-fields-legend-text-transform, unset);\n }\n :host([error]) *[part=\"legend\"] {\n color: var(--simple-fields-error-color, #b40000);\n transition: all 0.3s ease-in-out;\n }\n "])))]; + var SimpleFieldsFieldsetStyles = [(0, _index.css)(_templateObject6_5709d1901e5811ed81a80d03c17d190b || (_templateObject6_5709d1901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n fieldset {\n padding: var(--simple-fields-margin-small, 8px)\n var(--simple-fields-margin, 16px);\n margin: var(--simple-fields-margin-small, 8px) 0\n var(--simple-fields-margin, 16px);\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n border-radius: var(--simple-fields-border-radius, 2px);\n transition: all 0.3s ease-in-out;\n max-width: calc(100% - 2 * var(--simple-fields-margin, 16px) - 2px);\n }\n :host(:last-of-type) {\n margin-bottom: 0;\n }\n *[part=\"legend\"] {\n font-family: var(--simple-fields-font-family, sans-serif);\n font-size: var(\n --simple-fields-legend-font-size,\n var(--simple-fields-font-size, 16px)\n );\n line-height: var(--simple-fields-line-height, 22px);\n text-transform: var(--simple-fields-legend-text-transform, unset);\n }\n :host([error]) *[part=\"legend\"] {\n color: var(--simple-fields-error-color, #b40000);\n transition: all 0.3s ease-in-out;\n }\n "])))]; _exports.SimpleFieldsFieldsetStyles = SimpleFieldsFieldsetStyles; }); \ No newline at end of file diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-upload.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-upload.js index 38cf47810e5..be281072bfe 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-upload.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-upload.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_8e8d7d001da511ed9d313b9780b2ae17, _templateObject2_8e8d7d001da511ed9d313b9780b2ae17, _templateObject3_8e8d7d001da511ed9d313b9780b2ae17; + var _templateObject_571172b01e5811ed81a80d03c17d190b, _templateObject2_571172b01e5811ed81a80d03c17d190b, _templateObject3_571172b01e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -77,7 +77,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- babelHelpers.createClass(SimpleFieldsUpload, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e8d7d001da511ed9d313b9780b2ae17 || (_templateObject_8e8d7d001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        ", " ", "
        \n "])), this.legend, this.fields); + return (0, _index.html)(_templateObject_571172b01e5811ed81a80d03c17d190b || (_templateObject_571172b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        ", " ", "
        \n "])), this.legend, this.fields); } /** * LitElement life cycle - render callback @@ -86,7 +86,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- }, { key: "fields", get: function get() { - return (0, _index.html)(_templateObject2_8e8d7d001da511ed9d313b9780b2ae17 || (_templateObject2_8e8d7d001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n
        \n
        \n ", "\n \n \n \n \n \n \n
        \n \n \n \n \n ", "\n \n \n "])), this.option, this._fileAboutToUpload, this._fileUploadResponse, this.disabled, this.disabled, this.option == "selfie" || this.option == "audio", this.autofocus, this.value || "", this.disabled, this.responsiveSize.indexOf("s") < 0, this.responsiveSize.indexOf("l") > -1 ? "grid" : "", this.itemsList, function (e) { + return (0, _index.html)(_templateObject2_571172b01e5811ed81a80d03c17d190b || (_templateObject2_571172b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n \n \n \n \n \n
        \n
        \n ", "\n \n \n \n \n \n \n
        \n \n \n \n \n ", "\n \n \n "])), this.option, this._fileAboutToUpload, this._fileUploadResponse, this.disabled, this.disabled, this.option == "selfie" || this.option == "audio", this.autofocus, this.value || "", this.disabled, this.responsiveSize.indexOf("s") < 0, this.responsiveSize.indexOf("l") > -1 ? "grid" : "", this.itemsList, function (e) { return e.stopImmediatePropagation(); }, function (e) { return e.stopImmediatePropagation(); @@ -368,7 +368,7 @@ define(["exports", "meta", "require", "../../../lit/index.js", "./simple-fields- }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUpload), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject3_8e8d7d001da511ed9d313b9780b2ae17 || (_templateObject3_8e8d7d001da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n pointer-events: all;\n overflow: visible;\n transition: 0.3s all ease;\n --simple-login-camera-aspect: 1.777777777777;\n --simple-camera-snap-color: var(--simple-fields-color, currentColor);\n --simple-camera-snap-background: var(\n --simple-fields-background-color,\n unset\n );\n --simple-camera-snap-border-radius: 2px;\n --lumo-font-family: var(--simple-fields-font-family, sans-serif);\n --lumo-error-color: var(--simple-fields-error-color, #b40000);\n --lumo-primary-font-color: var(--simple-fields-color, currentColor);\n --lumo-base-color: var(--simple-fields-background-color, transparent);\n }\n :host([responsive-size=\"xs\"]),\n div[part=\"description\"] {\n font-size: 10px;\n --simple-fields-font-size: 10px;\n --simple-fields-button-font-size: 11px;\n --simple-fields-legend-font-size: 11px;\n --simple-fields-detail-font-size: 10px;\n }\n fieldset {\n padding: 0px;\n max-width: 100%;\n }\n #upload,\n div[slot=\"drop-label\"] {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n width: 100%;\n }\n #upload {\n border-radius: var(--simple-fields-border-radius, 2px);\n border: 1px dashed var(--simple-fields-border-color-light, #ccc);\n }\n #url {\n flex: 1 1 100%;\n margin: var(--simple-fields-margin-small, 8px) 0;\n background-color: transparent;\n }\n #upload-options {\n position: relative;\n transition: height 0.3s linear;\n }\n div[slot=\"drop-label\"] > * {\n flex: 0 1 auto;\n }\n simple-fields-url-combo[always-expanded]::part(listbox) {\n background-color: transparent;\n }\n simple-toolbar-button {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n margin: calc(0.5 * var(--simple-fields-margin-small, 8px))\n calc(0.25 * var(--simple-fields-margin-small, 8px));\n }\n simple-toolbar-button[part=\"cancel-media\"] {\n position: absolute;\n right: 0;\n top: 0;\n z-index: 2;\n --simple-fields-button-padding-sm: 0;\n background-color: var(--simple-fields-background-color, white);\n opacity: 0.7;\n }\n span[part=\"drop-area-text\"] {\n font-family: var(--simple-fields-button-font-family, sans-serif);\n font-size: var(--simple-fields-button-font-size, 14px);\n white-space: nowrap;\n margin: calc(0.5 * var(--simple-fields-margin-small, 8px))\n calc(0.25 * var(--simple-fields-margin-small, 8px));\n }\n vaadin-upload {\n padding: var(--simple-fields-margin-small, 8px);\n position: relative;\n overflow: visible;\n border: none !important;\n }\n vaadin-upload[dragover] {\n border-color: var(\n --simple-fields-secondary-accent-color,\n var(--simple-colors-default-theme-accent-3, #77e2ff)\n );\n }\n vaadin-upload::part(drop-label) {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n padding: 0;\n width: 100%;\n margin-top: -16px;\n }\n vaadin-upload.option-selfie::part(drop-label) {\n display: block;\n }\n vaadin-upload::part(drop-label-icon) {\n display: none;\n }\n vaadin-upload-file {\n --disabled-text-color: #var(--simple-fields-border-color, #999);\n }\n simple-camera-snap {\n --simple-camera-snap-button-container-bottom: 2px;\n --simple-camera-snap-button-container-z-index: 5;\n --simple-camera-snap-button-border-radius: 100%;\n --simple-camera-snap-button-opacity: 0.7;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUpload), "styles", this)), babelHelpers.toConsumableArray(_simpleFieldsUi.SimpleFieldsButtonStyles), [(0, _index.css)(_templateObject3_571172b01e5811ed81a80d03c17d190b || (_templateObject3_571172b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n pointer-events: all;\n overflow: visible;\n transition: 0.3s all ease;\n --simple-login-camera-aspect: 1.777777777777;\n --simple-camera-snap-color: var(--simple-fields-color, currentColor);\n --simple-camera-snap-background: var(\n --simple-fields-background-color,\n unset\n );\n --simple-camera-snap-border-radius: 2px;\n --lumo-font-family: var(--simple-fields-font-family, sans-serif);\n --lumo-error-color: var(--simple-fields-error-color, #b40000);\n --lumo-primary-font-color: var(--simple-fields-color, currentColor);\n --lumo-base-color: var(--simple-fields-background-color, transparent);\n }\n :host([responsive-size=\"xs\"]),\n div[part=\"description\"] {\n font-size: 10px;\n --simple-fields-font-size: 10px;\n --simple-fields-button-font-size: 11px;\n --simple-fields-legend-font-size: 11px;\n --simple-fields-detail-font-size: 10px;\n }\n fieldset {\n padding: 0px;\n max-width: 100%;\n }\n #upload,\n div[slot=\"drop-label\"] {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n width: 100%;\n }\n #upload {\n border-radius: var(--simple-fields-border-radius, 2px);\n border: 1px dashed var(--simple-fields-border-color-light, #ccc);\n }\n #url {\n flex: 1 1 100%;\n margin: var(--simple-fields-margin-small, 8px) 0;\n background-color: transparent;\n }\n #upload-options {\n position: relative;\n transition: height 0.3s linear;\n }\n div[slot=\"drop-label\"] > * {\n flex: 0 1 auto;\n }\n simple-fields-url-combo[always-expanded]::part(listbox) {\n background-color: transparent;\n }\n simple-toolbar-button {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n margin: calc(0.5 * var(--simple-fields-margin-small, 8px))\n calc(0.25 * var(--simple-fields-margin-small, 8px));\n }\n simple-toolbar-button[part=\"cancel-media\"] {\n position: absolute;\n right: 0;\n top: 0;\n z-index: 2;\n --simple-fields-button-padding-sm: 0;\n background-color: var(--simple-fields-background-color, white);\n opacity: 0.7;\n }\n span[part=\"drop-area-text\"] {\n font-family: var(--simple-fields-button-font-family, sans-serif);\n font-size: var(--simple-fields-button-font-size, 14px);\n white-space: nowrap;\n margin: calc(0.5 * var(--simple-fields-margin-small, 8px))\n calc(0.25 * var(--simple-fields-margin-small, 8px));\n }\n vaadin-upload {\n padding: var(--simple-fields-margin-small, 8px);\n position: relative;\n overflow: visible;\n border: none !important;\n }\n vaadin-upload[dragover] {\n border-color: var(\n --simple-fields-secondary-accent-color,\n var(--simple-colors-default-theme-accent-3, #77e2ff)\n );\n }\n vaadin-upload::part(drop-label) {\n font-family: var(--simple-fields-font-family, sans-serif);\n color: var(--simple-fields-color, currentColor);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n padding: 0;\n width: 100%;\n margin-top: -16px;\n }\n vaadin-upload.option-selfie::part(drop-label) {\n display: block;\n }\n vaadin-upload::part(drop-label-icon) {\n display: none;\n }\n vaadin-upload-file {\n --disabled-text-color: #var(--simple-fields-border-color, #999);\n }\n simple-camera-snap {\n --simple-camera-snap-button-container-bottom: 2px;\n --simple-camera-snap-button-container-z-index: 5;\n --simple-camera-snap-button-border-radius: 100%;\n --simple-camera-snap-button-opacity: 0.7;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo-item.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo-item.js index e6558db1416..43c76f8a913 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo-item.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo-item.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }); _exports.SimpleFieldsUrlComboItem = void 0; - var _templateObject_8e93e5a01da511ed9d313b9780b2ae17, _templateObject2_8e93e5a01da511ed9d313b9780b2ae17, _templateObject3_8e93e5a01da511ed9d313b9780b2ae17, _templateObject4_8e93e5a01da511ed9d313b9780b2ae17, _templateObject5_8e93e5a01da511ed9d313b9780b2ae17, _templateObject6_8e93e5a01da511ed9d313b9780b2ae17, _templateObject7_8e93e5a01da511ed9d313b9780b2ae17, _templateObject8_8e93e5a01da511ed9d313b9780b2ae17; + var _templateObject_5715b8701e5811ed81a80d03c17d190b, _templateObject2_5715b8701e5811ed81a80d03c17d190b, _templateObject3_5715b8701e5811ed81a80d03c17d190b, _templateObject4_5715b8701e5811ed81a80d03c17d190b, _templateObject5_5715b8701e5811ed81a80d03c17d190b, _templateObject6_5715b8701e5811ed81a80d03c17d190b, _templateObject7_5715b8701e5811ed81a80d03c17d190b, _templateObject8_5715b8701e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -43,7 +43,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l key: "render", value: // Template return function function render() { - return (0, _index.html)(_templateObject_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", "", ""])), this.previewTemplate, this.labelTemplate); + return (0, _index.html)(_templateObject_5715b8701e5811ed81a80d03c17d190b || (_templateObject_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", "", ""])), this.previewTemplate, this.labelTemplate); } /** * default list of icons by file extension @@ -278,7 +278,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "iconTemplate", get: function get() { - return (0, _index.html)(_templateObject2_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject2_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.iconName); + return (0, _index.html)(_templateObject2_5715b8701e5811ed81a80d03c17d190b || (_templateObject2_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.iconName); } /** * preview image template of item @@ -291,7 +291,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "imageTemplate", get: function get() { - return (0, _index.html)(_templateObject3_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject3_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        "])), this.previewSrc); + return (0, _index.html)(_templateObject3_5715b8701e5811ed81a80d03c17d190b || (_templateObject3_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        "])), this.previewSrc); } /** * preview template, based on preview or icon by default; @@ -318,7 +318,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "labelTemplate", get: function get() { - return (0, _index.html)(_templateObject4_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject4_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.primaryLabelTemplate, !!this.name && this.name.trim() !== "" ? this.secondaryLabelTemplate : ""); + return (0, _index.html)(_templateObject4_5715b8701e5811ed81a80d03c17d190b || (_templateObject4_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.primaryLabelTemplate, !!this.name && this.name.trim() !== "" ? this.secondaryLabelTemplate : ""); } /** * primary label template with item name or value @@ -331,7 +331,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "primaryLabelTemplate", get: function get() { - return !!this.name && this.name.trim() !== "" ? (0, _index.html)(_templateObject5_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject5_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.name) : !!this.value && this.value.trim() !== "" ? (0, _index.html)(_templateObject6_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject6_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.value) : ""; + return !!this.name && this.name.trim() !== "" ? (0, _index.html)(_templateObject5_5715b8701e5811ed81a80d03c17d190b || (_templateObject5_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.name) : !!this.value && this.value.trim() !== "" ? (0, _index.html)(_templateObject6_5715b8701e5811ed81a80d03c17d190b || (_templateObject6_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.value) : ""; } /** * secondary label template with item value @@ -344,7 +344,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "secondaryLabelTemplate", get: function get() { - return !!this.value && this.value.trim() !== "" ? (0, _index.html)(_templateObject7_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject7_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.value) : ""; + return !!this.value && this.value.trim() !== "" ? (0, _index.html)(_templateObject7_5715b8701e5811ed81a80d03c17d190b || (_templateObject7_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.value) : ""; } // properties available to the custom element for data binding }, { @@ -363,7 +363,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject8_8e93e5a01da511ed9d313b9780b2ae17 || (_templateObject8_8e93e5a01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n padding: var(--simple-fields-button-padding, 2px);\n font-size: var(--simple-fields-detail-font-size, 12px);\n }\n\n :host([hidden]) {\n display: none;\n }\n *[part=\"preview\"] {\n width: var(--simple-fields-url-combo-preview-size, 26px);\n height: var(--simple-fields-url-combo-preview-size, 26px);\n --simple-icon-height: var(\n --simple-fields-url-combo-preview-size,\n 26px\n );\n --simple-icon-width: var(\n --simple-fields-url-combo-preview-size,\n 26px\n );\n margin-right: var(--simple-fields-button-padding, 2px);\n }\n span[part=\"preview\"] {\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n border-radius: var(--simple-fields-border-radius, 2px);\n }\n span[part=\"label\"] {\n max-width: 100%;\n flex: 1 1 auto;\n }\n span[part=\"label\"] span {\n display: block;\n line-height: 100%;\n margin: 0;\n overflow-wrap: break-word;\n word-wrap: break-word;\n }\n span[part=\"label-secondary\"] {\n font-size: var(--simple-fields-meta-font-size, 10px);\n opacity: var(--simple-fields-meta-opacity, unset);\n color: var(--simple-fields-meta-color);\n }\n "])))]; + return [(0, _index.css)(_templateObject8_5715b8701e5811ed81a80d03c17d190b || (_templateObject8_5715b8701e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n padding: var(--simple-fields-button-padding, 2px);\n font-size: var(--simple-fields-detail-font-size, 12px);\n }\n\n :host([hidden]) {\n display: none;\n }\n *[part=\"preview\"] {\n width: var(--simple-fields-url-combo-preview-size, 26px);\n height: var(--simple-fields-url-combo-preview-size, 26px);\n --simple-icon-height: var(\n --simple-fields-url-combo-preview-size,\n 26px\n );\n --simple-icon-width: var(\n --simple-fields-url-combo-preview-size,\n 26px\n );\n margin-right: var(--simple-fields-button-padding, 2px);\n }\n span[part=\"preview\"] {\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n border-radius: var(--simple-fields-border-radius, 2px);\n }\n span[part=\"label\"] {\n max-width: 100%;\n flex: 1 1 auto;\n }\n span[part=\"label\"] span {\n display: block;\n line-height: 100%;\n margin: 0;\n overflow-wrap: break-word;\n word-wrap: break-word;\n }\n span[part=\"label-secondary\"] {\n font-size: var(--simple-fields-meta-font-size, 10px);\n opacity: var(--simple-fields-meta-opacity, unset);\n color: var(--simple-fields-meta-color);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo.js index 3ef2fe2971c..0eaf8b5840c 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-fields-url-combo.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "./simpl }); _exports.SimpleFieldsUrlCombo = void 0; - var _templateObject_8e9852701da511ed9d313b9780b2ae17, _templateObject2_8e9852701da511ed9d313b9780b2ae17, _templateObject3_8e9852701da511ed9d313b9780b2ae17; + var _templateObject_5719b0101e5811ed81a80d03c17d190b, _templateObject2_5719b0101e5811ed81a80d03c17d190b, _templateObject3_5719b0101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -57,7 +57,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "./simpl }, { key: "listboxTemplate", get: function get() { - return (0, _index.html)(_templateObject_8e9852701da511ed9d313b9780b2ae17 || (_templateObject_8e9852701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n "])), babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUrlCombo.prototype), "listboxTemplate", this)); + return (0, _index.html)(_templateObject_5719b0101e5811ed81a80d03c17d190b || (_templateObject_5719b0101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n
        \n ", "\n "])), babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUrlCombo.prototype), "listboxTemplate", this)); } /** * overrides default combo list item display @@ -70,7 +70,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "./simpl }, { key: "getListItemInner", value: function getListItemInner(option) { - return (0, _index.html)(_templateObject2_8e9852701da511ed9d313b9780b2ae17 || (_templateObject2_8e9852701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n "])), option.icon, option.name, option.preview, option.type, option.value); + return (0, _index.html)(_templateObject2_5719b0101e5811ed81a80d03c17d190b || (_templateObject2_5719b0101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n "])), option.icon, option.name, option.preview, option.type, option.value); } /** * allows for more option data, such as icon, preview, and type @@ -174,7 +174,7 @@ define(["exports", "../../../lit/index.js", "./simple-fields-field.js", "./simpl }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUrlCombo), "styles", this)), [(0, _index.css)(_templateObject3_8e9852701da511ed9d313b9780b2ae17 || (_templateObject3_8e9852701da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([display-as=\"grid\"]) {\n --simple-fields-url-combo-preview-size: var(\n --simple-fields-url-combo-grid-preview-size,\n 100px\n );\n }\n ul[role=\"listbox\"] li[role=\"option\"]:not(:last-child) {\n border-bottom: 1px solid var(--simple-fields-border-color-light, #ccc);\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"] li[role=\"option\"],\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] li[role=\"option\"] {\n border-radius: var(--simple-fields-border-radius, 2px);\n border: 1px solid var(--simple-fields-border-color-light, #ccc);\n }\n :host([always-expanded]) #field-main-inner {\n flex-wrap: wrap;\n --simple-fields-combo-max-height: var(\n --simple-fields-url-combox-expanded-max-height,\n unset\n );\n }\n .input-bottom,\n :host([always-expanded]) .border-bottom:not(.input-bottom),\n :host([always-expanded]) [part=\"option-icon\"],\n :host([has-suggestions=\"false\"]) [part=\"option-icon\"] {\n display: none;\n }\n :host([always-expanded]) .input-bottom {\n display: block;\n }\n :host([always-expanded]) ul[role=\"listbox\"] {\n border: none;\n position: static;\n opacity: 1;\n flex: 1 0 100%;\n margin: var(--simple-fields-margin-small, 8px) 0;\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"] {\n grid-gap: var(--simple-fields-button-padding, 2px);\n }\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] {\n grid-gap: var(--simple-fields-margin-small, 8px);\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"],\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] {\n display: grid;\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n calc(\n var(--simple-fields-url-combo-preview-size) + 2 *\n var(--simple-fields-button-padding, 2px)\n ),\n 1fr\n )\n );\n }\n :host([display-as=\"grid\"]) simple-fields-url-combo-item,\n :host([display-as=\"grid\"]) ::slotted(simple-fields-url-combo-item) {\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: space-between;\n padding: var(--simple-fields-margin-small, 8px);\n }\n :host([display-as=\"grid\"]) simple-fields-url-combo-item::part(preview),\n :host([display-as=\"grid\"])\n ::slotted(simple-fields-url-combo-item::part(preview)) {\n display: block;\n margin-right: 0;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFieldsUrlCombo), "styles", this)), [(0, _index.css)(_templateObject3_5719b0101e5811ed81a80d03c17d190b || (_templateObject3_5719b0101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([display-as=\"grid\"]) {\n --simple-fields-url-combo-preview-size: var(\n --simple-fields-url-combo-grid-preview-size,\n 100px\n );\n }\n ul[role=\"listbox\"] li[role=\"option\"]:not(:last-child) {\n border-bottom: 1px solid var(--simple-fields-border-color-light, #ccc);\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"] li[role=\"option\"],\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] li[role=\"option\"] {\n border-radius: var(--simple-fields-border-radius, 2px);\n border: 1px solid var(--simple-fields-border-color-light, #ccc);\n }\n :host([always-expanded]) #field-main-inner {\n flex-wrap: wrap;\n --simple-fields-combo-max-height: var(\n --simple-fields-url-combox-expanded-max-height,\n unset\n );\n }\n .input-bottom,\n :host([always-expanded]) .border-bottom:not(.input-bottom),\n :host([always-expanded]) [part=\"option-icon\"],\n :host([has-suggestions=\"false\"]) [part=\"option-icon\"] {\n display: none;\n }\n :host([always-expanded]) .input-bottom {\n display: block;\n }\n :host([always-expanded]) ul[role=\"listbox\"] {\n border: none;\n position: static;\n opacity: 1;\n flex: 1 0 100%;\n margin: var(--simple-fields-margin-small, 8px) 0;\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"] {\n grid-gap: var(--simple-fields-button-padding, 2px);\n }\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] {\n grid-gap: var(--simple-fields-margin-small, 8px);\n }\n :host([display-as=\"columns\"]) ul[role=\"listbox\"],\n :host([display-as=\"grid\"]) ul[role=\"listbox\"] {\n display: grid;\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n calc(\n var(--simple-fields-url-combo-preview-size) + 2 *\n var(--simple-fields-button-padding, 2px)\n ),\n 1fr\n )\n );\n }\n :host([display-as=\"grid\"]) simple-fields-url-combo-item,\n :host([display-as=\"grid\"]) ::slotted(simple-fields-url-combo-item) {\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: space-between;\n padding: var(--simple-fields-margin-small, 8px);\n }\n :host([display-as=\"grid\"]) simple-fields-url-combo-item::part(preview),\n :host([display-as=\"grid\"])\n ::slotted(simple-fields-url-combo-item::part(preview)) {\n display: block;\n margin-right: 0;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag-lite.js index 8f5dd505cb2..4293875c9fd 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag-lite.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-b }); _exports.SimpleTagLiteSuper = _exports.SimpleTagLite = void 0; - var _templateObject_8e9bd4e01da511ed9d313b9780b2ae17, _templateObject2_8e9bd4e01da511ed9d313b9780b2ae17, _templateObject3_8e9bd4e01da511ed9d313b9780b2ae17; + var _templateObject_571c96401e5811ed81a80d03c17d190b, _templateObject2_571c96401e5811ed81a80d03c17d190b, _templateObject3_571c96401e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -46,7 +46,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-b babelHelpers.createClass(_class, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8e9bd4e01da511ed9d313b9780b2ae17 || (_templateObject_8e9bd4e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.value, !!this.readonly ? "" : (0, _index.html)(_templateObject2_8e9bd4e01da511ed9d313b9780b2ae17 || (_templateObject2_8e9bd4e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), !!this.toggles && !!this.toggled && !!this.toggledIcon ? this.toggledIcon : this.icon, this.value, !this.cancelButton, this.clickEvent, this.disabled, this.toggles, this.toggled)); + return (0, _index.html)(_templateObject_571c96401e5811ed81a80d03c17d190b || (_templateObject_571c96401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n ", "\n ", "\n "])), this.value, !!this.readonly ? "" : (0, _index.html)(_templateObject2_571c96401e5811ed81a80d03c17d190b || (_templateObject2_571c96401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), !!this.toggles && !!this.toggled && !!this.toggledIcon ? this.toggledIcon : this.icon, this.value, !this.cancelButton, this.clickEvent, this.disabled, this.toggles, this.toggled)); } }, { key: "clickEvent", @@ -115,7 +115,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-b styles = babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this); } - return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_8e9bd4e01da511ed9d313b9780b2ae17 || (_templateObject3_8e9bd4e01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n color: var(\n --simple-fields-button-color,\n var(--simple-fields-color)\n );\n background-color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n border-radius: var(--simple-fields-tag-border-radius, 4px);\n padding: var(--simple-fields-button-padding, 2px)\n calc(2 * var(--simple-fields-button-padding, 2px));\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n }\n :host([draggable=\"true\"]) {\n cursor: move;\n }\n simple-icon-button-lite {\n cursor: pointer;\n margin-left: 4px;\n --simple-icon-height: var(--simple-fields-font-size, 16px);\n --simple-icon-width: var(--simple-fields-font-size, 16px);\n }\n :host([hidden]) {\n display: none;\n }\n :host([disabled]):not([readonly]) {\n opacity: 0.5;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(styles), [(0, _index.css)(_templateObject3_571c96401e5811ed81a80d03c17d190b || (_templateObject3_571c96401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n color: var(\n --simple-fields-button-color,\n var(--simple-fields-color)\n );\n background-color: var(\n --simple-fields-button-background-color,\n var(--simple-fields-background-color)\n );\n font-size: var(--simple-fields-font-size, 16px);\n font-family: var(--simple-fields-font-family, sans-serif);\n line-height: var(--simple-fields-line-height, 22px);\n border-radius: var(--simple-fields-tag-border-radius, 4px);\n padding: var(--simple-fields-button-padding, 2px)\n calc(2 * var(--simple-fields-button-padding, 2px));\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --simple-fields-fieldset-border-color,\n var(--simple-fields-border-color-light, #ccc)\n );\n }\n :host([draggable=\"true\"]) {\n cursor: move;\n }\n simple-icon-button-lite {\n cursor: pointer;\n margin-left: 4px;\n --simple-icon-height: var(--simple-fields-font-size, 16px);\n --simple-icon-width: var(--simple-fields-font-size, 16px);\n }\n :host([hidden]) {\n display: none;\n }\n :host([disabled]):not([readonly]) {\n opacity: 0.5;\n }\n "])))]); } }]); return _class; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag.js index fd9e865d0fc..9a9a53cc522 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/lib/simple-tag.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.SimpleTag = void 0; - var _templateObject_8e9dd0b01da511ed9d313b9780b2ae17; + var _templateObject_571e92101e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -25,7 +25,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(SimpleTag, null, [{ key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleTag), "styles", this)), [_simpleFieldsUi.SimpleFieldsButtonStyles, _simpleFieldsUi.SimpleFieldsTooltipStyles, (0, _index.css)(_templateObject_8e9dd0b01da511ed9d313b9780b2ae17 || (_templateObject_8e9dd0b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-fields-button-color: var(\n --simple-colors-default-theme-accent-12,\n #222222\n );\n --simple-fields-fieldset-border-color: var(\n --simple-colors-default-theme-accent-3,\n #eeeeee\n );\n --simple-fields-button-background-color: var(\n --simple-colors-default-theme-accent-3,\n #eeeeee\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleTag), "styles", this)), [_simpleFieldsUi.SimpleFieldsButtonStyles, _simpleFieldsUi.SimpleFieldsTooltipStyles, (0, _index.css)(_templateObject_571e92101e5811ed81a80d03c17d190b || (_templateObject_571e92101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n --simple-fields-button-color: var(\n --simple-colors-default-theme-accent-12,\n #222222\n );\n --simple-fields-fieldset-border-color: var(\n --simple-colors-default-theme-accent-3,\n #eeeeee\n );\n --simple-fields-button-background-color: var(\n --simple-colors-default-theme-accent-3,\n #eeeeee\n );\n }\n "])))]); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/simple-fields.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/simple-fields.js index 48e7d7c15ec..0990ad96757 100755 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/simple-fields.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-fields/simple-fields.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "./lib/simple-fields-lite.js", "./lib/s }); _exports.SimpleFields = void 0; - var _templateObject_494a2a401da511ed9d313b9780b2ae17, _templateObject2_494a2a401da511ed9d313b9780b2ae17; + var _templateObject_1dfd7aa01e5811ed81a80d03c17d190b, _templateObject2_1dfd7aa01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -166,7 +166,7 @@ define(["exports", "../../lit/index.js", "./lib/simple-fields-lite.js", "./lib/s key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_494a2a401da511ed9d313b9780b2ae17 || (_templateObject_494a2a401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n \n
        "]))); + return (0, _index.html)(_templateObject_1dfd7aa01e5811ed81a80d03c17d190b || (_templateObject_1dfd7aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n \n
        "]))); } // haxProperty definition }, { @@ -939,7 +939,7 @@ define(["exports", "../../lit/index.js", "./lib/simple-fields-lite.js", "./lib/s key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFields), "styles", this)), [(0, _index.css)(_templateObject2_494a2a401da511ed9d313b9780b2ae17 || (_templateObject2_494a2a401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-picker-background-color: var(\n --simple-fields-background-color,\n transparent\n );\n --simple-picker-border-width: 0;\n --simple-picker-focus-border-width: 0;\n --simple-picker-display: block;\n --simple-picker-listbox-border-width: 1px;\n --simple-picker-listbox-outline: none;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleFields), "styles", this)), [(0, _index.css)(_templateObject2_1dfd7aa01e5811ed81a80d03c17d190b || (_templateObject2_1dfd7aa01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n --simple-picker-background-color: var(\n --simple-fields-background-color,\n transparent\n );\n --simple-picker-border-width: 0;\n --simple-picker-focus-border-width: 0;\n --simple-picker-display: block;\n --simple-picker-listbox-border-width: 1px;\n --simple-picker-listbox-outline: none;\n }\n\n :host([hidden]) {\n display: none;\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button-lite.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button-lite.dev.js index 99e99dca463..644aa0f0f74 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button-lite.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button-lite.dev.js @@ -76,20 +76,20 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_9fd3f1701da511ed9d313b9780b2ae17() { +function _templateObject2_643407001e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: 0;\n margin: 0;\n color: inherit;\n }\n button {\n color: inherit;\n cursor: pointer;\n opacity: var(--simple-icon-button-opacity, 1);\n border: var(--simple-icon-button-border, 0);\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: var(--simple-icon-button-padding, 0px);\n margin: 0px;\n width: 100%;\n }\n button[aria-pressed] {\n opacity: var(--simple-icon-button-toggled-opacity, 1);\n --simple-icon-button-border: var(\n --simple-icon-toggled-button-border\n );\n --simple-icon-color: var(--simple-icon-button-toggled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-toggled-background-color\n );\n }\n button:focus,\n button:hover {\n opacity: var(--simple-icon-button-focus-opacity, 0.8);\n --simple-icon-button-border: var(--simple-icon-button-focus-border);\n --simple-icon-color: var(--simple-icon-button-focus-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-focus-background-color\n );\n }\n button[disabled] {\n opacity: var(--simple-icon-button-disabled-opacity, 0.5);\n --simple-icon-button-border: var(\n --simple-icon-button-disabled-border\n );\n --simple-icon-color: var(--simple-icon-button-disabled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-disabled-background-color\n );\n cursor: not-allowed;\n }\n\n simple-icon-lite {\n color: inherit;\n height: calc(\n var(--simple-icon-height, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n width: calc(\n var(--simple-icon-width, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n }\n "]); - _templateObject2_9fd3f1701da511ed9d313b9780b2ae17 = function _templateObject2_9fd3f1701da511ed9d313b9780b2ae17() { + _templateObject2_643407001e5811ed81a80d03c17d190b = function _templateObject2_643407001e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fd3f1701da511ed9d313b9780b2ae17() { +function _templateObject_643407001e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n \n ']); - _templateObject_9fd3f1701da511ed9d313b9780b2ae17 = function _templateObject_9fd3f1701da511ed9d313b9780b2ae17() { + _templateObject_643407001e5811ed81a80d03c17d190b = function _templateObject_643407001e5811ed81a80d03c17d190b() { return data; }; @@ -237,13 +237,13 @@ var SimpleIconButtonBehaviors = function SimpleIconButtonBehaviors(SuperClass) { key: "render", // render function value: function render() { - return (0, _litElement.html)(_templateObject_9fd3f1701da511ed9d313b9780b2ae17(), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon); + return (0, _litElement.html)(_templateObject_643407001e5811ed81a80d03c17d190b(), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon); } // properties available to the custom element for data binding }], [{ key: "styles", get: function get() { - return [_get(_getPrototypeOf(_class), "styles", this) || []].concat([(0, _litElement.css)(_templateObject2_9fd3f1701da511ed9d313b9780b2ae17())]); + return [_get(_getPrototypeOf(_class), "styles", this) || []].concat([(0, _litElement.css)(_templateObject2_643407001e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button.dev.js index 43f805d4094..e43d00e2df7 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-button.dev.js @@ -78,10 +78,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9fd689801da511ed9d313b9780b2ae17() { +function _templateObject_6435b4b01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n ']); - _templateObject_9fd689801da511ed9d313b9780b2ae17 = function _templateObject_9fd689801da511ed9d313b9780b2ae17() { + _templateObject_6435b4b01e5811ed81a80d03c17d190b = function _templateObject_6435b4b01e5811ed81a80d03c17d190b() { return data; }; @@ -234,7 +234,7 @@ var SimpleIconButton = /*#__PURE__*/function (_SimpleIconButtonBeha) { _createClass(SimpleIconButton, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_9fd689801da511ed9d313b9780b2ae17(), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon, this.accentColor, this.contrast, this.dark); + return (0, _litElement.html)(_templateObject_6435b4b01e5811ed81a80d03c17d190b(), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon, this.accentColor, this.contrast, this.dark); } // properties available to the custom element for data binding }], [{ diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-lite.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-lite.dev.js index dd652f38692..233d42e0530 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-lite.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/dist/simple-icon-lite.dev.js @@ -72,30 +72,30 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject3_9fd8fa801da511ed9d313b9780b2ae17() { +function _templateObject3_643873d01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n }\n :host([hidden]) {\n display: none;\n }\n svg {\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n max-height: var(--simple-icon-height, 24px);\n max-width: var(--simple-icon-width, 24px);\n }\n feFlood {\n flood-color: var(--simple-icon-color, currentColor);\n }\n svg {\n pointer-events: none;\n }\n "]); - _templateObject3_9fd8fa801da511ed9d313b9780b2ae17 = function _templateObject3_9fd8fa801da511ed9d313b9780b2ae17() { + _templateObject3_643873d01e5811ed81a80d03c17d190b = function _templateObject3_643873d01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_9fd8fa801da511ed9d313b9780b2ae17() { +function _templateObject2_643873d01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['']); - _templateObject2_9fd8fa801da511ed9d313b9780b2ae17 = function _templateObject2_9fd8fa801da511ed9d313b9780b2ae17() { + _templateObject2_643873d01e5811ed81a80d03c17d190b = function _templateObject2_643873d01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fd8fa801da511ed9d313b9780b2ae17() { +function _templateObject_643873d01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n ', '\n \n \n \n \n ']); - _templateObject_9fd8fa801da511ed9d313b9780b2ae17 = function _templateObject_9fd8fa801da511ed9d313b9780b2ae17() { + _templateObject_643873d01e5811ed81a80d03c17d190b = function _templateObject_643873d01e5811ed81a80d03c17d190b() { return data; }; @@ -221,18 +221,18 @@ var SimpleIconBehaviors = function SimpleIconBehaviors(SuperClass) { key: "render", // render function value: function render() { - return (0, _litElement.svg)(_templateObject_9fd8fa801da511ed9d313b9780b2ae17(), this.feFlood); + return (0, _litElement.svg)(_templateObject_643873d01e5811ed81a80d03c17d190b(), this.feFlood); } }, { key: "feFlood", get: function get() { - return !this.noColorize ? (0, _litElement.svg)(_templateObject2_9fd8fa801da511ed9d313b9780b2ae17()) : ""; + return !this.noColorize ? (0, _litElement.svg)(_templateObject2_643873d01e5811ed81a80d03c17d190b()) : ""; } // properties available to the custom element for data binding }], [{ key: "styles", get: function get() { - return [_get(_getPrototypeOf(_class), "styles", this) || []].concat([(0, _litElement.css)(_templateObject3_9fd8fa801da511ed9d313b9780b2ae17())]); + return [_get(_getPrototypeOf(_class), "styles", this) || []].concat([(0, _litElement.css)(_templateObject3_643873d01e5811ed81a80d03c17d190b())]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button-lite.js index 8956bd37623..27169f72363 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button-lite.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-icons.js", "./simple-icon- }); _exports.SimpleIconButtonLite = _exports.SimpleIconButtonBehaviors = void 0; - var _templateObject_8ea153201da511ed9d313b9780b2ae17, _templateObject2_8ea153201da511ed9d313b9780b2ae17; + var _templateObject_57212a201e5811ed81a80d03c17d190b, _templateObject2_57212a201e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -47,13 +47,13 @@ define(["exports", "../../../lit/index.js", "./simple-icons.js", "./simple-icon- key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8ea153201da511ed9d313b9780b2ae17 || (_templateObject_8ea153201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon); + return (0, _index.html)(_templateObject_57212a201e5811ed81a80d03c17d190b || (_templateObject_57212a201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n \n "])), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon); } // properties available to the custom element for data binding }], [{ key: "styles", get: function get() { - return [babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this) || []].concat([(0, _index.css)(_templateObject2_8ea153201da511ed9d313b9780b2ae17 || (_templateObject2_8ea153201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n :host([icon=\"\"]) simple-icon-lite {\n display: none;\n }\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: 0;\n margin: 0;\n color: inherit;\n }\n button {\n color: inherit;\n cursor: pointer;\n opacity: var(--simple-icon-button-opacity, 1);\n border: var(--simple-icon-button-border, 0);\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: var(--simple-icon-button-padding, 0px);\n margin: 0px;\n width: 100%;\n height: 100%;\n }\n button[aria-pressed] {\n opacity: var(--simple-icon-button-toggled-opacity, 1);\n --simple-icon-button-border: var(\n --simple-icon-toggled-button-border\n );\n --simple-icon-color: var(--simple-icon-button-toggled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-toggled-background-color\n );\n }\n button:focus,\n button:hover {\n opacity: var(--simple-icon-button-focus-opacity, 0.8);\n --simple-icon-button-border: var(--simple-icon-button-focus-border);\n --simple-icon-color: var(--simple-icon-button-focus-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-focus-background-color\n );\n }\n button:disabled,\n button[disabled] {\n opacity: var(--simple-icon-button-disabled-opacity, 0.5);\n --simple-icon-button-border: var(\n --simple-icon-button-disabled-border\n );\n --simple-icon-color: var(--simple-icon-button-disabled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-disabled-background-color\n );\n cursor: not-allowed;\n }\n\n simple-icon-lite {\n color: inherit;\n height: calc(\n var(--simple-icon-height, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n width: calc(\n var(--simple-icon-width, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n }\n "])))]); + return [babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this) || []].concat([(0, _index.css)(_templateObject2_57212a201e5811ed81a80d03c17d190b || (_templateObject2_57212a201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n :host([icon=\"\"]) simple-icon-lite {\n display: none;\n }\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: 0;\n margin: 0;\n color: inherit;\n }\n button {\n color: inherit;\n cursor: pointer;\n opacity: var(--simple-icon-button-opacity, 1);\n border: var(--simple-icon-button-border, 0);\n border-radius: var(--simple-icon-button-border-radius, 50%);\n background-color: var(\n --simple-icon-button-background-color,\n transparent\n );\n padding: var(--simple-icon-button-padding, 0px);\n margin: 0px;\n width: 100%;\n height: 100%;\n }\n button[aria-pressed] {\n opacity: var(--simple-icon-button-toggled-opacity, 1);\n --simple-icon-button-border: var(\n --simple-icon-toggled-button-border\n );\n --simple-icon-color: var(--simple-icon-button-toggled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-toggled-background-color\n );\n }\n button:focus,\n button:hover {\n opacity: var(--simple-icon-button-focus-opacity, 0.8);\n --simple-icon-button-border: var(--simple-icon-button-focus-border);\n --simple-icon-color: var(--simple-icon-button-focus-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-focus-background-color\n );\n }\n button:disabled,\n button[disabled] {\n opacity: var(--simple-icon-button-disabled-opacity, 0.5);\n --simple-icon-button-border: var(\n --simple-icon-button-disabled-border\n );\n --simple-icon-color: var(--simple-icon-button-disabled-color);\n --simple-icon-button-background-color: var(\n --simple-icon-button-disabled-background-color\n );\n cursor: not-allowed;\n }\n\n simple-icon-lite {\n color: inherit;\n height: calc(\n var(--simple-icon-height, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n width: calc(\n var(--simple-icon-width, 24px) - 2 *\n var(--simple-icon-button-padding, 0px)\n );\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button.js index b70851da3e5..0141e37942c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-button.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.SimpleIconButton = void 0; - var _templateObject_8ea3eb301da511ed9d313b9780b2ae17; + var _templateObject_572374101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -40,7 +40,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j babelHelpers.createClass(SimpleIconButton, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8ea3eb301da511ed9d313b9780b2ae17 || (_templateObject_8ea3eb301da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon, this.accentColor, this.contrast, this.dark); + return (0, _index.html)(_templateObject_572374101e5811ed81a80d03c17d190b || (_templateObject_572374101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "])), this.autofocus, this.ariaLabelledby, this.toggles || this.toggled ? "true" : this.toggles ? "false" : undefined, this.controls, this.disabled, this.form, this.label, this.label, this.fieldName, this.type, this.value, this.icon, this.accentColor, this.contrast, this.dark); } // properties available to the custom element for data binding }], [{ diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-lite.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-lite.js index 53f803ecbe8..6751fee6779 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-lite.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-icon-lite.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-iconset.js"], function (_e }); _exports.SimpleIconLite = _exports.SimpleIconBehaviors = void 0; - var _templateObject_8ea87f101da511ed9d313b9780b2ae17, _templateObject2_8ea87f101da511ed9d313b9780b2ae17, _templateObject3_8ea87f101da511ed9d313b9780b2ae17, _templateObject4_8ea87f101da511ed9d313b9780b2ae17; + var _templateObject_5727b9d01e5811ed81a80d03c17d190b, _templateObject2_5727b9d01e5811ed81a80d03c17d190b, _templateObject3_5727b9d01e5811ed81a80d03c17d190b, _templateObject4_5727b9d01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -36,12 +36,12 @@ define(["exports", "../../../lit/index.js", "./simple-iconset.js"], function (_e key: "render", value: // render function function render() { - return this.useSafariPolyfill ? (0, _index.html)(_templateObject_8ea87f101da511ed9d313b9780b2ae17 || (_templateObject_8ea87f101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.safariMask, this.safariMask) : (0, _index.svg)(_templateObject2_8ea87f101da511ed9d313b9780b2ae17 || (_templateObject2_8ea87f101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n \n \n "])), this.feFlood); + return this.useSafariPolyfill ? (0, _index.html)(_templateObject_5727b9d01e5811ed81a80d03c17d190b || (_templateObject_5727b9d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n "])), this.safariMask, this.safariMask) : (0, _index.svg)(_templateObject2_5727b9d01e5811ed81a80d03c17d190b || (_templateObject2_5727b9d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n ", "\n \n \n \n \n "])), this.feFlood); } }, { key: "feFlood", get: function get() { - return !this.noColorize ? (0, _index.svg)(_templateObject3_8ea87f101da511ed9d313b9780b2ae17 || (_templateObject3_8ea87f101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))) : ""; + return !this.noColorize ? (0, _index.svg)(_templateObject3_5727b9d01e5811ed81a80d03c17d190b || (_templateObject3_5727b9d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))) : ""; } // properties available to the custom element for data binding }, { @@ -110,7 +110,7 @@ define(["exports", "../../../lit/index.js", "./simple-iconset.js"], function (_e }], [{ key: "styles", get: function get() { - return [babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this) || []].concat([(0, _index.css)(_templateObject4_8ea87f101da511ed9d313b9780b2ae17 || (_templateObject4_8ea87f101da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n color: var(--simple-icon-color, currentColor);\n }\n :host([dir=\"rtl\"]) svg {\n direction: rtl;\n }\n :host([hidden]) {\n display: none;\n }\n #svg-polyfill {\n background-color: var(--simple-icon-color, currentColor);\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n }\n svg {\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n max-height: var(--simple-icon-height, 24px);\n max-width: var(--simple-icon-width, 24px);\n filter: var(--simple-icon-color, initial);\n pointer-events: none;\n }\n feFlood {\n flood-color: var(--simple-icon-color, currentColor);\n }\n "])))]); + return [babelHelpers.get(babelHelpers.getPrototypeOf(_class), "styles", this) || []].concat([(0, _index.css)(_templateObject4_5727b9d01e5811ed81a80d03c17d190b || (_templateObject4_5727b9d01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n color: var(--simple-icon-color, currentColor);\n }\n :host([dir=\"rtl\"]) svg {\n direction: rtl;\n }\n :host([hidden]) {\n display: none;\n }\n #svg-polyfill {\n background-color: var(--simple-icon-color, currentColor);\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n }\n svg {\n height: var(--simple-icon-height, 24px);\n width: var(--simple-icon-width, 24px);\n max-height: var(--simple-icon-height, 24px);\n max-width: var(--simple-icon-width, 24px);\n filter: var(--simple-icon-color, initial);\n pointer-events: none;\n }\n feFlood {\n flood-color: var(--simple-icon-color, currentColor);\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-iconset-demo.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-iconset-demo.js index a7e7446f279..341fbb8bd26 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-iconset-demo.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/lib/simple-iconset-demo.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "./simple-icon-lite.js", "./simple-i }); _exports.SimpleIconsetDemo = void 0; - var _templateObject_8eacebe01da511ed9d313b9780b2ae17, _templateObject2_8eacebe01da511ed9d313b9780b2ae17, _templateObject3_8eacebe01da511ed9d313b9780b2ae17; + var _templateObject_572aee201e5811ed81a80d03c17d190b, _templateObject2_572aee201e5811ed81a80d03c17d190b, _templateObject3_572aee201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -47,8 +47,8 @@ define(["exports", "../../../lit/index.js", "./simple-icon-lite.js", "./simple-i value: // render function function render() { return this.iconsets.length < 1 ? "Looking for iconsets..." : this.iconsets.map(function (iconset) { - return (0, _index.html)(_templateObject_8eacebe01da511ed9d313b9780b2ae17 || (_templateObject_8eacebe01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n

        ", "

        \n
          \n ", "\n
        \n
        "])), iconset.name, iconset.icons.map(function (icon) { - return (0, _index.html)(_templateObject2_8eacebe01da511ed9d313b9780b2ae17 || (_templateObject2_8eacebe01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
      • \n
        \n \n
        \n ", "", "\n
        \n
        \n
      • \n "])), iconset.name, icon, iconset.name === "icons" ? "" : "".concat(iconset.name, ":"), icon); + return (0, _index.html)(_templateObject_572aee201e5811ed81a80d03c17d190b || (_templateObject_572aee201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n

        ", "

        \n
          \n ", "\n
        \n
        "])), iconset.name, iconset.icons.map(function (icon) { + return (0, _index.html)(_templateObject2_572aee201e5811ed81a80d03c17d190b || (_templateObject2_572aee201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
      • \n
        \n \n
        \n ", "", "\n
        \n
        \n
      • \n "])), iconset.name, icon, iconset.name === "icons" ? "" : "".concat(iconset.name, ":"), icon); })); }); } // properties available to the custom element for data binding @@ -87,7 +87,7 @@ define(["exports", "../../../lit/index.js", "./simple-icon-lite.js", "./simple-i }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject3_8eacebe01da511ed9d313b9780b2ae17 || (_templateObject3_8eacebe01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n margin-bottom: 40px;\n padding: 20px 40px;\n }\n\n ul {\n list-style-type: none;\n padding: 0;\n }\n\n li {\n display: inline-block;\n width: 160px;\n margin: 16px 8px;\n text-align: center;\n font-size: 10px;\n }\n\n simple-icon-lite {\n display: inline-block;\n }\n\n .iconset:not(:first-of-type) {\n border-top: 1px solid #ddd;\n }\n\n .iconset:nth-of-type(9n + 1) {\n color: #444444;\n }\n\n .iconset:nth-of-type(9n + 2) {\n color: #be3300;\n }\n\n .iconset:nth-of-type(9n + 3) {\n color: #0000b5;\n }\n\n .iconset:nth-of-type(9n + 4) {\n color: #750075;\n }\n\n .iconset:nth-of-type(9n + 5) {\n color: #aa5d00;\n }\n\n .iconset:nth-of-type(9n + 6) {\n color: #db0a5b;\n }\n\n .iconset:nth-of-type(9n + 7) {\n color: #005500;\n }\n\n .iconset:nth-of-type(9n + 8) {\n color: #cf000f;\n }\n\n .iconset:nth-of-type(9n) {\n color: #005f8b;\n }\n "])))]; + return [(0, _index.css)(_templateObject3_572aee201e5811ed81a80d03c17d190b || (_templateObject3_572aee201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n margin-bottom: 40px;\n padding: 20px 40px;\n }\n\n ul {\n list-style-type: none;\n padding: 0;\n }\n\n li {\n display: inline-block;\n width: 160px;\n margin: 16px 8px;\n text-align: center;\n font-size: 10px;\n }\n\n simple-icon-lite {\n display: inline-block;\n }\n\n .iconset:not(:first-of-type) {\n border-top: 1px solid #ddd;\n }\n\n .iconset:nth-of-type(9n + 1) {\n color: #444444;\n }\n\n .iconset:nth-of-type(9n + 2) {\n color: #be3300;\n }\n\n .iconset:nth-of-type(9n + 3) {\n color: #0000b5;\n }\n\n .iconset:nth-of-type(9n + 4) {\n color: #750075;\n }\n\n .iconset:nth-of-type(9n + 5) {\n color: #aa5d00;\n }\n\n .iconset:nth-of-type(9n + 6) {\n color: #db0a5b;\n }\n\n .iconset:nth-of-type(9n + 7) {\n color: #005500;\n }\n\n .iconset:nth-of-type(9n + 8) {\n color: #cf000f;\n }\n\n .iconset:nth-of-type(9n) {\n color: #005f8b;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/simple-icon.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/simple-icon.js index 4ad988e17f0..2f21b867405 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/simple-icon.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-icon/simple-icon.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.SimpleIcon = void 0; - var _templateObject_495219801da511ed9d313b9780b2ae17, _templateObject2_495219801da511ed9d313b9780b2ae17; + var _templateObject_1e1129b01e5811ed81a80d03c17d190b, _templateObject2_1e1129b01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -49,7 +49,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". babelHelpers.createClass(SimpleIcon, [{ key: "feFlood", get: function get() { - return !this.noColorize ? (0, _index.svg)(_templateObject_495219801da511ed9d313b9780b2ae17 || (_templateObject_495219801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this.contrast) : ""; + return !this.noColorize ? (0, _index.svg)(_templateObject_1e1129b01e5811ed81a80d03c17d190b || (_templateObject_1e1129b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this.contrast) : ""; } }, { key: "useSafariPolyfill", @@ -69,7 +69,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleIcon), "styles", this)), [(0, _index.css)(_templateObject2_495219801da511ed9d313b9780b2ae17 || (_templateObject2_495219801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n feFlood {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-8, #000000)\n );\n }\n feFlood.contrast-1 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-9, #000000)\n );\n }\n feFlood.contrast-2 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-10, #000000)\n );\n }\n feFlood.contrast-3 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-11, #000000)\n );\n }\n feFlood.contrast-4 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-12, #000000)\n );\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleIcon), "styles", this)), [(0, _index.css)(_templateObject2_1e1129b01e5811ed81a80d03c17d190b || (_templateObject2_1e1129b01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n feFlood {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-8, #000000)\n );\n }\n feFlood.contrast-1 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-9, #000000)\n );\n }\n feFlood.contrast-2 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-10, #000000)\n );\n }\n feFlood.contrast-3 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-11, #000000)\n );\n }\n feFlood.contrast-4 {\n flood-color: var(\n --simple-icon-color,\n var(--simple-colors-default-theme-accent-12, #000000)\n );\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/dist/simple-camera-snap.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/dist/simple-camera-snap.dev.js index 5c04c00cb93..f67f3461ec0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/dist/simple-camera-snap.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/dist/simple-camera-snap.dev.js @@ -1,5 +1,7 @@ "use strict"; +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + Object.defineProperty(exports, "__esModule", { value: true }); @@ -225,7 +227,7 @@ var SimpleCameraSnap = /*#__PURE__*/function (_HTMLElement) { key: "snapPhoto", value: function snapPhoto(e) { var camera, raw, img, selfie; - return regeneratorRuntime.async(function snapPhoto$(_context) { + return _regeneratorRuntime().async(function snapPhoto$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: @@ -237,12 +239,12 @@ var SimpleCameraSnap = /*#__PURE__*/function (_HTMLElement) { } _context.next = 4; - return regeneratorRuntime.awrap(camera.takeASnap()); + return _regeneratorRuntime().awrap(camera.takeASnap()); case 4: raw = _context.sent; _context.next = 7; - return regeneratorRuntime.awrap(camera.takeASnap().then(camera.renderImage)); + return _regeneratorRuntime().awrap(camera.takeASnap().then(camera.renderImage)); case 7: img = _context.sent; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-camera-snap.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-camera-snap.js index 766988c603c..b0f1aebefbc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-camera-snap.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-camera-snap.js @@ -11,6 +11,8 @@ define(["exports", "meta", "./simple-login-avatar.js", "./simple-login-camera.js function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } @@ -93,9 +95,9 @@ define(["exports", "meta", "./simple-login-avatar.js", "./simple-login-camera.js }, { key: "snapPhoto", value: function () { - var _snapPhoto = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) { + var _snapPhoto = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) { var camera, raw, img, selfie; - return regeneratorRuntime.wrap(function _callee$(_context) { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-login-camera.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-login-camera.js index 21385b543d0..4e89d8680fd 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-login-camera.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/lib/simple-login-camera.js @@ -15,6 +15,8 @@ define(["exports", "meta", "../../es-global-bridge/es-global-bridge.js"], functi function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && babelHelpers.instanceof(outerFn.prototype, Generator) ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == babelHelpers.typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) 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 ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 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) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(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; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(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 ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } + function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } @@ -246,15 +248,15 @@ define(["exports", "meta", "../../es-global-bridge/es-global-bridge.js"], functi }, { key: "_applyMSR", value: function () { - var _applyMSR2 = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var _applyMSR2 = babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { var _this3 = this; - return regeneratorRuntime.wrap(function _callee2$(_context2) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: - window.addEventListener("site-listing-video-activate", /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { - return regeneratorRuntime.wrap(function _callee$(_context) { + window.addEventListener("site-listing-video-activate", /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { + return _regeneratorRuntime().wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/simple-login.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/simple-login.js index 9668b07cb83..c8bcf3b632e 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/simple-login.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-login/simple-login.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.SimpleLogin = void 0; - var _templateObject_49637ea01da511ed9d313b9780b2ae17, _templateObject2_49637ea01da511ed9d313b9780b2ae17; + var _templateObject_1e1f81901e5811ed81a80d03c17d190b, _templateObject2_1e1f81901e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -52,7 +52,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_49637ea01da511ed9d313b9780b2ae17 || (_templateObject_49637ea01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n \n
        \n

        ", "

        \n

        ", "

        \n
        ", "
        \n \n \n \n \n ", "\n \n \n
        \n
        "])), !this.loading, this.title, this.subtitle, this.errorMsg, this.username, this._usernameChanged, this.loading, this.userInputLabel, this.userInputErrMsg, this.password, this._passwordChanged, this.loading, this.passwordInputLabel, this.passwordInputErrMsg, this._login, this.loading, this.loginBtnText); + return (0, _index.html)(_templateObject_1e1f81901e5811ed81a80d03c17d190b || (_templateObject_1e1f81901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n \n
        \n

        ", "

        \n

        ", "

        \n
        ", "
        \n \n \n \n \n ", "\n \n \n
        \n
        "])), !this.loading, this.title, this.subtitle, this.errorMsg, this.username, this._usernameChanged, this.loading, this.userInputLabel, this.userInputErrMsg, this.password, this._passwordChanged, this.loading, this.passwordInputLabel, this.passwordInputErrMsg, this._login, this.loading, this.loginBtnText); } // properties available to the custom element for data binding }, { @@ -132,7 +132,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleLogin), "styles", this)), [(0, _index.css)(_templateObject2_49637ea01da511ed9d313b9780b2ae17 || (_templateObject2_49637ea01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #loginform {\n width: var(--login-form-width, 450px);\n height: var(--login-form-height, auto);\n --simple-camera-snap-color: var(--login-form-color, #36bed4);\n --simple-camera-snap-error: var(--login-form-error, red);\n --simple-camera-snap-background: var(--login-form-background, white);\n --simple-camera-snap-border-radius: var(\n --login-form-image-bnorder-radius,\n 100%\n );\n box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),\n 0 4px 22px 3px rgba(0, 0, 0, 0.12),\n 0 6px 7px -4px rgba(0, 0, 0, 0.4);\n }\n\n #loginformcontent {\n padding: var(--login-form-padding, 48px);\n }\n\n #loginformcontent > * {\n margin-top: var(\n --login-form-margin-top,\n var(--login-form-margin, 8px)\n );\n margin-bottom: var(\n --login-form-margin-bottom,\n var(--login-form-margin, 8px)\n );\n }\n\n #loginbtn,\n #buttons ::slotted(button) {\n cursor: pointer;\n width: var(--login-btn-width, auto);\n margin: var(--login-btn-margin, 24px auto 0);\n display: var(--login-btn-display, inline-flex);\n }\n\n #loginbtn[disabled] {\n background-color: var(\n --login-btn-disabled-background-color,\n var(--simple-colors-default-theme-accent-12, #000000)\n );\n }\n\n h1 {\n margin: 0;\n }\n\n h2 {\n margin: 0;\n }\n\n simple-progress {\n width: 100%;\n }\n\n ::slotted(simple-login-avatar) {\n margin: 0 auto;\n }\n\n #errormsg {\n margin-top: 16px;\n color: var(--login-error-label-color, var(--error-color));\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleLogin), "styles", this)), [(0, _index.css)(_templateObject2_1e1f81901e5811ed81a80d03c17d190b || (_templateObject2_1e1f81901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n #loginform {\n width: var(--login-form-width, 450px);\n height: var(--login-form-height, auto);\n --simple-camera-snap-color: var(--login-form-color, #36bed4);\n --simple-camera-snap-error: var(--login-form-error, red);\n --simple-camera-snap-background: var(--login-form-background, white);\n --simple-camera-snap-border-radius: var(\n --login-form-image-bnorder-radius,\n 100%\n );\n box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),\n 0 4px 22px 3px rgba(0, 0, 0, 0.12),\n 0 6px 7px -4px rgba(0, 0, 0, 0.4);\n }\n\n #loginformcontent {\n padding: var(--login-form-padding, 48px);\n }\n\n #loginformcontent > * {\n margin-top: var(\n --login-form-margin-top,\n var(--login-form-margin, 8px)\n );\n margin-bottom: var(\n --login-form-margin-bottom,\n var(--login-form-margin, 8px)\n );\n }\n\n #loginbtn,\n #buttons ::slotted(button) {\n cursor: pointer;\n width: var(--login-btn-width, auto);\n margin: var(--login-btn-margin, 24px auto 0);\n display: var(--login-btn-display, inline-flex);\n }\n\n #loginbtn[disabled] {\n background-color: var(\n --login-btn-disabled-background-color,\n var(--simple-colors-default-theme-accent-12, #000000)\n );\n }\n\n h1 {\n margin: 0;\n }\n\n h2 {\n margin: 0;\n }\n\n simple-progress {\n width: 100%;\n }\n\n ::slotted(simple-login-avatar) {\n margin: 0 auto;\n }\n\n #errormsg {\n margin-top: 16px;\n color: var(--login-error-label-color, var(--error-color));\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/dist/simple-modal-template.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/dist/simple-modal-template.dev.js index 5bf7584b3df..b2571606c52 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/dist/simple-modal-template.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/dist/simple-modal-template.dev.js @@ -23,20 +23,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_9fe52f801da511ed9d313b9780b2ae17() { +function _templateObject2_646aa7601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n \n \n ']); - _templateObject2_9fe52f801da511ed9d313b9780b2ae17 = function _templateObject2_9fe52f801da511ed9d313b9780b2ae17() { + _templateObject2_646aa7601e5811ed81a80d03c17d190b = function _templateObject2_646aa7601e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_9fe52f801da511ed9d313b9780b2ae17() { +function _templateObject_646aa7601e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n display: none;\n }\n "]); - _templateObject_9fe52f801da511ed9d313b9780b2ae17 = function _templateObject_9fe52f801da511ed9d313b9780b2ae17() { + _templateObject_646aa7601e5811ed81a80d03c17d190b = function _templateObject_646aa7601e5811ed81a80d03c17d190b() { return data; }; @@ -141,7 +141,7 @@ var SimpleModalTemplate = /*#__PURE__*/function (_LitElement) { * LitElement constructable styles enhancement */ get: function get() { - return [(0, _litElement.css)(_templateObject_9fe52f801da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject_646aa7601e5811ed81a80d03c17d190b())]; } /** * Store the tag name to make it easier to obtain directly. @@ -170,7 +170,7 @@ var SimpleModalTemplate = /*#__PURE__*/function (_LitElement) { key: "render", //render function value: function render() { - return (0, _litElement.html)(_templateObject2_9fe52f801da511ed9d313b9780b2ae17()); + return (0, _litElement.html)(_templateObject2_646aa7601e5811ed81a80d03c17d190b()); } /** * sets event listeners for a specified target diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/simple-modal-template.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/simple-modal-template.js index c1ca783d283..66ae3559377 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/simple-modal-template.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/lib/simple-modal-template.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../simple-modal.js"], function (_ex }); _exports.SimpleModalTemplate = void 0; - var _templateObject_8ed0eea01da511ed9d313b9780b2ae17, _templateObject2_8ed0eea01da511ed9d313b9780b2ae17; + var _templateObject_5752e8801e5811ed81a80d03c17d190b, _templateObject2_5752e8801e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -38,7 +38,7 @@ define(["exports", "../../../lit/index.js", "../simple-modal.js"], function (_ex key: "render", value: //render function function render() { - return (0, _index.html)(_templateObject_8ed0eea01da511ed9d313b9780b2ae17 || (_templateObject_8ed0eea01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); + return (0, _index.html)(_templateObject_5752e8801e5811ed81a80d03c17d190b || (_templateObject_5752e8801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n \n "]))); } /** * sets event listeners for a specified target @@ -147,7 +147,7 @@ define(["exports", "../../../lit/index.js", "../simple-modal.js"], function (_ex * LitElement constructable styles enhancement */ function get() { - return [(0, _index.css)(_templateObject2_8ed0eea01da511ed9d313b9780b2ae17 || (_templateObject2_8ed0eea01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_5752e8801e5811ed81a80d03c17d190b || (_templateObject2_5752e8801e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n }\n "])))]; } /** * Store the tag name to make it easier to obtain directly. diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/simple-modal.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/simple-modal.js index 1000df729b1..c418e9b22b4 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/simple-modal.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-modal/simple-modal.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/lib/simple-icons.js", " }); _exports.SimpleModalStore = _exports.SimpleModalCssVars = _exports.SimpleModal = void 0; - var _templateObject_496db7d01da511ed9d313b9780b2ae17, _templateObject2_496db7d01da511ed9d313b9780b2ae17, _templateObject3_496db7d01da511ed9d313b9780b2ae17; + var _templateObject_1e265f601e5811ed81a80d03c17d190b, _templateObject2_1e265f601e5811ed81a80d03c17d190b, _templateObject3_1e265f601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -89,7 +89,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/lib/simple-icons.js", " babelHelpers.createClass(SimpleModal, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_496db7d01da511ed9d313b9780b2ae17 || (_templateObject_496db7d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n
        \n

        \n ", "\n

        \n
        \n ", "\n
        \n
        \n
        \n \n
        \n \n
        \n \n
        \n "])), this._getAriaLabel(this.title), this._getAriaLabelledby(this.title), this.opened, this.open, this.close, !this.title, this.title, !this.modal ? (0, _index.html)(_templateObject2_496db7d01da511ed9d313b9780b2ae17 || (_templateObject2_496db7d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n "])), this.closeIcon, this.close, this.closeLabel) : ""); + return (0, _index.html)(_templateObject_1e265f601e5811ed81a80d03c17d190b || (_templateObject_1e265f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n
        \n

        \n ", "\n

        \n
        \n ", "\n
        \n
        \n
        \n \n
        \n \n
        \n \n
        \n "])), this._getAriaLabel(this.title), this._getAriaLabelledby(this.title), this.opened, this.open, this.close, !this.title, this.title, !this.modal ? (0, _index.html)(_templateObject2_1e265f601e5811ed81a80d03c17d190b || (_templateObject2_1e265f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n "])), this.closeIcon, this.close, this.closeLabel) : ""); } // properties available to the custom element for data binding }, { @@ -361,7 +361,7 @@ define(["exports", "../../lit/index.js", "../simple-icon/lib/simple-icons.js", " key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject3_496db7d01da511ed9d313b9780b2ae17 || (_templateObject3_496db7d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host web-dialog ::slotted(*) {\n font-size: 14px;\n }\n\n #titlebar {\n margin-top: 0;\n padding: var(--simple-modal-titlebar-padding, 0px 16px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--simple-modal-titlebar-color, #444);\n background-color: var(--simple-modal-titlebar-background, #ddd);\n border-radius: 0;\n height: var(--simple-modal-titlebar-height, unset);\n line-height: var(--simple-modal-titlebar-line-height, unset);\n }\n\n #headerbar {\n margin: 0;\n padding: var(--simple-modal-header-padding, 0px 16px);\n color: var(--simple-modal-header-color, #222);\n background-color: var(--simple-modal-header-background, #ccc);\n }\n\n h2 {\n margin-right: 8px;\n padding: 0;\n margin: 0;\n flex: auto;\n font-size: 18px;\n line-height: 18px;\n }\n\n #close {\n top: 0;\n border: var(--simple-modal-titlebar-button-border, none);\n padding: var(--simple-modal-titlebar-button-padding, 10px 0);\n min-width: unset;\n text-transform: none;\n color: var(--simple-modal-titlebar-color, #444);\n background-color: transparent;\n }\n\n #close:focus {\n opacity: 0.7;\n outline: var(--simple-modal-titlebar-button-outline, 2px dotted grey);\n outline-offset: var(\n --simple-modal-titlebar-button-outline-offset,\n 2px\n );\n }\n\n #close simple-icon-lite {\n --simple-icon-height: var(--simple-modal-titlebar-icon-height, 16px);\n --simple-icon-width: var(--simple-modal-titlebar-icon-width, 16px);\n color: var(--simple-modal-titlebar-color, #444);\n }\n\n #simple-modal-content {\n flex-grow: 1;\n padding: var(--simple-modal-content-padding, 8px 16px);\n margin: 0;\n color: var(--simple-modal-content-container-color, #222);\n background-color: var(\n --simple-modal-content-container-background,\n #fff\n );\n }\n\n .buttons {\n padding: 0;\n padding: var(--simple-modal-buttons-padding, 0);\n margin: 0;\n color: var(--simple-modal-buttons-color, blue);\n background-color: var(--simple-modal-buttons-background, #fff);\n }\n\n .buttons ::slotted(*) {\n padding: 0;\n margin: 0;\n color: var(--simple-modal-button-color, --simple-modal-buttons-color);\n background-color: var(\n --simple-modal-button-background,\n --simple-modal-buttons-background\n );\n }\n web-dialog {\n --dialog-border-radius: var(--simple-modal-border-radius, 2px);\n z-index: var(--simple-modal-z-index, 1) !important;\n padding: 0;\n }\n web-dialog::part(dialog) {\n border: 1px solid var(--simple-modal-border-color, #222);\n min-height: var(--simple-modal-min-height, unset);\n min-width: var(--simple-modal-min-width, unset);\n z-index: var(--simple-modal-z-index, 1000);\n resize: var(--simple-modal-resize, unset);\n padding: 0;\n --dialog-height: var(--simple-modal-height, auto);\n --dialog-width: var(--simple-modal-width, 75vw);\n --dialog-max-width: var(--simple-modal-max-width, 100vw);\n --dialog-max-height: var(--simple-modal-max-height, 100vh);\n }\n web-dialog.style-scope.simple-modal {\n display: none !important;\n }\n web-dialog[open].style-scope.simple-modal {\n display: flex !important;\n position: fixed !important;\n margin: auto;\n }\n :host([resize=\"none\"]) web-dialog[open].style-scope.simple-modal,\n :host([resize=\"horizontal\"]) web-dialog[open].style-scope.simple-modal {\n top: calc(50% - var(--simple-modal-height, auto) / 2);\n }\n :host([resize=\"none\"]) web-dialog[open].style-scope.simple-modal,\n :host([resize=\"vertical\"]) web-dialog[open].style-scope.simple-modal {\n left: calc(50% - var(--simple-modal-width, 75vw) / 2);\n }\n "])))]; + return [(0, _index.css)(_templateObject3_1e265f601e5811ed81a80d03c17d190b || (_templateObject3_1e265f601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host web-dialog ::slotted(*) {\n font-size: 14px;\n }\n\n #titlebar {\n margin-top: 0;\n padding: var(--simple-modal-titlebar-padding, 0px 16px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--simple-modal-titlebar-color, #444);\n background-color: var(--simple-modal-titlebar-background, #ddd);\n border-radius: 0;\n height: var(--simple-modal-titlebar-height, unset);\n line-height: var(--simple-modal-titlebar-line-height, unset);\n }\n\n #headerbar {\n margin: 0;\n padding: var(--simple-modal-header-padding, 0px 16px);\n color: var(--simple-modal-header-color, #222);\n background-color: var(--simple-modal-header-background, #ccc);\n }\n\n h2 {\n margin-right: 8px;\n padding: 0;\n margin: 0;\n flex: auto;\n font-size: 18px;\n line-height: 18px;\n }\n\n #close {\n top: 0;\n border: var(--simple-modal-titlebar-button-border, none);\n padding: var(--simple-modal-titlebar-button-padding, 10px 0);\n min-width: unset;\n text-transform: none;\n color: var(--simple-modal-titlebar-color, #444);\n background-color: transparent;\n }\n\n #close:focus {\n opacity: 0.7;\n outline: var(--simple-modal-titlebar-button-outline, 2px dotted grey);\n outline-offset: var(\n --simple-modal-titlebar-button-outline-offset,\n 2px\n );\n }\n\n #close simple-icon-lite {\n --simple-icon-height: var(--simple-modal-titlebar-icon-height, 16px);\n --simple-icon-width: var(--simple-modal-titlebar-icon-width, 16px);\n color: var(--simple-modal-titlebar-color, #444);\n }\n\n #simple-modal-content {\n flex-grow: 1;\n padding: var(--simple-modal-content-padding, 8px 16px);\n margin: 0;\n color: var(--simple-modal-content-container-color, #222);\n background-color: var(\n --simple-modal-content-container-background,\n #fff\n );\n }\n\n .buttons {\n padding: 0;\n padding: var(--simple-modal-buttons-padding, 0);\n margin: 0;\n color: var(--simple-modal-buttons-color, blue);\n background-color: var(--simple-modal-buttons-background, #fff);\n }\n\n .buttons ::slotted(*) {\n padding: 0;\n margin: 0;\n color: var(--simple-modal-button-color, --simple-modal-buttons-color);\n background-color: var(\n --simple-modal-button-background,\n --simple-modal-buttons-background\n );\n }\n web-dialog {\n --dialog-border-radius: var(--simple-modal-border-radius, 2px);\n z-index: var(--simple-modal-z-index, 1) !important;\n padding: 0;\n }\n web-dialog::part(dialog) {\n border: 1px solid var(--simple-modal-border-color, #222);\n min-height: var(--simple-modal-min-height, unset);\n min-width: var(--simple-modal-min-width, unset);\n z-index: var(--simple-modal-z-index, 1000);\n resize: var(--simple-modal-resize, unset);\n padding: 0;\n --dialog-height: var(--simple-modal-height, auto);\n --dialog-width: var(--simple-modal-width, 75vw);\n --dialog-max-width: var(--simple-modal-max-width, 100vw);\n --dialog-max-height: var(--simple-modal-max-height, 100vh);\n }\n web-dialog.style-scope.simple-modal {\n display: none !important;\n }\n web-dialog[open].style-scope.simple-modal {\n display: flex !important;\n position: fixed !important;\n margin: auto;\n }\n :host([resize=\"none\"]) web-dialog[open].style-scope.simple-modal,\n :host([resize=\"horizontal\"]) web-dialog[open].style-scope.simple-modal {\n top: calc(50% - var(--simple-modal-height, auto) / 2);\n }\n :host([resize=\"none\"]) web-dialog[open].style-scope.simple-modal,\n :host([resize=\"vertical\"]) web-dialog[open].style-scope.simple-modal {\n left: calc(50% - var(--simple-modal-width, 75vw) / 2);\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-pages/simple-pages.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-pages/simple-pages.js index f073aa92149..c44ab78d181 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-pages/simple-pages.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-pages/simple-pages.js @@ -8,7 +8,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, meta = _interopRequireWildcard(meta); _require = _interopRequireWildcard(_require); - var _templateObject_4972e7f01da511ed9d313b9780b2ae17, _templateObject2_4972e7f01da511ed9d313b9780b2ae17; + var _templateObject_1e2a57001e5811ed81a80d03c17d190b, _templateObject2_1e2a57001e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -62,7 +62,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_4972e7f01da511ed9d313b9780b2ae17 || (_templateObject_4972e7f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n "])), this.selected, this.selectedAttribute, this._selectedChanged); + return (0, _index.html)(_templateObject_1e2a57001e5811ed81a80d03c17d190b || (_templateObject_1e2a57001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n "])), this.selected, this.selectedAttribute, this._selectedChanged); } // properties available to the custom element for data binding }, { @@ -128,7 +128,7 @@ define(["exports", "meta", "require", "../../lit/index.js"], function (_exports, key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_4972e7f01da511ed9d313b9780b2ae17 || (_templateObject2_4972e7f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n iron-pages:not(:defined) {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1e2a57001e5811ed81a80d03c17d190b || (_templateObject2_1e2a57001e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n iron-pages:not(:defined) {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-emoji-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-emoji-picker.dev.js index f4980d13c2a..908fd778dcc 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-emoji-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-emoji-picker.dev.js @@ -72,10 +72,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_9ffe83e01da511ed9d313b9780b2ae17() { +function _templateObject_647d1df01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "]); - _templateObject_9ffe83e01da511ed9d313b9780b2ae17 = function _templateObject_9ffe83e01da511ed9d313b9780b2ae17() { + _templateObject_647d1df01e5811ed81a80d03c17d190b = function _templateObject_647d1df01e5811ed81a80d03c17d190b() { return data; }; @@ -231,7 +231,7 @@ var SimpleEmojiPicker = /*#__PURE__*/function (_SimplePicker) { key: "styles", //styles function get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleEmojiPicker), "styles", this)), [(0, _litElement.css)(_templateObject_9ffe83e01da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleEmojiPicker), "styles", this)), [(0, _litElement.css)(_templateObject_647d1df01e5811ed81a80d03c17d190b())]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-symbol-picker.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-symbol-picker.dev.js index 7f077160f3b..c13cd2a8919 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-symbol-picker.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/dist/simple-symbol-picker.dev.js @@ -72,10 +72,10 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject_a00429301da511ed9d313b9780b2ae17() { +function _templateObject_6481d8e01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "]); - _templateObject_a00429301da511ed9d313b9780b2ae17 = function _templateObject_a00429301da511ed9d313b9780b2ae17() { + _templateObject_6481d8e01e5811ed81a80d03c17d190b = function _templateObject_6481d8e01e5811ed81a80d03c17d190b() { return data; }; @@ -231,7 +231,7 @@ var SimpleSymbolPicker = /*#__PURE__*/function (_SimplePicker) { key: "styles", //styles function get: function get() { - return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleSymbolPicker), "styles", this)), [(0, _litElement.css)(_templateObject_a00429301da511ed9d313b9780b2ae17())]); + return [].concat(_toConsumableArray(_get(_getPrototypeOf(SimpleSymbolPicker), "styles", this)), [(0, _litElement.css)(_templateObject_6481d8e01e5811ed81a80d03c17d190b())]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-emoji-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-emoji-picker.js index 9b33d0991fb..6aec4a400f3 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-emoji-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-emoji-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../simple-picker.js"], function (_e }); _exports.SimpleEmojiPicker = void 0; - var _templateObject_8f0d0d401da511ed9d313b9780b2ae17; + var _templateObject_577405101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -101,7 +101,7 @@ define(["exports", "../../../lit/index.js", "../simple-picker.js"], function (_e key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleEmojiPicker), "styles", this)), [(0, _index.css)(_templateObject_8f0d0d401da511ed9d313b9780b2ae17 || (_templateObject_8f0d0d401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleEmojiPicker), "styles", this)), [(0, _index.css)(_templateObject_577405101e5811ed81a80d03c17d190b || (_templateObject_577405101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "])))]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-picker-option.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-picker-option.js index f5f5d4af2a5..95ce79e6abb 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-picker-option.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-picker-option.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }); _exports.SimplePickerOption = void 0; - var _templateObject_8f108fb01da511ed9d313b9780b2ae17, _templateObject2_8f108fb01da511ed9d313b9780b2ae17, _templateObject3_8f108fb01da511ed9d313b9780b2ae17; + var _templateObject_57769d201e5811ed81a80d03c17d190b, _templateObject2_57769d201e5811ed81a80d03c17d190b, _templateObject3_57769d201e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -64,7 +64,7 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_8f108fb01da511ed9d313b9780b2ae17 || (_templateObject_8f108fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n ", "\n
        \n "])), !this.icon, this.icon, !this.titleAsHtml, this.titleAsHtml ? "" : this.label); + return (0, _index.html)(_templateObject_57769d201e5811ed81a80d03c17d190b || (_templateObject_57769d201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n ", "\n
        \n "])), !this.icon, this.icon, !this.titleAsHtml, this.titleAsHtml ? "" : this.label); } }, { key: "updated", @@ -109,13 +109,13 @@ define(["exports", "../../../lit/index.js", "../../simple-icon/lib/simple-icon-l }, { key: "_getColor", value: function _getColor() { - return (0, _index.css)(_templateObject2_8f108fb01da511ed9d313b9780b2ae17 || (_templateObject2_8f108fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["red"]))); + return (0, _index.css)(_templateObject2_57769d201e5811ed81a80d03c17d190b || (_templateObject2_57769d201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["red"]))); } }], [{ key: "styles", get: //styles function get() { - return (0, _index.css)(_templateObject3_8f108fb01da511ed9d313b9780b2ae17 || (_templateObject3_8f108fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--simple-picker-color);\n }\n :host([hidden]) {\n display: none;\n }\n div {\n margin: unset;\n padding: unset;\n }\n #label {\n padding: var(\n --simple-picker-option-label-padding,\n var(--simple-picker-option-padding, 2px 10px)\n );\n line-height: 100%;\n width: max-content;\n }\n\n :host([hide-option-labels]) #label {\n position: absolute;\n left: -999999px;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n\n simple-icon-lite {\n --simple-icon-width: var(--simple-picker-option-size, 24px);\n --simple-icon-height: var(--simple-picker-option-size, 24px);\n width: var(--simple-picker-option-size, 24px);\n min-height: var(--simple-picker-option-size, 24px);\n min-width: var(--simple-picker-option-size, 24px);\n line-height: var(--simple-picker-option-size, 24px);\n }\n "]))); + return (0, _index.css)(_templateObject3_57769d201e5811ed81a80d03c17d190b || (_templateObject3_57769d201e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--simple-picker-color);\n }\n :host([hidden]) {\n display: none;\n }\n div {\n margin: unset;\n padding: unset;\n }\n #label {\n padding: var(\n --simple-picker-option-label-padding,\n var(--simple-picker-option-padding, 2px 10px)\n );\n line-height: 100%;\n width: max-content;\n }\n\n :host([hide-option-labels]) #label {\n position: absolute;\n left: -999999px;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n\n simple-icon-lite {\n --simple-icon-width: var(--simple-picker-option-size, 24px);\n --simple-icon-height: var(--simple-picker-option-size, 24px);\n width: var(--simple-picker-option-size, 24px);\n min-height: var(--simple-picker-option-size, 24px);\n min-width: var(--simple-picker-option-size, 24px);\n line-height: var(--simple-picker-option-size, 24px);\n }\n "]))); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-symbol-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-symbol-picker.js index c5c8cd71363..dba67603ef6 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-symbol-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/lib/simple-symbol-picker.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../simple-picker.js"], function (_e }); _exports.SimpleSymbolPicker = void 0; - var _templateObject_8f2095401da511ed9d313b9780b2ae17; + var _templateObject_577d05c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -101,7 +101,7 @@ define(["exports", "../../../lit/index.js", "../simple-picker.js"], function (_e key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleSymbolPicker), "styles", this)), [(0, _index.css)(_templateObject_8f2095401da511ed9d313b9780b2ae17 || (_templateObject_8f2095401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleSymbolPicker), "styles", this)), [(0, _index.css)(_templateObject_577d05c01e5811ed81a80d03c17d190b || (_templateObject_577d05c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n simple-picker-option {\n justify-content: space-around;\n }\n #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n "])))]); } // properties available to the custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/simple-picker.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/simple-picker.js index 6c8e951e4c3..5fb82421c98 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/simple-picker.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-picker/simple-picker.js @@ -7,7 +7,7 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. _exports.SimplePickerBehaviors = _exports.SimplePicker = void 0; _require = _interopRequireWildcard(_require); - var _templateObject_497fe0401da511ed9d313b9780b2ae17, _templateObject2_497fe0401da511ed9d313b9780b2ae17, _templateObject3_497fe0401da511ed9d313b9780b2ae17, _templateObject4_497fe0401da511ed9d313b9780b2ae17, _templateObject5_497fe0401da511ed9d313b9780b2ae17, _templateObject6_497fe0401da511ed9d313b9780b2ae17, _templateObject7_497fe0401da511ed9d313b9780b2ae17; + var _templateObject_1e34b7401e5811ed81a80d03c17d190b, _templateObject2_1e34b7401e5811ed81a80d03c17d190b, _templateObject3_1e34b7401e5811ed81a80d03c17d190b, _templateObject4_1e34b7401e5811ed81a80d03c17d190b, _templateObject5_1e34b7401e5811ed81a80d03c17d190b, _templateObject6_1e34b7401e5811ed81a80d03c17d190b, _templateObject7_1e34b7401e5811ed81a80d03c17d190b; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } @@ -133,7 +133,7 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_497fe0401da511ed9d313b9780b2ae17 || (_templateObject_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n ", "\n \n \n
        \n \n \n \n
        \n
        \n
        \n ", "\n
        \n
        \n "])), !this.label || this.label.trim() === "", this.label && this.label.trim() !== "" ? this.label.trim() : "", this.__activeDesc, this.ariaLabelledby, this.disabled || !this.__options, this._handleListboxClick, this._handleListboxMousedown, this._handleListboxKeydown, this.hideOptionLabels, this.titleAsHtml, this.__selectedOption ? this.__selectedOption.icon : false, this.__selectedOption ? this.__selectedOption.alt : false, this.__selectedOption ? this.__selectedOption.style : false, (0, _cache.cache)(this.expanded && this.__options ? this._renderOptions(this.__options) : _index.nothing)); + return (0, _index.html)(_templateObject_1e34b7401e5811ed81a80d03c17d190b || (_templateObject_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n ", "\n \n \n
        \n \n \n \n
        \n
        \n
        \n ", "\n
        \n
        \n "])), !this.label || this.label.trim() === "", this.label && this.label.trim() !== "" ? this.label.trim() : "", this.__activeDesc, this.ariaLabelledby, this.disabled || !this.__options, this._handleListboxClick, this._handleListboxMousedown, this._handleListboxKeydown, this.hideOptionLabels, this.titleAsHtml, this.__selectedOption ? this.__selectedOption.icon : false, this.__selectedOption ? this.__selectedOption.alt : false, this.__selectedOption ? this.__selectedOption.style : false, (0, _cache.cache)(this.expanded && this.__options ? this._renderOptions(this.__options) : _index.nothing)); } // properties available to the custom element for data binding }, { @@ -146,8 +146,8 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. value: function _renderOptions(options) { var _this2 = this; - return (0, _index.html)(_templateObject2_497fe0401da511ed9d313b9780b2ae17 || (_templateObject2_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), (options || []).map(function (row, rownum) { - return (0, _index.html)(_templateObject3_497fe0401da511ed9d313b9780b2ae17 || (_templateObject3_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !_this2._isRowHidden(row), Array.isArray(row) ? _this2._renderRow(row, rownum) : _index.nothing); + return (0, _index.html)(_templateObject2_1e34b7401e5811ed81a80d03c17d190b || (_templateObject2_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), (options || []).map(function (row, rownum) { + return (0, _index.html)(_templateObject3_1e34b7401e5811ed81a80d03c17d190b || (_templateObject3_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n
        \n ", "\n
        \n "])), !_this2._isRowHidden(row), Array.isArray(row) ? _this2._renderRow(row, rownum) : _index.nothing); })); } }, { @@ -164,8 +164,8 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. value: function _renderRow(row, rownum) { var _this4 = this; - return (0, _index.html)(_templateObject4_497fe0401da511ed9d313b9780b2ae17 || (_templateObject4_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), (row || []).map(function (option, colnum) { - return (0, _index.html)(_templateObject5_497fe0401da511ed9d313b9780b2ae17 || (_templateObject5_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), _this4._handleOptionFocus, _this4._handleSetSelectedOption, "".concat(_this4.__activeDesc) === "option-".concat(rownum, "-").concat(colnum), _this4.hideOptionLabels, _this4.hideNull && !option.value, _this4.value === option.value, _this4.titleAsHtml, _this4.data, option.icon, rownum, colnum, option.alt, option.style, _this4.value === option.value ? "true" : "false", option.value); + return (0, _index.html)(_templateObject4_1e34b7401e5811ed81a80d03c17d190b || (_templateObject4_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), (row || []).map(function (option, colnum) { + return (0, _index.html)(_templateObject5_1e34b7401e5811ed81a80d03c17d190b || (_templateObject5_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n \n "])), _this4._handleOptionFocus, _this4._handleSetSelectedOption, "".concat(_this4.__activeDesc) === "option-".concat(rownum, "-").concat(colnum), _this4.hideOptionLabels, _this4.hideNull && !option.value, _this4.value === option.value, _this4.titleAsHtml, _this4.data, option.icon, rownum, colnum, option.alt, option.style, _this4.value === option.value ? "true" : "false", option.value); })); } }, { @@ -215,7 +215,7 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. }, { key: "_goToOption", value: function _goToOption(rownum, colnum) { - var targetId = (0, _index.html)(_templateObject6_497fe0401da511ed9d313b9780b2ae17 || (_templateObject6_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" option-", "-", " "])), rownum, colnum), + var targetId = (0, _index.html)(_templateObject6_1e34b7401e5811ed81a80d03c17d190b || (_templateObject6_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" option-", "-", " "])), rownum, colnum), target = this.shadowRoot.querySelector("#" + targetId), active = this.shadowRoot.querySelector("#" + this.__activeDesc); @@ -508,7 +508,7 @@ define(["exports", "require", "../../lit/index.js", "../../lit/directives/cache. key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject7_497fe0401da511ed9d313b9780b2ae17 || (_templateObject7_497fe0401da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: var(--simple-picker-display, inline-flex);\n align-items: center;\n color: var(--simple-picker-color, currentColor);\n font-family: var(--simple-picker-font-family, inherit);\n font-size: var(--simple-picker-font-size, inherit);\n --simple-picker-height: calc(\n var(--simple-picker-option-size, 24px) +\n var(--simple-picker-sample-padding, 2px) * 2 +\n var(--simple-picker-border-width, 1px) * 2\n );\n min-height: var(--simple-picker-height);\n max-height: var(--simple-picker-height);\n }\n\n :host([block-label]) {\n display: block;\n margin: 0 0 15px;\n max-height: unset;\n }\n\n :host([disabled]) {\n --simple-picker-color: var(--simple-picker-color-disabled, #888);\n --simple-picker-background-color: var(\n --simple-picker-background-color-disabled,\n #e8e8e8\n );\n cursor: not-allowed;\n pointer-events: none;\n }\n\n *[disabled] {\n cursor: not-allowed;\n pointer-events: none !important;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n div {\n margin: unset;\n padding: unset;\n }\n\n label:not([hidden]) {\n display: flex;\n align-items: center;\n padding-right: 5px;\n font-family: var(--simple-picker-font-family, inherit);\n color: var(\n --simple-picker-label-color,\n var(--simple-picker-color, currentColor)\n );\n }\n\n :host([block-label]) label:not([hidden]) {\n display: block;\n padding-right: 0px;\n color: var(\n --simple-picker-float-label-color,\n var(--simple-picker-color-disabled, #888)\n );\n transition: all 0.5s;\n max-height: unset;\n }\n\n :host([block-label]:focus-within) label,\n :host([block-label]:hover) label {\n color: var(\n --simple-picker-float-label-active-color,\n var(--simple-picker-color, currentColor)\n );\n transition: all 0.5s;\n }\n\n #sample,\n .rows {\n margin: 0;\n padding: 0;\n }\n\n #listbox {\n cursor: pointer;\n position: relative;\n flex: 1 0 auto;\n min-height: var(--simple-picker-height);\n max-height: var(--simple-picker-height);\n }\n\n #sample {\n display: flex;\n flex: 1 0 auto;\n justify-content: space-between;\n align-items: center;\n min-height: calc(\n var(\n --simple-picker-height - 2 *\n var(--simple-picker-sample-padding, 2px)\n ) - 2 * var(--simple-picker-border-width, 1px)\n );\n max-height: calc(\n var(\n --simple-picker-height - 2 *\n var(--simple-picker-sample-padding, 2px)\n ) - 2 * var(--simple-picker-border-width, 1px)\n );\n padding: var(--simple-picker-sample-padding, 2px);\n border-radius: var(--simple-picker-border-radius, 2px);\n color: var(--simple-picker-sample-color, currentColor);\n background-color: var(--simple-picker-background-color, #f0f0f0);\n border-width: var(--simple-picker-border-width, 1px);\n border-style: var(--simple-picker-border-style, solid);\n border-color: var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n );\n }\n\n :host([hide-sample]) #sample {\n width: var(--simple-picker-option-size);\n overflow: visible;\n }\n\n :host(:not([disabled]):focus-within) #sample {\n border-width: var(\n --simple-picker-focus-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-focus-border-style,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-focus-border-color,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n transition: all 0.5s;\n }\n\n :host(:not([disabled]):focus-within) #listbox {\n border-width: var(\n --simple-picker-listbox-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-listbox-border-width,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-listbox-border-width,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n }\n\n :host(:not([disabled])) #listbox:focus-within,\n :host(:not([disabled]):focus-within) #listbox {\n outline: var(--simple-picker-listbox-outline, unset);\n }\n\n #icon {\n width: var(--simple-picker-icon-size, 16px);\n height: var(--simple-picker-icon-size, 16px);\n --simple-icon-width: var(--simple-picker-icon-size, 16px);\n --simple-icon-height: var(--simple-picker-icon-size, 16px);\n transform: var(--simple-picker-icon-transform, rotate(0deg));\n transition: transform 0.25s;\n }\n\n :host([hide-option-labels]) #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n\n :host([expanded]) #icon {\n transform: var(\n --simple-picker-expanded-icon-transform,\n rotate(0deg)\n );\n transition: transform 0.25s;\n }\n\n #collapse {\n display: none;\n width: 100%;\n position: absolute;\n top: var(--simple-picker-options-top);\n z-index: 2;\n transition: z-index 0s;\n }\n\n :host([expanded]:not([disabled])) #collapse {\n display: block;\n position: unset;\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n }\n\n .rows {\n display: block;\n position: absolute;\n z-index: 1000;\n top: calc(\n var(--simple-picker-option-size, 24px) + 2 *\n var(--simple-picker-options-border-width)\n );\n border-width: var(\n --simple-picker-options-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-options-border-style,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-options-border-color,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n max-height: var(--simple-picker-options-max-height, 250px);\n overflow-y: auto;\n border: var(--simple-picker-options-border);\n transition: z-index 0s;\n }\n\n .rows:focus-within {\n border: var(\n --simple-picker-options-focus-border,\n var(--simple-picker-options-border)\n );\n }\n\n :host([align-right]) #collapse .rows {\n left: unset;\n right: calc(\n var(\n --simple-picker-options-border-width,\n var(--simple-picker-border-width, 1px)\n ) * 2\n );\n }\n\n :host([justify]) #collapse .rows {\n left: 0px;\n right: 0px;\n }\n\n .row {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n }\n\n simple-picker-option {\n z-index: 1;\n flex: 1 1 auto;\n justify-content: flex-start;\n max-height: unset;\n min-height: var(--simple-picker-option-size, 24px);\n min-width: var(--simple-picker-option-size, 24px);\n line-height: var(--simple-picker-option-size, 24px);\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n transition: max-height 2s;\n transition: z-index 0s;\n }\n\n simple-picker-option[selected] {\n z-index: 50;\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-option-selected-background-color,\n var(--simple-picker-options-background-color, #fff)\n );\n }\n\n simple-picker-option[active] {\n z-index: 100;\n cursor: pointer;\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-option-active-background-color,\n #aaddff\n );\n }\n\n #sample simple-picker-option {\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-sample-background-color,\n transparent\n );\n --simple-picker-option-padding: var(\n --simple-picker-sample-padding,\n 2px\n )\n 0;\n border: none;\n }\n\n :host([hide-sample]) #sample simple-picker-option {\n position: absolute;\n left: -9999px;\n overflow: hidden;\n width: 0;\n height: 0;\n }\n\n :host(:focus-within) #sample simple-picker-option,\n :host(:hover) #sample simple-picker-option {\n --simple-picker-color: var(\n --simple-picker-color-active,\n var(--simple-picker-color, currentColor)\n );\n }\n\n :host(:not([expanded])) #collapse simple-picker-option {\n max-height: 0;\n transition: max-height 1.5s;\n }\n\n @media screen and (max-width: 600px) {\n :host {\n position: static;\n }\n\n #collapse {\n top: 0;\n margin-top: 0;\n position: relative;\n }\n\n .rows {\n position: absolute;\n }\n }\n "])))]; + return [(0, _index.css)(_templateObject7_1e34b7401e5811ed81a80d03c17d190b || (_templateObject7_1e34b7401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: var(--simple-picker-display, inline-flex);\n align-items: center;\n color: var(--simple-picker-color, currentColor);\n font-family: var(--simple-picker-font-family, inherit);\n font-size: var(--simple-picker-font-size, inherit);\n --simple-picker-height: calc(\n var(--simple-picker-option-size, 24px) +\n var(--simple-picker-sample-padding, 2px) * 2 +\n var(--simple-picker-border-width, 1px) * 2\n );\n min-height: var(--simple-picker-height);\n max-height: var(--simple-picker-height);\n }\n\n :host([block-label]) {\n display: block;\n margin: 0 0 15px;\n max-height: unset;\n }\n\n :host([disabled]) {\n --simple-picker-color: var(--simple-picker-color-disabled, #888);\n --simple-picker-background-color: var(\n --simple-picker-background-color-disabled,\n #e8e8e8\n );\n cursor: not-allowed;\n pointer-events: none;\n }\n\n *[disabled] {\n cursor: not-allowed;\n pointer-events: none !important;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n div {\n margin: unset;\n padding: unset;\n }\n\n label:not([hidden]) {\n display: flex;\n align-items: center;\n padding-right: 5px;\n font-family: var(--simple-picker-font-family, inherit);\n color: var(\n --simple-picker-label-color,\n var(--simple-picker-color, currentColor)\n );\n }\n\n :host([block-label]) label:not([hidden]) {\n display: block;\n padding-right: 0px;\n color: var(\n --simple-picker-float-label-color,\n var(--simple-picker-color-disabled, #888)\n );\n transition: all 0.5s;\n max-height: unset;\n }\n\n :host([block-label]:focus-within) label,\n :host([block-label]:hover) label {\n color: var(\n --simple-picker-float-label-active-color,\n var(--simple-picker-color, currentColor)\n );\n transition: all 0.5s;\n }\n\n #sample,\n .rows {\n margin: 0;\n padding: 0;\n }\n\n #listbox {\n cursor: pointer;\n position: relative;\n flex: 1 0 auto;\n min-height: var(--simple-picker-height);\n max-height: var(--simple-picker-height);\n }\n\n #sample {\n display: flex;\n flex: 1 0 auto;\n justify-content: space-between;\n align-items: center;\n min-height: calc(\n var(\n --simple-picker-height - 2 *\n var(--simple-picker-sample-padding, 2px)\n ) - 2 * var(--simple-picker-border-width, 1px)\n );\n max-height: calc(\n var(\n --simple-picker-height - 2 *\n var(--simple-picker-sample-padding, 2px)\n ) - 2 * var(--simple-picker-border-width, 1px)\n );\n padding: var(--simple-picker-sample-padding, 2px);\n border-radius: var(--simple-picker-border-radius, 2px);\n color: var(--simple-picker-sample-color, currentColor);\n background-color: var(--simple-picker-background-color, #f0f0f0);\n border-width: var(--simple-picker-border-width, 1px);\n border-style: var(--simple-picker-border-style, solid);\n border-color: var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n );\n }\n\n :host([hide-sample]) #sample {\n width: var(--simple-picker-option-size);\n overflow: visible;\n }\n\n :host(:not([disabled]):focus-within) #sample {\n border-width: var(\n --simple-picker-focus-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-focus-border-style,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-focus-border-color,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n transition: all 0.5s;\n }\n\n :host(:not([disabled]):focus-within) #listbox {\n border-width: var(\n --simple-picker-listbox-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-listbox-border-width,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-listbox-border-width,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n }\n\n :host(:not([disabled])) #listbox:focus-within,\n :host(:not([disabled]):focus-within) #listbox {\n outline: var(--simple-picker-listbox-outline, unset);\n }\n\n #icon {\n width: var(--simple-picker-icon-size, 16px);\n height: var(--simple-picker-icon-size, 16px);\n --simple-icon-width: var(--simple-picker-icon-size, 16px);\n --simple-icon-height: var(--simple-picker-icon-size, 16px);\n transform: var(--simple-picker-icon-transform, rotate(0deg));\n transition: transform 0.25s;\n }\n\n :host([hide-option-labels]) #icon {\n margin-left: calc(-0.125 * var(--simple-picker-icon-size, 16px));\n }\n\n :host([expanded]) #icon {\n transform: var(\n --simple-picker-expanded-icon-transform,\n rotate(0deg)\n );\n transition: transform 0.25s;\n }\n\n #collapse {\n display: none;\n width: 100%;\n position: absolute;\n top: var(--simple-picker-options-top);\n z-index: 2;\n transition: z-index 0s;\n }\n\n :host([expanded]:not([disabled])) #collapse {\n display: block;\n position: unset;\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n }\n\n .rows {\n display: block;\n position: absolute;\n z-index: 1000;\n top: calc(\n var(--simple-picker-option-size, 24px) + 2 *\n var(--simple-picker-options-border-width)\n );\n border-width: var(\n --simple-picker-options-border-width,\n var(--simple-picker-border-width, 1px)\n );\n border-style: var(\n --simple-picker-options-border-style,\n var(--simple-picker-border-style, solid)\n );\n border-color: var(\n --simple-picker-options-border-color,\n var(\n --simple-picker-border-color,\n var(--simple-picker-color-disabled, #888)\n )\n );\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n max-height: var(--simple-picker-options-max-height, 250px);\n overflow-y: auto;\n border: var(--simple-picker-options-border);\n transition: z-index 0s;\n }\n\n .rows:focus-within {\n border: var(\n --simple-picker-options-focus-border,\n var(--simple-picker-options-border)\n );\n }\n\n :host([align-right]) #collapse .rows {\n left: unset;\n right: calc(\n var(\n --simple-picker-options-border-width,\n var(--simple-picker-border-width, 1px)\n ) * 2\n );\n }\n\n :host([justify]) #collapse .rows {\n left: 0px;\n right: 0px;\n }\n\n .row {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n }\n\n simple-picker-option {\n z-index: 1;\n flex: 1 1 auto;\n justify-content: flex-start;\n max-height: unset;\n min-height: var(--simple-picker-option-size, 24px);\n min-width: var(--simple-picker-option-size, 24px);\n line-height: var(--simple-picker-option-size, 24px);\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-options-background-color,\n #fff\n );\n transition: max-height 2s;\n transition: z-index 0s;\n }\n\n simple-picker-option[selected] {\n z-index: 50;\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-option-selected-background-color,\n var(--simple-picker-options-background-color, #fff)\n );\n }\n\n simple-picker-option[active] {\n z-index: 100;\n cursor: pointer;\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-option-active-background-color,\n #aaddff\n );\n }\n\n #sample simple-picker-option {\n color: var(--simple-picker-color, currentColor);\n background-color: var(\n --simple-picker-sample-background-color,\n transparent\n );\n --simple-picker-option-padding: var(\n --simple-picker-sample-padding,\n 2px\n )\n 0;\n border: none;\n }\n\n :host([hide-sample]) #sample simple-picker-option {\n position: absolute;\n left: -9999px;\n overflow: hidden;\n width: 0;\n height: 0;\n }\n\n :host(:focus-within) #sample simple-picker-option,\n :host(:hover) #sample simple-picker-option {\n --simple-picker-color: var(\n --simple-picker-color-active,\n var(--simple-picker-color, currentColor)\n );\n }\n\n :host(:not([expanded])) #collapse simple-picker-option {\n max-height: 0;\n transition: max-height 1.5s;\n }\n\n @media screen and (max-width: 600px) {\n :host {\n position: static;\n }\n\n #collapse {\n top: 0;\n margin-top: 0;\n position: relative;\n }\n\n .rows {\n position: absolute;\n }\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-popover-manager.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-popover-manager.dev.js index 126b75b746d..455d3bdfaef 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-popover-manager.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-popover-manager.dev.js @@ -23,20 +23,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_a007d2b01da511ed9d313b9780b2ae17() { +function _templateObject2_648449e01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n simple-popover {\n font-family: var(--simple-tour-font-family, unset);\n font-size: var(--simple-tour-font-size, 14px);\n max-width: var(--simple-popover-manager-max-width, 200px);\n min-width: var(--simple-popover-manager-min-width, 200px);\n display: flex;\n --simple-popover-padding: 0;\n --simple-icon-button-border: 1px solid\n var(--simple-tour-border-color, #ddd);\n --simple-icon-button-border-radius: 3px;\n }\n simple-popover[hidden] {\n display: none !important;\n }\n .heading {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n flex: 0 0 auto;\n background-color: var(\n --simple-tour-titlebar-background-color,\n #f0f4f8\n );\n border-bottom: 1px solid var(--simple-tour-border-color, #ddd);\n line-height: 130%;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n top: 0;\n }\n .body {\n flex: 1 1 auto;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n background-color: var(--simple-tour-background-color, #fff);\n }\n .nav {\n flex: 0 0 auto;\n margin: 0;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n bottom: 0;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(.title) {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n margin: 0 calc(2 * var(--simple-tour-padding-sm, 2px)) 0 0;\n line-height: 100%;\n }\n ::slotted(.subheading) {\n font-size: var(--simple-tour-subheading-font-size, 16px);\n }\n ::slotted([slot="body"]) {\n margin: var(--simple-tour-padding-sm, 2px) 0;\n }\n ::slotted(simple-icon-button-lite) {\n flex: 1 1 auto;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(simple-icon-button-lite[slot="heading"]) {\n flex: 0 0 auto;\n }\n ::slotted(simple-icon-button-lite:focus-within),\n ::slotted(simple-icon-button-lite:hover) {\n --simple-icon-button-border: 1px solid #000;\n }\n ']); - _templateObject2_a007d2b01da511ed9d313b9780b2ae17 = function _templateObject2_a007d2b01da511ed9d313b9780b2ae17() { + _templateObject2_648449e01e5811ed81a80d03c17d190b = function _templateObject2_648449e01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_a007d2b01da511ed9d313b9780b2ae17() { +function _templateObject_648449e01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n \n
        \n \n
        \n
        \n \n
        \n \n \n ']); - _templateObject_a007d2b01da511ed9d313b9780b2ae17 = function _templateObject_a007d2b01da511ed9d313b9780b2ae17() { + _templateObject_648449e01e5811ed81a80d03c17d190b = function _templateObject_648449e01e5811ed81a80d03c17d190b() { return data; }; @@ -145,7 +145,7 @@ var SimplePopoverManager = /*#__PURE__*/function (_LitElement) { _createClass(SimplePopoverManager, [{ key: "render", value: function render() { - return (0, _litElement.html)(_templateObject_a007d2b01da511ed9d313b9780b2ae17(), !this.opened, this.position); + return (0, _litElement.html)(_templateObject_648449e01e5811ed81a80d03c17d190b(), !this.opened, this.position); } }, { key: "updated", @@ -237,7 +237,7 @@ var SimplePopoverManager = /*#__PURE__*/function (_LitElement) { }], [{ key: "styles", get: function get() { - return [(0, _litElement.css)(_templateObject2_a007d2b01da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_648449e01e5811ed81a80d03c17d190b())]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-tour.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-tour.dev.js index f3b38b64c45..e749ee6a468 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-tour.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/dist/simple-tour.dev.js @@ -33,20 +33,20 @@ function _typeof(obj) { return _typeof(obj); } -function _templateObject2_a00bca501da511ed9d313b9780b2ae17() { +function _templateObject2_64892be01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["", '\n

        \n ', "\n

        \n ", "", ""]); - _templateObject2_a00bca501da511ed9d313b9780b2ae17 = function _templateObject2_a00bca501da511ed9d313b9780b2ae17() { + _templateObject2_64892be01e5811ed81a80d03c17d190b = function _templateObject2_64892be01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_a00bca501da511ed9d313b9780b2ae17() { +function _templateObject_64892be01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['

        \n ', ',\n ', "/", '\n

        \n \n \n \n \n \n Previous Item\n \n \n \n Stop Tour \n \n Next Item\n ']); - _templateObject_a00bca501da511ed9d313b9780b2ae17 = function _templateObject_a00bca501da511ed9d313b9780b2ae17() { + _templateObject_64892be01e5811ed81a80d03c17d190b = function _templateObject_64892be01e5811ed81a80d03c17d190b() { return data; }; @@ -288,7 +288,7 @@ var SimpleTour = /*#__PURE__*/function (_LitElement) { }, { key: "tourButtons", value: function tourButtons() { - return (0, _litElement.html)(_templateObject_a00bca501da511ed9d313b9780b2ae17(), this.tourInfo[this.active].name, this.stop + 1, this.stacks[this.active].length, this.stopTour.bind(this), this.prevStop.bind(this), !this.hasPrev(), this.nextStop.bind(this), !this.hasNext()); + return (0, _litElement.html)(_templateObject_64892be01e5811ed81a80d03c17d190b(), this.tourInfo[this.active].name, this.stop + 1, this.stacks[this.active].length, this.stopTour.bind(this), this.prevStop.bind(this), !this.hasPrev(), this.nextStop.bind(this), !this.hasNext()); } /** * Simple utility to do nice scrolling or only scroll if we can't see it @@ -337,7 +337,7 @@ var SimpleTour = /*#__PURE__*/function (_LitElement) { if (propName == "stop" && _this3.stop != -1 || propName == "active" && _this3.active) { (0, _render.render)(document.createElement("div"), window.SimplePopoverManager.requestAvailability()); - var content = (0, _litElement.html)(_templateObject2_a00bca501da511ed9d313b9780b2ae17(), _this3.tourButtons(), (0, _unsafeHtml.unsafeHTML)("" + _this3.stacks[_this3.active][_this3.stop].title + ""), (0, _unsafeHtml.unsafeHTML)('

        ' + _this3.stacks[_this3.active][_this3.stop].description + "

        "), _this3.tourInfo[_this3.active].style ? (0, _unsafeHtml.unsafeHTML)("") : ""); + var content = (0, _litElement.html)(_templateObject2_64892be01e5811ed81a80d03c17d190b(), _this3.tourButtons(), (0, _unsafeHtml.unsafeHTML)("" + _this3.stacks[_this3.active][_this3.stop].title + ""), (0, _unsafeHtml.unsafeHTML)('

        ' + _this3.stacks[_this3.active][_this3.stop].description + "

        "), _this3.tourInfo[_this3.active].style ? (0, _unsafeHtml.unsafeHTML)("") : ""); (0, _render.render)(content, window.SimplePopoverManager.requestAvailability()); window.SimplePopoverManager.requestAvailability().setPopover(_this3, _this3.stacks[_this3.active][_this3.stop].target, true, _this3.orientation, _this3.active); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-manager.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-manager.js index 8a03619fc15..edf554d4706 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-manager.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-manager.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../simple-popover.js"], function (_ }); _exports.SimplePopoverManager = void 0; - var _templateObject_8f28ab901da511ed9d313b9780b2ae17, _templateObject2_8f28ab901da511ed9d313b9780b2ae17; + var _templateObject_578da7901e5811ed81a80d03c17d190b, _templateObject2_578da7901e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -34,7 +34,7 @@ define(["exports", "../../../lit/index.js", "../simple-popover.js"], function (_ babelHelpers.createClass(SimplePopoverManager, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8f28ab901da511ed9d313b9780b2ae17 || (_templateObject_8f28ab901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n "])), !this.opened, this.position); + return (0, _index.html)(_templateObject_578da7901e5811ed81a80d03c17d190b || (_templateObject_578da7901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n
        \n \n
        \n
        \n \n
        \n
        \n \n
        \n \n "])), !this.opened, this.position); } }, { key: "updated", @@ -127,7 +127,7 @@ define(["exports", "../../../lit/index.js", "../simple-popover.js"], function (_ }], [{ key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8f28ab901da511ed9d313b9780b2ae17 || (_templateObject2_8f28ab901da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n simple-popover {\n font-family: var(--simple-tour-font-family, unset);\n font-size: var(--simple-tour-font-size, 14px);\n max-width: var(--simple-popover-manager-max-width, 200px);\n min-width: var(--simple-popover-manager-min-width, 200px);\n display: flex;\n --simple-popover-padding: 0;\n --simple-icon-button-border: 1px solid\n var(--simple-tour-border-color, #ddd);\n --simple-icon-button-border-radius: 3px;\n }\n simple-popover[hidden] {\n display: none !important;\n }\n .heading {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n flex: 0 0 auto;\n background-color: var(\n --simple-tour-titlebar-background-color,\n #f0f4f8\n );\n border-bottom: 1px solid var(--simple-tour-border-color, #ddd);\n line-height: 130%;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n top: 0;\n }\n .body {\n flex: 1 1 auto;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n background-color: var(--simple-tour-background-color, #fff);\n }\n .nav {\n flex: 0 0 auto;\n margin: 0;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n bottom: 0;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(.title) {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n margin: 0 calc(2 * var(--simple-tour-padding-sm, 2px)) 0 0;\n line-height: 100%;\n }\n ::slotted(.subheading) {\n font-size: var(--simple-tour-subheading-font-size, 16px);\n }\n ::slotted([slot=\"body\"]) {\n margin: var(--simple-tour-padding-sm, 2px) 0;\n }\n ::slotted(simple-icon-button-lite) {\n flex: 1 1 auto;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(simple-icon-button-lite[slot=\"heading\"]) {\n flex: 0 0 auto;\n }\n ::slotted(simple-icon-button-lite:focus-within),\n ::slotted(simple-icon-button-lite:hover) {\n --simple-icon-button-border: 1px solid #000;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_578da7901e5811ed81a80d03c17d190b || (_templateObject2_578da7901e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n simple-popover {\n font-family: var(--simple-tour-font-family, unset);\n font-size: var(--simple-tour-font-size, 14px);\n max-width: var(--simple-popover-manager-max-width, 200px);\n min-width: var(--simple-popover-manager-min-width, 200px);\n display: flex;\n --simple-popover-padding: 0;\n --simple-icon-button-border: 1px solid\n var(--simple-tour-border-color, #ddd);\n --simple-icon-button-border-radius: 3px;\n }\n simple-popover[hidden] {\n display: none !important;\n }\n .heading {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n flex: 0 0 auto;\n background-color: var(\n --simple-tour-titlebar-background-color,\n #f0f4f8\n );\n border-bottom: 1px solid var(--simple-tour-border-color, #ddd);\n line-height: 130%;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n top: 0;\n }\n .body {\n flex: 1 1 auto;\n padding: var(--simple-tour-padding-sm, 2px)\n var(--simple-tour-padding-lg, 10px);\n background-color: var(--simple-tour-background-color, #fff);\n }\n .nav {\n flex: 0 0 auto;\n margin: 0;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: sticky;\n bottom: 0;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(.title) {\n font-size: var(--simple-tour-titlebar-font-size, 14px);\n margin: 0 calc(2 * var(--simple-tour-padding-sm, 2px)) 0 0;\n line-height: 100%;\n }\n ::slotted(.subheading) {\n font-size: var(--simple-tour-subheading-font-size, 16px);\n }\n ::slotted([slot=\"body\"]) {\n margin: var(--simple-tour-padding-sm, 2px) 0;\n }\n ::slotted(simple-icon-button-lite) {\n flex: 1 1 auto;\n background-color: var(--simple-tour-background-color, #fff);\n }\n ::slotted(simple-icon-button-lite[slot=\"heading\"]) {\n flex: 0 0 auto;\n }\n ::slotted(simple-icon-button-lite:focus-within),\n ::slotted(simple-icon-button-lite:hover) {\n --simple-icon-button-border: 1px solid #000;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-selection.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-selection.js index 68024c80cb3..e4caa1353ad 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-selection.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-popover-selection.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html }); _exports.SimplePopoverSelection = void 0; - var _templateObject_8f2e02c01da511ed9d313b9780b2ae17, _templateObject2_8f2e02c01da511ed9d313b9780b2ae17, _templateObject3_8f2e02c01da511ed9d313b9780b2ae17; + var _templateObject_57908dc01e5811ed81a80d03c17d190b, _templateObject2_57908dc01e5811ed81a80d03c17d190b, _templateObject3_57908dc01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -66,9 +66,9 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html var styleData = this.querySelector('[slot="style"]').cloneNode(true); var style = document.createElement("style"); style.innerHTML = styleData.innerHTML; - content = (0, _index.html)(_templateObject_8f2e02c01da511ed9d313b9780b2ae17 || (_templateObject_8f2e02c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", "", ""])), (0, _unsafeHtml.unsafeHTML)(div.innerHTML), (0, _unsafeHtml.unsafeHTML)(style.outerHTML)); + content = (0, _index.html)(_templateObject_57908dc01e5811ed81a80d03c17d190b || (_templateObject_57908dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", "", ""])), (0, _unsafeHtml.unsafeHTML)(div.innerHTML), (0, _unsafeHtml.unsafeHTML)(style.outerHTML)); } else { - content = (0, _index.html)(_templateObject2_8f2e02c01da511ed9d313b9780b2ae17 || (_templateObject2_8f2e02c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), (0, _unsafeHtml.unsafeHTML)(div.innerHTML)); + content = (0, _index.html)(_templateObject2_57908dc01e5811ed81a80d03c17d190b || (_templateObject2_57908dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), (0, _unsafeHtml.unsafeHTML)(div.innerHTML)); } (0, _index.render)(content, window.SimplePopoverManager.requestAvailability()); // delay for render @@ -142,7 +142,7 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject3_8f2e02c01da511ed9d313b9780b2ae17 || (_templateObject3_8f2e02c01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""]))); + return (0, _index.html)(_templateObject3_57908dc01e5811ed81a80d03c17d190b || (_templateObject3_57908dc01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""]))); } }], [{ key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-tour.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-tour.js index bfca9370824..c389da6b29c 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-tour.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/lib/simple-tour.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html }); _exports.TourStop = _exports.SimpleTourManager = _exports.SimpleTour = void 0; - var _templateObject_8f346b601da511ed9d313b9780b2ae17, _templateObject2_8f346b601da511ed9d313b9780b2ae17; + var _templateObject_5796a8401e5811ed81a80d03c17d190b, _templateObject2_5796a8401e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -167,7 +167,7 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html }, { key: "tourButtons", value: function tourButtons() { - return (0, _index.html)(_templateObject_8f346b601da511ed9d313b9780b2ae17 || (_templateObject_8f346b601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["

        \n ", ",\n ", "/", "\n

        \n \n \n \n \n \n "])), this.tourInfo[this.active].name, this.stop + 1, this.stacks[this.active].length, this.stopTour.bind(this), this.prevStop.bind(this), !this.hasPrev(), this.nextStop.bind(this), !this.hasNext()); + return (0, _index.html)(_templateObject_5796a8401e5811ed81a80d03c17d190b || (_templateObject_5796a8401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["

        \n ", ",\n ", "/", "\n

        \n \n \n \n \n \n "])), this.tourInfo[this.active].name, this.stop + 1, this.stacks[this.active].length, this.stopTour.bind(this), this.prevStop.bind(this), !this.hasPrev(), this.nextStop.bind(this), !this.hasNext()); } /** * Simple utility to do nice scrolling or only scroll if we can't see it @@ -232,7 +232,7 @@ define(["exports", "../../../lit/index.js", "../../../lit/directives/unsafe-html description = el.querySelector("[data-stop-content]").innerHTML ? el.querySelector("[data-stop-content]").innerHTML : ""; } - var content = (0, _index.html)(_templateObject2_8f346b601da511ed9d313b9780b2ae17 || (_templateObject2_8f346b601da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", "\n

        \n ", "\n

        \n ", "", ""])), _this3.tourButtons(), (0, _unsafeHtml.unsafeHTML)("" + title + ""), (0, _unsafeHtml.unsafeHTML)('

        ' + description + "

        "), _this3.tourInfo[_this3.active].style ? (0, _unsafeHtml.unsafeHTML)("") : ""); + var content = (0, _index.html)(_templateObject2_5796a8401e5811ed81a80d03c17d190b || (_templateObject2_5796a8401e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", "\n

        \n ", "\n

        \n ", "", ""])), _this3.tourButtons(), (0, _unsafeHtml.unsafeHTML)("" + title + ""), (0, _unsafeHtml.unsafeHTML)('

        ' + description + "

        "), _this3.tourInfo[_this3.active].style ? (0, _unsafeHtml.unsafeHTML)("") : ""); (0, _index.render)(content, window.SimplePopoverManager.requestAvailability()); window.SimplePopoverManager.requestAvailability().setPopover(_this3, _this3.stacks[_this3.active][_this3.stop].target, true, _this3.orientation, _this3.active); diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/simple-popover.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/simple-popover.js index 837d39bcd15..a0e7f74860a 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/simple-popover.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-popover/simple-popover.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../absolute-position-behavior/absolute }); _exports.SimplePopover = void 0; - var _templateObject_498474201da511ed9d313b9780b2ae17, _templateObject2_498474201da511ed9d313b9780b2ae17; + var _templateObject_1e3776601e5811ed81a80d03c17d190b, _templateObject2_1e3776601e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -62,7 +62,7 @@ define(["exports", "../../lit/index.js", "../absolute-position-behavior/absolute key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_498474201da511ed9d313b9780b2ae17 || (_templateObject_498474201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["
        \n
        \n \n
        \n
        \n
        \n
        \n
        "])), this._getMargins(this.__positions)); + return (0, _index.html)(_templateObject_1e3776601e5811ed81a80d03c17d190b || (_templateObject_1e3776601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["
        \n
        \n \n
        \n
        \n
        \n
        \n
        "])), this._getMargins(this.__positions)); } // haxProperty definition }, { @@ -94,7 +94,7 @@ define(["exports", "../../lit/index.js", "../absolute-position-behavior/absolute key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimplePopover), "styles", this)), [(0, _index.css)(_templateObject2_498474201da511ed9d313b9780b2ae17 || (_templateObject2_498474201da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n\n :host > div {\n display: flex;\n flex-direction: column-reverse;\n justify-content: stretch;\n z-index: 1;\n }\n\n :host([position=\"left\"]) > div {\n justify-content: flex-start;\n flex-direction: row;\n }\n\n :host([position=\"right\"]) > div {\n justify-content: flex-end;\n flex-direction: row-reverse;\n }\n\n :host([position=\"top\"]) > div {\n flex-direction: column;\n }\n\n :host > div > * {\n width: 100%;\n }\n\n :host([position=\"left\"]) > div > *,\n :host([position=\"right\"]) > div > * {\n width: unset;\n }\n\n :host {\n pointer-events: none;\n }\n\n #content {\n margin: 0;\n pointer-events: all;\n padding: var(--simple-popover-padding, 10px);\n color: var(--simple-popover-color, #222);\n background-color: var(--simple-popover-background-color, white);\n border: var(\n --simple-popover-border,\n 1px solid var(--simple-popover-border-color, #bbb)\n );\n border-radius: var(--simple-popover-border-radius, 3px);\n box-shadow: var(\n --simple-popover-box-shadow,\n rgba(60, 64, 67, 0.3) 0px 4px 8px 3px\n );\n min-height: var(--simple-popover-min-height, 20px);\n max-height: var(--simple-popover-max-height, 200px);\n scroll-behavior: smooth;\n }\n\n #pointer-outer {\n margin: -1px;\n }\n\n #pointer {\n width: 20px;\n height: 20px;\n position: relative;\n overflow: hidden;\n flex: 0 0 20px;\n }\n\n #pointer:after {\n content: \"\";\n position: absolute;\n width: 10px;\n height: 10px;\n background-color: var(--simple-popover-background-color, white);\n border: 1px solid var(--simple-popover-border-color, #bbb);\n transform: rotate(45deg);\n top: 15px;\n left: 5px;\n }\n\n :host([position=\"top\"]) #pointer:after {\n top: -5px;\n left: 5px;\n }\n\n :host([position=\"right\"]) #pointer:after {\n top: 5px;\n left: 15px;\n }\n\n :host([position=\"left\"]) #pointer:after {\n top: 5px;\n left: -5px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimplePopover), "styles", this)), [(0, _index.css)(_templateObject2_1e3776601e5811ed81a80d03c17d190b || (_templateObject2_1e3776601e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host([hidden]) {\n display: none;\n }\n\n :host > div {\n display: flex;\n flex-direction: column-reverse;\n justify-content: stretch;\n z-index: 1;\n }\n\n :host([position=\"left\"]) > div {\n justify-content: flex-start;\n flex-direction: row;\n }\n\n :host([position=\"right\"]) > div {\n justify-content: flex-end;\n flex-direction: row-reverse;\n }\n\n :host([position=\"top\"]) > div {\n flex-direction: column;\n }\n\n :host > div > * {\n width: 100%;\n }\n\n :host([position=\"left\"]) > div > *,\n :host([position=\"right\"]) > div > * {\n width: unset;\n }\n\n :host {\n pointer-events: none;\n }\n\n #content {\n margin: 0;\n pointer-events: all;\n padding: var(--simple-popover-padding, 10px);\n color: var(--simple-popover-color, #222);\n background-color: var(--simple-popover-background-color, white);\n border: var(\n --simple-popover-border,\n 1px solid var(--simple-popover-border-color, #bbb)\n );\n border-radius: var(--simple-popover-border-radius, 3px);\n box-shadow: var(\n --simple-popover-box-shadow,\n rgba(60, 64, 67, 0.3) 0px 4px 8px 3px\n );\n min-height: var(--simple-popover-min-height, 20px);\n max-height: var(--simple-popover-max-height, 200px);\n scroll-behavior: smooth;\n }\n\n #pointer-outer {\n margin: -1px;\n }\n\n #pointer {\n width: 20px;\n height: 20px;\n position: relative;\n overflow: hidden;\n flex: 0 0 20px;\n }\n\n #pointer:after {\n content: \"\";\n position: absolute;\n width: 10px;\n height: 10px;\n background-color: var(--simple-popover-background-color, white);\n border: 1px solid var(--simple-popover-border-color, #bbb);\n transform: rotate(45deg);\n top: 15px;\n left: 5px;\n }\n\n :host([position=\"top\"]) #pointer:after {\n top: -5px;\n left: 5px;\n }\n\n :host([position=\"right\"]) #pointer:after {\n top: 5px;\n left: 15px;\n }\n\n :host([position=\"left\"]) #pointer:after {\n top: 5px;\n left: -5px;\n }\n "])))]); } }, { key: "haxProperties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-range-input/simple-range-input.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-range-input/simple-range-input.js index 288be0d9897..ceb2ec888b0 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-range-input/simple-range-input.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-range-input/simple-range-input.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }); _exports.SimpleRangeInput = void 0; - var _templateObject_498b51f01da511ed9d313b9780b2ae17, _templateObject2_498b51f01da511ed9d313b9780b2ae17; + var _templateObject_1e3d42c01e5811ed81a80d03c17d190b, _templateObject2_1e3d42c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -72,7 +72,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f babelHelpers.createClass(SimpleRangeInput, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_498b51f01da511ed9d313b9780b2ae17 || (_templateObject_498b51f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([""])), this._inputChanged, this._valueChanged, this.disabled, this.min, this.step, this.max, this.value, this.label, this.label); + return (0, _index.html)(_templateObject_1e3d42c01e5811ed81a80d03c17d190b || (_templateObject_1e3d42c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([""])), this._inputChanged, this._valueChanged, this.disabled, this.min, this.step, this.max, this.value, this.label, this.label); } }, { key: "_inputChanged", @@ -176,7 +176,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js"], f }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleRangeInput), "styles", this)), [(0, _index.css)(_templateObject2_498b51f01da511ed9d313b9780b2ae17 || (_templateObject2_498b51f01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: var(--simple-range-input-track-height, 10px);\n height: var(--simple-range-input-pin-height, 20px);\n }\n :host([disabled]) {\n pointer-events: none;\n }\n input[type=\"range\"] {\n -webkit-appearance: none;\n margin: 0;\n padding: 0;\n width: 100%;\n }\n input[type=\"range\"]:focus {\n outline: none;\n }\n input[type=\"range\"]::-webkit-slider-runnable-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n border: var(--simple-range-input-border, 0px solid #000000);\n }\n input[type=\"range\"]::-webkit-slider-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n -webkit-appearance: none;\n }\n input[type=\"range\"]:focus::-webkit-slider-runnable-track {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n input[type=\"range\"]::-moz-range-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n border: var(--simple-range-input-border, 0px solid #000000);\n }\n input[type=\"range\"]::-moz-range-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n }\n input[type=\"range\"]::-ms-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n border-width: var(--simple-range-input-pin-height, 20px) 0;\n color: transparent;\n }\n input[type=\"range\"]::-ms-fill-lower {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n }\n input[type=\"range\"]::-ms-fill-upper {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n }\n input[type=\"range\"]::-ms-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n }\n input[type=\"range\"]:focus::-ms-fill-lower {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n input[type=\"range\"]:focus::-ms-fill-upper {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n #label {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleRangeInput), "styles", this)), [(0, _index.css)(_templateObject2_1e3d42c01e5811ed81a80d03c17d190b || (_templateObject2_1e3d42c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: var(--simple-range-input-track-height, 10px);\n height: var(--simple-range-input-pin-height, 20px);\n }\n :host([disabled]) {\n pointer-events: none;\n }\n input[type=\"range\"] {\n -webkit-appearance: none;\n margin: 0;\n padding: 0;\n width: 100%;\n }\n input[type=\"range\"]:focus {\n outline: none;\n }\n input[type=\"range\"]::-webkit-slider-runnable-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n border: var(--simple-range-input-border, 0px solid #000000);\n }\n input[type=\"range\"]::-webkit-slider-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n -webkit-appearance: none;\n }\n input[type=\"range\"]:focus::-webkit-slider-runnable-track {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n input[type=\"range\"]::-moz-range-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n border: var(--simple-range-input-border, 0px solid #000000);\n }\n input[type=\"range\"]::-moz-range-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n }\n input[type=\"range\"]::-ms-track {\n width: 100%;\n height: var(--simple-range-input-track-height, 10px);\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n border-width: var(--simple-range-input-pin-height, 20px) 0;\n color: transparent;\n }\n input[type=\"range\"]::-ms-fill-lower {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n }\n input[type=\"range\"]::-ms-fill-upper {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n border-radius: var(--simple-range-input-track-border-radius, 2px);\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n }\n input[type=\"range\"]::-ms-thumb {\n box-shadow: var(\n --simple-range-input-box-shadow,\n 0px 0px 0px #000000,\n 0px 0px 0px #0d0d0d\n );\n border: var(--simple-range-input-border, 0px solid #000000);\n height: var(--simple-range-input-pin-height, 20px);\n width: var(\n --simple-range-input-pin-width,\n var(--simple-range-input-pin-height, 20px)\n );\n border-radius: var(--simple-range-input-border-radius, 50%);\n background: var(\n --simple-range-input-color,\n var(--simple-colors-default-theme-accent-8, grey)\n );\n cursor: pointer;\n margin: calc(\n 0.5 *\n (\n var(--simple-range-input-track-height, 10px) -\n var(--simple-range-input-pin-height, 20px)\n )\n )\n 0;\n }\n input[type=\"range\"]:focus::-ms-fill-lower {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n input[type=\"range\"]:focus::-ms-fill-upper {\n background: var(\n --simple-range-input-bg,\n var(--simple-colors-default-theme-accent-2, black)\n );\n }\n #label {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n "])))]); } }]); return SimpleRangeInput; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-content.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-content.js index 4a675a43680..f9c0a1322ce 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-content.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-content.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.SimpleSearchContent = void 0; - var _templateObject_8f379fb01da511ed9d313b9780b2ae17; + var _templateObject_579855f01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -73,7 +73,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_8f379fb01da511ed9d313b9780b2ae17 || (_templateObject_8f379fb01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_579855f01e5811ed81a80d03c17d190b || (_templateObject_579855f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }], [{ key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-match.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-match.js index 1fb4fc727e1..3f3ce2cac46 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-match.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/lib/simple-search-match.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }); _exports.SimpleSearchMatch = void 0; - var _templateObject_8f3a10b01da511ed9d313b9780b2ae17, _templateObject2_8f3a10b01da511ed9d313b9780b2ae17; + var _templateObject_579a51c01e5811ed81a80d03c17d190b, _templateObject2_579a51c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -53,7 +53,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { babelHelpers.createClass(SimpleSearchMatch, [{ key: "render", value: function render() { - return (0, _index.html)(_templateObject_8f3a10b01da511ed9d313b9780b2ae17 || (_templateObject_8f3a10b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" "]))); + return (0, _index.html)(_templateObject_579a51c01e5811ed81a80d03c17d190b || (_templateObject_579a51c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" "]))); } }], [{ key: "tag", @@ -75,7 +75,7 @@ define(["exports", "../../../lit/index.js"], function (_exports, _index) { }, { key: "styles", get: function get() { - return [(0, _index.css)(_templateObject2_8f3a10b01da511ed9d313b9780b2ae17 || (_templateObject2_8f3a10b01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin-right: 4px;\n font-family: var(--simple-search-match-font-family, unset);\n color: var(--simple-search-match-text-color, #000);\n background-color: var(--simple-search-match-bg-color, #f0f0f0);\n border: var(--simple-search-match-border, 1px solid);\n border-color: var(--simple-search-match-border-color, #ddd);\n padding: var(--simple-search-match-padding, 0.16px 0px 0.16px 4px);\n border-radius: var(--simple-search-match-border-radius, 0.16px);\n font-weight: var(--simple-search-match-font-weight, bold);\n }\n "])))]; + return [(0, _index.css)(_templateObject2_579a51c01e5811ed81a80d03c17d190b || (_templateObject2_579a51c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n margin-right: 4px;\n font-family: var(--simple-search-match-font-family, unset);\n color: var(--simple-search-match-text-color, #000);\n background-color: var(--simple-search-match-bg-color, #f0f0f0);\n border: var(--simple-search-match-border, 1px solid);\n border-color: var(--simple-search-match-border-color, #ddd);\n padding: var(--simple-search-match-padding, 0.16px 0px 0.16px 4px);\n border-radius: var(--simple-search-match-border-radius, 0.16px);\n font-weight: var(--simple-search-match-font-weight, bold);\n }\n "])))]; } }]); return SimpleSearchMatch; diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/simple-search.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/simple-search.js index 4ddb0f395cf..158f2029bb5 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/simple-search.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-search/simple-search.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-fields/lib/simple-fields-fie }); _exports.SimpleSearch = void 0; - var _templateObject_499256d01da511ed9d313b9780b2ae17, _templateObject2_499256d01da511ed9d313b9780b2ae17; + var _templateObject_1e4299f01e5811ed81a80d03c17d190b, _templateObject2_1e4299f01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -80,7 +80,7 @@ define(["exports", "../../lit/index.js", "../simple-fields/lib/simple-fields-fie key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_499256d01da511ed9d313b9780b2ae17 || (_templateObject_499256d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n
        \n ", "\n
        \n
        \n \n \n \n ", "\n \n \n \n ", "\n
        "])), this.searchInputLabel, this.inline || this.noLabelFloat, this._handleChange, this.searchInputIcon, this.inline ? "label-prefix" : "prefix", this._hasNoSearch(this.searchTerms), this._getResultsSpan(this.resultPointer, this.resultCount), this._hasNoSearch(this.searchTerms), this.prevButtonLabel, this.controls, this.__hidePrev, this._navigateResults, this.prevButtonIcon, this.prevButtonLabel, this.nextButtonLabel, this.controls, this.__hideNext, this._navigateResults, this.nextButtonIcon, this.nextButtonLabel); + return (0, _index.html)(_templateObject_1e4299f01e5811ed81a80d03c17d190b || (_templateObject_1e4299f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n
        \n ", "\n
        \n
        \n \n \n \n ", "\n \n \n \n ", "\n
        "])), this.searchInputLabel, this.inline || this.noLabelFloat, this._handleChange, this.searchInputIcon, this.inline ? "label-prefix" : "prefix", this._hasNoSearch(this.searchTerms), this._getResultsSpan(this.resultPointer, this.resultCount), this._hasNoSearch(this.searchTerms), this.prevButtonLabel, this.controls, this.__hidePrev, this._navigateResults, this.prevButtonIcon, this.prevButtonLabel, this.nextButtonLabel, this.controls, this.__hideNext, this._navigateResults, this.nextButtonIcon, this.nextButtonLabel); } // properties available to the custom element for data binding }, { @@ -284,7 +284,7 @@ define(["exports", "../../lit/index.js", "../simple-fields/lib/simple-fields-fie key: "styles", get: //styles function function get() { - return [(0, _index.css)(_templateObject2_499256d01da511ed9d313b9780b2ae17 || (_templateObject2_499256d01da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n background-color: var(\n --simple-search-input-background-color,\n transparent\n );\n }\n\n #input {\n flex-grow: 2;\n margin-right: 4px;\n padding: var(--simple-search-padding, unset);\n margin: var(--simple-search-margin, unset);\n color: var(--simple-search-input-text-color, #000);\n --simple-fields-color: var(--simple-search-input-text-color, #000);\n --simple-fields-container-color: var(\n --simple-search-input-placeholder-color,\n #222\n );\n --simple-fields-background-color: var(\n --simple-fields-input-background-color,\n transparent\n );\n --simple-icon-color: var(\n --simple-search-input-placeholder-color,\n #222\n );\n }\n\n #xofy {\n margin: 8px;\n }\n\n button {\n margin: 8px 0 8px;\n border-style: solid;\n border-width: 1px;\n border-color: var(--simple-search-button-border-color, #ccc);\n color: var(--simple-search-button-color, #111);\n background-color: var(--simple-search-button-bg-color, #eee);\n border-color: var(--simple-search-button-border-color, #ccc);\n }\n\n button:not([disabled]):focus,\n button:not([disabled]):hover {\n cursor: pointer;\n color: var(--simple-search-button-hover-color, #000);\n background-color: var(--simple-search-button-hover-bg-color, #fff);\n border-color: var(--simple-search-button-hover-border-color, #ddd);\n }\n\n button[disabled] {\n cursor: not-allowed;\n color: var(--simple-search-button-disabled-color, #999);\n background-color: var(--simple-search-button-disabled-bg-color, #eee);\n border-color: var(--simple-search-button-disabled-border-color, #ccc);\n }\n\n button:not([controls]) {\n display: none;\n }\n\n #searchnav {\n flex: 1 0 auto;\n }\n\n #searchnav button {\n display: inline;\n flex: 1 0 auto;\n }\n\n *[shrink-hide] {\n display: none;\n }\n "])))]; + return [(0, _index.css)(_templateObject2_1e4299f01e5811ed81a80d03c17d190b || (_templateObject2_1e4299f01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n background-color: var(\n --simple-search-input-background-color,\n transparent\n );\n }\n\n #input {\n flex-grow: 2;\n margin-right: 4px;\n padding: var(--simple-search-padding, unset);\n margin: var(--simple-search-margin, unset);\n color: var(--simple-search-input-text-color, #000);\n --simple-fields-color: var(--simple-search-input-text-color, #000);\n --simple-fields-container-color: var(\n --simple-search-input-placeholder-color,\n #222\n );\n --simple-fields-background-color: var(\n --simple-fields-input-background-color,\n transparent\n );\n --simple-icon-color: var(\n --simple-search-input-placeholder-color,\n #222\n );\n }\n\n #xofy {\n margin: 8px;\n }\n\n button {\n margin: 8px 0 8px;\n border-style: solid;\n border-width: 1px;\n border-color: var(--simple-search-button-border-color, #ccc);\n color: var(--simple-search-button-color, #111);\n background-color: var(--simple-search-button-bg-color, #eee);\n border-color: var(--simple-search-button-border-color, #ccc);\n }\n\n button:not([disabled]):focus,\n button:not([disabled]):hover {\n cursor: pointer;\n color: var(--simple-search-button-hover-color, #000);\n background-color: var(--simple-search-button-hover-bg-color, #fff);\n border-color: var(--simple-search-button-hover-border-color, #ddd);\n }\n\n button[disabled] {\n cursor: not-allowed;\n color: var(--simple-search-button-disabled-color, #999);\n background-color: var(--simple-search-button-disabled-bg-color, #eee);\n border-color: var(--simple-search-button-disabled-border-color, #ccc);\n }\n\n button:not([controls]) {\n display: none;\n }\n\n #searchnav {\n flex: 1 0 auto;\n }\n\n #searchnav button {\n display: inline;\n flex: 1 0 auto;\n }\n\n *[shrink-hide] {\n display: none;\n }\n "])))]; } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-timer/simple-timer.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-timer/simple-timer.js index 5d1a8984ae3..53fb7c8fa5b 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-timer/simple-timer.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-timer/simple-timer.js @@ -6,7 +6,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }); _exports.SimpleTimer = void 0; - var _templateObject_4998e6801da511ed9d313b9780b2ae17; + var _templateObject_1e44e3e01e5811ed81a80d03c17d190b; function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; } @@ -106,7 +106,7 @@ define(["exports", "../../@polymer/polymer/polymer-element.js"], function (_expo }], [{ key: "template", get: function get() { - return (0, _polymerElement.html)(_templateObject_4998e6801da511ed9d313b9780b2ae17 || (_templateObject_4998e6801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n \n [[_formattedTime]]\n "]))); + return (0, _polymerElement.html)(_templateObject_1e44e3e01e5811ed81a80d03c17d190b || (_templateObject_1e44e3e01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n \n [[_formattedTime]]\n "]))); } }, { key: "tag", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/lib/simple-toast-el.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/lib/simple-toast-el.js index 921eea82780..2815f7aba8d 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/lib/simple-toast-el.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/lib/simple-toast-el.js @@ -6,7 +6,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }); _exports.SimpleToastEl = void 0; - var _templateObject_8f3e7d801da511ed9d313b9780b2ae17, _templateObject2_8f3e7d801da511ed9d313b9780b2ae17; + var _templateObject_579d86101e5811ed81a80d03c17d190b, _templateObject2_579d86101e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -69,7 +69,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "render", value: function render() { - return (0, _index.html)(_templateObject_8f3e7d801da511ed9d313b9780b2ae17 || (_templateObject_8f3e7d801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["", ""])), this.text); + return (0, _index.html)(_templateObject_579d86101e5811ed81a80d03c17d190b || (_templateObject_579d86101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["", ""])), this.text); } // To read out loud the toast }, { @@ -101,7 +101,7 @@ define(["exports", "../../../lit/index.js", "../../simple-colors/simple-colors.j }, { key: "styles", get: function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleToastEl), "styles", this)), [(0, _index.css)(_templateObject2_8f3e7d801da511ed9d313b9780b2ae17 || (_templateObject2_8f3e7d801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n justify-content: center;\n position: fixed;\n min-width: 100px;\n text-align: center;\n color: var(--simple-colors-default-theme-accent-1, white);\n background-color: var(--simple-colors-default-theme-accent-12, black);\n border-radius: var(--simple-toast-border-radius, 2px);\n border: var(--simple-toast-border, none);\n font-size: var(--simple-toast-font-size, 1em);\n font-family: var(--simple-toast-font-family, sans-serif);\n }\n :host(.show) {\n display: flex;\n }\n @-webkit-keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n }\n @keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n }\n @-webkit-keyframes fadeout {\n from {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n }\n @keyframes fadeout {\n from {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleToastEl), "styles", this)), [(0, _index.css)(_templateObject2_579d86101e5811ed81a80d03c17d190b || (_templateObject2_579d86101e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: none;\n justify-content: center;\n position: fixed;\n min-width: 100px;\n text-align: center;\n color: var(--simple-colors-default-theme-accent-1, white);\n background-color: var(--simple-colors-default-theme-accent-12, black);\n border-radius: var(--simple-toast-border-radius, 2px);\n border: var(--simple-toast-border, none);\n font-size: var(--simple-toast-font-size, 1em);\n font-family: var(--simple-toast-font-family, sans-serif);\n }\n :host(.show) {\n display: flex;\n }\n @-webkit-keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n }\n @keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n to {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n }\n @-webkit-keyframes fadeout {\n from {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n }\n @keyframes fadeout {\n from {\n bottom: var(--simple-toast-bottom, 40px);\n opacity: 1;\n }\n to {\n bottom: 0;\n opacity: 0;\n }\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/simple-toast.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/simple-toast.js index 86b12858e4c..dc6dbf34030 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/simple-toast.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toast/simple-toast.js @@ -6,7 +6,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". }); _exports.SimpleToastStore = _exports.SimpleToast = void 0; - var _templateObject_499dc8801da511ed9d313b9780b2ae17, _templateObject2_499dc8801da511ed9d313b9780b2ae17; + var _templateObject_1e4977c01e5811ed81a80d03c17d190b, _templateObject2_1e4977c01e5811ed81a80d03c17d190b; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -64,7 +64,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "render", value: // render function function render() { - return (0, _index.html)(_templateObject_499dc8801da511ed9d313b9780b2ae17 || (_templateObject_499dc8801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), this.accentColor, this.dark, this.text, this.duration, this.opened, this.openedChanged, this.classStyle, !this.closeButton, this.hide, this.closeText); + return (0, _index.html)(_templateObject_1e4977c01e5811ed81a80d03c17d190b || (_templateObject_1e4977c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral([" \n \n \n "])), this.accentColor, this.dark, this.text, this.duration, this.opened, this.openedChanged, this.classStyle, !this.closeButton, this.hide, this.closeText); } // properties available to the custom element for data binding }, { @@ -188,7 +188,7 @@ define(["exports", "../../lit/index.js", "../simple-colors/simple-colors.js", ". key: "styles", get: //styles function function get() { - return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleToast), "styles", this)), [(0, _index.css)(_templateObject2_499dc8801da511ed9d313b9780b2ae17 || (_templateObject2_499dc8801da511ed9d313b9780b2ae17 = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n simple-toast-el {\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n width: var(--simple-toast-width, auto);\n color: var(\n --simple-toast-color,\n var(--simple-colors-default-theme-accent-1, white)\n );\n background-color: var(\n --simple-toast-bg,\n var(--simple-colors-default-theme-accent-12, black)\n );\n top: var(--simple-toast-top);\n margin: var(--simple-toast-margin, 8px);\n padding: var(--simple-toast-padding, 16px);\n left: var(--simple-toast-left, 36px);\n bottom: var(--simple-toast-bottom, 36px);\n right: var(--simple-toast-right);\n border: var(--simple-toast-border);\n z-index: var(--simple-toast-z-index, 1000);\n font-size: var(--simple-toast-font-size);\n }\n\n button {\n margin-left: 8px;\n }\n "])))]); + return [].concat(babelHelpers.toConsumableArray(babelHelpers.get(babelHelpers.getPrototypeOf(SimpleToast), "styles", this)), [(0, _index.css)(_templateObject2_1e4977c01e5811ed81a80d03c17d190b || (_templateObject2_1e4977c01e5811ed81a80d03c17d190b = babelHelpers.taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n simple-toast-el {\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n width: var(--simple-toast-width, auto);\n color: var(\n --simple-toast-color,\n var(--simple-colors-default-theme-accent-1, white)\n );\n background-color: var(\n --simple-toast-bg,\n var(--simple-colors-default-theme-accent-12, black)\n );\n top: var(--simple-toast-top);\n margin: var(--simple-toast-margin, 8px);\n padding: var(--simple-toast-padding, 16px);\n left: var(--simple-toast-left, 36px);\n bottom: var(--simple-toast-bottom, 36px);\n right: var(--simple-toast-right);\n border: var(--simple-toast-border);\n z-index: var(--simple-toast-z-index, 1000);\n font-size: var(--simple-toast-font-size);\n }\n\n button {\n margin-left: 8px;\n }\n "])))]); } }, { key: "properties", diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-button-grid.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-button-grid.dev.js index dad2d352416..eb7f8fb6f3f 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-button-grid.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-button-grid.dev.js @@ -72,20 +72,20 @@ function _defineProperty(obj, key, value) { return obj; } -function _templateObject2_a00f25b01da511ed9d313b9780b2ae17() { +function _templateObject2_648b4ec01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n :host {\n padding: 0;\n margin: 0;\n max-width: 100%;\n display: flex;\n overflow: hidden;\n flex-direction: column;\n align-items: stretch;\n overflow: hidden !important;\n --simple-button-grid-cols: var(\n --simple-toolbar-button-min-width,\n var(\n --simple-toolbar-button-width,\n var(--simple-toolbar-button-height, 24px)\n )\n );\n transition: all 0.5s;\n }\n :host([hidden]) {\n z-index: -1;\n visibility: hidden;\n opacity: 0;\n height: 0;\n }\n #grid {\n flex: 1 1 auto;\n max-width: 100%;\n overflow: auto;\n }\n\n #buttons {\n flex: 0 1 100%;\n max-width: 100%;\n display: flex;\n flex-wrap: wrap;\n --simple-toolbar-button-flex: var(\n --simple-toolbar-button-grid-flex,\n 1 1 100%\n );\n }\n #buttons {\n display: grid;\n overflow: visible;\n grid-gap: var(--simple-button-grid-margin, 4px);\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n calc(\n var(--simple-button-grid-cols) - 2 *\n var(--simple-button-grid-margin, 4px)\n ),\n 1fr\n )\n );\n }\n :host([collapsed]:not([always-expanded]))\n ::slotted(*[collapse-hide]) {\n display: none !important;\n }\n "]); - _templateObject2_a00f25b01da511ed9d313b9780b2ae17 = function _templateObject2_a00f25b01da511ed9d313b9780b2ae17() { + _templateObject2_648b4ec01e5811ed81a80d03c17d190b = function _templateObject2_648b4ec01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject_a00f25b01da511ed9d313b9780b2ae17() { +function _templateObject_648b4ec01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n
        \n \n \n ', "\n
        \n \n "]); - _templateObject_a00f25b01da511ed9d313b9780b2ae17 = function _templateObject_a00f25b01da511ed9d313b9780b2ae17() { + _templateObject_648b4ec01e5811ed81a80d03c17d190b = function _templateObject_648b4ec01e5811ed81a80d03c17d190b() { return data; }; @@ -306,12 +306,12 @@ var SimpleButtonGridBehaviors = function SimpleButtonGridBehaviors(SuperClass) { }, { key: "toolbarTemplate", get: function get() { - return (0, _litElement.html)(_templateObject_a00f25b01da511ed9d313b9780b2ae17(), !this.alwaysExpanded && this.collapsed ? "collapsed" : "", this.gridStyles, this.alwaysExpanded ? "" : this.moreButton); + return (0, _litElement.html)(_templateObject_648b4ec01e5811ed81a80d03c17d190b(), !this.alwaysExpanded && this.collapsed ? "collapsed" : "", this.gridStyles, this.alwaysExpanded ? "" : this.moreButton); } }], [{ key: "baseStyles", get: function get() { - return [(0, _litElement.css)(_templateObject2_a00f25b01da511ed9d313b9780b2ae17())]; + return [(0, _litElement.css)(_templateObject2_648b4ec01e5811ed81a80d03c17d190b())]; } // properties available to custom element for data binding }, { diff --git a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-toolbar-button.dev.js b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-toolbar-button.dev.js index 8ab50d376ec..9c8f546e180 100644 --- a/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-toolbar-button.dev.js +++ b/build/es5-amd/node_modules/@lrnwebcomponents/simple-toolbar/lib/dist/simple-toolbar-button.dev.js @@ -49,120 +49,120 @@ function _arrayWithoutHoles(arr) { } } -function _templateObject12_a02175301da511ed9d313b9780b2ae17() { +function _templateObject12_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n button[part="button"] {\n color: var(--simple-toolbar-button-color);\n border-color: var(\n --simple-toolbar-button-border-color,\n var(--simple-toolbar-border-color, transparent)\n );\n background-color: var(--simple-toolbar-button-bg, transparent);\n opacity: var(--simple-toolbar-button-opacity, 1);\n border-width: var(\n --simple-toolbar-button-border-width,\n var(--simple-toolbar-border-width, 1px)\n );\n border-radius: var(--simple-toolbar-border-radius, 3px);\n border-style: solid;\n text-transform: unset;\n }\n button[part="button"][aria-pressed="true"] {\n color: var(--simple-toolbar-button-toggled-color);\n border-color: var(--simple-toolbar-button-toggled-border-color);\n background-color: var(--simple-toolbar-button-toggled-bg);\n opacity: var(--simple-toolbar-button-toggled-opacity, 0.8);\n }\n button[part="button"]:focus,\n button[part="button"]:hover {\n color: var(--simple-toolbar-button-hover-color);\n background-color: var(--simple-toolbar-button-hover-bg);\n border-color: var(--simple-toolbar-button-hover-border-color);\n opacity: var(--simple-toolbar-button-hover-opacity, 0.8);\n }\n button[part="button"][disabled] {\n cursor: not-allowed;\n color: var(--simple-toolbar-button-disabled-color, unset);\n background-color: var(--simple-toolbar-button-disabled-bg, unset);\n border-color: var(\n --simple-toolbar-button-disabled-border-color,\n unset\n );\n opacity: var(--simple-toolbar-button-disabled-opacity, 0.5);\n }\n ']); - _templateObject12_a02175301da511ed9d313b9780b2ae17 = function _templateObject12_a02175301da511ed9d313b9780b2ae17() { + _templateObject12_648fe2a01e5811ed81a80d03c17d190b = function _templateObject12_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject11_a02175301da511ed9d313b9780b2ae17() { +function _templateObject11_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n font-family: sans-serif;\n font-size: 13px;\n flex: 0 1 auto;\n min-width: var(\n --simple-toolbar-button-min-width,\n var(\n --simple-toolbar-button-width,\n var(--simple-toolbar-button-height, 24px)\n )\n );\n z-index: 1;\n }\n :host(:hover),\n :host(:focus), \n :host(:focus-within) {\n z-index: 2;\n }\n button[part="button"] {\n font-family: inherit;\n font-size: inherit;\n min-width: var(\n --simple-toolbar-button-min-width,\n var(\n --simple-toolbar-button-width,\n var(--simple-toolbar-button-height, 24px)\n )\n );\n min-height: var(--simple-toolbar-button-height, 24px);\n padding: var(--simple-toolbar-button-padding, 1px);\n flex: var(--simple-toolbar-button-flex, 0 0 auto);\n transition: all 0.5s;\n align-items: var(--simple-toolbar-button-align, center);\n justify-content: var(--simple-toolbar-button-justify, center);\n }\n\n :host([icon-position="top"]) button[part="button"] {\n flex-direction: column;\n }\n :host([icon-position="bottom"]) button[part="button"] {\n flex-direction: column-reverse;\n }\n :host([icon-position="right"]) button[part="button"] {\n flex-direction: row-reverse;\n }\n :host([align-vertical="top"][icon-position="left"])\n button[part="button"],\n :host([align-vertical="top"][icon-position="right"])\n button[part="button"],\n :host([align-horizontal="left"][icon-position="top"])\n button[part="button"],\n :host([align-horizontal="left"][icon-position="bottom"])\n button[part="button"] {\n align-items: flex-start;\n }\n :host([align-vertical="bottom"][icon-position="left"])\n button[part="button"],\n :host([align-vertical="bottom"][icon-position="right"])\n button[part="button"],\n :host([align-horizontal="right"][icon-position="top"])\n button[part="button"],\n :host([align-horizontal="right"][icon-position="bottom"]) {\n align-items: flex-end;\n }\n :host([align-horizontal="left"][icon-position="left"])\n button[part="button"],\n :host([align-horizontal="left"][icon-position="right"])\n button[part="button"],\n :host([align-vertical="top"][icon-position="top"])\n button[part="button"],\n :host([align-vertical="top"][icon-position="bottom"]) {\n justify-content: flex-start;\n }\n :host([align-horizontal="right"][icon-position="left"])\n button[part="button"],\n :host([align-horizontal="right"][icon-position="right"])\n button[part="button"],\n :host([align-vertical="bottom"][icon-position="top"])\n button[part="button"],\n :host([align-vertical="bottom"][icon-position="bottom"]) {\n justify-content: flex-end;\n }\n ']); - _templateObject11_a02175301da511ed9d313b9780b2ae17 = function _templateObject11_a02175301da511ed9d313b9780b2ae17() { + _templateObject11_648fe2a01e5811ed81a80d03c17d190b = function _templateObject11_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject10_a02175301da511ed9d313b9780b2ae17() { +function _templateObject10_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['\n :host {\n display: inline-flex;\n white-space: nowrap;\n transition: all 0.5s;\n z-index: 1;\n }\n :host(:hover),\n :host(:focus-wthin) {\n z-index: var(--simple-toolbar-focus-z-index, 100) !important;\n }\n :host([hidden]) {\n z-index: -1;\n visibility: hidden;\n opacity: 0;\n height: 0;\n overflow: hidden;\n }\n :host([disabled]) {\n pointer-events: none;\n }\n button[part="button"] {\n display: flex;\n margin: 0;\n white-space: nowrap;\n width: 100%;\n height: 100%;\n }\n ']); - _templateObject10_a02175301da511ed9d313b9780b2ae17 = function _templateObject10_a02175301da511ed9d313b9780b2ae17() { + _templateObject10_648fe2a01e5811ed81a80d03c17d190b = function _templateObject10_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject9_a02175301da511ed9d313b9780b2ae17() { +function _templateObject9_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n simple-tooltip {\n z-index: -1;\n }\n :host(:hover) simple-tooltip,\n :host(:focus-within) simple-tooltip {\n z-index: var(--simple-toolbar-button-z-index, 2);\n }\n "]); - _templateObject9_a02175301da511ed9d313b9780b2ae17 = function _templateObject9_a02175301da511ed9d313b9780b2ae17() { + _templateObject9_648fe2a01e5811ed81a80d03c17d190b = function _templateObject9_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject8_a02175301da511ed9d313b9780b2ae17() { +function _templateObject8_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #icon:not([icon]) {\n display: none;\n }\n #icon[icon] {\n width: var(\n --simple-toolbar-button-width,\n var(--simple-toolbar-button-height, 24px)\n );\n height: var(--simple-toolbar-button-height, 24px);\n flex: 0 0 auto;\n }\n "]); - _templateObject8_a02175301da511ed9d313b9780b2ae17 = function _templateObject8_a02175301da511ed9d313b9780b2ae17() { + _templateObject8_648fe2a01e5811ed81a80d03c17d190b = function _templateObject8_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject7_a02175301da511ed9d313b9780b2ae17() { +function _templateObject7_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(["\n #label {\n padding: 0 var(--simple-toolbar-button-label-padding, 2px);\n white-space: var(--simple-toolbar-button-label-white-space, normal);\n }\n .offscreen {\n position: absolute;\n left: -999999px;\n top: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n "]); - _templateObject7_a02175301da511ed9d313b9780b2ae17 = function _templateObject7_a02175301da511ed9d313b9780b2ae17() { + _templateObject7_648fe2a01e5811ed81a80d03c17d190b = function _templateObject7_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject6_a02175301da511ed9d313b9780b2ae17() { +function _templateObject6_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([' \n ', " ", "\n \n ", ""]); - _templateObject6_a02175301da511ed9d313b9780b2ae17 = function _templateObject6_a02175301da511ed9d313b9780b2ae17() { + _templateObject6_648fe2a01e5811ed81a80d03c17d190b = function _templateObject6_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject5_a02175301da511ed9d313b9780b2ae17() { +function _templateObject5_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral([' \n ', " ", "\n \n ", ""]); - _templateObject5_a02175301da511ed9d313b9780b2ae17 = function _templateObject5_a02175301da511ed9d313b9780b2ae17() { + _templateObject5_648fe2a01e5811ed81a80d03c17d190b = function _templateObject5_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject4_a02175301da511ed9d313b9780b2ae17() { +function _templateObject4_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['', ""]); - _templateObject4_a02175301da511ed9d313b9780b2ae17 = function _templateObject4_a02175301da511ed9d313b9780b2ae17() { + _templateObject4_648fe2a01e5811ed81a80d03c17d190b = function _templateObject4_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject3_a02175301da511ed9d313b9780b2ae17() { +function _templateObject3_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['', ""]); - _templateObject3_a02175301da511ed9d313b9780b2ae17 = function _templateObject3_a02175301da511ed9d313b9780b2ae17() { + _templateObject3_648fe2a01e5811ed81a80d03c17d190b = function _templateObject3_648fe2a01e5811ed81a80d03c17d190b() { return data; }; return data; } -function _templateObject2_a02175301da511ed9d313b9780b2ae17() { +function _templateObject2_648fe2a01e5811ed81a80d03c17d190b() { var data = _taggedTemplateLiteral(['
        \n ']);return _templateObject3_909952901da511ed9d313b9780b2ae17=function _templateObject3_909952901da511ed9d313b9780b2ae17(){return e},e}function _templateObject2_909952901da511ed9d313b9780b2ae17(){var e=_taggedTemplateLiteral(['\n \n
        \n ']);return _templateObject2_909952901da511ed9d313b9780b2ae17=function _templateObject2_909952901da511ed9d313b9780b2ae17(){return e},e}function _templateObject_909952901da511ed9d313b9780b2ae17(){var e=_taggedTemplateLiteral(['\n \n \n
        \n
        ','
        \n \n \n ',"\n ",'\n
        \n \n \n \n ','\n \n \n \n ',"\n \n ",'\n \n \n ']);return _templateObject_909952901da511ed9d313b9780b2ae17=function _templateObject_909952901da511ed9d313b9780b2ae17(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _defineProperties(e,t){for(var n=0;n---------",properties:{}}]}}},{key:"tag",get:function get(){return"editable-table-display"}},{key:"properties",get:function get(){return function _objectSpread(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;return t=t||1,0!==parseInt(e)&&parseInt(e)!==parseInt(t)}},{key:"_isCellFiltered",value:function _isCellFiltered(e,t,n){return!!t&&t===e&&n}},{key:"_selectedChanged",value:function _selectedChanged(){this._updateCols()}},{key:"_tableChanged",value:function _tableChanged(){this._updateCols()}},{key:"_tbodyTr",value:function _tbodyTr(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,e.html)(_templateObject7_909952901da511ed9d313b9780b2ae17(),i?"tfoot-tr":"tbody-tr",n.map((function(e,n){return t._isRowHeader(t.rowHeader,n)?t._tbodyTh(e,n):t._tbodyTd(e,n,r)})))}},{key:"_tbodyTh",value:function _tbodyTh(t,n){return(0,e.html)(_templateObject8_909952901da511ed9d313b9780b2ae17(),n,this._isNumericColumn(n),this._isColHidden(n,1),this.getHTML(this._replaceBlankCell(t)))}},{key:"_tbodyTd",value:function _tbodyTd(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,e.html)(_templateObject9_909952901da511ed9d313b9780b2ae17(),n,this._isNumericColumn(n),this._isNegative(t),this._isColHidden(n,1),this.filter?(0,e.html)(_templateObject10_909952901da511ed9d313b9780b2ae17(),n,this._isCellFiltered(n,this.filterColumn,this.filtered),this.getHTML(this._replaceBlankCell(t))):r?this.getHTML(this._replaceBlankCell(t)):(0,e.html)(_templateObject11_909952901da511ed9d313b9780b2ae17(),this.getHTML(this._replaceBlankCell(t))))}},{key:"_updateCols",value:function _updateCols(){var e=this.shadowRoot.querySelector("#column").value,t=this.shadowRoot.querySelector("#table").querySelectorAll("th,td");if(t.length>0)for(var n=0;n',""]);return _templateObject11_589776701e5811ed81a80d03c17d190b=function _templateObject11_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject10_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n ',"\n \n "]);return _templateObject10_589776701e5811ed81a80d03c17d190b=function _templateObject10_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject9_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n ',"\n "]);return _templateObject9_589776701e5811ed81a80d03c17d190b=function _templateObject9_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject8_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n ',"\n "]);return _templateObject8_589776701e5811ed81a80d03c17d190b=function _templateObject8_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject7_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n ',"\n \n "]);return _templateObject7_589776701e5811ed81a80d03c17d190b=function _templateObject7_589776701e5811ed81a80d03c17d190b(){return e},e}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t\n ',"\n \n "]);return _templateObject6_589776701e5811ed81a80d03c17d190b=function _templateObject6_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject5_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n ',"\n \n "]);return _templateObject5_589776701e5811ed81a80d03c17d190b=function _templateObject5_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject4_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n ',"\n \n "]);return _templateObject4_589776701e5811ed81a80d03c17d190b=function _templateObject4_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject3_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n
        \n ']);return _templateObject3_589776701e5811ed81a80d03c17d190b=function _templateObject3_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject2_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n
        \n ']);return _templateObject2_589776701e5811ed81a80d03c17d190b=function _templateObject2_589776701e5811ed81a80d03c17d190b(){return e},e}function _templateObject_589776701e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n \n
        \n
        ','
        \n \n \n ',"\n ",'\n
        \n \n \n \n ','\n \n \n \n ',"\n \n ",'\n \n \n ']);return _templateObject_589776701e5811ed81a80d03c17d190b=function _templateObject_589776701e5811ed81a80d03c17d190b(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _defineProperties(e,t){for(var n=0;n---------",properties:{}}]}}},{key:"tag",get:function get(){return"editable-table-display"}},{key:"properties",get:function get(){return function _objectSpread(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;return t=t||1,0!==parseInt(e)&&parseInt(e)!==parseInt(t)}},{key:"_isCellFiltered",value:function _isCellFiltered(e,t,n){return!!t&&t===e&&n}},{key:"_selectedChanged",value:function _selectedChanged(){this._updateCols()}},{key:"_tableChanged",value:function _tableChanged(){this._updateCols()}},{key:"_tbodyTr",value:function _tbodyTr(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,e.html)(_templateObject7_589776701e5811ed81a80d03c17d190b(),i?"tfoot-tr":"tbody-tr",n.map((function(e,n){return t._isRowHeader(t.rowHeader,n)?t._tbodyTh(e,n):t._tbodyTd(e,n,r)})))}},{key:"_tbodyTh",value:function _tbodyTh(t,n){return(0,e.html)(_templateObject8_589776701e5811ed81a80d03c17d190b(),n,this._isNumericColumn(n),this._isColHidden(n,1),this.getHTML(this._replaceBlankCell(t)))}},{key:"_tbodyTd",value:function _tbodyTd(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,e.html)(_templateObject9_589776701e5811ed81a80d03c17d190b(),n,this._isNumericColumn(n),this._isNegative(t),this._isColHidden(n,1),this.filter?(0,e.html)(_templateObject10_589776701e5811ed81a80d03c17d190b(),n,this._isCellFiltered(n,this.filterColumn,this.filtered),this.getHTML(this._replaceBlankCell(t))):r?this.getHTML(this._replaceBlankCell(t)):(0,e.html)(_templateObject11_589776701e5811ed81a80d03c17d190b(),this.getHTML(this._replaceBlankCell(t))))}},{key:"_updateCols",value:function _updateCols(){var e=this.shadowRoot.querySelector("#column").value,t=this.shadowRoot.querySelector("#table").querySelectorAll("th,td");if(t.length>0)for(var n=0;n',""]);return _templateObject3_909dbf601da511ed9d313b9780b2ae17=function _templateObject3_909dbf601da511ed9d313b9780b2ae17(){return e},e}function _templateObject2_909dbf601da511ed9d313b9780b2ae17(){var e=_taggedTemplateLiteral(['\n ',"\n ","","\n ","\n "]);return _templateObject2_909dbf601da511ed9d313b9780b2ae17=function _templateObject2_909dbf601da511ed9d313b9780b2ae17(){return e},e}function _templateObject_909dbf601da511ed9d313b9780b2ae17(){var e=_taggedTemplateLiteral(['\n \n ','\n ',' \n Menu\n \n '," \n ","\n ","\n \n \n "]);return _templateObject_909dbf601da511ed9d313b9780b2ae17=function _templateObject_909dbf601da511ed9d313b9780b2ae17(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.index,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.dispatchEvent(new CustomEvent("rowcol-action",{bubbles:!0,cancelable:!0,composed:!0,detail:{insert:t,row:this.row,index:e}}))}},{key:"_getItem",value:function _getItem(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,e.html)(_templateObject2_909dbf601da511ed9d313b9780b2ae17(),t?this._onDelete:n?this._onInsertAfter:this._onInsertBefore,t?"Delete":"Insert",this.type,t?" ":n?" After ":" Before ",this.labelInfo)}},{key:"_onOpen",value:function _onOpen(e){this.dispatchEvent(new CustomEvent("rowcol-menuopen",{bubbles:!0,cancelable:!0,composed:!0,detail:{insert,row:this.row,index}}))}},{key:"_onDelete",value:function _onDelete(e){this.rowColAction(this.index,!1)}},{key:"_onInsertBefore",value:function _onInsertBefore(e){this.rowColAction(this.row?this.index-1:this.index)}},{key:"_onInsertAfter",value:function _onInsertAfter(e){this.rowColAction(this.row?this.index:this.index+1)}},{key:"controls",get:function get(){return this.row?"cell-0-".concat(this.index):"cell-".concat(this.index,"-0")}},{key:"label",get:function get(){return this.row?this._getLabel(this.index,!0):this._getLabel(this.index,!1)}},{key:"labelInfo",get:function get(){return(0,e.html)(_templateObject3_909dbf601da511ed9d313b9780b2ae17(),this.label)}},{key:"type",get:function get(){return this.row?"Row":"Column"}}],[{key:"styles",get:function get(){return[].concat(_toConsumableArray(_get(_getPrototypeOf(EditableTableEditorRowcol),"styles",this)||[]),_toConsumableArray(t.editableTableCellStyles),[(0,e.css)(_templateObject4_909dbf601da511ed9d313b9780b2ae17())])}},{key:"tag",get:function get(){return"editable-table-editor-rowcol"}},{key:"properties",get:function get(){return function _objectSpread(e){for(var t=1;t',""]);return _templateObject3_589a83b01e5811ed81a80d03c17d190b=function _templateObject3_589a83b01e5811ed81a80d03c17d190b(){return e},e}function _templateObject2_589a83b01e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n ',"\n ","","\n ","\n "]);return _templateObject2_589a83b01e5811ed81a80d03c17d190b=function _templateObject2_589a83b01e5811ed81a80d03c17d190b(){return e},e}function _templateObject_589a83b01e5811ed81a80d03c17d190b(){var e=_taggedTemplateLiteral(['\n \n ','\n ',' \n Menu\n \n '," \n ","\n ","\n \n \n "]);return _templateObject_589a83b01e5811ed81a80d03c17d190b=function _templateObject_589a83b01e5811ed81a80d03c17d190b(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.index,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.dispatchEvent(new CustomEvent("rowcol-action",{bubbles:!0,cancelable:!0,composed:!0,detail:{insert:t,row:this.row,index:e}}))}},{key:"_getItem",value:function _getItem(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,e.html)(_templateObject2_589a83b01e5811ed81a80d03c17d190b(),t?this._onDelete:n?this._onInsertAfter:this._onInsertBefore,t?"Delete":"Insert",this.type,t?" ":n?" After ":" Before ",this.labelInfo)}},{key:"_onOpen",value:function _onOpen(e){this.dispatchEvent(new CustomEvent("rowcol-menuopen",{bubbles:!0,cancelable:!0,composed:!0,detail:{insert,row:this.row,index}}))}},{key:"_onDelete",value:function _onDelete(e){this.rowColAction(this.index,!1)}},{key:"_onInsertBefore",value:function _onInsertBefore(e){this.rowColAction(this.row?this.index-1:this.index)}},{key:"_onInsertAfter",value:function _onInsertAfter(e){this.rowColAction(this.row?this.index:this.index+1)}},{key:"controls",get:function get(){return this.row?"cell-0-".concat(this.index):"cell-".concat(this.index,"-0")}},{key:"label",get:function get(){return this.row?this._getLabel(this.index,!0):this._getLabel(this.index,!1)}},{key:"labelInfo",get:function get(){return(0,e.html)(_templateObject3_589a83b01e5811ed81a80d03c17d190b(),this.label)}},{key:"type",get:function get(){return this.row?"Row":"Column"}}],[{key:"styles",get:function get(){return[].concat(_toConsumableArray(_get(_getPrototypeOf(EditableTableEditorRowcol),"styles",this)||[]),_toConsumableArray(t.editableTableCellStyles),[(0,e.css)(_templateObject4_589a83b01e5811ed81a80d03c17d190b())])}},{key:"tag",get:function get(){return"editable-table-editor-rowcol"}},{key:"properties",get:function get(){return function _objectSpread(e){for(var t=1;t div {\n flex-grow: 1;\n }\n .offscreen {\n position: absolute;\n left: -9999px;\n font-size: 0;\n height: 0;\n width: 0;\n overflow: hidden;\n }\n #filter-off {\n opacity: 0.25;\n }\n ']);return _templateObject2_909ef7e01da511ed9d313b9780b2ae17=function _templateObject2_909ef7e01da511ed9d313b9780b2ae17(){return e},e}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,o=new Array(e.length);t\n ','\n