godown 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/godown+lit.iife.js +2 -2
- package/build/godown+lit.iife.js.map +1 -1
- package/build/godown+lit.js +2 -2
- package/build/godown+lit.js.map +1 -1
- package/build/godown+lit.umd.js +2 -2
- package/build/godown+lit.umd.js.map +1 -1
- package/build/godown.iife.js +2 -2
- package/build/godown.js +2 -2
- package/build/godown.js.map +1 -1
- package/build/godown.umd.js +2 -2
- package/build/godown.umd.js.map +1 -1
- package/components/tabs.d.ts +2 -1
- package/components/tabs.d.ts.map +1 -1
- package/components/tabs.js +1 -1
- package/components/tabs.js.map +1 -1
- package/custom-elements.json +1 -1
- package/package.json +1 -1
- package/src/components/tabs.ts +5 -2
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
package/build/godown.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"godown.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../components/dialog.js","../dialog.js","../components/divider.js","../divider.js","../components/dragbox.js","../dragbox.js","../components/flex.js","../components/form.js","../flex.js","../form.js","../components/grid.js","../grid.js","../components/heading.js","../heading.js","../../f7-icon/icons/eye-slash-fill.js","../core/outline.js","../core/super-input.js","../components/input.js","../input.js","../components/layout.js","../layout.js","../core/super-anchor.js","../components/router.js","../components/link.js","../link.js","../components/progress.js","../progress.js","../components/range.js","../range.js","../components/rotate.js","../rotate.js","../router.js","../core/direction.js","../components/select.js","../select.js","../../f7-icon/icons/photo.js","../components/skeleton.js","../skeleton.js","../components/split.js","../split.js","../components/switch.js","../switch.js","../components/text.js","../text.js","../components/tabs.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../tabs.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => value == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * Concatenates two strings with an optional separator.\n */\nexport const fuse = (a, b, sep = \" \") => (a ? a + (b ? sep + b : \"\") : b);\n/**\n * Checks if a string starts with and ends with a given substring.\n */\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport function* toEntries(o) {\n for (const [k, v] of Array.isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements, }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(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.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part=${partName}]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { fuse, isNil } from \"../tools/lib.js\";\nconst append = fuse;\nconst noAttribute = (value) => isNil(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true ||\n typeof value === \"string\" ||\n (typeof value === \"number\" && !isNaN(value))) {\n this.setAttribute(name, value === true ? \"\" : String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return append(acc, key + (value === true ? \"\" : `=\"${value}\"`));\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil, toEntries } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = typeof value !== \"object\" ? value : joinProperties(value);\n if (properties) {\n result += `${key}{${properties}}`;\n }\n }\n }\n return result;\n}\nexport function joinProperties(props) {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && (value || value === 0 || value === \"\")) {\n result += `${key}:${value};`;\n }\n }\n return result;\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n});\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { fuse } from \"../tools/lib.js\";\nconst append = fuse;\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (Array.isArray(cur)) {\n return append(acc, tokenList(...cur));\n }\n if (typeof cur === \"object\") {\n for (const key in cur) {\n if (cur[key]) {\n acc = append(acc, key);\n }\n }\n return acc;\n }\n return append(acc, cur);\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = document.body) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.matchType}.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.matchType.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.matchType.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.matchType.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join the given paths with a \"/\" and remove the leading and trailing \"/\" from each path.\n * @param paths - An array of paths to join.\n * @returns The joined path with \"/\" separators and no leading or trailing \"/\".\n */\n static join(...paths) {\n return paths.map((path) => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || typeof property === \"symbol\") {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nclass GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!/^[\\s\\S]*{[\\s\\S]*}$/.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as e,joinProperties as t,GodownElement as s}from\"@godown/element\";import{unsafeCSS as l,css as a}from\"lit\";class GlobalStyle extends s{}const n=e(GlobalStyle.godownConfig.prefix,\"-\");function i(o,r=1){return c(n+\"-\".repeat(r)+o)}function c(o){return l(`--${o}`)}const d={clipBackground:i(\"clip-background\",2),active:i(\"active\",2),passive:i(\"passive\",2),_colors:{},input:i(\"input\",2),white:i(\"color-white\",2),black:i(\"color-black\",2),color:i(\"color\",2),borderRadius:i(\"border-radius\",2)};GlobalStyle.styles=[l(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,e)=>{d._colors[o]||=[],d._colors[o].push(l(d.color+\"-\"+o+\"-\"+r));const t=`-${o}-${r}`;return`${d.color+t}:rgb(${e});`}),o).join(\"\")+t([[d.active,`var(${d._colors.blue[5]})`],[d.passive,`var(${d._colors.darkgray[5]})`],[d.clipBackground,`linear-gradient(to bottom, var(${d._colors.lightgray[0]}), var(${d._colors.darkgray[5]}))`]])+\"}\"),a`*{border:0;box-sizing:border-box;font-size:100%;font-style:normal;margin:0;outline:0;padding:0}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,a`:host{${d.borderRadius}:0.2em;border-radius:var(${d.borderRadius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,i as scopePrefix,c as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","export const travel = (fn, src) => Object.entries(src).flatMap(([k, v]) => v.map((rgb, index) => fn(k, index, rgb)));\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as r,toVar as t,godown as e,styles as i,htmlSlot as c,attr as l,htmlStyle as s}from\"@godown/element\";import a from\"@godown/f7-icon/icons/checkmark-alt-circle.js\";import n from\"@godown/f7-icon/icons/exclamationmark-circle.js\";import d from\"@godown/f7-icon/icons/info-circle.js\";import p from\"@godown/f7-icon/icons/lightbulb.js\";import g from\"@godown/f7-icon/icons/question-circle.js\";import h from\"@godown/f7-icon/icons/slash-circle.js\";import m from\"@godown/f7-icon/icons/xmark-circle.js\";import u from\"@godown/f7-icon/icons/xmark.js\";import{css as b,html as v}from\"lit\";import{property as f}from\"lit/decorators.js\";import{scopePrefix as w,cssGlobalVars as k,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=w($),_=o=>[k._colors[o][5],k._colors[o][9]],q=r([\"color\",\"background\"].map((o=>`${j}--${o}`)),{green:_(\"green\"),blue:_(\"blue\"),orange:_(\"orange\"),red:_(\"red\"),yellow:_(\"yellow\"),purple:_(\"purple\"),teal:_(\"teal\"),pink:_(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},(()=>\":host\"),(o=>t(o))),C={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:a},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:m},error:{color:\"red\",icon:m},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:h}};let x=class Alert extends y{constructor(){super(...arguments),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=C[this.call]?.color||this.color,r=this.call?C[this.call].icon():c(\"icon\");return v`<div part=\"root\" ${l(this.observedRecord)}><div part=\"icon\" class=\"start\">${r}</div><div part=\"content\"><strong part=\"title\">${this.title||c(\"title\")}</strong> ${this.content||c()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":v`<div part=\"icon close\" class=\"end\" tabindex=\"0\" @click=\"${this.close}\">${u()}</div>`} ${s(q[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([f()],x.prototype,\"call\",void 0),o([f()],x.prototype,\"color\",void 0),o([f({type:Number})],x.prototype,\"autoclose\",void 0),o([f()],x.prototype,\"title\",void 0),o([f()],x.prototype,\"content\",void 0),o([f({type:Boolean})],x.prototype,\"hideClose\",void 0),o([f()],x.prototype,\"variant\",void 0),x=o([e($),i(b`:host,:where(:host([contents]) [part=root]){${j}--border-width:.075em;${j}--blockquote-width:.2em;${j}--blockquote-background:transparent;${j}--gap:.5em;display:block;width:100%}[part=root]{align-items:center;background:var(${j}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${j}--border-width);color:var(${j}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${j}--gap)}[variant=blockquote]{background:var(${j}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${j}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${j}--gap)}.end svg{margin-inline-start:var(${j}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],x);var E=x;export{x as Alert,E as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as m,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\";d(l);let c=class Avatar extends p{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}>${this._renderAvatar()}</div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=\"${this._handleError}\">`:this.name?n`<span part=\"name\">${this.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};t([h()],c.prototype,\"src\",void 0),t([h()],c.prototype,\"name\",void 0),t([h({type:Boolean})],c.prototype,\"round\",void 0),c=t([r(l),e(s`:host{background:var(${m.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;height:100%;justify-content:center;position:relative;width:100%}`)],c);var v=c;export{c as Avatar,v as default};\n//# sourceMappingURL=avatar.js.map\n","import a from\"./components/avatar.js\";export{Avatar}from\"./components/avatar.js\";a.define();export{a as default};\n//# sourceMappingURL=avatar.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as a}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",c=d(l);let m=class Badge extends f{constructor(){super(...arguments),this.position=\"top-right\",this.value=0,this.dot=!1,this.max=99}formatValue(t){return t>this.max?this.max+\"+\":t+\"\"}render(){return s`<div part=\"root\" ${r(this.observedRecord)}>${a()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],m.prototype,\"position\",void 0),t([p({type:Number})],m.prototype,\"value\",void 0),t([p({type:Boolean})],m.prototype,\"dot\",void 0),t([p({type:Number})],m.prototype,\"max\",void 0),m=t([o(l),e(i`:host{${c}--background:var(${n.active});${c}--offset:0%;${c}--offset-x:var(${c}--offset);${c}--offset-y:var(${c}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${c}--background);border-radius:calc(infinity*1px);font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=badge]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=badge]{top:calc(var(${c}--offset-y))}[position$=right] [part=badge]{left:calc(100% - var(${c}--offset-x))}[position^=bottom] [part=badge]{top:calc(100% - var(${c}--offset-y))}[position$=left] [part=badge]{left:calc(var(${c}--offset-x))}`)],m);var v=m;export{m as Badge,v as default};\n//# sourceMappingURL=badge.js.map\n","import e from\"./components/badge.js\";export{Badge}from\"./components/badge.js\";e.define();export{e as default};\n//# sourceMappingURL=badge.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=s(d);let m=class Breath extends p{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this._renderText),n(this._computeStyle(t.length))]}</div>`}_renderText(t){return a`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],m.prototype,\"content\",void 0),t([l({type:Number})],m.prototype,\"duration\",void 0),m=t([o(d),r(i`:host{${$}--deg:60deg;${$}--1-1:var(${c._colors.red[5]});${$}--1-2:var(${c._colors.yellow[5]});${$}--2-1:var(${c._colors.green[5]});${$}--2-2:var(${c._colors.purple[5]});${$}--3-1:var(${c._colors.blue[5]});${$}--3-2:var(${c._colors.pink[5]});${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.clipBackground});position:absolute;top:0}`)],m);var u=m;export{m as Breath,u as default};\n//# sourceMappingURL=breath.js.map\n","import e from\"./components/breath.js\";export{Breath}from\"./components/breath.js\";e.define();export{e as default};\n//# sourceMappingURL=breath.js.map\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as t,toVar as r,part as e,godown as a,styles as i,attr as n,htmlSlot as l,htmlStyle as s}from\"@godown/element\";import{css as d,html as c}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as g,GlobalStyle as u}from\"../core/global-style.js\";const v=\"button\",y=h(v),b=g.white,m=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${y}--${o}`)),{black:[b,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[b,g._colors.darkgray[1],g._colors.lightgray[8]],white:[m,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[b,g._colors.blue[6],g._colors.blue[4]],green:[b,g._colors.green[6],g._colors.green[4]],red:[b,g._colors.red[6],g._colors.red[4]],orange:[b,g._colors.orange[6],g._colors.orange[4]],pink:[b,g._colors.pink[6],g._colors.pink[4]],purple:[b,g._colors.purple[6],g._colors.purple[4]],yellow:[m,g._colors.yellow[6],g._colors.yellow[4]],teal:[b,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.plain=!1,this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this.plain||this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),{width:r,height:e}=this.getBoundingClientRect(),{x:a,y:i}=this._root.getBoundingClientRect(),n=2*Math.sqrt(e**2+r**2)+\"px\";t.style.height=n,t.style.width=n,t.style.left=o.x-a+\"px\",t.style.top=o.y-i+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([a(v),i(d`:host(:not([disabled]):active){transform:scale(var(${y}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${y}--modal-background:var(${y}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${y}--ghost-width) var(${y}--ghost-color);color:var(${y}--ghost-color)}:host([plain]){${y}--gradients:unset;${y}--focus-scale:unset}`,d`:host{${y}--padding-x:.8em;${y}--padding-y:calc(var(${y}--padding-x)/4);${y}--padding:var(${y}--padding-y) var(${y}--padding-x);${y}--modal-animation-duration:1s;${y}--ghost-width:.08em;${y}--focus-scale:.97;${y}--deg:45deg;${y}--ghost-color:var(${y}--background);background:linear-gradient(var(${y}--deg),var(${y}--background),var(${y}--gradients,var(${y}--background)));color:var(${y}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:var(${y}--padding);text-align:center;width:-moz-fit-content;width:fit-content}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}[part=root],i{height:100%;width:100%}i{animation-duration:var(${y}--modal-animation-duration);background:var(${y}--modal-background,currentColor);border-radius:50%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible}@keyframes kf{0%{opacity:var(${y}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as p,GlobalStyle as h}from\"../core/global-style.js\";const b=\"card\",m=l(b);let n=class Card extends h{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}>${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],n.prototype,\"footer\",void 0),r([s({type:Boolean})],n.prototype,\"header\",void 0),n=r([o(b),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${p.passive});${m}--padding:.5em;border-width:var(${m}--border-width);display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}:host,slot{border-color:var(${m}--border-color);border-style:solid}[part=root]{width:100%}[name=footer]{border-top-width:var(${m}--border-width)}[name=header]{border-bottom-width:var(${m}--border-width)}`)],n);var c=n;export{n as Card,c as default};\n//# sourceMappingURL=card.js.map\n","import o from\"./components/card.js\";export{Card}from\"./components/card.js\";o.define();export{o as default};\n//# sourceMappingURL=card.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M35.805 47.723c.398.398.914.633 1.523.633c1.219 0 2.133-.915 2.133-2.133c0-.586-.234-1.125-.61-1.524L21.79 28.012l17.063-16.688c.375-.398.609-.96.609-1.523c0-1.219-.914-2.157-2.133-2.157c-.61 0-1.125.235-1.523.633L17.242 26.441c-.445.375-.703.961-.703 1.57c0 .587.258 1.126.703 1.571Z\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M18.695 48.367c.586 0 1.102-.234 1.524-.633L38.78 29.57c.446-.445.68-.984.68-1.57c0-.61-.234-1.172-.68-1.57L20.22 8.289a2.07 2.07 0 0 0-1.524-.656a2.12 2.12 0 0 0-2.156 2.156c0 .563.258 1.125.633 1.524L34.21 28L17.17 44.688c-.374.398-.632.937-.632 1.523c0 1.219.938 2.156 2.156 2.156\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as s,attr as o,htmlSlot as n}from\"@godown/element\";import r from\"@godown/f7-icon/icons/chevron-left.js\";import h from\"@godown/f7-icon/icons/chevron-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../core/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${r()}</i><div part=\"move-root\">${n()}</div><i part=\"next\" @click=\"${this.next}\">${h()}</i></div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 39.46a2.1 2.1 0 0 0 1.57-.679l18.164-18.586a2.1 2.1 0 0 0 .633-1.5a2.12 2.12 0 0 0-2.156-2.156a2.27 2.27 0 0 0-1.523.61L28 34.21L11.313 17.148a2.23 2.23 0 0 0-1.524-.609a2.12 2.12 0 0 0-2.156 2.156c0 .586.234 1.102.633 1.524L26.43 38.78c.445.446.96.68 1.57.68\"/>`;\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as i,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../core/global-style.js\";import d from\"../core/super-openable.js\";const c=\"details\",m=p(c);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}><dt part=\"title\" @click=\"${()=>this.toggle()}\"><span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${r()}</div></dd></dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([o(c),i(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:.22em;display:block;transition:.3s}[part=root]{height:100%;position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;padding:var(${m}--icon-space);transform:rotate(var(${m}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const m=\"dialog\",p=r(m);let c=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return n`<dialog part=\"root\" ${i(this.observedRecord)}>${s()}</dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],c.prototype,\"modal\",null),t([d()],c.prototype,\"key\",void 0),t([l(\"dialog\")],c.prototype,\"_dialog\",void 0),c=t([o(m),e(a`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],c);var u=c;export{c as Dialog,u as default};\n//# sourceMappingURL=dialog.js.map\n","import o from\"./components/dialog.js\";export{Dialog}from\"./components/dialog.js\";o.define();export{o as default};\n//# sourceMappingURL=dialog.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([o(\"divider\"),r(i`:host{background:currentColor;color:var(${a.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var p=c;export{c as Divider,p as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.__drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__cx=t.clientX,this.__cy=t.clientY,this.__t=this.offsetTop,this.__l=this.offsetLeft,this.__drag=!0,this._handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this._handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.__drag)return;const e=t.clientX-(this.__cx-this.__l),s=t.clientY-(this.__cy-this.__t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${r(this.observedRecord)}>${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]}</div>`}};t([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return o()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,o]=s.namevalue();e&&(t[e]=o)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(h`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M43.95 47.323c.304.305.732.468 1.119.468c.814 0 1.567-.733 1.567-1.568c0-.407-.163-.814-.468-1.12L12.112 11.069a1.57 1.57 0 0 0-1.12-.448c-.814 0-1.567.733-1.567 1.547c0 .428.143.835.448 1.12Zm1.913-5.761C52.255 37.43 56 32.056 56 29.674c0-4.132-11.297-17.303-27.99-17.303c-3.46 0-6.697.59-9.669 1.567l5.313 5.293a11 11 0 0 1 4.356-.896c6.31 0 11.38 4.988 11.38 11.339c0 1.547-.326 3.033-.958 4.336ZM28.01 46.977c3.766 0 7.267-.672 10.402-1.771l-5.394-5.395a10.8 10.8 0 0 1-5.008 1.201c-6.35 0-11.379-5.15-11.4-11.338c0-1.832.428-3.562 1.202-5.09l-7.084-7.124C4.01 21.592 0 27.231 0 29.674c0 4.112 11.501 17.303 28.01 17.303m6.473-17.73a6.446 6.446 0 0 0-6.473-6.454c-.264 0-.53.02-.773.041l7.206 7.206c.02-.244.04-.529.04-.794m-12.966-.041c0 3.582 2.951 6.473 6.514 6.473c.285 0 .55-.02.834-.04l-7.308-7.309c-.02.285-.04.59-.04.876\"/>`;\n","import{unsafeCSS as t,css as e}from\"lit\";class OutlineBuilder{constructor(o){const i=t(o.width),l=t(o.color);this.css=e`[outline-type=outline-inset],[outline-type=outline]{outline-color:var(${l});outline-style:solid;outline-width:var(${i})}[outline-type=outline-inset]{outline-offset:calc(var(${i})*-1)}[outline-type=box-shadow]{box-shadow:0 0 0 var(${i}) var(${l})}[outline-type=box-shadow-inset]{box-shadow:inset 0 0 0 var(${i}) var(${l})}[outline-type=border]{border-color:var(${l});border-style:solid;border-width:var(${i})}`}get styleSheet(){return this.css.styleSheet}}const o=t=>!t||\"none\"===t;export{OutlineBuilder,o as isNone};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,styles as i,omit as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as l}from\"./global-style.js\";import{OutlineBuilder as u}from\"./outline.js\";const d=r`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:var(${a.input}-space);width:100%}.input-field [part=icon]{align-items:center;color:var(${a.input}-icon-color);display:flex;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{display:flex;height:100%}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${a.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${a.input}-space)}`,c=r`:host{${a.input}-width:10em;${a.input}-height:1.6em;${a.input}-space:0.2em;${a.input}-control:currentColor;${a.input}-outline-width:.075em;${a.input}-outline-color:var(${a._colors.darkgray[4]});${a.input}-icon-color:var(${a._colors.darkgray[4]})}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${a.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}_handleChange(t){this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0}))}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return p`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){return p`<label for=\"${this.makeId}\" part=\"suffix\">${n(\"suffix\")}</label>`}};t([s()],h.prototype,\"autocomplete\",void 0),t([s({attribute:\"outline-type\"})],h.prototype,\"outlineType\",void 0),t([s({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([s({reflect:!0})],h.prototype,\"type\",void 0),t([s({reflect:!0})],h.prototype,\"placeholder\",void 0),t([s({reflect:!0})],h.prototype,\"name\",void 0),t([s()],h.prototype,\"value\",void 0),t([s()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(d,new u({width:`${a.input}-outline-width`,color:`${a.input}-outline-color`}).styleSheet,c)],h);var f=h;export{h as SuperInput,f as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as r,tokenList as s,htmlSlot as a}from\"@godown/element\";import p from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as n,html as u,nothing as h}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as c}from\"../core/super-input.js\";let f=class Input extends c{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return u`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return u`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?u`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${p()}</i>`:a(\"suffix\")}</label>`}};t([l()],f.prototype,\"variant\",void 0),t([e(\"input\")],f.prototype,\"_input\",void 0),f=t([i(\"input\"),o(n`:host{display:block;height:var(${d.input}-height);width:var(${d.input}-width)}.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}`)],f);var $=f;export{f as Input,$ as default};\n//# sourceMappingURL=input.js.map\n","import o from\"./components/input.js\";export{Input}from\"./components/input.js\";o.define();export{o as default};\n//# sourceMappingURL=input.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let l=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}><header part=\"header\">${i(\"header\")}</header><main part=\"main\">${i()}</main><footer part=\"footer\">${i(\"footer\")}</footer></div>`}};t([p({type:Boolean})],l.prototype,\"sticky\",void 0),l=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],l);var n=l;export{l as Layout,n as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as a,nothing as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return a`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||l}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit;width:100%}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),c.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchEvent(new CustomEvent(\"change\",{detail:t}))}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../core/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var h=m;export{m as Progress,h as default};\n//# sourceMappingURL=progress.js.map\n","import o from\"./components/progress.js\";export{Progress}from\"./components/progress.js\";o.define();export{o as default};\n//# sourceMappingURL=progress.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as a,Ranger as s,omit as o,attr as i,joinProperties as n,loop as h,tokenList as l,isNil as d}from\"@godown/element\";import{css as u,html as c}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../core/global-style.js\";import{SuperInput as w}from\"../core/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return c`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"><div part=\"track\"></div>${h(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return c`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){const{rangeValue:e,step:r}=this;return e.length<2&&(t=0),a=>{const s=e[t];\"ArrowLeft\"===a.key||\"ArrowDown\"===a.key?(a.preventDefault(),this.createSetValue(t)(s-r)):\"ArrowRight\"!==a.key&&\"ArrowUp\"!==a.key||(a.preventDefault(),this.createSetValue(t)(s+r))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new s(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,d(this.value)&&(d(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(u`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;width:100%;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=range.js.map\n","import e from\"./components/range.js\";export{Range}from\"./components/range.js\";e.define();export{e as default};\n//# sourceMappingURL=range.js.map\n","import{__decorate as t}from\"tslib\";import{part as o,godown as e,styles as r,htmlSlot as i}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{scopePrefix as a,GlobalStyle as l}from\"../core/global-style.js\";const d=\"rotate\",p=a(d);let m=class Rotate extends l{render(){return n`<div part=\"root\"><div part=\"slot\" @mousemove=\"${this._handleRotate}\">${i()}</div><i @mouseleave=\"${this.reset}\"></i></div>`}reset(){this._root.style.removeProperty(\"transform\"),this._root.style.removeProperty(\"transition\")}_handleRotate(t){const{rotateX:o,rotateY:e}=this._computeOffset(t);this._root.style.setProperty(\"transform\",`rotateX(${o}rad) rotateY(${e}rad)`),this._root.style.setProperty(\"transition\",\"0s\")}_computeOffset(t){const{left:o,top:e,width:r,height:i}=this._root.getBoundingClientRect(),{clientX:s,clientY:n}=t;return{rotateX:-(n-e-i/2)/i/2,rotateY:(s-o-r/2)/r/2}}};t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(d),r(s`:host{display:block;transition:all .5s ease-in-out;width:-moz-fit-content;width:fit-content;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{box-sizing:content-box;height:100%;margin:calc(var(${p}--offset)*-1);padding:var(${p}--offset);position:absolute;top:0;width:100%}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/rotate.js\";export{Rotate}from\"./components/rotate.js\";o.define();export{o as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/router.js\";export{Router}from\"./components/router.js\";o.define();export{o as default};\n//# sourceMappingURL=router.js.map\n","import{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,html as h,nothing as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{directionOutsetPlace as f}from\"../core/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return h`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||a}\" autocomplete=\"${this.autocomplete||a}\" placeholder=\"${this.placeholder||a}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,h`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,h`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place>${l()}</label>`]}</div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t;let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0}))}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=select.js.map\n","import e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M7.715 49.574h40.57c4.899 0 7.36-2.437 7.36-7.265V13.69c0-4.828-2.461-7.265-7.36-7.265H7.715C2.84 6.426.355 8.84.355 13.69v28.62c0 4.851 2.485 7.265 7.36 7.265m31.57-21.633c-1.055-.937-2.25-1.43-3.515-1.43c-1.313 0-2.462.446-3.54 1.407l-10.593 9.469l-4.336-3.938c-.985-.867-2.04-1.336-3.164-1.336c-1.032 0-2.04.446-3 1.313L4.129 39.73V13.88c0-2.438 1.312-3.68 3.656-3.68h40.43c2.32 0 3.656 1.242 3.656 3.68v25.875Zm-21.469.258c3.024 0 5.508-2.484 5.508-5.531c0-3.023-2.484-5.531-5.508-5.531c-3.046 0-5.53 2.508-5.53 5.531a5.54 5.54 0 0 0 5.53 5.531\"/>`;\n","import{__decorate as o}from\"tslib\";import{godown as i,styles as r,htmlSlot as t,attr as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/photo.js\";import{css as e,html as s}from\"lit\";import{property as m,state as d}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as c,GlobalStyle as g}from\"../core/global-style.js\";const l=\"skeleton\",v=p(l);let $=class Skeleton extends g{constructor(){super(...arguments),this.animation=\"position\",this.loading=!0}render(){return this.loading?s`<div part=\"root\" ${a(this.observedRecord)}>${\"image\"===this.type?n():\"\"} ${t(\"loading\")}</div>`:t()}};o([m()],$.prototype,\"type\",void 0),o([m()],$.prototype,\"animation\",void 0),o([d()],$.prototype,\"loading\",void 0),$=o([i(l),r(e`:host{${v}--from:var(${c._colors.darkgray[9]});${v}--to:var(${c._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;background:var(${v}--from);color:var(${c._colors.darkgray[5]});display:block;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}[part=root]{animation:var(${v}--duration) ease-in-out 0s infinite none running;height:100%;min-height:inherit;text-align:center}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size)*.05)}[animation=position]{animation-name:po;background-color:transparent;background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-size:200% 100%}@keyframes po{0%{background-position:150%}to{background-position:-50%}}[animation=opacity]{animation-direction:alternate;animation-name:op}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],$);var f=$;export{$ as Skeleton,f as default};\n//# sourceMappingURL=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as r,attr as s,loop as n,tokenList as u}from\"@godown/element\";import{css as o,html as l}from\"lit\";import{property as c,state as a}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as p}from\"../core/global-style.js\";import{SuperInput as d}from\"../core/super-input.js\";const b=\"split\",f=h(b);let v=class Split extends d{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}get observedRecord(){return r(super.observedRecord,\"outline-type\")}render(){return l`<div part=\"root\" ${s(this.observedRecord)}>${n(this.len,(t=>l`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${u({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([c({type:Number})],v.prototype,\"len\",void 0),t([c({type:Number})],v.prototype,\"index\",void 0),t([a()],v.prototype,\"current\",void 0),t([a()],v.prototype,\"currentValue\",void 0),v=t([e(b),i(o`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${f}--size:1.45em;${f}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{display:flex;gap:var(${f}--gap);justify-content:space-between;position:relative;width:100%}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${f}--size);justify-content:center;width:var(${f}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${p.input}-outline-color:var(${p.active})}`)],v);var m=v;export{v as Split,m as default};\n//# sourceMappingURL=split.js.map\n","import o from\"./components/split.js\";export{Split}from\"./components/split.js\";o.define();export{o as default};\n//# sourceMappingURL=split.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as a,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as n,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=n(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return a(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\"></span></div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([h({type:Boolean})],u.prototype,\"default\",void 0),t([h({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),i(s`:host,:host([contents]) [part=root]{display:inline-block;height:var(${p}-height);width:var(${p}-width)}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${d.passive});border-radius:calc(var(${p}-height)/2);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom}:host([checked]){background:var(${d.active})}[part=root]{height:inherit;position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${h}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap;width:100%}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.js.map\n","import t from\"./components/text.js\";export{Text}from\"./components/text.js\";t.define();export{t as default};\n//# sourceMappingURL=text.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,tokenList as r,htmlSlot as s}from\"@godown/element\";import{scopePrefix as n,cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";import{css as p,html as l}from\"lit\";import{property as c,queryAll as h}from\"lit/decorators.js\";import{OutlineBuilder as u}from\"../core/outline.js\";const m=\"tabs\",v=n(m),y=\"hover\";let x=class Tabs extends d{constructor(){super(...arguments),this.outlineType=\"border\",this.useSlot=!1,this.index=0}render(){return l`<ul part=\"root\" ${o(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\">${this.tabs.map(((t,i)=>l`<li part=\"${r(\"item\",{selected:this.index===i})}\" @mouseenter=\"${()=>{this.move(this._lastIndex,i),this._lastIndex=i}}\" @click=\"${()=>this.select(i)}\">${this.useSlot?s(t):t}<div part=\"indicator\"></div></li>`))}</ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(y),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:o}=this,r=e[i];if(!r)return;r.part.add(y);const s=e[t];if(!s)return;s.part.remove(y);const n=o[i],a=o[t];if(!n||!a)return;const d=a.getBoundingClientRect(),p=r.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=n;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",n.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){this.index!==t&&(this.dispatchCustomEvent(\"select\",t),this.move(this._lastIndex,t),this._lastIndex=t,this.index=t)}};t([c({attribute:\"outline-type\"})],x.prototype,\"outlineType\",void 0),t([c({type:Boolean})],x.prototype,\"useSlot\",void 0),t([c({type:Array})],x.prototype,\"tabs\",void 0),t([c({type:Number})],x.prototype,\"index\",void 0),t([h(\"[part~=item]\")],x.prototype,\"_items\",void 0),t([h(\"[part=indicator]\")],x.prototype,\"_indicators\",void 0),x=t([i(m),e(new u({width:`${v}--outline-width`,color:`${v}--outline-color`}).css,p`:host{${v}--indicator-background:var(${a._colors.darkgray[7]});${v}--outline-color:var(${a.passive});${v}--outline-width:0.075em;${v}--space:0.25em;border-radius:var(${a.borderRadius});cursor:default;display:flex;transition:.2s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${v}--space);overflow-x:clip;padding:var(${v}--space);transition:inherit;transition-property:width,transform,opacity}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .5em;position:relative}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${v}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${v}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],x);var b=x;export{x as Tabs,b as default};\n//# sourceMappingURL=tabs.js.map\n","function formatNumber(n, max = 2) {\n return n.toString().padStart(max, \"0\").split(\"\");\n}\nexport function format(fmt, time = new Date(), escape = \"%\") {\n var _a;\n if (!fmt) {\n return fmt;\n }\n if (isNaN(time.getTime())) {\n return undefined;\n }\n const replaced = `${escape}${escape}`;\n const rest = [];\n fmt = fmt.replace(new RegExp(`${escape}([ZYMDhmsS${escape}])`, \"g\"), (_, p1) => {\n rest.push(p1);\n return replaced;\n });\n const z = time.getTimezoneOffset() / -60;\n const switcher = {\n Z: [z >= 0 ? \"+\" + z.toString() : z.toString()],\n Y: time.getFullYear().toString().split(\"\"),\n M: formatNumber(time.getMonth() + 1),\n D: formatNumber(time.getDate()),\n h: formatNumber(time.getHours()),\n m: formatNumber(time.getMinutes()),\n s: formatNumber(time.getSeconds()),\n S: formatNumber(time.getMilliseconds(), 3),\n };\n const result = [];\n for (const f of fmt.split(\"\").reverse()) {\n const s = (_a = switcher[f]) === null || _a === void 0 ? void 0 : _a.pop();\n if (s) {\n result.push(s);\n }\n else {\n result.push(f);\n }\n }\n return result\n .reverse()\n .join(\"\")\n .replace(new RegExp(replaced, \"g\"), () => rest.shift());\n}\nexport default format;\n","import o from\"./components/tabs.js\";export{Tabs}from\"./components/tabs.js\";o.define();export{o as default};\n//# sourceMappingURL=tabs.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as o,attr as i}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${i(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),o(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionOutsetPlace as d}from\"../core/direction.js\";var c;const h=\"tooltip\",f=a(h);let u=c=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=c.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\">${n()}<div part=\"tip\" direction-outset-place>${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")}</div></div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=c=t([i(h),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as a}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=l(c);let u=class Typewriter extends m{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([a(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","trimRight","s","spec","end","slice","trimLeft","start","trim","omit","obj","keys","reduce","acc","includes","infixed","a","b","startsWith","endsWith","toEntries","o","k","v","Array","isArray","entries","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","WeakMap","n$b","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$6","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","createDocumentFragment","querySelectorAll","part","partName","cache","query","i$3","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","noAttribute","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","index","join","joinRules","result","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","append","sep","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","present","decimal","normalize","restrict","round","RouteTree","matchType","strict","insert","pattern","parts","split","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","paths","Timeouts","clearTimeout","attributeName","property","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","test","splice","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","whenDefined","upgrade","a$2","n$8","d$6","p$8","g$1","h$a","m$e","u$7","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","clipBackground","active","passive","_colors","input","white","black","color","borderRadius","flatMap","$","j","w","q","gray","C","tip","success","info","warning","danger","m","error","help","deprecated","x","Alert","autoclose","hideClose","variant","title","content","close","bubbles","setTimeout","alert","E","Avatar","_renderAvatar","_handleError","formatName","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","duration","Button","plain","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","top","animationName","_modalRoot","once","Card","footer","header","r$1","h$9","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","offsetsWidth","offsetParent","clientWidth","offsetWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","__cx","clientX","__cy","clientY","__t","offsetTop","__l","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","p$3","OutlineBuilder","SuperInput","autofocus","outlineType","compositing","makeId","random","defaultValue","default","_input","_handleInput","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","autocapitalize","autocomplete","placeholder","Layout","sticky","SuperAnchor","pathname","URL","href","location","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","_a","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;;uGAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,CAC9D,CA4QkD,mBAApBO,iBAAiCA,gBCpUxD,MAAMC,EAASC,GAAmB,MAATA,EAgBnBC,EAAY,CAACC,EAAGC,EAAO,OAChC,IAAKD,IAAMC,EACP,OAAOD,EAEX,IAAIE,EAAMF,EAAEZ,OACZ,KAAOc,EAAM,GAAKF,EAAEG,MAAMD,EAAMD,EAAKb,OAAQc,KAASD,GAClDC,GAAOD,EAAKb,OAEhB,OAAOY,EAAEG,MAAM,EAAGD,EAAI,EAKbE,EAAW,CAACJ,EAAGC,EAAO,OAC/B,IAAKD,IAAMC,EACP,OAAOD,EAEX,IAAIK,EAAQ,EACZ,KAAOA,EAAQL,EAAEZ,QAAUY,EAAEG,MAAME,EAAOA,EAAQJ,EAAKb,U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AAGlX,GAClBmP,EAAMD,KAAKC,IAAI+H,EAAGlX,GACxB,OAAOkP,KAAKgR,UAAYjR,EAAME,GAAOA,CAAG,E8Gd+8B3T,CAAEyE,KAAKgP,IAAIhP,KAAKkP,KAAKlP,KAAKwqB,UAAUxqB,KAAK+S,SAASjO,IAAIgT,YAAU,KAAO,MAAM1Y,EAAEF,EAAE,EAAEE,GAAGY,KAAKkM,MAAMlM,KAAKgL,MAAM5L,EAAEY,KAAKuqB,QAAS,GAAEnrB,GAAG,CAAC,IAAAqrB,GAAOxZ,aAAajR,KAAKwqB,UAAU,CAAC,GAAApuB,GAAM4D,KAAKmqB,OAAM,CAAE,GAAGjrB,EAAE,CAACyB,KAAKO,GAAExB,UAAU,eAAUJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKT,WAAWF,GAAExB,UAAU,aAAQJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAExB,UAAU,WAAMJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAExB,UAAU,WAAMJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAExB,UAAU,aAAQJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAExB,UAAU,aAAQJ,GAAQJ,EAAE,CAAC8B,KAAKE,GAAExB,UAAU,uBAAkBJ,GAAQJ,EAAE,CAAClC,EAAE,MAAMkE,GAAExB,UAAU,UAAKJ,GAAQ4B,GAAEhC,EAAE,CAACE,EAAEhE,IAAGQ,EAAEM,CAAC,SAASyF,yIAAwIA,yIAAwIT,IAAM,IAAC3D,GAAE2D,GCAnvD9B,GAAEN","x_google_ignoreList":[0,6,7,8,9,10,11,12,14,105]}
|
1
|
+
{"version":3,"file":"godown.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../components/dialog.js","../dialog.js","../components/divider.js","../divider.js","../components/dragbox.js","../dragbox.js","../components/flex.js","../components/form.js","../flex.js","../form.js","../components/grid.js","../grid.js","../components/heading.js","../heading.js","../../f7-icon/icons/eye-slash-fill.js","../core/outline.js","../core/super-input.js","../components/input.js","../input.js","../components/layout.js","../layout.js","../core/super-anchor.js","../components/router.js","../components/link.js","../link.js","../components/progress.js","../progress.js","../components/range.js","../range.js","../components/rotate.js","../rotate.js","../router.js","../core/direction.js","../components/select.js","../select.js","../../f7-icon/icons/photo.js","../components/skeleton.js","../skeleton.js","../components/split.js","../split.js","../components/switch.js","../switch.js","../components/text.js","../text.js","../components/tabs.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../tabs.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => value == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * Concatenates two strings with an optional separator.\n */\nexport const fuse = (a, b, sep = \" \") => (a ? a + (b ? sep + b : \"\") : b);\n/**\n * Checks if a string starts with and ends with a given substring.\n */\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport function* toEntries(o) {\n for (const [k, v] of Array.isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements, }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(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.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part=${partName}]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { fuse, isNil } from \"../tools/lib.js\";\nconst append = fuse;\nconst noAttribute = (value) => isNil(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true ||\n typeof value === \"string\" ||\n (typeof value === \"number\" && !isNaN(value))) {\n this.setAttribute(name, value === true ? \"\" : String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return append(acc, key + (value === true ? \"\" : `=\"${value}\"`));\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil, toEntries } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = typeof value !== \"object\" ? value : joinProperties(value);\n if (properties) {\n result += `${key}{${properties}}`;\n }\n }\n }\n return result;\n}\nexport function joinProperties(props) {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && (value || value === 0 || value === \"\")) {\n result += `${key}:${value};`;\n }\n }\n return result;\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n});\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { fuse } from \"../tools/lib.js\";\nconst append = fuse;\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (Array.isArray(cur)) {\n return append(acc, tokenList(...cur));\n }\n if (typeof cur === \"object\") {\n for (const key in cur) {\n if (cur[key]) {\n acc = append(acc, key);\n }\n }\n return acc;\n }\n return append(acc, cur);\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = document.body) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.matchType}.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.matchType.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.matchType.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.matchType.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join the given paths with a \"/\" and remove the leading and trailing \"/\" from each path.\n * @param paths - An array of paths to join.\n * @returns The joined path with \"/\" separators and no leading or trailing \"/\".\n */\n static join(...paths) {\n return paths.map((path) => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || typeof property === \"symbol\") {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nclass GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!/^[\\s\\S]*{[\\s\\S]*}$/.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as e,joinProperties as t,GodownElement as s}from\"@godown/element\";import{unsafeCSS as l,css as a}from\"lit\";class GlobalStyle extends s{}const n=e(GlobalStyle.godownConfig.prefix,\"-\");function i(o,r=1){return c(n+\"-\".repeat(r)+o)}function c(o){return l(`--${o}`)}const d={clipBackground:i(\"clip-background\",2),active:i(\"active\",2),passive:i(\"passive\",2),_colors:{},input:i(\"input\",2),white:i(\"color-white\",2),black:i(\"color-black\",2),color:i(\"color\",2),borderRadius:i(\"border-radius\",2)};GlobalStyle.styles=[l(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,e)=>{d._colors[o]||=[],d._colors[o].push(l(d.color+\"-\"+o+\"-\"+r));const t=`-${o}-${r}`;return`${d.color+t}:rgb(${e});`}),o).join(\"\")+t([[d.active,`var(${d._colors.blue[5]})`],[d.passive,`var(${d._colors.darkgray[5]})`],[d.clipBackground,`linear-gradient(to bottom, var(${d._colors.lightgray[0]}), var(${d._colors.darkgray[5]}))`]])+\"}\"),a`*{border:0;box-sizing:border-box;font-size:100%;font-style:normal;margin:0;outline:0;padding:0}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,a`:host{${d.borderRadius}:0.2em;border-radius:var(${d.borderRadius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,i as scopePrefix,c as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","export const travel = (fn, src) => Object.entries(src).flatMap(([k, v]) => v.map((rgb, index) => fn(k, index, rgb)));\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as r,toVar as t,godown as e,styles as i,htmlSlot as c,attr as l,htmlStyle as s}from\"@godown/element\";import a from\"@godown/f7-icon/icons/checkmark-alt-circle.js\";import n from\"@godown/f7-icon/icons/exclamationmark-circle.js\";import d from\"@godown/f7-icon/icons/info-circle.js\";import p from\"@godown/f7-icon/icons/lightbulb.js\";import g from\"@godown/f7-icon/icons/question-circle.js\";import h from\"@godown/f7-icon/icons/slash-circle.js\";import m from\"@godown/f7-icon/icons/xmark-circle.js\";import u from\"@godown/f7-icon/icons/xmark.js\";import{css as b,html as v}from\"lit\";import{property as f}from\"lit/decorators.js\";import{scopePrefix as w,cssGlobalVars as k,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=w($),_=o=>[k._colors[o][5],k._colors[o][9]],q=r([\"color\",\"background\"].map((o=>`${j}--${o}`)),{green:_(\"green\"),blue:_(\"blue\"),orange:_(\"orange\"),red:_(\"red\"),yellow:_(\"yellow\"),purple:_(\"purple\"),teal:_(\"teal\"),pink:_(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},(()=>\":host\"),(o=>t(o))),C={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:a},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:m},error:{color:\"red\",icon:m},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:h}};let x=class Alert extends y{constructor(){super(...arguments),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=C[this.call]?.color||this.color,r=this.call?C[this.call].icon():c(\"icon\");return v`<div part=\"root\" ${l(this.observedRecord)}><div part=\"icon\" class=\"start\">${r}</div><div part=\"content\"><strong part=\"title\">${this.title||c(\"title\")}</strong> ${this.content||c()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":v`<div part=\"icon close\" class=\"end\" tabindex=\"0\" @click=\"${this.close}\">${u()}</div>`} ${s(q[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([f()],x.prototype,\"call\",void 0),o([f()],x.prototype,\"color\",void 0),o([f({type:Number})],x.prototype,\"autoclose\",void 0),o([f()],x.prototype,\"title\",void 0),o([f()],x.prototype,\"content\",void 0),o([f({type:Boolean})],x.prototype,\"hideClose\",void 0),o([f()],x.prototype,\"variant\",void 0),x=o([e($),i(b`:host,:where(:host([contents]) [part=root]){${j}--border-width:.075em;${j}--blockquote-width:.2em;${j}--blockquote-background:transparent;${j}--gap:.5em;display:block;width:100%}[part=root]{align-items:center;background:var(${j}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${j}--border-width);color:var(${j}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${j}--gap)}[variant=blockquote]{background:var(${j}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${j}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${j}--gap)}.end svg{margin-inline-start:var(${j}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],x);var E=x;export{x as Alert,E as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as m,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\";d(l);let c=class Avatar extends p{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}>${this._renderAvatar()}</div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=\"${this._handleError}\">`:this.name?n`<span part=\"name\">${this.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};t([h()],c.prototype,\"src\",void 0),t([h()],c.prototype,\"name\",void 0),t([h({type:Boolean})],c.prototype,\"round\",void 0),c=t([r(l),e(s`:host{background:var(${m.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;height:100%;justify-content:center;position:relative;width:100%}`)],c);var v=c;export{c as Avatar,v as default};\n//# sourceMappingURL=avatar.js.map\n","import a from\"./components/avatar.js\";export{Avatar}from\"./components/avatar.js\";a.define();export{a as default};\n//# sourceMappingURL=avatar.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as a}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",c=d(l);let m=class Badge extends f{constructor(){super(...arguments),this.position=\"top-right\",this.value=0,this.dot=!1,this.max=99}formatValue(t){return t>this.max?this.max+\"+\":t+\"\"}render(){return s`<div part=\"root\" ${r(this.observedRecord)}>${a()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],m.prototype,\"position\",void 0),t([p({type:Number})],m.prototype,\"value\",void 0),t([p({type:Boolean})],m.prototype,\"dot\",void 0),t([p({type:Number})],m.prototype,\"max\",void 0),m=t([o(l),e(i`:host{${c}--background:var(${n.active});${c}--offset:0%;${c}--offset-x:var(${c}--offset);${c}--offset-y:var(${c}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${c}--background);border-radius:calc(infinity*1px);font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=badge]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=badge]{top:calc(var(${c}--offset-y))}[position$=right] [part=badge]{left:calc(100% - var(${c}--offset-x))}[position^=bottom] [part=badge]{top:calc(100% - var(${c}--offset-y))}[position$=left] [part=badge]{left:calc(var(${c}--offset-x))}`)],m);var v=m;export{m as Badge,v as default};\n//# sourceMappingURL=badge.js.map\n","import e from\"./components/badge.js\";export{Badge}from\"./components/badge.js\";e.define();export{e as default};\n//# sourceMappingURL=badge.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=s(d);let m=class Breath extends p{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this._renderText),n(this._computeStyle(t.length))]}</div>`}_renderText(t){return a`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],m.prototype,\"content\",void 0),t([l({type:Number})],m.prototype,\"duration\",void 0),m=t([o(d),r(i`:host{${$}--deg:60deg;${$}--1-1:var(${c._colors.red[5]});${$}--1-2:var(${c._colors.yellow[5]});${$}--2-1:var(${c._colors.green[5]});${$}--2-2:var(${c._colors.purple[5]});${$}--3-1:var(${c._colors.blue[5]});${$}--3-2:var(${c._colors.pink[5]});${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.clipBackground});position:absolute;top:0}`)],m);var u=m;export{m as Breath,u as default};\n//# sourceMappingURL=breath.js.map\n","import e from\"./components/breath.js\";export{Breath}from\"./components/breath.js\";e.define();export{e as default};\n//# sourceMappingURL=breath.js.map\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as t,toVar as r,part as e,godown as a,styles as i,attr as n,htmlSlot as l,htmlStyle as s}from\"@godown/element\";import{css as d,html as c}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as g,GlobalStyle as u}from\"../core/global-style.js\";const v=\"button\",y=h(v),b=g.white,m=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${y}--${o}`)),{black:[b,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[b,g._colors.darkgray[1],g._colors.lightgray[8]],white:[m,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[b,g._colors.blue[6],g._colors.blue[4]],green:[b,g._colors.green[6],g._colors.green[4]],red:[b,g._colors.red[6],g._colors.red[4]],orange:[b,g._colors.orange[6],g._colors.orange[4]],pink:[b,g._colors.pink[6],g._colors.pink[4]],purple:[b,g._colors.purple[6],g._colors.purple[4]],yellow:[m,g._colors.yellow[6],g._colors.yellow[4]],teal:[b,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.plain=!1,this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this.plain||this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),{width:r,height:e}=this.getBoundingClientRect(),{x:a,y:i}=this._root.getBoundingClientRect(),n=2*Math.sqrt(e**2+r**2)+\"px\";t.style.height=n,t.style.width=n,t.style.left=o.x-a+\"px\",t.style.top=o.y-i+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([a(v),i(d`:host(:not([disabled]):active){transform:scale(var(${y}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${y}--modal-background:var(${y}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${y}--ghost-width) var(${y}--ghost-color);color:var(${y}--ghost-color)}:host([plain]){${y}--gradients:unset;${y}--focus-scale:unset}`,d`:host{${y}--padding-x:.8em;${y}--padding-y:calc(var(${y}--padding-x)/4);${y}--padding:var(${y}--padding-y) var(${y}--padding-x);${y}--modal-animation-duration:1s;${y}--ghost-width:.08em;${y}--focus-scale:.97;${y}--deg:45deg;${y}--ghost-color:var(${y}--background);background:linear-gradient(var(${y}--deg),var(${y}--background),var(${y}--gradients,var(${y}--background)));color:var(${y}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:var(${y}--padding);text-align:center;width:-moz-fit-content;width:fit-content}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}[part=root],i{height:100%;width:100%}i{animation-duration:var(${y}--modal-animation-duration);background:var(${y}--modal-background,currentColor);border-radius:50%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible}@keyframes kf{0%{opacity:var(${y}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as p,GlobalStyle as h}from\"../core/global-style.js\";const b=\"card\",m=l(b);let n=class Card extends h{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}>${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],n.prototype,\"footer\",void 0),r([s({type:Boolean})],n.prototype,\"header\",void 0),n=r([o(b),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${p.passive});${m}--padding:.5em;border-width:var(${m}--border-width);display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}:host,slot{border-color:var(${m}--border-color);border-style:solid}[part=root]{width:100%}[name=footer]{border-top-width:var(${m}--border-width)}[name=header]{border-bottom-width:var(${m}--border-width)}`)],n);var c=n;export{n as Card,c as default};\n//# sourceMappingURL=card.js.map\n","import o from\"./components/card.js\";export{Card}from\"./components/card.js\";o.define();export{o as default};\n//# sourceMappingURL=card.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M35.805 47.723c.398.398.914.633 1.523.633c1.219 0 2.133-.915 2.133-2.133c0-.586-.234-1.125-.61-1.524L21.79 28.012l17.063-16.688c.375-.398.609-.96.609-1.523c0-1.219-.914-2.157-2.133-2.157c-.61 0-1.125.235-1.523.633L17.242 26.441c-.445.375-.703.961-.703 1.57c0 .587.258 1.126.703 1.571Z\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M18.695 48.367c.586 0 1.102-.234 1.524-.633L38.78 29.57c.446-.445.68-.984.68-1.57c0-.61-.234-1.172-.68-1.57L20.22 8.289a2.07 2.07 0 0 0-1.524-.656a2.12 2.12 0 0 0-2.156 2.156c0 .563.258 1.125.633 1.524L34.21 28L17.17 44.688c-.374.398-.632.937-.632 1.523c0 1.219.938 2.156 2.156 2.156\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as s,attr as o,htmlSlot as n}from\"@godown/element\";import r from\"@godown/f7-icon/icons/chevron-left.js\";import h from\"@godown/f7-icon/icons/chevron-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../core/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${r()}</i><div part=\"move-root\">${n()}</div><i part=\"next\" @click=\"${this.next}\">${h()}</i></div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 39.46a2.1 2.1 0 0 0 1.57-.679l18.164-18.586a2.1 2.1 0 0 0 .633-1.5a2.12 2.12 0 0 0-2.156-2.156a2.27 2.27 0 0 0-1.523.61L28 34.21L11.313 17.148a2.23 2.23 0 0 0-1.524-.609a2.12 2.12 0 0 0-2.156 2.156c0 .586.234 1.102.633 1.524L26.43 38.78c.445.446.96.68 1.57.68\"/>`;\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as i,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../core/global-style.js\";import d from\"../core/super-openable.js\";const c=\"details\",m=p(c);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}><dt part=\"title\" @click=\"${()=>this.toggle()}\"><span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${r()}</div></dd></dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([o(c),i(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:.22em;display:block;transition:.3s}[part=root]{height:100%;position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;padding:var(${m}--icon-space);transform:rotate(var(${m}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const m=\"dialog\",p=r(m);let c=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return n`<dialog part=\"root\" ${i(this.observedRecord)}>${s()}</dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],c.prototype,\"modal\",null),t([d()],c.prototype,\"key\",void 0),t([l(\"dialog\")],c.prototype,\"_dialog\",void 0),c=t([o(m),e(a`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],c);var u=c;export{c as Dialog,u as default};\n//# sourceMappingURL=dialog.js.map\n","import o from\"./components/dialog.js\";export{Dialog}from\"./components/dialog.js\";o.define();export{o as default};\n//# sourceMappingURL=dialog.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([o(\"divider\"),r(i`:host{background:currentColor;color:var(${a.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var p=c;export{c as Divider,p as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.__drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__cx=t.clientX,this.__cy=t.clientY,this.__t=this.offsetTop,this.__l=this.offsetLeft,this.__drag=!0,this._handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this._handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.__drag)return;const e=t.clientX-(this.__cx-this.__l),s=t.clientY-(this.__cy-this.__t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${r(this.observedRecord)}>${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]}</div>`}};t([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return o()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,o]=s.namevalue();e&&(t[e]=o)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(h`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M43.95 47.323c.304.305.732.468 1.119.468c.814 0 1.567-.733 1.567-1.568c0-.407-.163-.814-.468-1.12L12.112 11.069a1.57 1.57 0 0 0-1.12-.448c-.814 0-1.567.733-1.567 1.547c0 .428.143.835.448 1.12Zm1.913-5.761C52.255 37.43 56 32.056 56 29.674c0-4.132-11.297-17.303-27.99-17.303c-3.46 0-6.697.59-9.669 1.567l5.313 5.293a11 11 0 0 1 4.356-.896c6.31 0 11.38 4.988 11.38 11.339c0 1.547-.326 3.033-.958 4.336ZM28.01 46.977c3.766 0 7.267-.672 10.402-1.771l-5.394-5.395a10.8 10.8 0 0 1-5.008 1.201c-6.35 0-11.379-5.15-11.4-11.338c0-1.832.428-3.562 1.202-5.09l-7.084-7.124C4.01 21.592 0 27.231 0 29.674c0 4.112 11.501 17.303 28.01 17.303m6.473-17.73a6.446 6.446 0 0 0-6.473-6.454c-.264 0-.53.02-.773.041l7.206 7.206c.02-.244.04-.529.04-.794m-12.966-.041c0 3.582 2.951 6.473 6.514 6.473c.285 0 .55-.02.834-.04l-7.308-7.309c-.02.285-.04.59-.04.876\"/>`;\n","import{unsafeCSS as t,css as e}from\"lit\";class OutlineBuilder{constructor(o){const i=t(o.width),l=t(o.color);this.css=e`[outline-type=outline-inset],[outline-type=outline]{outline-color:var(${l});outline-style:solid;outline-width:var(${i})}[outline-type=outline-inset]{outline-offset:calc(var(${i})*-1)}[outline-type=box-shadow]{box-shadow:0 0 0 var(${i}) var(${l})}[outline-type=box-shadow-inset]{box-shadow:inset 0 0 0 var(${i}) var(${l})}[outline-type=border]{border-color:var(${l});border-style:solid;border-width:var(${i})}`}get styleSheet(){return this.css.styleSheet}}const o=t=>!t||\"none\"===t;export{OutlineBuilder,o as isNone};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,styles as i,omit as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as l}from\"./global-style.js\";import{OutlineBuilder as u}from\"./outline.js\";const d=r`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:var(${a.input}-space);width:100%}.input-field [part=icon]{align-items:center;color:var(${a.input}-icon-color);display:flex;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{display:flex;height:100%}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${a.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${a.input}-space)}`,c=r`:host{${a.input}-width:10em;${a.input}-height:1.6em;${a.input}-space:0.2em;${a.input}-control:currentColor;${a.input}-outline-width:.075em;${a.input}-outline-color:var(${a._colors.darkgray[4]});${a.input}-icon-color:var(${a._colors.darkgray[4]})}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${a.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}_handleChange(t){this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0}))}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return p`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){return p`<label for=\"${this.makeId}\" part=\"suffix\">${n(\"suffix\")}</label>`}};t([s()],h.prototype,\"autocomplete\",void 0),t([s({attribute:\"outline-type\"})],h.prototype,\"outlineType\",void 0),t([s({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([s({reflect:!0})],h.prototype,\"type\",void 0),t([s({reflect:!0})],h.prototype,\"placeholder\",void 0),t([s({reflect:!0})],h.prototype,\"name\",void 0),t([s()],h.prototype,\"value\",void 0),t([s()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(d,new u({width:`${a.input}-outline-width`,color:`${a.input}-outline-color`}).styleSheet,c)],h);var f=h;export{h as SuperInput,f as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as r,tokenList as s,htmlSlot as a}from\"@godown/element\";import p from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as n,html as u,nothing as h}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as c}from\"../core/super-input.js\";let f=class Input extends c{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return u`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return u`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?u`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${p()}</i>`:a(\"suffix\")}</label>`}};t([l()],f.prototype,\"variant\",void 0),t([e(\"input\")],f.prototype,\"_input\",void 0),f=t([i(\"input\"),o(n`:host{display:block;height:var(${d.input}-height);width:var(${d.input}-width)}.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}`)],f);var $=f;export{f as Input,$ as default};\n//# sourceMappingURL=input.js.map\n","import o from\"./components/input.js\";export{Input}from\"./components/input.js\";o.define();export{o as default};\n//# sourceMappingURL=input.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let l=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}><header part=\"header\">${i(\"header\")}</header><main part=\"main\">${i()}</main><footer part=\"footer\">${i(\"footer\")}</footer></div>`}};t([p({type:Boolean})],l.prototype,\"sticky\",void 0),l=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],l);var n=l;export{l as Layout,n as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as a,nothing as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return a`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||l}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit;width:100%}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),c.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchEvent(new CustomEvent(\"change\",{detail:t}))}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../core/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var h=m;export{m as Progress,h as default};\n//# sourceMappingURL=progress.js.map\n","import o from\"./components/progress.js\";export{Progress}from\"./components/progress.js\";o.define();export{o as default};\n//# sourceMappingURL=progress.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as a,Ranger as s,omit as o,attr as i,joinProperties as n,loop as h,tokenList as l,isNil as d}from\"@godown/element\";import{css as u,html as c}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../core/global-style.js\";import{SuperInput as w}from\"../core/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return c`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"><div part=\"track\"></div>${h(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return c`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){const{rangeValue:e,step:r}=this;return e.length<2&&(t=0),a=>{const s=e[t];\"ArrowLeft\"===a.key||\"ArrowDown\"===a.key?(a.preventDefault(),this.createSetValue(t)(s-r)):\"ArrowRight\"!==a.key&&\"ArrowUp\"!==a.key||(a.preventDefault(),this.createSetValue(t)(s+r))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new s(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,d(this.value)&&(d(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(u`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;width:100%;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=range.js.map\n","import e from\"./components/range.js\";export{Range}from\"./components/range.js\";e.define();export{e as default};\n//# sourceMappingURL=range.js.map\n","import{__decorate as t}from\"tslib\";import{part as o,godown as e,styles as r,htmlSlot as i}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{scopePrefix as a,GlobalStyle as l}from\"../core/global-style.js\";const d=\"rotate\",p=a(d);let m=class Rotate extends l{render(){return n`<div part=\"root\"><div part=\"slot\" @mousemove=\"${this._handleRotate}\">${i()}</div><i @mouseleave=\"${this.reset}\"></i></div>`}reset(){this._root.style.removeProperty(\"transform\"),this._root.style.removeProperty(\"transition\")}_handleRotate(t){const{rotateX:o,rotateY:e}=this._computeOffset(t);this._root.style.setProperty(\"transform\",`rotateX(${o}rad) rotateY(${e}rad)`),this._root.style.setProperty(\"transition\",\"0s\")}_computeOffset(t){const{left:o,top:e,width:r,height:i}=this._root.getBoundingClientRect(),{clientX:s,clientY:n}=t;return{rotateX:-(n-e-i/2)/i/2,rotateY:(s-o-r/2)/r/2}}};t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(d),r(s`:host{display:block;transition:all .5s ease-in-out;width:-moz-fit-content;width:fit-content;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{box-sizing:content-box;height:100%;margin:calc(var(${p}--offset)*-1);padding:var(${p}--offset);position:absolute;top:0;width:100%}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/rotate.js\";export{Rotate}from\"./components/rotate.js\";o.define();export{o as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/router.js\";export{Router}from\"./components/router.js\";o.define();export{o as default};\n//# sourceMappingURL=router.js.map\n","import{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,html as h,nothing as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{directionOutsetPlace as f}from\"../core/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return h`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||a}\" autocomplete=\"${this.autocomplete||a}\" placeholder=\"${this.placeholder||a}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,h`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,h`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place>${l()}</label>`]}</div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t;let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0}))}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=select.js.map\n","import e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M7.715 49.574h40.57c4.899 0 7.36-2.437 7.36-7.265V13.69c0-4.828-2.461-7.265-7.36-7.265H7.715C2.84 6.426.355 8.84.355 13.69v28.62c0 4.851 2.485 7.265 7.36 7.265m31.57-21.633c-1.055-.937-2.25-1.43-3.515-1.43c-1.313 0-2.462.446-3.54 1.407l-10.593 9.469l-4.336-3.938c-.985-.867-2.04-1.336-3.164-1.336c-1.032 0-2.04.446-3 1.313L4.129 39.73V13.88c0-2.438 1.312-3.68 3.656-3.68h40.43c2.32 0 3.656 1.242 3.656 3.68v25.875Zm-21.469.258c3.024 0 5.508-2.484 5.508-5.531c0-3.023-2.484-5.531-5.508-5.531c-3.046 0-5.53 2.508-5.53 5.531a5.54 5.54 0 0 0 5.53 5.531\"/>`;\n","import{__decorate as o}from\"tslib\";import{godown as i,styles as r,htmlSlot as t,attr as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/photo.js\";import{css as e,html as s}from\"lit\";import{property as m,state as d}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as c,GlobalStyle as g}from\"../core/global-style.js\";const l=\"skeleton\",v=p(l);let $=class Skeleton extends g{constructor(){super(...arguments),this.animation=\"position\",this.loading=!0}render(){return this.loading?s`<div part=\"root\" ${a(this.observedRecord)}>${\"image\"===this.type?n():\"\"} ${t(\"loading\")}</div>`:t()}};o([m()],$.prototype,\"type\",void 0),o([m()],$.prototype,\"animation\",void 0),o([d()],$.prototype,\"loading\",void 0),$=o([i(l),r(e`:host{${v}--from:var(${c._colors.darkgray[9]});${v}--to:var(${c._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;background:var(${v}--from);color:var(${c._colors.darkgray[5]});display:block;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}[part=root]{animation:var(${v}--duration) ease-in-out 0s infinite none running;height:100%;min-height:inherit;text-align:center}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size)*.05)}[animation=position]{animation-name:po;background-color:transparent;background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-size:200% 100%}@keyframes po{0%{background-position:150%}to{background-position:-50%}}[animation=opacity]{animation-direction:alternate;animation-name:op}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],$);var f=$;export{$ as Skeleton,f as default};\n//# sourceMappingURL=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as r,attr as s,loop as n,tokenList as u}from\"@godown/element\";import{css as o,html as l}from\"lit\";import{property as c,state as a}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as p}from\"../core/global-style.js\";import{SuperInput as d}from\"../core/super-input.js\";const b=\"split\",f=h(b);let v=class Split extends d{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}get observedRecord(){return r(super.observedRecord,\"outline-type\")}render(){return l`<div part=\"root\" ${s(this.observedRecord)}>${n(this.len,(t=>l`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${u({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([c({type:Number})],v.prototype,\"len\",void 0),t([c({type:Number})],v.prototype,\"index\",void 0),t([a()],v.prototype,\"current\",void 0),t([a()],v.prototype,\"currentValue\",void 0),v=t([e(b),i(o`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${f}--size:1.45em;${f}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{display:flex;gap:var(${f}--gap);justify-content:space-between;position:relative;width:100%}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${f}--size);justify-content:center;width:var(${f}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${p.input}-outline-color:var(${p.active})}`)],v);var m=v;export{v as Split,m as default};\n//# sourceMappingURL=split.js.map\n","import o from\"./components/split.js\";export{Split}from\"./components/split.js\";o.define();export{o as default};\n//# sourceMappingURL=split.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as a,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as n,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=n(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return a(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\"></span></div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([h({type:Boolean})],u.prototype,\"default\",void 0),t([h({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),i(s`:host,:host([contents]) [part=root]{display:inline-block;height:var(${p}-height);width:var(${p}-width)}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${d.passive});border-radius:calc(var(${p}-height)/2);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom}:host([checked]){background:var(${d.active})}[part=root]{height:inherit;position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${h}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap;width:100%}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.js.map\n","import t from\"./components/text.js\";export{Text}from\"./components/text.js\";t.define();export{t as default};\n//# sourceMappingURL=text.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,tokenList as r,htmlSlot as n}from\"@godown/element\";import{scopePrefix as s,cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";import{css as p,html as l}from\"lit\";import{property as c,queryAll as h}from\"lit/decorators.js\";import{OutlineBuilder as u}from\"../core/outline.js\";const m=\"tabs\",v=s(m),y=\"hover\";let x=class Tabs extends d{constructor(){super(...arguments),this.outlineType=\"border\",this.useSlot=!1,this.index=0}render(){return l`<ul part=\"root\" ${o(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\">${this.tabs.map(((t,i)=>l`<li part=\"${r(\"item\",{selected:this.index===i})}\" @mouseenter=\"${()=>{this.move(this._lastIndex,i),this._lastIndex=i}}\" @click=\"${()=>this.select(i)}\">${this.useSlot?n(t):t}<div part=\"indicator\"></div></li>`))}</ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(y),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:o}=this,r=e[i];if(!r)return;r.part.add(y);const n=e[t];if(!n)return;n.part.remove(y);const s=o[i],a=o[t];if(!s||!a)return;const d=a.getBoundingClientRect(),p=r.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=s;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",s.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){this.index!==t&&(this.dispatchCustomEvent(\"select\",t),this.move(this._lastIndex,t),this._lastIndex=t,this.index=t)}};t([c({attribute:\"outline-type\"})],x.prototype,\"outlineType\",void 0),t([c({type:Boolean})],x.prototype,\"useSlot\",void 0),t([c({type:Array})],x.prototype,\"tabs\",void 0),t([c({type:Number})],x.prototype,\"index\",void 0),t([h(\"[part~=item]\")],x.prototype,\"_items\",void 0),t([h(\"[part=indicator]\")],x.prototype,\"_indicators\",void 0),x=t([i(m),e(new u({width:`${v}--outline-width`,color:`${v}--outline-color`}).css,p`:host{${v}--indicator-background:var(${a._colors.darkgray[7]});${v}--outline-color:var(${a.passive});${v}--outline-width:0.075em;${v}--space:0.25em;border-radius:var(${a.borderRadius});cursor:default;display:flex;transition:.2s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${v}--space);overflow-x:clip;padding:var(${v}--space);position:relative;transition:inherit;transition-property:width,transform,opacity;z-index:1}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .4em;position:relative}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${v}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${v}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],x);var b=x;export{x as Tabs,b as default};\n//# sourceMappingURL=tabs.js.map\n","function formatNumber(n, max = 2) {\n return n.toString().padStart(max, \"0\").split(\"\");\n}\nexport function format(fmt, time = new Date(), escape = \"%\") {\n var _a;\n if (!fmt) {\n return fmt;\n }\n if (isNaN(time.getTime())) {\n return undefined;\n }\n const replaced = `${escape}${escape}`;\n const rest = [];\n fmt = fmt.replace(new RegExp(`${escape}([ZYMDhmsS${escape}])`, \"g\"), (_, p1) => {\n rest.push(p1);\n return replaced;\n });\n const z = time.getTimezoneOffset() / -60;\n const switcher = {\n Z: [z >= 0 ? \"+\" + z.toString() : z.toString()],\n Y: time.getFullYear().toString().split(\"\"),\n M: formatNumber(time.getMonth() + 1),\n D: formatNumber(time.getDate()),\n h: formatNumber(time.getHours()),\n m: formatNumber(time.getMinutes()),\n s: formatNumber(time.getSeconds()),\n S: formatNumber(time.getMilliseconds(), 3),\n };\n const result = [];\n for (const f of fmt.split(\"\").reverse()) {\n const s = (_a = switcher[f]) === null || _a === void 0 ? void 0 : _a.pop();\n if (s) {\n result.push(s);\n }\n else {\n result.push(f);\n }\n }\n return result\n .reverse()\n .join(\"\")\n .replace(new RegExp(replaced, \"g\"), () => rest.shift());\n}\nexport default format;\n","import o from\"./components/tabs.js\";export{Tabs}from\"./components/tabs.js\";o.define();export{o as default};\n//# sourceMappingURL=tabs.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as o,attr as i}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${i(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),o(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionOutsetPlace as d}from\"../core/direction.js\";var c;const h=\"tooltip\",f=a(h);let u=c=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=c.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\">${n()}<div part=\"tip\" direction-outset-place>${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")}</div></div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=c=t([i(h),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as a}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=l(c);let u=class Typewriter extends m{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([a(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","trimRight","s","spec","end","slice","trimLeft","start","trim","omit","obj","keys","reduce","acc","includes","infixed","a","b","startsWith","endsWith","toEntries","o","k","v","Array","isArray","entries","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","WeakMap","n$b","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$6","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","createDocumentFragment","querySelectorAll","part","partName","cache","query","i$3","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","noAttribute","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","index","join","joinRules","result","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","append","sep","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","present","decimal","normalize","restrict","round","RouteTree","matchType","strict","insert","pattern","parts","split","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","paths","Timeouts","clearTimeout","attributeName","property","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","test","splice","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","whenDefined","upgrade","a$2","n$8","d$6","p$8","g$1","h$a","m$e","u$7","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","clipBackground","active","passive","_colors","input","white","black","color","borderRadius","flatMap","$","j","w","q","gray","C","tip","success","info","warning","danger","m","error","help","deprecated","x","Alert","autoclose","hideClose","variant","title","content","close","bubbles","setTimeout","alert","E","Avatar","_renderAvatar","_handleError","formatName","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","duration","Button","plain","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","top","animationName","_modalRoot","once","Card","footer","header","r$1","h$9","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","offsetsWidth","offsetParent","clientWidth","offsetWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","__cx","clientX","__cy","clientY","__t","offsetTop","__l","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","p$3","OutlineBuilder","SuperInput","autofocus","outlineType","compositing","makeId","random","defaultValue","default","_input","_handleInput","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","autocapitalize","autocomplete","placeholder","Layout","sticky","SuperAnchor","pathname","URL","href","location","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","_a","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;;uGAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ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