godown 3.8.2 → 3.8.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"godown+lit.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.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/lit-html.js","../../../node_modules/.pnpm/lit-element@4.1.1/node_modules/lit-element/lit-element.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/tools/lib.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","../../element/config.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","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => { var _a; return typeof value === \"function\" && ((_a = value.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === value; };\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const join = (a, b, sep) => (a ? a + (b ? sep + b : \"\") : b) || \"\";\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\n//# sourceMappingURL=string.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=globalThis,i=t.trustedTypes,s=i?i.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,e=\"$lit$\",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o=\"?\"+h,n=`<${o}>`,r=document,l=()=>r.createComment(\"\"),c=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,a=Array.isArray,u=t=>a(t)||\"function\"==typeof t?.[Symbol.iterator],d=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\\\s\"'>=/]+)(${d}*=${d}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),p=/'/g,g=/\"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),b=y(2),w=y(3),T=Symbol.for(\"lit-noChange\"),E=Symbol.for(\"lit-nothing\"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?\"<svg>\":3===i?\"<math>\":\"\",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?\"!--\"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp(\"</\"+u[2],\"g\")),c=m):void 0!==u[3]&&(c=m):c===m?\">\"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'\"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith(\"/>\")?\" \":\"\";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x)}return[P(t,l+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:\".\"===e[1]?H:\"?\"===e[1]?I:\"@\"===e[1]?L:k}),r.removeAttribute(t)}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i?i.emptyScript:\"\";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l())}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else{let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1}c++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n]}o!==l?.index&&(h=C.nextNode(),o++)}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||\"\"===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const Z={M:e,P:h,A:o,C:1,L:V,R:M,D:u,V:S,I:R,H:k,N:I,U:L,B:H,F:z},j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push(\"3.2.1\");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{})}return h._$AI(t),h};export{Z as _$LH,x as html,w as mathml,T as noChange,E as nothing,B as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as s}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class r extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return s}}r._$litElement$=!0,r[\"finalized\"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});const o={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push(\"4.1.1\");export{r as LitElement,o as _$LE};\n//# sourceMappingURL=lit-element.js.map\n","/**\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 { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const [k, v] of isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString, join } from \"../tools/lib.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) ||\n (isNumber(value) && !isNaN(value))) {\n this.setAttribute(name, 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 join(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 zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isObject, toEntries } from \"./lib.js\";\nimport { isNullable } from \"../tools/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 (!isNullable(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 = !isObject(value) ? 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\";\nimport { isString } from \"sharekit\";\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 = isString(style) ? 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 { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? 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 { isArray, isObject, join } from \"../tools/lib.js\";\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 (isArray(cur)) {\n return join(acc, tokenList(...cur), \" \");\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = join(acc, key, \" \");\n }\n }\n return acc;\n }\n return join(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 random() {\n return this.normalize(Math.random() * this.diff + this.min);\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, isString } from \"sharekit\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.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 (isString(parts)) {\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.MatchTypes.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.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.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.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\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.MatchTypes = {\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, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nexport class 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 default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class 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 toDash(this.prefix + separator + origin + separator + this.suffix);\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 default GodownConfig;\n//# sourceMappingURL=config.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 t,joinProperties as e,GodownElement as s}from\"@godown/element\";import{unsafeCSS as i,css as l}from\"lit\";class GlobalStyle extends s{}const a=t(GlobalStyle.godownConfig.prefix,\"-\");function n(o,r=1){return c(a+\"-\".repeat(r)+o)}function c(o){return i(`--${o}`)}const d={clipBackground:n(\"clip-background\",2),active:n(\"active\",2),passive:n(\"passive\",2),_colors:{},input:n(\"input\",2),white:n(\"color-white\",2),black:n(\"color-black\",2),color:n(\"color\",2),borderRadius:n(\"border-radius\",2)};GlobalStyle.styles=[i(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,t)=>{d._colors[o]||=[],d._colors[o].push(i(d.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${d.color+e}:rgb(${t});`}),o).join(\"\")+e([[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[0]}))`]])+\"}\"),l`*{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}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,l`:host{${d.borderRadius}:0.2em;border-radius:var(${d.borderRadius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,n 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 k,cssGlobalVars as w,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=k($),_=o=>[w._colors[o][5],w._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:[w._colors.lightgray[5],w._colors.darkgray[5]],white:[w._colors.lightgray[2],w._colors.darkgray[7]],black:[w._colors.darkgray[8],w._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.dispatchCustomEvent(\"close\",void 0,{bubbles:!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}[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 A=x;export{x as Alert,A 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 r}from\"tslib\";import{godown as t,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 d}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as m,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\";h(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}};r([d()],c.prototype,\"src\",void 0),r([d()],c.prototype,\"name\",void 0),r([d({type:Boolean})],c.prototype,\"round\",void 0),c=r([t(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;justify-content:center;position:relative}`)],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,$=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 f=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)}>${this.content||l()} <span part=\"modal-root\"></span> ${s($[o])}</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})],f.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"round\",void 0),o([p({reflect:!0})],f.prototype,\"color\",void 0),o([p()],f.prototype,\"content\",void 0),o([e(\"modal-root\")],f.prototype,\"_modalRoot\",void 0),o([e(\"root\")],f.prototype,\"_root\",void 0),f=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}[part=root]:not([contents]){height:100%;width:100%}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}i{animation-duration:var(${y}--modal-animation-duration);background:var(${y}--modal-background,currentColor);border-radius:50%;height:100%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible;width:100%}@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}}`)],f);var _=f;export{f 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 o}from\"tslib\";import{godown as r,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 p,cssGlobalVars as l,GlobalStyle as n}from\"../core/global-style.js\";const h=\"card\",m=p(h);let b=class Card extends n{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>`}};o([s({type:Boolean})],b.prototype,\"footer\",void 0),o([s({type:Boolean})],b.prototype,\"header\",void 0),b=o([r(h),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${l.passive});${m}--padding:.75em;display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}[part=root]{border-color:var(${m}--border-color);border-radius:inherit;border-style:solid;border-width:var(${m}--border-width)}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],b);var c=b;export{b 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.dispatchCustomEvent(\"change\",this.open)}}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 m=\"details\",c=p(m);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(m),i(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{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;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g 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 n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../core/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,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)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ 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,nothing as a,html 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 s`<a part=\"root\" href=\"${this.id?\"#\"+this.id:a}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?s`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<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)}`,h=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 c=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.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}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()],c.prototype,\"autocomplete\",void 0),t([s({attribute:\"outline-type\"})],c.prototype,\"outlineType\",void 0),t([s({type:Boolean,reflect:!0})],c.prototype,\"disabled\",void 0),t([s({reflect:!0})],c.prototype,\"type\",void 0),t([s({reflect:!0})],c.prototype,\"placeholder\",void 0),t([s({reflect:!0})],c.prototype,\"name\",void 0),t([s()],c.prototype,\"value\",void 0),t([s()],c.prototype,\"default\",void 0),t([e(\"input\")],c.prototype,\"_input\",void 0),c=t([i(d,new u({width:`${a.input}-outline-width`,color:`${a.input}-outline-color`}).styleSheet,h)],c);var f=c;export{c 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,nothing as u,html 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 h`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||u}\" autocomplete=\"${this.autocomplete||u}\" placeholder=\"${this.placeholder||u}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return h`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?h`<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,nothing as a,html 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 l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||a}\" 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}`)],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.dispatchCustomEvent(\"change\",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,isNullable 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;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 u=m;export{m as Progress,u 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,isNullable as c}from\"@godown/element\";import{css as d,html as u}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 u`<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 u`<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)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const s=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(s-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(s+a))}}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.dispatchCustomEvent(\"change\",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,c(this.value)&&(c(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(d`: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;--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}`,d`[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%}`,d`[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,nothing as h,html 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 a`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,a`<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.dispatchCustomEvent(\"select\",this.value),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.dispatchCustomEvent(\"input\",this.value,{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;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 n,loop as s,tokenList as u}from\"@godown/element\";import{css as l,html as o}from\"lit\";import{property as a,state as c}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 f=\"split\",b=h(f);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 o`<div part=\"root\" ${n(this.observedRecord)}>${s(this.len,(t=>o`<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}\" @change=\"${this._handleChange}\" .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.dispatchCustomEvent(\"input\",this.value,{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()}blur(){this._input.blur(),this.current=-1,super.blur()}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([a({type:Number})],v.prototype,\"len\",void 0),t([a({type:Number})],v.prototype,\"index\",void 0),t([c()],v.prototype,\"current\",void 0),t([c()],v.prototype,\"currentValue\",void 0),v=t([e(f),i(l`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${b}--size:1.45em;${b}--gap:.25em}[part=root]{display:flex;gap:var(${b}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${b}--size);justify-content:center;width:var(${b}--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 a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=h(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 i(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([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}: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);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${d.active})}[part=root]{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 v}from\"../core/global-style.js\";const d=\"text\",u=p(d);let h=class Text extends v{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()],h.prototype,\"underline\",void 0),o([c({type:Boolean})],h.prototype,\"clip\",void 0),h=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--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}`)],h);var w=h;export{h 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)=>t||this.useSlot?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){const{index:i,tabs:e,_lastIndex:o,useSlot:r}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(o,t),this._lastIndex=t,i in e&&(e[i]||r)&&(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;white-space:nowrap}[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 i,attr as o}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\" ${o(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.dispatchCustomEvent(\"time\",this.time),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\"),i(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 o,attr as i,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as a,query as p}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as c}from\"../core/global-style.js\";const m=\"typewriter\",y=l(m);let u=class Typewriter extends c{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\" ${i(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();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([a()],u.prototype,\"contentInternal\",void 0),t([p(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),o(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","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","join","a","b","sep","infixed","startsWith","endsWith","styles","s","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","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","o","WeakMap","n$b","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","reduce","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$7","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","createPolicy","createHTML","Math","random","toFixed","slice","createComment","v","_","m","RegExp","g","$","_$litType$","strings","values","x","T","for","E","A","C","createTreeWalker","N","parts","lastIndex","exec","test","V","el","currentNode","content","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","getAttribute","split","index","ctor","H","I","L","k","append","data","indexOf","innerHTML","S","_$Co","_$Cl","_$litDirective$","_$AO","_$AT","_$AS","M","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","R","nextSibling","z","_$AI","_$Cv","_$AH","_$AA","_$AB","options","startNode","endNode","_$AR","iterator","O","insertBefore","createTextNode","_$AC","_$AP","remove","setConnected","k$1","element","fill","j","toggleAttribute","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","litHtmlPolyfillSupport","litHtmlVersions","r$2","renderOptions","_$Do","renderBefore","render","_$litPart$","_$litElement$","litElementHydrateSupport","LitElement","litElementPolyfillSupport","litElementVersions","i$2","_$Ct","_$Ci","toEntries","entries","updateAttribute","noAttribute","isNumber","isNaN","attr","directive","AttrDirective","Directive","caller","fn","PartType","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","acc","joinRules","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","body","svg","renderer","attributes","loop","len","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","child","children","from","deepQuerySelector","Events","inner","src","listener","typeMap","elementSet","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","Ranger","endpoint1","endpoint2","step","max","min","diff","normalize","present","decimal","restrict","round","RouteTree","matchType","MatchTypes","strict","insert","pattern","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","Timeouts","undefined","clearTimeout","attributeName","property","GodownElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","splice","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","_a","match","splitWords","toDash","getName","whenDefined","upgrade","a$3","n$7","d$7","p$8","g$2","h$9","m$f","u$8","rgb","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","clipBackground","active","_colors","input","white","black","color","borderRadius","flatMap","w","q","gray","tip","success","info","warning","danger","error","help","deprecated","Alert","autoclose","hideClose","variant","title","close","bubbles","setTimeout","alert","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","Card","footer","header","r$1","h$7","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","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","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","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","p1","getTimezoneOffset","switcher","Z","Y","getFullYear","getMonth","D","getDate","getHours","getMinutes","getSeconds","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;AAsDO,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,gBCvUxD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AAKL,UAAUN,GAAE1B,UAAU,aAAQ,GAAQP,EAAE,CAAC0B,EAAE,CAACkB,KAAKL,UAAUN,GAAE1B,UAAU,aAAQ,GAAQP,EAAE,CAAC7B,KAAK8D,GAAE1B,UAAU,uBAAkB,GAAQP,EAAE,CAAC+B,EAAE,MAAME,GAAE1B,UAAU,UAAK,GAAQ0B,GAAEjC,EAAE,CAACE,EAAE6J,IAAGrJ,EAAEhC,CAAC,SAASgE,yIAAwIA,yIAAwIT,IAAM,IAAC4H,GAAE5H,GCApzD/B,GAAEN","x_google_ignoreList":[0,7,8,9,10,11,12,13,15,16,17,110]}
1
+ {"version":3,"file":"godown+lit.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.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/lit-html.js","../../../node_modules/.pnpm/lit-element@4.1.1/node_modules/lit-element/lit-element.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/tools/lib.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","../../element/config.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","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !Number.isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => { var _a; return typeof value === \"function\" && ((_a = value.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === value; };\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const join = (a, b, sep) => (a ? a + (b ? sep + b : \"\") : b) || \"\";\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\n//# sourceMappingURL=string.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 { toDash } from \"sharekit\";\nimport { 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 ||= toDash(constructor.name);\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=globalThis,i=t.trustedTypes,s=i?i.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,e=\"$lit$\",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o=\"?\"+h,n=`<${o}>`,r=document,l=()=>r.createComment(\"\"),c=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,a=Array.isArray,u=t=>a(t)||\"function\"==typeof t?.[Symbol.iterator],d=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\\\s\"'>=/]+)(${d}*=${d}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),p=/'/g,g=/\"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),b=y(2),w=y(3),T=Symbol.for(\"lit-noChange\"),E=Symbol.for(\"lit-nothing\"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?\"<svg>\":3===i?\"<math>\":\"\",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?\"!--\"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp(\"</\"+u[2],\"g\")),c=m):void 0!==u[3]&&(c=m):c===m?\">\"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'\"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith(\"/>\")?\" \":\"\";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x)}return[P(t,l+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:\".\"===e[1]?H:\"?\"===e[1]?I:\"@\"===e[1]?L:k}),r.removeAttribute(t)}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i?i.emptyScript:\"\";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l())}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else{let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1}c++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n]}o!==l?.index&&(h=C.nextNode(),o++)}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||\"\"===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const Z={M:e,P:h,A:o,C:1,L:V,R:M,D:u,V:S,I:R,H:k,N:I,U:L,B:H,F:z},j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push(\"3.2.1\");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{})}return h._$AI(t),h};export{Z as _$LH,x as html,w as mathml,T as noChange,E as nothing,B as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as s}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class r extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return s}}r._$litElement$=!0,r[\"finalized\"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});const o={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push(\"4.1.1\");export{r as LitElement,o as _$LE};\n//# sourceMappingURL=lit-element.js.map\n","/**\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 { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const [k, v] of isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString, join } from \"../tools/lib.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) || (isNumber(value) && !Number.isNaN(value))) {\n this.setAttribute(name, String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) { }\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 join(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 zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isObject, toEntries } from \"./lib.js\";\nimport { isNullable } from \"../tools/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 (!isNullable(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 = !isObject(value) ? 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\";\nimport { isString } from \"sharekit\";\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 = isString(style) ? 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 { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => (strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? 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 { isArray, isObject, join } from \"../tools/lib.js\";\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 (isArray(cur)) {\n return join(acc, tokenList(...cur), \" \");\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = join(acc, key, \" \");\n }\n }\n return acc;\n }\n return join(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 random() {\n return this.normalize(Math.random() * this.diff + this.min);\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, isString } from \"sharekit\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.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 (isString(parts)) {\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.MatchTypes.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.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.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.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\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.MatchTypes = {\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, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nconst withSelectorRegex = /^[\\s\\S]*{[\\s\\S]*}$/;\nexport class 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 (!withSelectorRegex.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 || !styles.length) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\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 default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class 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 toDash(this.prefix + separator + origin + separator + this.suffix);\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 default GodownConfig;\n//# sourceMappingURL=config.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 t,joinProperties as e,GodownElement as s}from\"@godown/element\";import{unsafeCSS as i,css as l}from\"lit\";class GlobalStyle extends s{}const a=t(GlobalStyle.godownConfig.prefix,\"-\");function n(o,r=1){return c(a+\"-\".repeat(r)+o)}function c(o){return i(`--${o}`)}const d={clipBackground:n(\"clip-background\",2),active:n(\"active\",2),passive:n(\"passive\",2),_colors:{},input:n(\"input\",2),white:n(\"color-white\",2),black:n(\"color-black\",2),color:n(\"color\",2),borderRadius:n(\"border-radius\",2)};GlobalStyle.styles=[i(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,t)=>{d._colors[o]||=[],d._colors[o].push(i(d.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${d.color+e}:rgb(${t});`}),o).join(\"\")+e([[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[0]}))`]])+\"}\"),l`*{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}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,l`:host{${d.borderRadius}:0.2em;border-radius:var(${d.borderRadius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,n 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 k,cssGlobalVars as w,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=k($),_=o=>[w._colors[o][5],w._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:[w._colors.lightgray[5],w._colors.darkgray[5]],white:[w._colors.lightgray[2],w._colors.darkgray[7]],black:[w._colors.darkgray[8],w._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.dispatchCustomEvent(\"close\",void 0,{bubbles:!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}[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 A=x;export{x as Alert,A 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 r}from\"tslib\";import{godown as t,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 d}from\"lit/decorators.js\";import{cssGlobalVars as h,GlobalStyle as m}from\"../core/global-style.js\";let p=class Avatar extends m{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}};r([d()],p.prototype,\"src\",void 0),r([d()],p.prototype,\"name\",void 0),r([d({type:Boolean})],p.prototype,\"round\",void 0),p=r([t(\"avatar\"),e(s`:host{background:var(${h.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;justify-content:center;position:relative}`)],p);var l=p;export{p as Avatar,l 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,$=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 f=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)}>${this.content||l()} <span part=\"modal-root\"></span> ${s($[o])}</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})],f.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"round\",void 0),o([p({reflect:!0})],f.prototype,\"color\",void 0),o([p()],f.prototype,\"content\",void 0),o([e(\"modal-root\")],f.prototype,\"_modalRoot\",void 0),o([e(\"root\")],f.prototype,\"_root\",void 0),f=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}[part=root]:not([contents]){height:100%;width:100%}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}i{animation-duration:var(${y}--modal-animation-duration);background:var(${y}--modal-background,currentColor);border-radius:50%;height:100%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible;width:100%}@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}}`)],f);var _=f;export{f 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 o}from\"tslib\";import{godown as r,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 p,cssGlobalVars as l,GlobalStyle as n}from\"../core/global-style.js\";const h=\"card\",m=p(h);let b=class Card extends n{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>`}};o([s({type:Boolean})],b.prototype,\"footer\",void 0),o([s({type:Boolean})],b.prototype,\"header\",void 0),b=o([r(h),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${l.passive});${m}--padding:.75em;display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}[part=root]{border-color:var(${m}--border-color);border-radius:inherit;border-style:solid;border-width:var(${m}--border-width)}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],b);var c=b;export{b 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.dispatchCustomEvent(\"change\",this.open)}}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 m=\"details\",c=p(m);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(m),i(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{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;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g 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 n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../core/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,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)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ 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,nothing as a,html 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 s`<a part=\"root\" href=\"${this.id?\"#\"+this.id:a}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?s`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<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)}`,h=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 c=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.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}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()],c.prototype,\"autocomplete\",void 0),t([s({attribute:\"outline-type\"})],c.prototype,\"outlineType\",void 0),t([s({type:Boolean,reflect:!0})],c.prototype,\"disabled\",void 0),t([s({reflect:!0})],c.prototype,\"type\",void 0),t([s({reflect:!0})],c.prototype,\"placeholder\",void 0),t([s({reflect:!0})],c.prototype,\"name\",void 0),t([s()],c.prototype,\"value\",void 0),t([s()],c.prototype,\"default\",void 0),t([e(\"input\")],c.prototype,\"_input\",void 0),c=t([i(d,new u({width:`${a.input}-outline-width`,color:`${a.input}-outline-color`}).styleSheet,h)],c);var f=c;export{c 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,nothing as u,html 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 h`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||u}\" autocomplete=\"${this.autocomplete||u}\" placeholder=\"${this.placeholder||u}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return h`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?h`<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,nothing as a,html 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 l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||a}\" 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}`)],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.dispatchCustomEvent(\"change\",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,isNullable 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;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 u=m;export{m as Progress,u 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,isNullable as c}from\"@godown/element\";import{css as d,html as u}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 u`<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 u`<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)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const s=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(s-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(s+a))}}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.dispatchCustomEvent(\"change\",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,c(this.value)&&(c(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(d`: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;--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}`,d`[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%}`,d`[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,nothing as h,html 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 a`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,a`<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.dispatchCustomEvent(\"select\",this.value),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.dispatchCustomEvent(\"input\",this.value,{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;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 n,loop as s,tokenList as u}from\"@godown/element\";import{css as l,html as o}from\"lit\";import{property as a,state as c}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 f=\"split\",b=h(f);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 o`<div part=\"root\" ${n(this.observedRecord)}>${s(this.len,(t=>o`<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}\" @change=\"${this._handleChange}\" .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.dispatchCustomEvent(\"input\",this.value,{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()}blur(){this._input.blur(),this.current=-1,super.blur()}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([a({type:Number})],v.prototype,\"len\",void 0),t([a({type:Number})],v.prototype,\"index\",void 0),t([c()],v.prototype,\"current\",void 0),t([c()],v.prototype,\"currentValue\",void 0),v=t([e(f),i(l`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${b}--size:1.45em;${b}--gap:.25em}[part=root]{display:flex;gap:var(${b}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${b}--size);justify-content:center;width:var(${b}--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 a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=h(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 i(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([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}: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);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${d.active})}[part=root]{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 v}from\"../core/global-style.js\";const d=\"text\",u=p(d);let h=class Text extends v{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()],h.prototype,\"underline\",void 0),o([c({type:Boolean})],h.prototype,\"clip\",void 0),h=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--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}`)],h);var w=h;export{h 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)=>t||this.useSlot?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){const{index:i,tabs:e,_lastIndex:o,useSlot:r}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(o,t),this._lastIndex=t,i in e&&(e[i]||r)&&(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;white-space:nowrap}[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 i,attr as o}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\" ${o(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.dispatchCustomEvent(\"time\",this.time),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\"),i(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 o,attr as i,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as a,query as p}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as c}from\"../core/global-style.js\";const m=\"typewriter\",y=l(m);let u=class Typewriter extends c{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\" ${i(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();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([a()],u.prototype,\"contentInternal\",void 0),t([p(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),o(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","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","join","a","b","sep","infixed","startsWith","endsWith","toDash","s","_a","match","map","toLowerCase","splitWords","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","o","WeakMap","n$b","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","reduce","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$7","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","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","createPolicy","createHTML","Math","random","toFixed","slice","createComment","v","_","m","RegExp","g","$","_$litType$","strings","values","x","T","for","E","A","C","createTreeWalker","N","parts","lastIndex","exec","test","V","el","currentNode","content","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","getAttribute","split","index","ctor","H","I","L","k","append","data","indexOf","innerHTML","S","_$Co","_$Cl","_$litDirective$","_$AO","_$AT","_$AS","M","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","R","nextSibling","z","_$AI","_$Cv","_$AH","_$AA","_$AB","options","startNode","endNode","_$AR","iterator","O","insertBefore","createTextNode","_$AC","_$AP","remove","setConnected","k$1","element","fill","j","toggleAttribute","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","litHtmlPolyfillSupport","litHtmlVersions","r$2","renderOptions","_$Do","renderBefore","render","_$litPart$","_$litElement$","litElementHydrateSupport","LitElement","litElementPolyfillSupport","litElementVersions","i$2","_$Ct","_$Ci","toEntries","entries","updateAttribute","noAttribute","isNumber","isNaN","attr","directive","AttrDirective","Directive","caller","fn","PartType","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","acc","joinRules","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","body","svg","renderer","attributes","loop","len","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","child","children","from","deepQuerySelector","Events","inner","src","listener","typeMap","elementSet","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","Ranger","endpoint1","endpoint2","step","max","min","diff","normalize","present","decimal","restrict","round","RouteTree","matchType","MatchTypes","strict","insert","pattern","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","Timeouts","undefined","clearTimeout","attributeName","property","withSelectorRegex","GodownElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","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$3","n$7","d$7","p$9","g$2","h$9","m$f","u$8","rgb","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","clipBackground","active","_colors","input","white","black","color","borderRadius","flatMap","w","q","gray","tip","success","info","warning","danger","error","help","deprecated","Alert","autoclose","hideClose","variant","title","close","bubbles","setTimeout","alert","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","Card","footer","header","r$1","h$7","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","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","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","replace","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","p1","getTimezoneOffset","switcher","Z","Y","getFullYear","getMonth","D","getDate","getHours","getMinutes","getSeconds","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;AAsDO,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,OA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