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AS,CAAC,EAAGA,KAA0B,KAAgB,IAC3F,MAAc,8BAA8B,CAC9C,EAAGA,CAAuB,C","sources":["webpack://nuxt-app/./node_modules/@88labs/tsukuri-components-vue/libs/chunk-LO3OBO3V.js","webpack://nuxt-app/./node_modules/@88labs/tsukuri-components-vue/libs/wc-tsukuri-universal-sidebar-G7L5SUF2.js"],"sourcesContent":["import {\n __decorateClass\n} from \"./chunk-VTMNJRMM.js\";\nimport {\n ValidatePropertiesController,\n validateString\n} from \"./chunk-Z77RWYJX.js\";\n\n// ../../components/components/UniversalSidebar/libs/chunk-PWBQLJR2.js\nimport {\n LitElement,\n html,\n unsafeCSS\n} from \"lit\";\nimport { customElement, property, state } from \"lit/decorators.js\";\nvar group_default = \":host{all:initial;box-sizing:border-box;display:block;visibility:inherit}[data-tsukuri-component=universal-sidebar-menu-group]{background-color:var(--color-sys-surface-inverse-surface-primary);color:var(--color-sys-surface-inverse-text-secondary);padding:var(--spacing-sys-padding-s) var(--spacing-sys-padding-m) var(--spacing-sys-padding-xxs) var(--spacing-sys-padding-l)}[data-tsukuri-component=universal-sidebar-menu-divider]{background-color:var(--color-sys-border-inverse-light);height:1px;margin:4px 0;width:100%}\", TsukuriUniversalSidebarMenuGroup = class extends LitElement {\n constructor() {\n super(), this.label = \"\", this.divider = \"NONE\", new ValidatePropertiesController(this, {\n label: validateString()\n });\n }\n render() {\n let contents = [];\n return (this.divider === \"BOTH\" || this.divider === \"TOP\") && contents.push(\n html`
`\n ), this.label !== \"\" && contents.push(\n html`
${this.label}
`\n ), contents.push(html``), (this.divider === \"BOTH\" || this.divider === \"BOTTOM\") && contents.push(\n html`
`\n ), contents;\n }\n firstUpdated() {\n this.setAttribute(\"role\", \"group\"), this.setAttribute(\"aria-label\", this.label || \"\\u30B0\\u30EB\\u30FC\\u30D7\");\n }\n};\nTsukuriUniversalSidebarMenuGroup.styles = unsafeCSS(group_default), __decorateClass([\n property({ type: String })\n], TsukuriUniversalSidebarMenuGroup.prototype, \"label\", 2), __decorateClass([\n state()\n], TsukuriUniversalSidebarMenuGroup.prototype, \"divider\", 2), TsukuriUniversalSidebarMenuGroup = __decorateClass([\n customElement(\"wc-tsukuri-universal-sidebar-menu-group\")\n], TsukuriUniversalSidebarMenuGroup);\n\nexport {\n TsukuriUniversalSidebarMenuGroup\n};\n//# sourceMappingURL=chunk-LO3OBO3V.js.map","import {\n TsukuriUniversalSidebarMenuGroup\n} from \"./chunk-LO3OBO3V.js\";\nimport {\n __decorateClass\n} from \"./chunk-VTMNJRMM.js\";\nimport {\n ResizeObserver as ResizeObserver2\n} from \"./chunk-BBNU5ANV.js\";\nimport \"./chunk-ZVKNMDWP.js\";\nimport \"./chunk-SVB7QVGC.js\";\nimport \"./chunk-2K2X2VFV.js\";\nimport \"./chunk-KYGNPTYE.js\";\nimport \"./chunk-JO2RVYIO.js\";\nimport \"./chunk-444UF7LD.js\";\nimport {\n ValidatePropertiesController,\n validateString\n} from \"./chunk-Z77RWYJX.js\";\n\n// ../../components/components/UniversalSidebar/libs/chunk-RPVK535U.js\nimport {\n LitElement,\n html,\n unsafeCSS\n} from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport { createRef, ref } from \"lit/directives/ref.js\";\nvar toGroupTypeFrom = (groups, index, isTargetType) => {\n if (!isTargetType(groups[index])) return \"NotTarget\";\n let hasTop = groups[index - 1] !== void 0, nextItem = groups[index + 1], hasBottom = nextItem !== void 0 && !isTargetType(nextItem);\n return hasTop && hasBottom ? \"BOTH\" : hasTop ? \"TOP\" : hasBottom ? \"BOTTOM\" : \"NONE\";\n}, style_default = \":host{all:initial;box-sizing:border-box;display:block;height:100%;max-height:100%;max-width:240px;overflow-y:auto;visibility:inherit;width:calc(240px - var(--scroll-bar-width, 0))}[data-tsukuri-components=universal-sidebar]{background-color:var(--color-sys-surface-inverse-surface-primary);box-sizing:border-box;min-height:100%;padding-bottom:var(--spacing-sys-padding-l);padding-top:var(--spacing-sys-padding-xxs)}\", TsukuriUniversalSidebar = class extends LitElement {\n constructor() {\n super(), this.ref = createRef(), this.scrollbarWidth = \"0px\", this.cancelId = 0, this.observer = new (typeof ResizeObserver < \"u\" ? ResizeObserver : ResizeObserver2)((entries) => {\n entries.forEach((entry) => {\n entry.target === this && this.ref.value && (cancelAnimationFrame(this.cancelId), this.cancelId = requestAnimationFrame(() => {\n let w = `${this.offsetWidth - this.clientWidth}px`;\n this.scrollbarWidth !== w && (this.scrollbarWidth = w, this.style.setProperty(\"--scroll-bar-width\", this.scrollbarWidth));\n }));\n });\n }), this.label = \"\", new ValidatePropertiesController(this, {\n label: validateString()\n }), this.onSlotChange = this.onSlotChange.bind(this);\n }\n connectedCallback() {\n super.connectedCallback(), this.observer.observe(this);\n }\n disconnectedCallback() {\n super.disconnectedCallback(), this.observer.unobserve(this);\n }\n onSlotChange(e) {\n e.target instanceof HTMLSlotElement && e.target.assignedElements().forEach((val, i, arr) => {\n let type = toGroupTypeFrom(\n arr,\n i,\n (x) => x instanceof TsukuriUniversalSidebarMenuGroup\n );\n switch (type) {\n case \"NotTarget\":\n return;\n case \"TOP\":\n case \"BOTTOM\":\n case \"BOTH\":\n case \"NONE\":\n val.divider = type;\n }\n });\n }\n render() {\n return html`
`;\n }\n firstUpdated() {\n this.setAttribute(\"role\", \"navigation\");\n }\n willUpdate() {\n this.setAttribute(\"aria-label\", this.label || \"\\u30B5\\u30A4\\u30C9\\u30D0\\u30FC\");\n }\n};\nTsukuriUniversalSidebar.styles = unsafeCSS(style_default), __decorateClass([\n property({ type: String })\n], TsukuriUniversalSidebar.prototype, \"label\", 2), TsukuriUniversalSidebar = __decorateClass([\n customElement(\"wc-tsukuri-universal-sidebar\")\n], TsukuriUniversalSidebar);\nexport {\n TsukuriUniversalSidebar\n};\n//# sourceMappingURL=wc-tsukuri-universal-sidebar-G7L5SUF2.js.map"],"names":["group_default","TsukuriUniversalSidebarMenuGroup","contents","toGroupTypeFrom","groups","index","isTargetType","hasTop","nextItem","hasBottom","style_default","TsukuriUniversalSidebar","entries","entry","w","e","val","i","arr","type","x"],"sourceRoot":""}