UNPKG

@phosphor-icons/webcomponents

Version:
79 lines (78 loc) 5.84 kB
import "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.mjs"; import { svg as e, html as A } from "../node_modules/.pnpm/lit-html@3.1.4/node_modules/lit-html/lit-html.mjs"; import { LitElement as m } from "../node_modules/.pnpm/lit-element@4.0.6/node_modules/lit-element/lit-element.mjs"; import { customElement as Z } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.mjs"; import { property as p } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.mjs"; import { css as n } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.mjs"; var M = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = (a, o, i, s) => { for (var r = s > 1 ? void 0 : s ? c(o, i) : o, L = a.length - 1, h; L >= 0; L--) (h = a[L]) && (r = (s ? h(o, i, r) : h(r)) || r); return s && r && M(o, i, r), r; }; let t = class extends m { constructor() { super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1; } render() { var a; return A`<svg xmlns="http://www.w3.org/2000/svg" width="${this.size}" height="${this.size}" fill="${this.color}" viewBox="0 0 256 256" transform=${this.mirrored ? "scale(-1, 1)" : null} > ${t.weightsMap.get((a = this.weight) != null ? a : "regular")} </svg>`; } }; t.weightsMap = /* @__PURE__ */ new Map([ [ "thin", e`<path d="M226.76,77.11a4,4,0,0,0-3.86-1l-3.49,1A40,40,0,0,0,165.7,46.64a40,40,0,0,0-75.4,0A40,40,0,0,0,36.59,77.15l-3.49-1a4,4,0,0,0-5,4.77L58.66,210.75A11.94,11.94,0,0,0,70.34,220H185.66a11.94,11.94,0,0,0,11.68-9.25L227.89,80.92A4,4,0,0,0,226.76,77.11ZM76,52a32.08,32.08,0,0,1,15,3.72,4,4,0,0,0,5.78-2.66,32,32,0,0,1,62.47,0A4,4,0,0,0,165,55.72a32,32,0,0,1,46.65,23.64L168.22,91.78,132.46,77.47a12,12,0,0,0-8.92,0L87.78,91.78,44.33,79.36A32,32,0,0,1,76,52ZM70.34,212a4,4,0,0,1-3.9-3.08l-29-123.2L84.38,99.13,99.43,212Zm37.16,0L92.38,98.56,126.52,84.9a4,4,0,0,1,3,0l34.13,13.66L148.5,212Zm82.06-3.08a4,4,0,0,1-3.9,3.08H156.57L171.62,99.13l46.92-13.41Z"/>` ], [ "light", e`<path d="M228.14,75.66a6,6,0,0,0-5.79-1.43l-1.41.4a42,42,0,0,0-54.07-30.52,42,42,0,0,0-77.74,0A42,42,0,0,0,35.06,74.63l-1.41-.4a6,6,0,0,0-7.49,7.14L56.71,211.21A14,14,0,0,0,70.34,222H185.66a14,14,0,0,0,13.63-10.79L229.84,81.37A6,6,0,0,0,228.14,75.66ZM76,54a29.54,29.54,0,0,1,14,3.49,6,6,0,0,0,8.68-4,30,30,0,0,1,58.56,0,6,6,0,0,0,8.67,4A29.6,29.6,0,0,1,180,54a30,30,0,0,1,29.39,23.94L168.32,89.67l-35.12-14a14,14,0,0,0-10.4,0l-35.12,14L46.61,77.94A30,30,0,0,1,76,54Zm85.44,45.84L146.75,210h-37.5L94.56,99.84l32.7-13.08a2,2,0,0,1,1.48,0Zm-93,108.62L40.18,88.58l42.39,12.11L97.15,210H70.34A2,2,0,0,1,68.39,208.46Zm119.22,0a2,2,0,0,1-2,1.54H158.85l14.58-109.31,42.39-12.11Z"/>` ], [ "regular", e`<path d="M229.52,74.21a8,8,0,0,0-7.13-2A44,44,0,0,0,168,41.67a44,44,0,0,0-80,0,44,44,0,0,0-54.4,30.51,8,8,0,0,0-9.4,9.65L54.76,211.67A16,16,0,0,0,70.34,224H185.66a16,16,0,0,0,15.58-12.33L231.79,81.83A8,8,0,0,0,229.52,74.21ZM76,56a27.68,27.68,0,0,1,13.11,3.26,8,8,0,0,0,11.56-5.34,28,28,0,0,1,54.66,0,8,8,0,0,0,11.56,5.34A28,28,0,0,1,207,76.54l-38.56,11-34.49-13.8a16,16,0,0,0-11.88,0L87.57,87.56,49,76.54A28,28,0,0,1,76,56ZM70.34,208,42.91,91.44l37.85,10.81L94.86,208ZM145,208H111L96.75,101.12,128,88.62l31.25,12.5Zm40.66,0H161.14l14.1-105.75,37.85-10.81Z"/>` ], [ "bold", e`<path d="M232.28,71.32a12,12,0,0,0-7-3.25,48,48,0,0,0-55.19-31,48,48,0,0,0-84.24,0,48,48,0,0,0-55.19,31A12,12,0,0,0,20.32,82.75L50.87,212.58A19.92,19.92,0,0,0,70.34,228H185.66a19.92,19.92,0,0,0,19.47-15.42L235.68,82.75A12,12,0,0,0,232.28,71.32ZM76,60a23.68,23.68,0,0,1,11.23,2.79,12,12,0,0,0,17.35-8,24,24,0,0,1,46.84,0,12,12,0,0,0,17.35,8A23.68,23.68,0,0,1,180,60a24,24,0,0,1,21.78,13.87l-33.13,9.46L135.43,70.05a19.89,19.89,0,0,0-14.86,0L87.35,83.33,54.22,73.87A24,24,0,0,1,76,60Zm25.13,43.67L128,92.92l26.87,10.75L141.49,204h-27ZM48.36,97.16l28.78,8.22L90.29,204H73.5ZM182.5,204H165.71l13.15-98.62,28.78-8.22Z"/>` ], [ "fill", e`<path d="M229.52,74.21a8,8,0,0,0-7.13-2A44,44,0,0,0,168,41.67a44,44,0,0,0-80,0,44,44,0,0,0-54.4,30.51,8,8,0,0,0-9.4,9.65L54.76,211.67A16,16,0,0,0,70.34,224H185.66a16,16,0,0,0,15.58-12.33L231.79,81.83A8,8,0,0,0,229.52,74.21ZM70.34,208,42.91,91.44l37.85,10.81L94.86,208ZM122.06,73.76,87.57,87.56,49,76.54a28,28,0,0,1,40.1-17.28,8,8,0,0,0,11.56-5.34,28,28,0,0,1,54.66,0,8,8,0,0,0,11.56,5.34A28,28,0,0,1,207,76.54l-38.56,11-34.49-13.8A16,16,0,0,0,122.06,73.76ZM185.66,208H161.14l14.1-105.75,37.85-10.81Z"/>` ], [ "duotone", e`<path d="M88,96l16,120H70.34a8,8,0,0,1-7.79-6.17L32,80Zm80,0L152,216h33.66a8,8,0,0,0,7.79-6.17L224,80Z" opacity="0.2"/><path d="M229.52,74.21a8,8,0,0,0-7.13-2A44,44,0,0,0,168,41.67a44,44,0,0,0-80,0,44,44,0,0,0-54.4,30.51,8,8,0,0,0-9.4,9.65L54.76,211.67A16,16,0,0,0,70.34,224H185.66a16,16,0,0,0,15.58-12.33L231.79,81.83A8,8,0,0,0,229.52,74.21ZM76,56a27.68,27.68,0,0,1,13.11,3.26,8,8,0,0,0,11.56-5.34,28,28,0,0,1,54.66,0,8,8,0,0,0,11.56,5.34A28,28,0,0,1,207,76.54l-38.56,11-34.49-13.8a16,16,0,0,0-11.88,0L87.57,87.56,49,76.54A28,28,0,0,1,76,56Zm83.25,45.11L145,208H111L96.75,101.11,128,88.62ZM42.91,91.44l37.85,10.81L94.86,208H70.34ZM185.66,208H161.14l14.1-105.75,37.85-10.81Z"/>` ] ]); t.styles = n` :host { display: contents; } `; l([ p({ type: String, reflect: !0 }) ], t.prototype, "size", 2); l([ p({ type: String, reflect: !0 }) ], t.prototype, "weight", 2); l([ p({ type: String, reflect: !0 }) ], t.prototype, "color", 2); l([ p({ type: Boolean, reflect: !0 }) ], t.prototype, "mirrored", 2); t = l([ Z("ph-popcorn") ], t); export { t as PhPopcorn };