godown 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/godown+lit.iife.js +4 -4
- package/build/godown+lit.iife.js.map +1 -1
- package/build/godown+lit.js +4 -4
- package/build/godown+lit.js.map +1 -1
- package/build/godown+lit.umd.js +4 -4
- package/build/godown+lit.umd.js.map +1 -1
- package/build/godown.iife.js +4 -4
- package/build/godown.js +4 -4
- package/build/godown.js.map +1 -1
- package/build/godown.umd.js +4 -4
- package/build/godown.umd.js.map +1 -1
- package/components/alert.js +1 -1
- package/components/alert.js.map +1 -1
- package/components/avatar.d.ts +5 -4
- package/components/avatar.d.ts.map +1 -1
- package/components/avatar.js +1 -1
- package/components/avatar.js.map +1 -1
- package/components/badge.d.ts +10 -2
- package/components/badge.d.ts.map +1 -1
- package/components/badge.js.map +1 -1
- package/components/breath.d.ts +2 -3
- package/components/breath.d.ts.map +1 -1
- package/components/breath.js +1 -1
- package/components/breath.js.map +1 -1
- package/components/button.d.ts +7 -2
- package/components/button.d.ts.map +1 -1
- package/components/button.js +1 -1
- package/components/button.js.map +1 -1
- package/components/card.d.ts +6 -0
- package/components/card.d.ts.map +1 -1
- package/components/card.js +1 -1
- package/components/card.js.map +1 -1
- package/components/carousel.d.ts +2 -2
- package/components/details.d.ts +3 -3
- package/components/details.d.ts.map +1 -1
- package/components/dialog.d.ts +9 -6
- package/components/dialog.d.ts.map +1 -1
- package/components/dialog.js +1 -1
- package/components/dialog.js.map +1 -1
- package/components/divider.d.ts +1 -1
- package/components/divider.d.ts.map +1 -1
- package/components/divider.js +1 -1
- package/components/divider.js.map +1 -1
- package/components/heading.d.ts +2 -0
- package/components/heading.d.ts.map +1 -1
- package/components/heading.js.map +1 -1
- package/components/input.d.ts +2 -2
- package/components/input.d.ts.map +1 -1
- package/components/input.js +1 -1
- package/components/input.js.map +1 -1
- package/components/link.d.ts +1 -1
- package/components/link.d.ts.map +1 -1
- package/components/link.js +1 -1
- package/components/link.js.map +1 -1
- package/components/progress.d.ts +0 -7
- package/components/progress.d.ts.map +1 -1
- package/components/progress.js +1 -1
- package/components/progress.js.map +1 -1
- package/components/range.d.ts +50 -15
- package/components/range.d.ts.map +1 -1
- package/components/range.js +1 -1
- package/components/range.js.map +1 -1
- package/components/rotate.d.ts +6 -4
- package/components/rotate.d.ts.map +1 -1
- package/components/rotate.js.map +1 -1
- package/components/select.d.ts +4 -2
- package/components/select.d.ts.map +1 -1
- package/components/select.js +1 -1
- package/components/select.js.map +1 -1
- package/components/split.d.ts +2 -1
- package/components/split.d.ts.map +1 -1
- package/components/split.js +1 -1
- package/components/split.js.map +1 -1
- package/components/switch.d.ts +10 -20
- package/components/switch.d.ts.map +1 -1
- package/components/switch.js +1 -1
- package/components/switch.js.map +1 -1
- package/components/time.d.ts +2 -2
- package/components/time.d.ts.map +1 -1
- package/components/time.js.map +1 -1
- package/components/tooltip.d.ts +3 -2
- package/components/tooltip.d.ts.map +1 -1
- package/components/tooltip.js +1 -1
- package/components/tooltip.js.map +1 -1
- package/core/direction.d.ts +27 -0
- package/core/direction.d.ts.map +1 -0
- package/core/direction.js +2 -0
- package/core/direction.js.map +1 -0
- package/core/global-style.d.ts +0 -2
- package/core/global-style.d.ts.map +1 -1
- package/core/global-style.js +1 -1
- package/core/global-style.js.map +1 -1
- package/core/outline.d.ts +20 -0
- package/core/outline.d.ts.map +1 -0
- package/core/outline.js +2 -0
- package/core/outline.js.map +1 -0
- package/core/super-anchor.d.ts +2 -2
- package/core/super-anchor.d.ts.map +1 -1
- package/core/super-anchor.js +1 -1
- package/core/super-anchor.js.map +1 -1
- package/core/super-input.d.ts +4 -2
- package/core/super-input.d.ts.map +1 -1
- package/core/super-input.js +1 -1
- package/core/super-input.js.map +1 -1
- package/core/super-openable.d.ts +0 -4
- package/core/super-openable.d.ts.map +1 -1
- package/custom-elements.json +1 -1
- package/dev/components/alert.js +1 -1
- package/dev/components/avatar.d.ts +5 -4
- package/dev/components/avatar.d.ts.map +1 -1
- package/dev/components/avatar.js +7 -5
- package/dev/components/avatar.js.map +1 -1
- package/dev/components/badge.d.ts +10 -2
- package/dev/components/badge.d.ts.map +1 -1
- package/dev/components/badge.js +8 -0
- package/dev/components/badge.js.map +1 -1
- package/dev/components/breath.d.ts +2 -3
- package/dev/components/breath.d.ts.map +1 -1
- package/dev/components/breath.js +3 -14
- package/dev/components/breath.js.map +1 -1
- package/dev/components/button.d.ts +7 -2
- package/dev/components/button.d.ts.map +1 -1
- package/dev/components/button.js +19 -5
- package/dev/components/button.js.map +1 -1
- package/dev/components/card.d.ts +6 -0
- package/dev/components/card.d.ts.map +1 -1
- package/dev/components/card.js +15 -11
- package/dev/components/card.js.map +1 -1
- package/dev/components/carousel.d.ts +2 -2
- package/dev/components/carousel.js +2 -2
- package/dev/components/details.d.ts +3 -3
- package/dev/components/details.d.ts.map +1 -1
- package/dev/components/details.js +3 -3
- package/dev/components/details.js.map +1 -1
- package/dev/components/dialog.d.ts +9 -6
- package/dev/components/dialog.d.ts.map +1 -1
- package/dev/components/dialog.js +58 -62
- package/dev/components/dialog.js.map +1 -1
- package/dev/components/divider.d.ts +1 -1
- package/dev/components/divider.d.ts.map +1 -1
- package/dev/components/divider.js +3 -2
- package/dev/components/divider.js.map +1 -1
- package/dev/components/heading.d.ts +2 -0
- package/dev/components/heading.d.ts.map +1 -1
- package/dev/components/heading.js +2 -0
- package/dev/components/heading.js.map +1 -1
- package/dev/components/input.d.ts +2 -2
- package/dev/components/input.d.ts.map +1 -1
- package/dev/components/input.js +29 -8
- package/dev/components/input.js.map +1 -1
- package/dev/components/link.d.ts +1 -1
- package/dev/components/link.d.ts.map +1 -1
- package/dev/components/link.js +2 -2
- package/dev/components/link.js.map +1 -1
- package/dev/components/progress.d.ts +0 -7
- package/dev/components/progress.d.ts.map +1 -1
- package/dev/components/progress.js +4 -25
- package/dev/components/progress.js.map +1 -1
- package/dev/components/range.d.ts +50 -15
- package/dev/components/range.d.ts.map +1 -1
- package/dev/components/range.js +50 -14
- package/dev/components/range.js.map +1 -1
- package/dev/components/rotate.d.ts +6 -4
- package/dev/components/rotate.d.ts.map +1 -1
- package/dev/components/rotate.js +6 -4
- package/dev/components/rotate.js.map +1 -1
- package/dev/components/select.d.ts +4 -2
- package/dev/components/select.d.ts.map +1 -1
- package/dev/components/select.js +27 -24
- package/dev/components/select.js.map +1 -1
- package/dev/components/split.d.ts +2 -1
- package/dev/components/split.d.ts.map +1 -1
- package/dev/components/split.js +12 -7
- package/dev/components/split.js.map +1 -1
- package/dev/components/switch.d.ts +10 -20
- package/dev/components/switch.d.ts.map +1 -1
- package/dev/components/switch.js +57 -98
- package/dev/components/switch.js.map +1 -1
- package/dev/components/time.d.ts +2 -2
- package/dev/components/time.d.ts.map +1 -1
- package/dev/components/time.js.map +1 -1
- package/dev/components/tooltip.d.ts +3 -2
- package/dev/components/tooltip.d.ts.map +1 -1
- package/dev/components/tooltip.js +7 -19
- package/dev/components/tooltip.js.map +1 -1
- package/dev/core/direction.d.ts +27 -0
- package/dev/core/direction.d.ts.map +1 -0
- package/dev/core/direction.js +56 -0
- package/dev/core/direction.js.map +1 -0
- package/dev/core/global-style.d.ts +0 -2
- package/dev/core/global-style.d.ts.map +1 -1
- package/dev/core/global-style.js +3 -7
- package/dev/core/global-style.js.map +1 -1
- package/dev/core/outline.d.ts +20 -0
- package/dev/core/outline.d.ts.map +1 -0
- package/dev/core/outline.js +44 -0
- package/dev/core/outline.js.map +1 -0
- package/dev/core/super-anchor.d.ts +2 -2
- package/dev/core/super-anchor.d.ts.map +1 -1
- package/dev/core/super-anchor.js +0 -1
- package/dev/core/super-anchor.js.map +1 -1
- package/dev/core/super-input.d.ts +4 -2
- package/dev/core/super-input.d.ts.map +1 -1
- package/dev/core/super-input.js +25 -30
- package/dev/core/super-input.js.map +1 -1
- package/dev/core/super-openable.d.ts +0 -4
- package/dev/core/super-openable.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/alert.ts +1 -1
- package/src/components/avatar.ts +9 -6
- package/src/components/badge.ts +10 -3
- package/src/components/breath.ts +5 -17
- package/src/components/button.ts +18 -5
- package/src/components/card.ts +15 -11
- package/src/components/carousel.ts +2 -2
- package/src/components/details.ts +3 -3
- package/src/components/dialog.ts +66 -65
- package/src/components/divider.ts +3 -2
- package/src/components/heading.ts +2 -0
- package/src/components/input.ts +29 -8
- package/src/components/link.ts +2 -2
- package/src/components/progress.ts +4 -25
- package/src/components/range.ts +64 -26
- package/src/components/rotate.ts +6 -4
- package/src/components/select.ts +33 -26
- package/src/components/split.ts +13 -7
- package/src/components/switch.ts +62 -94
- package/src/components/time.ts +2 -2
- package/src/components/tooltip.ts +8 -20
- package/src/core/direction.ts +65 -0
- package/src/core/global-style.ts +3 -9
- package/src/core/outline.ts +54 -0
- package/src/core/super-anchor.ts +3 -2
- package/src/core/super-input.ts +31 -33
- package/src/core/super-openable.ts +0 -8
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"godown+lit.iife.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/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/directives/attr.js","../../element/directives/token-list.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../components/dialog.js","../dialog.js","../components/divider.js","../divider.js","../components/dragbox.js","../dragbox.js","../components/flex.js","../components/form.js","../flex.js","../form.js","../components/grid.js","../grid.js","../components/heading.js","../heading.js","../../f7-icon/icons/eye-slash-fill.js","../core/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","../components/select.js","../rotate.js","../router.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","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../text.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => value == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * Concatenates two strings with an optional separator.\n */\nexport const fuse = (a, b, sep = \" \") => (a ? a + (b ? sep + b : \"\") : b);\n/**\n * Checks if a string starts with and ends with a given substring.\n */\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport function* toEntries(o) {\n for (const [k, v] of Array.isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements, }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part=${partName}]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=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 { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { fuse, isNil } from \"../tools/lib.js\";\nconst append = fuse;\nexport const updateAttribute = (element, name, value) => {\n if (isNil(value) || value === false) {\n element.removeAttribute(name);\n }\n else if (value === true ||\n typeof value === \"string\" ||\n (typeof value === \"number\" && !isNaN(value))) {\n element.setAttribute(name, value === true ? \"\" : String(value));\n }\n};\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, caller]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n (caller || updateAttribute)(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 attribute names and values.\n * @param caller A function to call for each attribute.\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 (isNil(value) || value === false) {\n return acc;\n }\n return append(acc, key + (value === true ? \"\" : `=\"${value}\"`));\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { fuse } from \"../tools/lib.js\";\nconst append = fuse;\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (Array.isArray(cur)) {\n return append(acc, tokenList(...cur));\n }\n if (typeof cur === \"object\") {\n for (const key in cur) {\n if (cur[key]) {\n acc = append(acc, key);\n }\n }\n return acc;\n }\n return append(acc, cur);\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil, toEntries } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = typeof value !== \"object\" ? value : joinProperties(value);\n if (properties) {\n result += `${key}{${properties}}`;\n }\n }\n }\n return result;\n}\nexport function joinProperties(props) {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && (value || value === 0 || value === \"\")) {\n result += `${key}:${value};`;\n }\n }\n return result;\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n});\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","export function deepQuerySelectorAll(selectors, root = document.body) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.matchType}.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.matchType.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.matchType.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.matchType.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join the given paths with a \"/\" and remove the leading and trailing \"/\" from each path.\n * @param paths - An array of paths to join.\n * @returns The joined path with \"/\" separators and no leading or trailing \"/\".\n */\n static join(...paths) {\n return paths.map((path) => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, Observers, Timeouts } from \"./tools/index.js\";\nclass GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n /**\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 return Object.fromEntries(this.scopedObservedAttributes.map((key) => [key, this[key]]));\n }\n /**\n * Returns the observedAttributes defined on the class, excluding those defined in the GodownElement class.\n * @returns An array of attribute names that will be observed, excluding those defined in the GodownElement class.\n */\n get scopedObservedAttributes() {\n return this.globalObservedAttributes.filter((key) => !GodownElement.observedAttributes.includes(key));\n }\n /**\n * Returns the observedAttributes defined on the class.\n * @returns An array of attribute names that will be observed.\n */\n get globalObservedAttributes() {\n return this.constructor.observedAttributes;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!/^[\\s\\S]*{[\\s\\S]*}$/.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as e,joinProperties as t,GodownElement as n}from\"@godown/element\";import{unsafeCSS as l,css as a}from\"lit\";class GlobalStyle extends n{}const s=e(GlobalStyle.godownConfig.prefix,\"-\");function c(o,r=1){return i(s+\"-\".repeat(r)+o)}function i(o){return l(`--${o}`)}const g={foreground:c(\"foreground\",2),background:c(\"background\",2),clipBackground:c(\"clip-background\",2),active:c(\"active\",2),passive:c(\"passive\",2),_colors:{},input:c(\"input\",2),white:c(\"color-white\",2),black:c(\"color-black\",2),color:c(\"color\",2)};GlobalStyle.styles=[l(`:host{${g.black}:rgb(0 0 0);${g.white}:rgb(255 255 255);`+r(((o,r,e)=>{g._colors[o]||=[],g._colors[o].push(l(g.color+\"-\"+o+\"-\"+r));const t=`-${o}-${r}`;return`${g.color+t}:rgb(${e});`}),o).join(\"\")+t([[g.background,`var(${g._colors.darkgray[9]})`],[g.foreground,`var(${g._colors.lightgray[0]})`],[g.active,`var(${g._colors.blue[6]})`],[g.passive,`var(${g._colors.darkgray[6]})`],[g.clipBackground,`linear-gradient(to bottom, var(${g.foreground}), var(${g.passive}))`]])+\"}\"),a`*{border:0;box-sizing:border-box;font-size:100%;font-style:normal;margin:0;outline:0;padding:0}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`];export{GlobalStyle,g as cssGlobalVars,GlobalStyle as default,c as scopePrefix,i 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 s,htmlStyle as l}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 m from\"@godown/f7-icon/icons/slash-circle.js\";import h from\"@godown/f7-icon/icons/xmark-circle.js\";import u from\"@godown/f7-icon/icons/xmark.js\";import{css as b,html as v}from\"lit\";import{property as f}from\"lit/decorators.js\";import{scopePrefix as w,cssGlobalVars as k,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=w($),_=o=>[k._colors[o][5],k._colors[o][9]],q=r([\"color\",\"background\"].map((o=>`${j}--${o}`)),{green:_(\"green\"),blue:_(\"blue\"),orange:_(\"orange\"),red:_(\"red\"),yellow:_(\"yellow\"),purple:_(\"purple\"),teal:_(\"teal\"),pink:_(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},(()=>\":host\"),(o=>t(o))),C={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:a},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:h},error:{color:\"red\",icon:h},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:m}};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\" ${s(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>`} ${l(q[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([f()],x.prototype,\"call\",void 0),o([f()],x.prototype,\"color\",void 0),o([f({type:Number})],x.prototype,\"autoclose\",void 0),o([f()],x.prototype,\"title\",void 0),o([f()],x.prototype,\"content\",void 0),o([f({type:Boolean})],x.prototype,\"hideClose\",void 0),o([f()],x.prototype,\"variant\",void 0),x=o([e($),i(b`:host,:where(:host([contents]) [part=root]){${j}--border-radius:.25em;${j}--border-width:.075em;${j}--blockquote-width:.2em;${j}--blockquote-background:transparent;${j}--gap:.5em;border-radius:var(${j}--border-radius);display:block;width:100%}[part=root]{align-items:center;background:var(${j}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${j}--border-width);color:var(${j}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${j}--gap)}[variant=blockquote]{background:var(${j}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${j}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${j}--gap)}.end svg{margin-inline-start:var(${j}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],x);var E=x;export{x as Alert,E as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as d,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\",m=d(l);let c=class Avatar extends p{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}>${this._renderAvatar()}</div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=\"${this._handleError}\">`:this.name?n`<span part=\"name\">${this.format()}</span>`:a()}format(){return this.name}_handleError(){this.src=void 0}};t([h()],c.prototype,\"src\",void 0),t([h()],c.prototype,\"name\",void 0),t([h({type:Boolean})],c.prototype,\"round\",void 0),c=t([r(l),e(s`:host{${m}--size:2em;height:var(${m}--size);vertical-align:bottom;width:var(${m}--size)}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}`)],c);var v=c;export{c as Avatar,v as default};\n//# sourceMappingURL=avatar.js.map\n","import a from\"./components/avatar.js\";export{Avatar}from\"./components/avatar.js\";a.define();export{a as default};\n//# sourceMappingURL=avatar.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,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\",v=d(l);let c=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)}>${i()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],c.prototype,\"position\",void 0),t([p({type:Number})],c.prototype,\"value\",void 0),t([p({type:Boolean})],c.prototype,\"dot\",void 0),t([p({type:Number})],c.prototype,\"max\",void 0),c=t([o(l),e(a`:host{${v}--background:var(${n.active});${v}--offset:0%;${v}--offset-x:var(${v}--offset);${v}--offset-y:var(${v}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${v}--background);border-radius:calc(infinity * 1px);font-size:75%;left:var(--left);padding:0 .5em;position:absolute;top:var(--top);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]{--top:calc(var(${v}--offset-y))}[position$=right]{--left:calc(100% - var(${v}--offset-x))}[position^=bottom]{--top:calc(100% - var(${v}--offset-y))}[position$=left]{--left:calc(var(${v}--offset-x))}`)],c);var m=c;export{c as Badge,m 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 s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=l(d);let u=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.parseDuration()||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)}s;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}s;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}parseDuration(){const{duration:t}=this;if(t){if(t.endsWith(\"s\"))return Number.parseFloat(t.slice(0,-1));if(t.endsWith(\"ms\"))return Number.parseFloat(t.slice(0,-2))/1e3}}};t([s()],u.prototype,\"content\",void 0),t([s()],u.prototype,\"duration\",void 0),u=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}`)],u);var m=u;export{u as Breath,m 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 i,styles as a,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\",m=h(v),y=g.white,b=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${m}--${o}`)),{black:[y,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[y,g._colors.darkgray[1],g._colors.lightgray[8]],white:[b,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[y,g._colors.blue[6],g._colors.blue[4]],green:[y,g._colors.green[6],g._colors.green[4]],red:[y,g._colors.red[6],g._colors.red[4]],orange:[y,g._colors.orange[6],g._colors.orange[4]],pink:[y,g._colors.pink[6],g._colors.pink[4]],purple:[y,g._colors.purple[6],g._colors.purple[4]],yellow:[b,g._colors.yellow[6],g._colors.yellow[4]],teal:[y,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}firstUpdated(){this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),r=this._root.getBoundingClientRect(),{height:e,width:i}=r,a=2*Math.sqrt(e*e+i*i)+\"px\";t.style.height=a,t.style.width=a,t.style.left=o.clientX-r.left+\"px\",t.style.top=o.clientY-r.y+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([i(v),a(d`:host(:not([disabled]):active){transform:scale(var(${m}--focus-scale))}:host([round]){${m}--padding-x:.75em;border-radius:calc(infinity * 1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${m}--modal-background:var(${m}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${m}--ghost-width) var(${m}--ghost-color);color:var(${m}--ghost-color)}`,d`:host{${m}--padding-x:.5em;${m}--padding-y:min(calc(var(${m}--padding-x)/2),.125em);${m}--padding:var(${m}--padding-y) var(${m}--padding-x);${m}--modal-animation-duration:1s;${m}--ghost-width:.08em;${m}--focus-scale:.97;${m}--deg:45deg;${m}--ghost-color:var(${m}--background);background:linear-gradient(var(${m}--deg),var(${m}--background),var(${m}--gradients,var(${m}--background)));border-radius:.3em;color:var(${m}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:0!important;text-align:center;transition:.1s;width:-moz-fit-content;width:fit-content}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;overflow:hidden;padding:var(${m}--padding);position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}[part=root],i{height:100%;width:100%}i{animation-duration:var(${m}--modal-animation-duration);background:var(${m}--modal-background,currentColor);border-radius:50%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible}@keyframes kf{0%{opacity:var(${m}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as d,htmlSlot as t}from\"@godown/element\";import{css as a,html as i}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as b,cssGlobalVars as n,GlobalStyle as l}from\"../core/global-style.js\";const p=\"card\",h=b(p);let c=class Card extends l{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return i`<div part=\"root\" ${d(this.observedRecord)}>${[this.header?t(\"header\"):\"\",t(),this.footer?t(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],c.prototype,\"footer\",void 0),r([s({type:Boolean})],c.prototype,\"header\",void 0),c=r([o(p),e(a`:host{${h}--background:var(${n.background});${h}--border-width:.0375em;${h}--border-color:transparent;${h}--border-background:var(${n.passive});${h}--padding:.75em;background:var(${h}--background);border-width:var(${h}--border-width);box-sizing:border-box;color:var(${n.foreground});display:block;flex-shrink:0;overflow:hidden;position:relative}slot{display:block;padding:var(${h}--padding)}:host,slot{border-color:var(${h}--border-background);border-style:solid}[name=footer]{border-top-width:var(${h}--border-width)}[name=header]{border-bottom-width:var(${h}--border-width)}`)],c);var v=c;export{c as Card,v 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 o,attr as s,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\" ${s(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))}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=0;for(let e=0;e<=t;e++)this._offset-=p(this.children[e]);this._offset+=(p(this)-p(this.children[t+1]))/2,this.dispatchEvent(new CustomEvent(\"change\",{detail:t,composed:!0})),this._doTranslateX(`${this._offset}px`,e),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\":\"\"}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\"),o(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 39.46a2.1 2.1 0 0 0 1.57-.679l18.164-18.586a2.1 2.1 0 0 0 .633-1.5a2.12 2.12 0 0 0-2.156-2.156a2.27 2.27 0 0 0-1.523.61L28 34.21L11.313 17.148a2.23 2.23 0 0 0-1.524-.609a2.12 2.12 0 0 0-2.156 2.156c0 .586.234 1.102.633 1.524L26.43 38.78c.445.446.96.68 1.57.68\"/>`;\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}_handelClick(e){this.toggle()}}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 i,styles as o,attr as r,htmlSlot as e}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as d}from\"../core/global-style.js\";import p from\"../core/super-openable.js\";const c=\"details\",m=d(c);let f=class Details extends p{constructor(){super(...arguments),this.fill=!1,this.summary=\"\"}render(){return n`<dl part=\"root\" ${r(this.observedRecord)}><dt part=\"title\" @click=\"${this._handelClick}\"><span part=\"summary\">${this.summary||e(\"summary\")}</span> <span><i part=\"icon\">${a()}</i></span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${e()}</div></dd></dl>`}};t([l({type:Boolean})],f.prototype,\"fill\",void 0),t([l()],f.prototype,\"summary\",void 0),f=t([i(c),o(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:0.3em;${m}--summary-direction:row;${m}--transition:.3s;display:block;height:-moz-fit-content;height:fit-content;transition:var(${m}--transition)}[part=root]{height:100%;overflow:hidden;position:relative}[part=title]{align-items:center;background:inherit;direction:ltr;display:flex;flex-direction:var(${m}--summary-direction);flex-wrap:nowrap;height:100%;justify-content:space-between}[part=details]{display:grid;grid-template-rows:0fr;overflow:hidden;transition:var(${m}--transition);transition-property:grid-template-rows}:host([open]) [part=details]{grid-template-rows:1fr}:host([float]) [part=details]{position:absolute;top:100%}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;padding:var(${m}--icon-space);transform:rotate(var(${m}--icon-deg-close));transition:var(${m}--transition)}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as n}from\"@godown/element\";import{css as s,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{scopePrefix as r,cssGlobalVars as l}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const p=\"dialog\",m=r(p);let c=class Dialog extends h{constructor(){super(...arguments),this.modal=!1,this.key=\"Escape\",this.__modalInvoke=!1}render(){return a`<div part=\"root\" ${i(this.observedRecord)}><div part=\"modal\"></div><div part=\"container\">${n()}</div></div>`}showModal(){this.modal||(this.modal=!0,this.__modalInvoke=!0),this.show()}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\",void 0),t([d()],c.prototype,\"key\",void 0),c=t([o(p),e(s`:host{${m}--background:none;${m}--background-modal:var(${l.background});${m}--opacity-modal:0.2;background:var(${m}--background);inset:0;pointer-events:none;position:fixed;visibility:hidden;z-index:1}:host([open]){visibility:visible}:host([open][modal]) [part=modal]{opacity:var(${m}--opacity-modal);pointer-events:all;visibility:visible}[part=modal]{background:var(${m}--background-modal);height:100%;opacity:0;position:absolute;visibility:hidden;width:100%}[part=root]{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}[part=container]{pointer-events:all;position:absolute}[direction^=top] [part=container]{top:0}[direction^=bottom] [part=container]{bottom:0}[direction$=right] [part=container]{right:0}[direction$=left] [part=container]{left:0}`)],c);var v=c;export{c as Dialog,v 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 a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{GlobalStyle as s}from\"../core/global-style.js\";let d=class Divider extends s{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],d.prototype,\"vertical\",void 0),d=t([o(\"divider\"),r(i`:host{background:currentColor;display:block;height:.05em;margin:auto;width:100%}:host([vertical]){height:max(1em,100%);width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],d);var c=d;export{d as Divider,c as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.__drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__cx=t.clientX,this.__cy=t.clientY,this.__t=this.offsetTop,this.__l=this.offsetLeft,this.__drag=!0,this._handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this._handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.__drag)return;const e=t.clientX-(this.__cx-this.__l),s=t.clientY-(this.__cy-this.__t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${r(this.observedRecord)}>${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]}</div>`}};t([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return o()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,o]=s.namevalue();e&&(t[e]=o)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(h`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M43.95 47.323c.304.305.732.468 1.119.468c.814 0 1.567-.733 1.567-1.568c0-.407-.163-.814-.468-1.12L12.112 11.069a1.57 1.57 0 0 0-1.12-.448c-.814 0-1.567.733-1.567 1.547c0 .428.143.835.448 1.12Zm1.913-5.761C52.255 37.43 56 32.056 56 29.674c0-4.132-11.297-17.303-27.99-17.303c-3.46 0-6.697.59-9.669 1.567l5.313 5.293a11 11 0 0 1 4.356-.896c6.31 0 11.38 4.988 11.38 11.339c0 1.547-.326 3.033-.958 4.336ZM28.01 46.977c3.766 0 7.267-.672 10.402-1.771l-5.394-5.395a10.8 10.8 0 0 1-5.008 1.201c-6.35 0-11.379-5.15-11.4-11.338c0-1.832.428-3.562 1.202-5.09l-7.084-7.124C4.01 21.592 0 27.231 0 29.674c0 4.112 11.501 17.303 28.01 17.303m6.473-17.73a6.446 6.446 0 0 0-6.473-6.454c-.264 0-.53.02-.773.041l7.206 7.206c.02-.244.04-.529.04-.794m-12.966-.041c0 3.582 2.951 6.473 6.514 6.473c.285 0 .55-.02.834-.04l-7.308-7.309c-.02.285-.04.59-.04.876\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,styles as i,omit as n,htmlSlot as o}from\"@godown/element\";import s from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as a,html as p}from\"lit\";import{property as r}from\"lit/decorators.js\";import{cssGlobalVars as u,GlobalStyle as d}from\"./global-style.js\";const l=a`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:transparent;color:inherit;height:100%;padding:0 var(${u.input}-space);width:100%}.input-field.outline,.input-field:focus-within{box-shadow:var(${u.input}-box-shadow)}.input-field [part=icon]{align-items:center;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(${u.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${u.input}-space)}`,h=a`:host{${u.input}-width:10em;${u.input}-height:1.6em;${u.input}-space:0.2em;${u.input}-background:var(${u.background});${u.input}-control:var(${u.foreground});${u.input}-control-edge:var(${u.active});${u.input}-radius:0.2em;${u.input}-box-shadow:0px 0px 0px .1em var(${u.active});border-radius:var(${u.input}-radius)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let c=class SuperInput extends d{constructor(){super(...arguments),this.autofocus=!1,this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return n(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0})))}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return p`<label for=\"${this.makeId}\" part=\"prefix\">${o(\"prefix\")}</label>`}_renderSuffix(){const t=\"password\";return p`<label for=\"${this.makeId}\" part=\"suffix\">${\"password\"===this.type?p`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${s()}</i>`:o(\"suffix\")}</label>`}};t([r()],c.prototype,\"autocomplete\",void 0),t([r({type:Boolean,reflect:!0})],c.prototype,\"disabled\",void 0),t([r({reflect:!0})],c.prototype,\"type\",void 0),t([r({reflect:!0})],c.prototype,\"placeholder\",void 0),t([r({reflect:!0})],c.prototype,\"name\",void 0),t([r()],c.prototype,\"value\",void 0),t([r()],c.prototype,\"default\",void 0),t([e(\"input\")],c.prototype,\"_input\",void 0),c=t([i(l,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 i,godown as e,styles as r,attr as o,tokenList as a}from\"@godown/element\";import{css as s,html as u,nothing as p}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as l}from\"../core/global-style.js\";import n from\"../core/super-input.js\";let h=class Input extends n{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return u`<div part=\"root\" ${o(this.observedRecord)} class=\"${a(\"input-field\",this.variant)}\">${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||p}\" autocomplete=\"${this.autocomplete||p}\" placeholder=\"${this.placeholder||p}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\">`,this._renderSuffix()]}</div>`}reset(){this._input.value=this.default,this.value=this.default}};t([d()],h.prototype,\"variant\",void 0),t([i(\"input\")],h.prototype,\"_input\",void 0),h=t([e(\"input\"),r(s`:host{background:var(${l.input}-background);border-radius:var(${l.input}-radius);color:var(${l.foreground});display:block;height:var(${l.input}-height);width:var(${l.input}-width)}`)],h);var c=h;export{h as Input,c 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 o}from\"tslib\";import{godown as t,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let d=class Layout extends p{constructor(){super(...arguments),this.noHeader=!1,this.noFooter=!1,this.sticky=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}>${this.noHeader?\"\":n`<header part=\"header\">${i(\"header\")}</header>`}<main part=\"main\">${i()}</main>${this.noFooter?\"\":n`<footer part=\"footer\">${i(\"footer\")}</footer>`}</div>`}};o([s({type:Boolean})],d.prototype,\"noHeader\",void 0),o([s({type:Boolean})],d.prototype,\"noFooter\",void 0),o([s({type:Boolean})],d.prototype,\"sticky\",void 0),d=o([t(\"layout\"),e(a`:host,:host([contents]) [part=root]{display:flex;flex-direction:column;min-height:100%}[part=root]{display:contents}[sticky] header{position:sticky;top:0;z-index:1}[part=main]{flex:1;position:relative;width:100%}footer,header,main{width:100%}`)],d);var l=d;export{d as Layout,l as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as l,nothing as a}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>`}_handleClick(t){}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit;width:100%}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),c.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchEvent(new CustomEvent(\"change\",{detail:t}))}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import r from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as o,attr as i}from\"@godown/element\";import{css as s,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{cssGlobalVars as l,GlobalStyle as p}from\"../core/global-style.js\";let d=class Progress extends p{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;return o(this.value)||(r=this.parsePercent(this.value),r>100?r=100:r<0&&(r=0),t=\"static\"),a`<div part=\"root\" ${i(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}parsePercent(t=\"0\"){if((t=String(t)).includes(\"%\"))return parseFloat(t);const r=this.max-this.min;return 0===r?100:parseFloat(t)/r*100}};t([n({type:Number})],d.prototype,\"max\",void 0),t([n({type:Number})],d.prototype,\"min\",void 0),t([n({type:Number})],d.prototype,\"value\",void 0),d=t([r(\"progress\"),e(s`:host{background:var(${l.passive});border-radius:.25em;color:var(${l.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;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}`)],d);var m=d;export{d as Progress,m 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 o,attr as s,joinProperties as i,loop as n,tokenList as h,isNil as l}from\"@godown/element\";import{css as u,html as d}from\"lit\";import{property as c,queryAll as v,state as p}from\"lit/decorators.js\";import{scopePrefix as m,cssGlobalVars as f}from\"../core/global-style.js\";import g from\"../core/super-input.js\";const w=\"range\",y=m(w);let _=class Range extends g{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 o(this.min,this.max,this.step))}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return d`<div part=\"root\" ${s(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${i([[\"--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>${n(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{rangeValue:e,disabled:r}=this,a=t===e.length-1;return d`<i tabindex=\"0\" part=\"handle\" class=\"${h({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${r?null:this.createMouseDown(t)}\" @focus=\"${r?null:()=>this.focusHandle(t)}\" @blur=\"${r?null:this.blurHandle}\" style=\"${i({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${a?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){const{rangeValue:e,step:r}=this;return e.length<2&&(t=0),a=>{const o=e[t];\"ArrowLeft\"===a.key||\"ArrowDown\"===a.key?(a.preventDefault(),this.createSetValue(t)(o-r)):\"ArrowRight\"!==a.key&&\"ArrowUp\"!==a.key||(a.preventDefault(),this.createSetValue(t)(o+r))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:o,width:s}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/o:(t-a)/s)}_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(){const t=this._ranger.diff;this.step||=t/100,l(this.value)&&(l(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([c({type:Number})],_.prototype,\"min\",void 0),t([c({type:Number})],_.prototype,\"max\",void 0),t([c({type:Number})],_.prototype,\"step\",void 0),t([c({type:Boolean,reflect:!0})],_.prototype,\"vertical\",void 0),t([c({type:Array})],_.prototype,\"value\",void 0),t([c({type:Array})],_.prototype,\"default\",void 0),t([e(\"root\")],_.prototype,\"_root\",void 0),t([v(\"[part=handle]\")],_.prototype,\"_handles\",void 0),t([p()],_.prototype,\"lastFocus\",void 0),_=t([r(w),a(u`:host{${y}--handle-active:var(${f.active});${y}--track-width:.5em;${y}--length:var(${f.input}-width);background:var(${f.input}-background);display:block;width:var(${y}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${y}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${y}--handle-scale:1.05;background:var(${y}--handle-active)}[part=root]{position:relative;width:100%;--from:0%;--to:50%;height:var(${y}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${f.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(${f.active});border:.1em solid;border-color:var(${f.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${y}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${y}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],_);var b=_;export{_ as Range,b 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{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as n}from\"@godown/element\";import l from\"@godown/f7-icon/icons/chevron-down.js\";import{css as h,html as a,nothing as r}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";function d(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function f(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let v=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}render(){return a`<div part=\"root\" ${s({...this.observedRecord,direction:this.direction||this.autoDirection})} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||r}\" autocomplete=\"${this.autocomplete||r}\" placeholder=\"${this.placeholder||r}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${l()}</i></label>`,a`<label for=\"${this.makeId}\" part=\"content\">${n()}</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||f(this.lastChecked,0),f(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=>{f(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=>f(t,0))),this.defaultChecked.forEach((t=>f(t,1)))}select(t,e){e||=t;let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||d(this.optionValue(e),t)||d(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!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()],v.prototype,\"text\",void 0),t([e(\"content\")],v.prototype,\"_content\",void 0),t([c()],v.prototype,\"direction\",void 0),t([c({type:Boolean})],v.prototype,\"multiple\",void 0),t([c({type:Boolean})],v.prototype,\"visible\",void 0),t([u()],v.prototype,\"autoDirection\",void 0),v=t([i(\"select\"),o(h`[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[direction=bottom] [part=content]{top:100%}[direction=top] [part=content]{bottom:100%}[visible] [part=content]{visibility:visible}`)],v);var m=v;export{v as Select,m as default};\n//# sourceMappingURL=select.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 e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M7.715 49.574h40.57c4.899 0 7.36-2.437 7.36-7.265V13.69c0-4.828-2.461-7.265-7.36-7.265H7.715C2.84 6.426.355 8.84.355 13.69v28.62c0 4.851 2.485 7.265 7.36 7.265m31.57-21.633c-1.055-.937-2.25-1.43-3.515-1.43c-1.313 0-2.462.446-3.54 1.407l-10.593 9.469l-4.336-3.938c-.985-.867-2.04-1.336-3.164-1.336c-1.032 0-2.04.446-3 1.313L4.129 39.73V13.88c0-2.438 1.312-3.68 3.656-3.68h40.43c2.32 0 3.656 1.242 3.656 3.68v25.875Zm-21.469.258c3.024 0 5.508-2.484 5.508-5.531c0-3.023-2.484-5.531-5.508-5.531c-3.046 0-5.53 2.508-5.53 5.531a5.54 5.54 0 0 0 5.53 5.531\"/>`;\n","import{__decorate as o}from\"tslib\";import{godown as i,styles as r,htmlSlot as t,attr as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/photo.js\";import{css as e,html as s}from\"lit\";import{property as m,state as d}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as c,GlobalStyle as g}from\"../core/global-style.js\";const l=\"skeleton\",v=p(l);let $=class Skeleton extends g{constructor(){super(...arguments),this.animation=\"position\",this.loading=!0}render(){return this.loading?s`<div part=\"root\" ${a(this.observedRecord)}>${\"image\"===this.type?n():\"\"} ${t(\"loading\")}</div>`:t()}};o([m()],$.prototype,\"type\",void 0),o([m()],$.prototype,\"animation\",void 0),o([d()],$.prototype,\"loading\",void 0),$=o([i(l),r(e`:host{${v}--from:var(${c._colors.darkgray[9]});${v}--to:var(${c._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;background:var(${v}--from);color:var(${c._colors.darkgray[5]});display:block;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}[part=root]{animation:var(${v}--duration) ease-in-out 0s infinite none running;height:100%;min-height:inherit;text-align:center}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size)*.05)}[animation=position]{animation-name:po;background-color:transparent;background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-size:200% 100%}@keyframes po{0%{background-position:150%}to{background-position:-50%}}[animation=opacity]{animation-direction:alternate;animation-name:op}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],$);var f=$;export{$ as Skeleton,f as default};\n//# sourceMappingURL=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as r,loop as s,tokenList as n}from\"@godown/element\";import{css as u,html as o}from\"lit\";import{property as l,state as c}from\"lit/decorators.js\";import{scopePrefix as a,cssGlobalVars as h}from\"../core/global-style.js\";import p from\"../core/super-input.js\";const d=\"split\",b=a(d);let f=class Split extends p{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}render(){return o`<div part=\"root\" ${r(this.observedRecord)}>${s(this.len,(t=>o`<span part=\"input-box\" class=\"${n({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([l({type:Number})],f.prototype,\"len\",void 0),t([l({type:Number})],f.prototype,\"index\",void 0),t([c()],f.prototype,\"current\",void 0),t([c()],f.prototype,\"currentValue\",void 0),f=t([e(d),i(u`:host{border-radius:1px;color:var(${h.foreground});display:block;width:-moz-fit-content;width:fit-content;${b}--size:1.45em;${b}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{display:flex;gap:var(${b}--gap);justify-content:space-between;position:relative;width:100%}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{background-color:var(${h.input}-background);height:var(${b}--size);text-align:center;width:var(${b}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus{box-shadow:var(${h.input}-box-shadow)}`)],f);var v=f;export{f as Split,v 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 e}from\"tslib\";import{godown as t,styles as i,attr as r}from\"@godown/element\";import{css as a,html as o}from\"lit\";import{property as n,query as d}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as h}from\"../core/global-style.js\";import c from\"../core/super-input.js\";const p=\"switch\",l=s(p);let u=class Switch extends c{constructor(){super(...arguments),this.round=!1,this.checked=!1,this.disabled=!1,this.default=\"false\",this.value=\"on\"}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"${this.round?\"round\":\"rect\"}\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.checked}\" name=\"${this.name}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\" class=\"${this.checked}\"></span></div>`}reset(){this.checked=\"true\"===this.default,this._input.checked=this.checked}connectedCallback(){super.connectedCallback(),this.checked&&(this.default=\"true\"),\"true\"===this.default&&(this.checked=!0)}_handleChange(){this.checked=this._input.checked,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.checked,composed:!0}))}namevalue(){return[this.name,this.checked]}};e([n({type:Boolean,reflect:!0})],u.prototype,\"round\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"checked\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"disabled\",void 0),e([n()],u.prototype,\"default\",void 0),e([n()],u.prototype,\"value\",void 0),e([d(\"input\")],u.prototype,\"_input\",void 0),u=e([t(p),i(a`:host,:host([contents]) [part=root]{display:inline-block;height:var(${l}-height);width:var(${l}-width)}:host{${l}-width:3em;${l}-height:calc(var(${l}-width)/2);${l}-handle-size:1.25em;${l}-handle-space:.125em;${l}-transition:.2s ease-in-out;background:var(${h.input}-background);border-radius:0;vertical-align:bottom}[part=handle],[part=root]{transition:var(${l}-transition)}[part=root]{border-radius:inherit;height:inherit;position:relative}[part=input]{-webkit-appearance:none;appearance:none;height:100%;opacity:0;width:100%}[part=handle]{align-items:center;border-radius:inherit;display:inline-flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;width:50%}:host([round]){background:var(${h.passive});border-radius:calc(var(${l}-height)/2)}:host([checked]) [part=handle]{left:50%}.rect .true{background:var(${h.active})}.rect .false{background:var(${h.passive})}.round [part=handle]{--size:var(${l}-handle-size);background:var(--godown--input-control);border-radius:100%;height:var(--size);margin:var(${l}-handle-space);width:var(--size)}:host([checked]) .round{background:var(${h.active})}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${h}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap;width:100%}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.js.map\n","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 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 e,styles as o,attr as i}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${i(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),o(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as o,attr as e,htmlSlot as r}from\"@godown/element\";import{css as n,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";var d;const c=\"tooltip\",h=a(c);let f=d=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=d.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return p`<div part=\"root\" ${e(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}\">${r()}<div part=\"tip\">${this.tip?p`<span class=\"passive\">${this.tip}</span>`:r(\"tip\")}</div></div>`}};f.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([s()],f.prototype,\"tip\",void 0),t([s()],f.prototype,\"direction\",void 0),t([s()],f.prototype,\"align\",void 0),t([s({type:Boolean})],f.prototype,\"propagation\",void 0),t([s()],f.prototype,\"type\",void 0),f=d=t([i(c),o(n`:host{${h}--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(${h}--tip-background)}[propagation] [part=tip]{pointer-events:none}`,n`[direction^=top] [part=tip]{bottom:100%}[direction^=bottom] [part=tip]{top:100%}[direction$=right] [part=tip]{left:100%}[direction$=left] [part=tip]{right:100%}`)],f);var u=f;export{f as Tooltip,u as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as a}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=l(c);let u=class Typewriter extends m{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([a(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","trimRight","s","spec","end","slice","trimLeft","start","trim","omit","obj","keys","reduce","acc","includes","infixed","a","b","startsWith","endsWith","toEntries","o","k","v","Array","isArray","entries","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","WeakMap","n$7","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$4","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","part","partName","cache","query","createPolicy","createHTML","Math","random","toFixed","createComment","_","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","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","element","fill","j","toggleAttribute","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","litHtmlPolyfillSupport","litHtmlVersions","r$1","renderOptions","_$Do","renderBefore","render","_$litPart$","_$litElement$","litElementHydrateSupport","LitElement","litElementPolyfillSupport","litElementVersions","i$3","_$Ct","_$Ci","updateAttribute","isNaN","attr","directive","AttrDirective","Directive","caller","PartType","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","sep","tokenList","args","cur","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","join","joinRules","result","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","body","svg","renderer","attributes","loop","len","fn","deepQuerySelectorAll","selectors","root","Element","querySelectorAll","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","present","decimal","normalize","restrict","round","RouteTree","matchType","strict","insert","pattern","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","paths","Timeouts","clearTimeout","GodownElement","isDefined","getDefined","observedRecord","fromEntries","scopedObservedAttributes","globalObservedAttributes","_slot","_slotAll","_slottedAll","_slottedNames","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","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","property","a$2","n$3","d$a","p$7","g$2","m$c","h$b","u$6","rgb","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","foreground","background","clipBackground","active","_colors","input","white","black","color","flatMap","w","q","gray","tip","success","info","warning","danger","error","help","deprecated","Alert","autoclose","hideClose","variant","title","close","bubbles","setTimeout","alert","Avatar","_renderAvatar","_handleError","format","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","parseDuration","duration","parseFloat","Button","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","clientX","top","clientY","animationName","_modalRoot","Card","footer","header","h$9","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","show","normalizeIndex","_offset","_doTranslateX","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","l$5","SuperOpenable","open","toggle","Details","summary","Dialog","modal","__modalInvoke","showModal","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","offsetsWidth","offsetParent","clientWidth","offsetWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","__cx","__cy","__t","offsetTop","__l","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","SuperInput","autofocus","compositing","makeId","defaultValue","default","_input","_handleInput","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","autocapitalize","autocomplete","placeholder","Layout","noHeader","noFooter","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","parsePercent","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","abs","createMousemoveListener","toSorted","createDocumentFragment","Rotate","_handleRotate","removeProperty","rotateX","rotateY","_computeOffset","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","findLastIndex","Switch","checked","_handleChange","Text","underline","clip","formatNumber","Time","escape","time","Date","fmt","_a","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":";;;;GAsDO,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,OAAO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,UAAU,aAAQJ,GAAQJ,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAExB,UAAU,aAAQJ,GAAQJ,EAAE,CAAC8B,KAAKE,GAAExB,UAAU,uBAAkBJ,GAAQJ,EAAE,CAAClC,EAAE,MAAMkE,GAAExB,UAAU,UAAKJ,GAAQ4B,GAAEhC,EAAE,CAACE,EAAEhE,IAAGQ,EAAEM,CAAC,SAASyF,yIAAwIA,yIAAwIT,IAAM,IAAC3D,GAAE2D,UCAnvD9B,GAAEN","x_google_ignoreList":[0,6,7,8,9,10,11,12,14,15,16,103]}
|
1
|
+
{"version":3,"file":"godown+lit.iife.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/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/directives/attr.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../core/direction.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/super-input.js","../core/outline.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","../components/select.js","../rotate.js","../router.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","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../text.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => value == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * Concatenates two strings with an optional separator.\n */\nexport const fuse = (a, b, sep = \" \") => (a ? a + (b ? sep + b : \"\") : b);\n/**\n * Checks if a string starts with and ends with a given substring.\n */\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport function* toEntries(o) {\n for (const [k, v] of Array.isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements, }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part=${partName}]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=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 { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { fuse, isNil } from \"../tools/lib.js\";\nconst append = fuse;\nexport const updateAttribute = (element, name, value) => {\n if (isNil(value) || value === false) {\n element.removeAttribute(name);\n }\n else if (value === true ||\n typeof value === \"string\" ||\n (typeof value === \"number\" && !isNaN(value))) {\n element.setAttribute(name, value === true ? \"\" : String(value));\n }\n};\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, caller]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n (caller || updateAttribute)(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 attribute names and values.\n * @param caller A function to call for each attribute.\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 (isNil(value) || value === false) {\n return acc;\n }\n return append(acc, key + (value === true ? \"\" : `=\"${value}\"`));\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil, toEntries } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = typeof value !== \"object\" ? value : joinProperties(value);\n if (properties) {\n result += `${key}{${properties}}`;\n }\n }\n }\n return result;\n}\nexport function joinProperties(props) {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && (value || value === 0 || value === \"\")) {\n result += `${key}:${value};`;\n }\n }\n return result;\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n});\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { fuse } from \"../tools/lib.js\";\nconst append = fuse;\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (Array.isArray(cur)) {\n return append(acc, tokenList(...cur));\n }\n if (typeof cur === \"object\") {\n for (const key in cur) {\n if (cur[key]) {\n acc = append(acc, key);\n }\n }\n return acc;\n }\n return append(acc, cur);\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = document.body) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.matchType}.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.matchType.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.matchType.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.matchType.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join the given paths with a \"/\" and remove the leading and trailing \"/\" from each path.\n * @param paths - An array of paths to join.\n * @returns The joined path with \"/\" separators and no leading or trailing \"/\".\n */\n static join(...paths) {\n return paths.map((path) => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, Observers, Timeouts } from \"./tools/index.js\";\nclass GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n /**\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 [property, option] of this.constructor.elementProperties.entries()) {\n const attribute = option.attribute ?? property;\n if (attribute) {\n record[attribute === true ? property : attribute] = this[property];\n }\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!/^[\\s\\S]*{[\\s\\S]*}$/.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as t,joinProperties as e,GodownElement as l}from\"@godown/element\";import{unsafeCSS as n,css as s}from\"lit\";class GlobalStyle extends l{}const a=t(GlobalStyle.godownConfig.prefix,\"-\");function i(o,r=1){return c(a+\"-\".repeat(r)+o)}function c(o){return n(`--${o}`)}const p={clipBackground:i(\"clip-background\",2),active:i(\"active\",2),passive:i(\"passive\",2),_colors:{},input:i(\"input\",2),white:i(\"color-white\",2),black:i(\"color-black\",2),color:i(\"color\",2)};GlobalStyle.styles=[n(`:host{${p.black}:rgb(0 0 0);${p.white}:rgb(255 255 255);`+r(((o,r,t)=>{p._colors[o]||=[],p._colors[o].push(n(p.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${p.color+e}:rgb(${t});`}),o).join(\"\")+e([[p.active,`var(${p._colors.blue[5]})`],[p.passive,`var(${p._colors.darkgray[5]})`],[p.clipBackground,`linear-gradient(to bottom, var(${p._colors.lightgray[0]}), var(${p._colors.darkgray[5]}))`]])+\"}\"),s`*{border:0;box-sizing:border-box;font-size:100%;font-style:normal;margin:0;outline:0;padding:0}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`];export{GlobalStyle,p as cssGlobalVars,GlobalStyle as default,i as scopePrefix,c as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","export const travel = (fn, src) => Object.entries(src).flatMap(([k, v]) => v.map((rgb, index) => fn(k, index, rgb)));\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as r,toVar as t,godown as e,styles as i,htmlSlot as c,attr as s,htmlStyle as l}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 m from\"@godown/f7-icon/icons/slash-circle.js\";import h from\"@godown/f7-icon/icons/xmark-circle.js\";import u from\"@godown/f7-icon/icons/xmark.js\";import{css as b,html as v}from\"lit\";import{property as f}from\"lit/decorators.js\";import{scopePrefix as w,cssGlobalVars as k,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=w($),_=o=>[k._colors[o][5],k._colors[o][9]],q=r([\"color\",\"background\"].map((o=>`${j}--${o}`)),{green:_(\"green\"),blue:_(\"blue\"),orange:_(\"orange\"),red:_(\"red\"),yellow:_(\"yellow\"),purple:_(\"purple\"),teal:_(\"teal\"),pink:_(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},(()=>\":host\"),(o=>t(o))),C={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:a},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:h},error:{color:\"red\",icon:h},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:m}};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\" ${s(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>`} ${l(q[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([f()],x.prototype,\"call\",void 0),o([f()],x.prototype,\"color\",void 0),o([f({type:Number})],x.prototype,\"autoclose\",void 0),o([f()],x.prototype,\"title\",void 0),o([f()],x.prototype,\"content\",void 0),o([f({type:Boolean})],x.prototype,\"hideClose\",void 0),o([f()],x.prototype,\"variant\",void 0),x=o([e($),i(b`:host,:where(:host([contents]) [part=root]){${j}--border-radius:.2em;${j}--border-width:.075em;${j}--blockquote-width:.2em;${j}--blockquote-background:transparent;${j}--gap:.5em;border-radius:var(${j}--border-radius);display:block;width:100%}[part=root]{align-items:center;background:var(${j}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${j}--border-width);color:var(${j}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${j}--gap)}[variant=blockquote]{background:var(${j}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${j}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${j}--gap)}.end svg{margin-inline-start:var(${j}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],x);var E=x;export{x as Alert,E as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as 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\",c=h(l);let v=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()],v.prototype,\"src\",void 0),r([d()],v.prototype,\"name\",void 0),r([d({type:Boolean})],v.prototype,\"round\",void 0),v=r([t(l),e(s`:host{${c}--size:2em;background:var(${m.passive});border-radius:.2em;height:var(${c}--size);vertical-align:bottom;width:var(${c}--size)}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}`)],v);var u=v;export{v as Avatar,u 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 i}from\"@godown/element\";import{css as a,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\",v=d(l);let c=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)}>${i()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],c.prototype,\"position\",void 0),t([p({type:Number})],c.prototype,\"value\",void 0),t([p({type:Boolean})],c.prototype,\"dot\",void 0),t([p({type:Number})],c.prototype,\"max\",void 0),c=t([o(l),e(a`:host{${v}--background:var(${n.active});${v}--offset:0%;${v}--offset-x:var(${v}--offset);${v}--offset-y:var(${v}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${v}--background);border-radius:calc(infinity * 1px);font-size:75%;left:var(--left);padding:0 .5em;position:absolute;top:var(--top);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]{--top:calc(var(${v}--offset-y))}[position$=right]{--left:calc(100% - var(${v}--offset-x))}[position^=bottom]{--top:calc(100% - var(${v}--offset-y))}[position$=left]{--left:calc(var(${v}--offset-x))}`)],c);var m=c;export{c as Badge,m 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)}s;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 i,styles as a,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\",m=h(v),y=g.white,b=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${m}--${o}`)),{black:[y,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[y,g._colors.darkgray[1],g._colors.lightgray[8]],white:[b,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[y,g._colors.blue[6],g._colors.blue[4]],green:[y,g._colors.green[6],g._colors.green[4]],red:[y,g._colors.red[6],g._colors.red[4]],orange:[y,g._colors.orange[6],g._colors.orange[4]],pink:[y,g._colors.pink[6],g._colors.pink[4]],purple:[y,g._colors.purple[6],g._colors.purple[4]],yellow:[b,g._colors.yellow[6],g._colors.yellow[4]],teal:[y,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.plain=!1,this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}firstUpdated(){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\"),r=this._root.getBoundingClientRect(),{height:e,width:i}=r,a=2*Math.sqrt(e*e+i*i)+\"px\";t.style.height=a,t.style.width=a,t.style.left=o.clientX-r.left+\"px\",t.style.top=o.clientY-r.y+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([i(v),a(d`:host(:not([disabled]):active){transform:scale(var(${m}--focus-scale))}:host([round]){${m}--padding-x:.75em;border-radius:calc(infinity * 1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${m}--modal-background:var(${m}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${m}--ghost-width) var(${m}--ghost-color);color:var(${m}--ghost-color)}:host([plain]){${m}--gradients:unset;${m}--focus-scale:unset}`,d`:host{${m}--padding-x:.5em;${m}--padding-y:min(calc(var(${m}--padding-x)/2),.125em);${m}--padding:var(${m}--padding-y) var(${m}--padding-x);${m}--modal-animation-duration:1s;${m}--ghost-width:.08em;${m}--focus-scale:.97;${m}--deg:45deg;${m}--ghost-color:var(${m}--background);background:linear-gradient(var(${m}--deg),var(${m}--background),var(${m}--gradients,var(${m}--background)));border-radius:.2em;color:var(${m}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:0!important;text-align:center;width:-moz-fit-content;width:fit-content}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;overflow:hidden;padding:var(${m}--padding);position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}[part=root],i{height:100%;width:100%}i{animation-duration:var(${m}--modal-animation-duration);background:var(${m}--modal-background,currentColor);border-radius:50%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible}@keyframes kf{0%{opacity:var(${m}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as p,GlobalStyle as h}from\"../core/global-style.js\";const b=\"card\",m=l(b);let n=class Card extends h{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}>${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],n.prototype,\"footer\",void 0),r([s({type:Boolean})],n.prototype,\"header\",void 0),n=r([o(b),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${p.passive});${m}--padding:.5em;border-radius:.2em;border-width:var(${m}--border-width);display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}:host,slot{border-color:var(${m}--border-color);border-style:solid}[part=root]{width:100%}[name=footer]{border-top-width:var(${m}--border-width)}[name=header]{border-bottom-width:var(${m}--border-width)}`)],n);var c=n;export{n as Card,c as default};\n//# sourceMappingURL=card.js.map\n","import o from\"./components/card.js\";export{Card}from\"./components/card.js\";o.define();export{o as default};\n//# sourceMappingURL=card.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M35.805 47.723c.398.398.914.633 1.523.633c1.219 0 2.133-.915 2.133-2.133c0-.586-.234-1.125-.61-1.524L21.79 28.012l17.063-16.688c.375-.398.609-.96.609-1.523c0-1.219-.914-2.157-2.133-2.157c-.61 0-1.125.235-1.523.633L17.242 26.441c-.445.375-.703.961-.703 1.57c0 .587.258 1.126.703 1.571Z\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M18.695 48.367c.586 0 1.102-.234 1.524-.633L38.78 29.57c.446-.445.68-.984.68-1.57c0-.61-.234-1.172-.68-1.57L20.22 8.289a2.07 2.07 0 0 0-1.524-.656a2.12 2.12 0 0 0-2.156 2.156c0 .563.258 1.125.633 1.524L34.21 28L17.17 44.688c-.374.398-.632.937-.632 1.523c0 1.219.938 2.156 2.156 2.156\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,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\" ${s(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))}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=0;for(let e=0;e<=t;e++)this._offset-=p(this.children[e]);this._offset+=(p(this)-p(this.children[t+1]))/2,this.dispatchEvent(new CustomEvent(\"change\",{detail:t,composed:!0})),this._doTranslateX(`${this._offset}px`,e),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\":\"\"}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\"),o(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 39.46a2.1 2.1 0 0 0 1.57-.679l18.164-18.586a2.1 2.1 0 0 0 .633-1.5a2.12 2.12 0 0 0-2.156-2.156a2.27 2.27 0 0 0-1.523.61L28 34.21L11.313 17.148a2.23 2.23 0 0 0-1.524-.609a2.12 2.12 0 0 0-2.156 2.156c0 .586.234 1.102.633 1.524L26.43 38.78c.445.446.96.68 1.57.68\"/>`;\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}_handelClick(e){this.toggle()}}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 i,styles as o,attr as r,htmlSlot as e}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as d}from\"../core/global-style.js\";import p from\"../core/super-openable.js\";const c=\"details\",m=d(c);let f=class Details extends p{constructor(){super(...arguments),this.fill=!1,this.summary=\"\"}render(){return n`<dl part=\"root\" ${r(this.observedRecord)}><dt part=\"title\" @click=\"${this._handelClick}\"><span part=\"summary\">${this.summary||e(\"summary\")}</span> <span><i part=\"icon\">${a()}</i></span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${e()}</div></dd></dl>`}};t([l({type:Boolean})],f.prototype,\"fill\",void 0),t([l()],f.prototype,\"summary\",void 0),f=t([i(c),o(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:0.3em;${m}--summary-direction:row;${m}--transition:.3s;display:block;height:-moz-fit-content;height:fit-content;transition:var(${m}--transition)}[part=root]{height:100%;overflow:hidden;position:relative}[part=title]{align-items:center;background:inherit;direction:ltr;display:flex;flex-direction:var(${m}--summary-direction);flex-wrap:nowrap;height:100%;justify-content:space-between}[part=details]{display:grid;grid-template-rows:0fr;overflow:hidden;transition:var(${m}--transition);transition-property:grid-template-rows}:host([open]) [part=details]{grid-template-rows:1fr}:host([float]) [part=details]{position:absolute;top:100%}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;padding:var(${m}--icon-space);transform:rotate(var(${m}--icon-deg-close));transition:var(${m}--transition)}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{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{godown as o,styles as e,attr as i,htmlSlot as s}from\"@godown/element\";import{css as n,html as d}from\"lit\";import{property as a}from\"lit/decorators.js\";import{scopePrefix as r}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionInsetAlign as h}from\"../core/direction.js\";const p=\"dialog\",m=r(p);let v=class Dialog extends l{constructor(){super(...arguments),this.modal=!1,this.key=\"Escape\",this.__modalInvoke=!1}render(){return d`<div part=\"root\" ${i(this.observedRecord)}><div part=\"modal\"></div><div part=\"container\" direction-inset-align>${s()}</div></div>`}showModal(){this.modal||(this.modal=!0,this.__modalInvoke=!0),this.show()}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([a()],v.prototype,\"direction\",void 0),t([a({type:Boolean,reflect:!0})],v.prototype,\"modal\",void 0),t([a()],v.prototype,\"key\",void 0),v=t([o(p),e(h,n`:host{${m}--background:none;${m}--background-modal:#000;${m}--opacity-modal:0.2;background:var(${m}--background);inset:0;pointer-events:none;position:fixed;visibility:hidden;z-index:1}:host([open]){visibility:visible}:host([open][modal]) [part=modal]{opacity:var(${m}--opacity-modal);pointer-events:all;visibility:visible}[part=modal]{background:var(${m}--background-modal);height:100%;opacity:0;position:absolute;visibility:hidden;width:100%}[part=root]{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}[part=container]{pointer-events:all;position:absolute}`)],v);var c=v;export{v as Dialog,c 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 a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{cssGlobalVars as l,GlobalStyle as d}from\"../core/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([s({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([o(\"divider\"),r(i`:host{background:currentColor;color:var(${l.passive});display:block;height:.05em;margin:auto;width:100%}:host([vertical]){height:max(1em,100%);width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var m=c;export{c as Divider,m as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.__drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__cx=t.clientX,this.__cy=t.clientY,this.__t=this.offsetTop,this.__l=this.offsetLeft,this.__drag=!0,this._handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this._handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.__drag)return;const e=t.clientX-(this.__cx-this.__l),s=t.clientY-(this.__cy-this.__t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${r(this.observedRecord)}>${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]}</div>`}};t([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return o()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,o]=s.namevalue();e&&(t[e]=o)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(h`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M43.95 47.323c.304.305.732.468 1.119.468c.814 0 1.567-.733 1.567-1.568c0-.407-.163-.814-.468-1.12L12.112 11.069a1.57 1.57 0 0 0-1.12-.448c-.814 0-1.567.733-1.567 1.547c0 .428.143.835.448 1.12Zm1.913-5.761C52.255 37.43 56 32.056 56 29.674c0-4.132-11.297-17.303-27.99-17.303c-3.46 0-6.697.59-9.669 1.567l5.313 5.293a11 11 0 0 1 4.356-.896c6.31 0 11.38 4.988 11.38 11.339c0 1.547-.326 3.033-.958 4.336ZM28.01 46.977c3.766 0 7.267-.672 10.402-1.771l-5.394-5.395a10.8 10.8 0 0 1-5.008 1.201c-6.35 0-11.379-5.15-11.4-11.338c0-1.832.428-3.562 1.202-5.09l-7.084-7.124C4.01 21.592 0 27.231 0 29.674c0 4.112 11.501 17.303 28.01 17.303m6.473-17.73a6.446 6.446 0 0 0-6.473-6.454c-.264 0-.53.02-.773.041l7.206 7.206c.02-.244.04-.529.04-.794m-12.966-.041c0 3.582 2.951 6.473 6.514 6.473c.285 0 .55-.02.834-.04l-7.308-7.309c-.02.285-.04.59-.04.876\"/>`;\n","import{__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 s}from\"lit\";import{property as a}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as l}from\"./global-style.js\";import{OutlineBuilder as u}from\"./outline.js\";const d=r`.input-field{--space:var(${p.input}-space);align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:0 var(--space);width:100%}.input-field [part=icon]{align-items:center;color:var(${p.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(--space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(--space)}`,c=r`:host{${p.input}-width:10em;${p.input}-height:1.6em;${p.input}-space:0.2em;${p.input}-control:currentColor;${p.input}-outline-width:.075em;${p.input}-outline-color:var(${p._colors.darkgray[4]});${p.input}-icon-color:var(${p._colors.darkgray[4]});border-radius:.2em}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${p.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0})))}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return s`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){return s`<label for=\"${this.makeId}\" part=\"suffix\">${n(\"suffix\")}</label>`}};t([a()],h.prototype,\"autocomplete\",void 0),t([a({attribute:\"outline-type\"})],h.prototype,\"outlineType\",void 0),t([a({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([a({reflect:!0})],h.prototype,\"type\",void 0),t([a({reflect:!0})],h.prototype,\"placeholder\",void 0),t([a({reflect:!0})],h.prototype,\"name\",void 0),t([a()],h.prototype,\"value\",void 0),t([a()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(d,new u({width:`${p.input}-outline-width`,color:`${p.input}-outline-color`}).styleSheet,c)],h);var f=h;export{h as SuperInput,f as default};\n//# sourceMappingURL=super-input.js.map\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}}export{OutlineBuilder};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as i,godown as e,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 u,html as n,nothing as l}from\"lit\";import{property as h}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 n`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),n`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||l}\" autocomplete=\"${this.autocomplete||l}\" placeholder=\"${this.placeholder||l}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return n`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?n`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${p()}</i>`:a(\"suffix\")}</label>`}};t([h()],f.prototype,\"variant\",void 0),t([i(\"input\")],f.prototype,\"_input\",void 0),f=t([e(\"input\"),o(u`: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 m=f;export{f as Input,m 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 o}from\"tslib\";import{godown as t,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let d=class Layout extends p{constructor(){super(...arguments),this.noHeader=!1,this.noFooter=!1,this.sticky=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}>${this.noHeader?\"\":n`<header part=\"header\">${i(\"header\")}</header>`}<main part=\"main\">${i()}</main>${this.noFooter?\"\":n`<footer part=\"footer\">${i(\"footer\")}</footer>`}</div>`}};o([s({type:Boolean})],d.prototype,\"noHeader\",void 0),o([s({type:Boolean})],d.prototype,\"noFooter\",void 0),o([s({type:Boolean})],d.prototype,\"sticky\",void 0),d=o([t(\"layout\"),e(a`:host,:host([contents]) [part=root]{display:flex;flex-direction:column;min-height:100%}[part=root]{display:contents}[sticky] header{position:sticky;top:0;z-index:1}[part=main]{flex:1;position:relative;width:100%}footer,header,main{width:100%}`)],d);var l=d;export{d as Layout,l as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as a,nothing as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return a`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||l}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit;width:100%}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),c.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchEvent(new CustomEvent(\"change\",{detail:t}))}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../core/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var h=m;export{m as Progress,h as default};\n//# sourceMappingURL=progress.js.map\n","import o from\"./components/progress.js\";export{Progress}from\"./components/progress.js\";o.define();export{o as default};\n//# sourceMappingURL=progress.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as a,Ranger as s,omit as o,attr as i,joinProperties as n,loop as h,tokenList as l,isNil as d}from\"@godown/element\";import{css as u,html as c}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../core/global-style.js\";import{SuperInput as w}from\"../core/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return c`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"><div part=\"track\"></div>${h(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return c`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){const{rangeValue:e,step:r}=this;return e.length<2&&(t=0),a=>{const s=e[t];\"ArrowLeft\"===a.key||\"ArrowDown\"===a.key?(a.preventDefault(),this.createSetValue(t)(s-r)):\"ArrowRight\"!==a.key&&\"ArrowUp\"!==a.key||(a.preventDefault(),this.createSetValue(t)(s+r))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){const t=this._ranger.diff;this.step||=t/100,d(this.value)&&(d(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(u`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;width:100%;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=range.js.map\n","import e from\"./components/range.js\";export{Range}from\"./components/range.js\";e.define();export{e as default};\n//# sourceMappingURL=range.js.map\n","import{__decorate as t}from\"tslib\";import{part as o,godown as e,styles as r,htmlSlot as i}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{scopePrefix as a,GlobalStyle as l}from\"../core/global-style.js\";const d=\"rotate\",p=a(d);let m=class Rotate extends l{render(){return n`<div part=\"root\"><div part=\"slot\" @mousemove=\"${this._handleRotate}\">${i()}</div><i @mouseleave=\"${this.reset}\"></i></div>`}reset(){this._root.style.removeProperty(\"transform\"),this._root.style.removeProperty(\"transition\")}_handleRotate(t){const{rotateX:o,rotateY:e}=this._computeOffset(t);this._root.style.setProperty(\"transform\",`rotateX(${o}rad) rotateY(${e}rad)`),this._root.style.setProperty(\"transition\",\"0s\")}_computeOffset(t){const{left:o,top:e,width:r,height:i}=this._root.getBoundingClientRect(),{clientX:s,clientY:n}=t;return{rotateX:-(n-e-i/2)/i/2,rotateY:(s-o-r/2)/r/2}}};t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(d),r(s`:host{display:block;transition:all .5s ease-in-out;width:-moz-fit-content;width:fit-content;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{box-sizing:content-box;height:100%;margin:calc(var(${p}--offset)*-1);padding:var(${p}--offset);position:absolute;top:0;width:100%}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=rotate.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,html as h,nothing as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{directionOutsetPlace as f}from\"../core/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return h`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||a}\" autocomplete=\"${this.autocomplete||a}\" placeholder=\"${this.placeholder||a}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\">`,h`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,h`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place>${l()}</label>`]}</div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t;let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!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 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 e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M7.715 49.574h40.57c4.899 0 7.36-2.437 7.36-7.265V13.69c0-4.828-2.461-7.265-7.36-7.265H7.715C2.84 6.426.355 8.84.355 13.69v28.62c0 4.851 2.485 7.265 7.36 7.265m31.57-21.633c-1.055-.937-2.25-1.43-3.515-1.43c-1.313 0-2.462.446-3.54 1.407l-10.593 9.469l-4.336-3.938c-.985-.867-2.04-1.336-3.164-1.336c-1.032 0-2.04.446-3 1.313L4.129 39.73V13.88c0-2.438 1.312-3.68 3.656-3.68h40.43c2.32 0 3.656 1.242 3.656 3.68v25.875Zm-21.469.258c3.024 0 5.508-2.484 5.508-5.531c0-3.023-2.484-5.531-5.508-5.531c-3.046 0-5.53 2.508-5.53 5.531a5.54 5.54 0 0 0 5.53 5.531\"/>`;\n","import{__decorate as o}from\"tslib\";import{godown as i,styles as r,htmlSlot as t,attr as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/photo.js\";import{css as e,html as s}from\"lit\";import{property as m,state as d}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as c,GlobalStyle as g}from\"../core/global-style.js\";const l=\"skeleton\",v=p(l);let $=class Skeleton extends g{constructor(){super(...arguments),this.animation=\"position\",this.loading=!0}render(){return this.loading?s`<div part=\"root\" ${a(this.observedRecord)}>${\"image\"===this.type?n():\"\"} ${t(\"loading\")}</div>`:t()}};o([m()],$.prototype,\"type\",void 0),o([m()],$.prototype,\"animation\",void 0),o([d()],$.prototype,\"loading\",void 0),$=o([i(l),r(e`:host{${v}--from:var(${c._colors.darkgray[9]});${v}--to:var(${c._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;background:var(${v}--from);color:var(${c._colors.darkgray[5]});display:block;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}[part=root]{animation:var(${v}--duration) ease-in-out 0s infinite none running;height:100%;min-height:inherit;text-align:center}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size)*.05)}[animation=position]{animation-name:po;background-color:transparent;background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-size:200% 100%}@keyframes po{0%{background-position:150%}to{background-position:-50%}}[animation=opacity]{animation-direction:alternate;animation-name:op}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],$);var f=$;export{$ as Skeleton,f as default};\n//# sourceMappingURL=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as r,attr as s,loop as n,tokenList as u}from\"@godown/element\";import{css as o,html as l}from\"lit\";import{property as c,state as a}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as p}from\"../core/global-style.js\";import{SuperInput as d}from\"../core/super-input.js\";const b=\"split\",f=h(b);let v=class Split extends d{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}get observedRecord(){return r(super.observedRecord,\"outline-type\")}render(){return l`<div part=\"root\" ${s(this.observedRecord)}>${n(this.len,(t=>l`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${u({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([c({type:Number})],v.prototype,\"len\",void 0),t([c({type:Number})],v.prototype,\"index\",void 0),t([a()],v.prototype,\"current\",void 0),t([a()],v.prototype,\"currentValue\",void 0),v=t([e(b),i(o`:host{border-radius:1px;display:block;width:-moz-fit-content;width:fit-content;${f}--size:1.45em;${f}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{display:flex;gap:var(${f}--gap);justify-content:space-between;position:relative;width:100%}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${f}--size);justify-content:center;width:var(${f}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${p.input}-outline-color:var(${p.active})}`)],v);var m=v;export{v as Split,m as default};\n//# sourceMappingURL=split.js.map\n","import o from\"./components/split.js\";export{Split}from\"./components/split.js\";o.define();export{o as default};\n//# sourceMappingURL=split.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,omit as a,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as h}from\"lit/decorators.js\";import{scopePrefix as n,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=n(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return a(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\"></span></div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([h({type:Boolean})],u.prototype,\"default\",void 0),t([h({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),i(s`:host,:host([contents]) [part=root]{display:inline-block;height:var(${p}-height);width:var(${p}-width)}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${d.passive});border-radius:calc(var(${p}-height)/2);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom}:host([checked]){background:var(${d.active})}[part=root]{height:inherit;position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${h}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap;width:100%}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.js.map\n","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 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 e,styles as o,attr as i}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${i(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),o(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionOutsetPlace as d}from\"../core/direction.js\";var c;const h=\"tooltip\",f=a(h);let u=c=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=c.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\">${n()}<div part=\"tip\" direction-outset-place>${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")}</div></div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=c=t([i(h),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as a}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=l(c);let u=class Typewriter extends m{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([a(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","trimRight","s","spec","end","slice","trimLeft","start","trim","omit","obj","keys","reduce","acc","includes","infixed","a","b","startsWith","endsWith","toEntries","o","k","v","Array","isArray","entries","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","WeakMap","n$a","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$6","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","part","partName","cache","query","createPolicy","createHTML","Math","random","toFixed","createComment","_","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","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$3","_$Ct","_$Ci","updateAttribute","isNaN","attr","directive","AttrDirective","Directive","caller","PartType","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","join","joinRules","result","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","body","svg","renderer","attributes","loop","len","fn","sep","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","querySelectorAll","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","present","decimal","normalize","restrict","round","RouteTree","matchType","strict","insert","pattern","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","paths","Timeouts","clearTimeout","GodownElement","isDefined","getDefined","observedRecord","record","property","_slot","_slotAll","_slottedAll","_slottedNames","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","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$6","d$6","p$8","g$1","m$f","h$a","u$7","rgb","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","clipBackground","active","_colors","input","white","black","color","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","clientX","top","clientY","animationName","_modalRoot","Card","footer","header","r$1","h$9","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","show","normalizeIndex","_offset","_doTranslateX","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$4","SuperOpenable","open","toggle","Details","summary","Dialog","modal","__modalInvoke","showModal","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","offsetsWidth","offsetParent","clientWidth","offsetWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","__cx","__cy","__t","offsetTop","__l","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","p$3","SuperInput","autofocus","outlineType","compositing","makeId","defaultValue","default","_input","_handleInput","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","OutlineBuilder","Input","autocapitalize","autocomplete","placeholder","Layout","noHeader","noFooter","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","abs","createMousemoveListener","toSorted","createDocumentFragment","Rotate","_handleRotate","removeProperty","rotateX","rotateY","_computeOffset","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","findLastIndex","Switch","checked","_handleChange","Text","underline","clip","formatNumber","Time","escape","format","time","Date","fmt","_a","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":";;;;GAsDO,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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